sys.exit causing error

Doh!
It's working now. Thanks.

Heimburger, Ralph P wrote:

I added a Close() as follows:

            self.Close()

            sys.exit()

Don't call sys.exit(). The app's MainLoop will automatically return
when all top-level windows have been destroyed, allowing your app to
exit normally.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org