Possible bug in WxPython

Mikey at Work itsmikeytime at hotmail.com
Mon Sep 9 11:22:01 EDT 2002


"vtail" <vtail at yandex.ru> wrote in message
news:9ff6b66.0209090557.3c0e3c94 at posting.google.com...
> Greetings.
>
> 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?
> I've attached the error message and the program that causes it.
>
> O:\_PUBLIC\Newdbase\Python\wxPython>python test4.pyw > aaa.txt
> 17:52:59: Debug: c:\Projects\wx\src\msw\app.cpp(542):
> 'UnregisterClass(no redraw
>  canvas)' failed with error 0x00000584 (class still has open
> windows.).

I had the exact same problem this morning.  I got around it by adding:

app.MainLoop()

at the end of the program.  It solved my problems.






More information about the Python-list mailing list