]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appbase.cpp
Applied #15375 to stop event-sending in generic wxSpinCtrl ctor (eco)
[wxWidgets.git] / src / common / appbase.cpp
index dba66974cb71f2045cb856836f2c69b26fd6ebe9..da6f2948ef91b50a013fb373c7a3cbd80f4ac2ad 100644 (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;
 }