]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appbase.cpp
Make public headers compatible with Objective-C++ with ARC.
[wxWidgets.git] / src / common / appbase.cpp
index f1c8918afeefe435df27357c1eb1a3f3d5974c49..da6f2948ef91b50a013fb373c7a3cbd80f4ac2ad 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     19.06.2003 (extracted from common/appcmn.cpp)
-// RCS-ID:      $Id$
 // Copyright:   (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -325,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;
 }