[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] [Fwd: Bug#476675: [xaralx] crashes on print]

--On 18 April 2008 14:55:32 +0100 Alex Bligh <alex@xxxxxxxxxxx> wrote:

Obviously the best thing to do would be to fix the hackery in 3. I
think you want to look at wxOil/prdlgctl.cpp, and look in
particular at what's going on in CCPrintInfo::MakeDCFromPrintData().
It may be wxWidgets has a bug changing print factories. I'd set
a breakpoint at the top of this function and see what produces
the errors.

Note that if it's something unitialised, the error may occur later
on. Apologies if this is teaching granny to suck eggs but the
way to find what causes the error is to set a disabled breakpoint
in the library were the error message gets sent to stderr, then
enable the breakpoint when you hit the top of