I'm still working on getting printing working with the wxPython printing
framework.
wx.Printout.GetDC() is supposed to return a device context on which to
draw the page. When doing a print preview, it is supposed to return a
wx.MemoryDC, which it does.
However, the wxWidgets documentation indicates that GetDC() will return
a wx.PrinterDC for printing under Windows/Mac or a wx.PostscriptDC for
other platforms. I'm running Linux (GTK), and it looks like the DC I'm
getting from GetDC() is a wx._gdi.DC. Is this correct or am I missing
something?
configuration:
Ubuntu Dapper (6.06)
Gnome 2.14.3
Python 2.4.3
wxPython 2.8.7.1
Thanks,
Mark