wxGetApp() & Original Object Return

From: Robin Dunn [mailto:robin@alldunn.com]

Richard Cooper wrote:
> I've subclassed wxApp, overridden OnInit and added some
methods of my own. I
> would like to use wxGetApp() to get my app and call these
methods, however
> I'm running into what looks like an OOR problem.
>

Which version? I just added OOR support to wxApp recently.

I'm running 2.4.0.2 on 2.2.1 on Windows 2000.

Should upgrading to 2.4.0.6 fix this?

Rich

Richard Cooper wrote:

Which version? I just added OOR support to wxApp recently.

I'm running 2.4.0.2 on 2.2.1 on Windows 2000.

Should upgrading to 2.4.0.6 fix this?

Yes, but be sure to apply the patch to wx.py that has been mentioned here recently. 2.4.0.7 should happen in a few days, depending on how the trial builds go. It will have that fix and a few others.

ยทยทยท

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