This reverts commit r74656, because it breaks initialization order by
calling OnInit() too late. See
https://groups.google.com/d/topic/wx-dev/H5vgc2VO7K4/discussion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74854
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual void OSXOnWillTerminate();
private:
virtual void OSXOnWillTerminate();
private:
#if wxOSX_USE_COCOA_OR_IPHONE
void wxApp::OSXOnWillFinishLaunching()
{
#if wxOSX_USE_COCOA_OR_IPHONE
void wxApp::OSXOnWillFinishLaunching()
{
m_onInitResult = OnInit();
m_onInitResult = OnInit();
}
void wxApp::OSXOnDidFinishLaunching()
}
void wxApp::OSXOnDidFinishLaunching()
bool wxApp::CallOnInit()
{
wxMacAutoreleasePool autoreleasepool;
bool wxApp::CallOnInit()
{
wxMacAutoreleasePool autoreleasepool;
- // this will only run one cycle to make sure the OS is ready
+ m_onInitResult = false;
}
void wxApp::DoCleanUp()
}
void wxApp::DoCleanUp()