[wxpython-users] Win32 mode and graphics?

Mike Driscoll mdriscoll at co.marshall.ia.us
Fri May 2 07:26:32 PDT 2008


Brian,
> I just set up an ancient Win98 machine to do compatability testing 
> with the wxPython work.. Amazingly, I git Python 2.5.2 on it, and 
> wxWidgets current release.. NumPy 1.0.4 completes the list so far
>
> so I am going through demos.. yes, FloatCanvas in the demo app. but I 
> am getting errors
>   CreateXXXBrush() failed with error (number) (this function only 
> valid in Win32 mode)
>
> the Windows machines I will likely run on are certainly newer than 
> this one.. but I sure would like to be able to test things while I 
> develop (on my non-windows laptop)
>
>   Is there somehting else I can do to fix this up?
>
>   thanks
>     -Brian
>
The easiest thing to do is to upgrade your Windows box (which I realize 
isn't always all that easy). Microsoft isn't supporting Windows 98 and 
Python is dropping support for it too in 2.6/3.0 (see 
http://groups.google.com/group/comp.lang.python/browse_frm/thread/8dffd824c50bab9a# 
or http://www.python.org/dev/peps/pep-0011/)

My guess is that the FloatCanvas doesn't have all the APIs it needs to 
function correctly on Windows 98, so some of them just don't work. 
Hopefully Chris will know and weigh in.

Mike




More information about the wxpython-users mailing list