Demo and multiversion installs
Bill Baxter
wbaxter at gmail.com
Tue May 15 13:24:07 PDT 2007
Is there some reason that the demo.py doesn't use wxversion.select mojo?
The wx 2.8 demos fail to run for me because I have 2.6 installed as the
default.
Adding this to the top of "Main.py" fixes it:
import wxversion
wxversion.select("2.8")
But probably even better would be to do the full-on checkInstalled thing and
print out a sensible error message if the right version isn't installed.
--bb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-dev/attachments/20070516=
/8fb803f4/attachment.htm
More information about the wxpython-dev
mailing list