debugging wxwindows from wxpython

Thought I would get this up quickly cause figure out part of it.
What's left looks like a bug and is different per platform and
in the Demo. Unfortunetely the mailing-list for some reason
has stopped coming to me again and have to keep looking
at the archives to see responses. Just stopped a couple days
ago??!!

Well, that went quicker than I thought. I figured out why my app wasn't
changing the printdialog landscape setting,....
In my app I was using 'printer = html.HtmlEasyPrinting()' instead of
declaring it for the whole class. So moved it to initialization of the
class and changed to self.printer=html.HtmlEasyPrintint() and
now it works. Changes to landscape and paperid.

I didn't realize I had to declare it for the whole class. Thought could
just use it as a local in the print function in the main class.

Still have the problem though with the actual print out and preview
from the dialog in Linux. Windows works.

Recap:

I have tried the linux wxPython demo and if you use the
'More Window Controls/HtmlWindow' there is my
problem. If you chose 'print' then from printdialog chose 'Landscape' then
chose 'Print Preview'. It changes the paper to Landscape but the actual
contents of the pages is still Portrait. This doesn't happen on the windows
demo.

Windows changes the paper orientation and content to Landscape
and prints it that way. Linux/GTK isn't. Only changes the paper orient.

Thanks Dave

david wrote:

Thought I would get this up quickly cause figure out part of it.
What's left looks like a bug and is different per platform and
in the Demo. Unfortunetely the mailing-list for some reason
has stopped coming to me again and have to keep looking
at the archives to see responses. Just stopped a couple days
ago??!!

Well, that went quicker than I thought. I figured out why my app wasn't changing the printdialog landscape setting,.... In my app I was using 'printer = html.HtmlEasyPrinting()' instead of
declaring it for the whole class. So moved it to initialization of the class and changed to self.printer=html.HtmlEasyPrintint() and
now it works. Changes to landscape and paperid.

I didn't realize I had to declare it for the whole class. Thought could just use it as a local in the print function in the main class.

It doesn't necessarily have to be tied to the whole class, but just has to persist long enough that the settings saved in it from the print dialogs is still there when the printing is done.

Still have the problem though with the actual print out and preview
from the dialog in Linux. Windows works.

Recap:

I have tried the linux wxPython demo and if you use the 'More Window Controls/HtmlWindow' there is my problem. If you chose 'print' then from printdialog chose 'Landscape' then
chose 'Print Preview'. It changes the paper to Landscape but the actual
contents of the pages is still Portrait. This doesn't happen on the windows
demo.

It works for me in my current 2.8 workspace. I expect that this is one of the recent bug fixes.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!