Hello, I've got a simple problem. I'd like to use PIL with wxPython on win32. If possible I'd like to use the DIB module that, in order to blit an image in a window, requires a win32 DC (different form the wxDC object). Some win32 guru can tell me how to obtain this in python in the paint method of a window?
Thanks
Riccardo
Hello, I've got a simple problem. I'd like to use PIL with wxPython on
win32. If possible I'd like to use the DIB module that, in order to blit
an
image in a window, requires a win32 DC (different form the wxDC object).
Some win32 guru can tell me how to obtain this in python in the paint
method of a window?
dc.GetHDC()
It's a fairly recent addition, but I'm not sure when it was added. It may
be in 2.3.1, or you may need the 2.3.2 beta to get it.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!