TaskBarIcon Boom :-(

Hi All,

    I have few softwares which use a taskbar icon in the same way the
wxPython demo does. Well, if I open up the demo, right click on the
taskbar icon and choose "Close wxPython demo", I get an unpleasant
Windows Error Dialog saying that Python has performed an illegal
operation etc etc etc...
Is this a bug? I am almost sure it didn't happen with previous versions...

This is Windows XP, Python 2.5, wxPython 2.8.6.0 ansi.

Thank you for your suggestions.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

Andrea Gavana wrote:

Hi All,

    I have few softwares which use a taskbar icon in the same way the
wxPython demo does. Well, if I open up the demo, right click on the
taskbar icon and choose "Close wxPython demo", I get an unpleasant
Windows Error Dialog saying that Python has performed an illegal
operation etc etc etc...
Is this a bug? I am almost sure it didn't happen with previous versions...

This is Windows XP, Python 2.5, wxPython 2.8.6.0 ansi.

Thank you for your suggestions.

Try using wx.CallAfter to close the frame.

···

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