moving OnInit to a later stage to avoid Carbon Emulation artifacts by the OS, fixes #11839
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -841,7 +841,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
|
||||
return true;
|
||||
}
|
||||
|
||||
#if wxOSX_USE_COCOA_OR_CARBON
|
||||
#if wxOSX_USE_CARBON
|
||||
bool wxApp::CallOnInit()
|
||||
{
|
||||
wxMacAutoreleasePool autoreleasepool;
|
||||
@@ -866,20 +866,12 @@ bool wxApp::ProcessIdle()
|
||||
return wxAppBase::ProcessIdle();
|
||||
}
|
||||
|
||||
#if wxOSX_USE_COCOA_OR_CARBON
|
||||
|
||||
int wxApp::OnRun()
|
||||
{
|
||||
wxMacAutoreleasePool pool;
|
||||
return wxAppBase::OnRun();
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
// iPhone version in utils.mm
|
||||
|
||||
#endif
|
||||
|
||||
#if wxOSX_USE_CARBON
|
||||
bool wxApp::DoInitGui()
|
||||
{
|
||||
|
Reference in New Issue
Block a user