Unexplained MSW crash with WxPython 2.5.5.1 and Python 2.4

Hello Geoff,

   I'm experiencing the same error with your application. It is not due
to PythonWin, is a wxPython problem (bug?). Your application works if you
substitute the line:

app = wx.PyApp()

With:

app = wx.PySimpleApp()

I don't know why. I never user wx.PyApp(), I am always happy with wx.PySimpleApp().
Maybe wx.PyApp() is deprecated now? Robin knows the answer, for sure.

HTH.

Andrea.

andrea_gavana@tin.it wrote:

Hello Geoff,

   I'm experiencing the same error with your application. It is not due
to PythonWin, is a wxPython problem (bug?). Your application works if you
substitute the line:

app = wx.PyApp()

With:

app = wx.PySimpleApp()

I don't know why. I never user wx.PyApp(), I am always happy with wx.PySimpleApp().
Maybe wx.PyApp() is deprecated now? Robin knows the answer, for sure.

Read the first few lines of the output of "pydoc wx.PyApp" :wink:

  > pydoc wx.PyApp
Help on class PyApp in wx:

wx.PyApp = class PyApp(EvtHandler)

···

The ``wx.PyApp`` class is an *implementation detail*, please use the

  > `wx.App` class (or some other derived class) instead.
  >

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