adapting to new event version

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2013-07-28 14:52:47 +00:00
parent 17243986ec
commit f7105c8fe2
3 changed files with 8 additions and 15 deletions

View File

@@ -324,12 +324,8 @@ int wxAppConsoleBase::MainLoop()
{
wxEventLoopBaseTiedPtr mainLoop(&m_mainLoop, CreateMainLoop());
#if defined(__WXOSX__) && wxOSX_USE_COCOA_OR_IPHONE
// OnLaunched called from native app controller
#else
if (wxTheApp)
wxTheApp->OnLaunched();
#endif
return m_mainLoop ? m_mainLoop->Run() : -1;
}