Windows crash on program exit

I can't find a way to avoid windows crash when i close (with the system close button) the wx application..
I've search with google for solutions bur i still have the same problem :frowning:

Alessandro Crugnola [sephiroth]
Flash | PHP Developer
http://www.sephiroth.it

Team Macromedia Volunteer for Flash
http://www.macromedia.com/go/team

Flash-php mailing list
http://www.flash-php.it/index.php?ml=fpcoders&action=subscribe

"Alessandro Crugnola *sephiroth*" <wishmaster@sephiroth.it> writes:

I can't find a way to avoid windows crash when i close (with the
system close button) the wx application..
I've search with google for solutions bur i still have the same
problem :frowning:

What version of:

     * Windows
     * Python
     * wxPython

are you using?

We have Python 2.2.2, Windows XP Professional and wxPython 2.4 and
I've never seen this problem here. Neither with our code or with the
demo.

See you,

ยทยทยท

--
Godoy. <godoy@metalab.unc.edu>

What version of:

     * Windows
     * Python
     * wxPython

are you using?

wxPythonWIN32 2.4.1.2
Python 2.3 (but the same in 2.2.2 and 2.3r2)
windows xp home (but also on professional)

Actually i commented the EVT_CLOSE line and changed the OnExit function in __del__ in order to execute the command i need on program
exit and in this way there's no more crashes..

Alessandro Crugnola [sephiroth]
Flash | PHP Developer

Team Macromedia Volunteer for Flash
http://www.macromedia.com/go/team

Alessandro Crugnola *sephiroth* wrote:

Actually i commented the EVT_CLOSE line and changed the OnExit function in __del__ in order to execute the command i need on program
exit and in this way there's no more crashes..

Joust out of curiousity what did you have in your OnExit that was causing the troubles?

ยทยทยท

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