Possible bug in WxPython

Tim Roberts timr at probo.com
Tue Sep 10 01:44:39 EDT 2002

vtail at yandex.ru (vtail) wrote:

>When trying to run an example program from wxWiKi
>http://wiki.wxpython.org/index.cgi/Getting_20Started, section 7.1.2, I
>encounter following error. Could someone please explain it to me?
>app = wxPySimpleApp()
>frame = MainWindow(None, -1, "Sample editor")

Mikey is right.  All wxPython programs need this:


at the very end in order to do anything useful.  That's the command that
actually starts the message loop and lets things display.

There was a typo in the wxWiki page that suppressed that line.  I have now
repaired it...
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.

More information about the Python-list mailing list