adapting init sequence for different osx platforms

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-07-10 17:46:05 +00:00
parent d39292566b
commit cf4ce62c26
3 changed files with 18 additions and 1 deletions

View File

@@ -841,11 +841,13 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
return true;
}
#if wxOSX_USE_COCOA_OR_CARBON
bool wxApp::CallOnInit()
{
wxMacAutoreleasePool autoreleasepool;
return OnInit();
}
#endif
bool wxApp::OnInitGui()
{