]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
Installation file
[wxWidgets.git] / src / common / init.cpp
index 70c9dafcdbb824c857d9b9e59c330255aef42c4d..bdbed9efd0b3525d896c293d602e465b06e4f854 100644 (file)
@@ -35,7 +35,7 @@
 // global vars
 // ----------------------------------------------------------------------------
 
-wxApp * WXDLLEXPORT wxTheApp = NULL;
+WXDLLEXPORT wxApp *wxTheApp = NULL;
 
 wxAppInitializerFunction
     wxAppBase::m_appInitFn = (wxAppInitializerFunction)NULL;
@@ -76,13 +76,6 @@ void WXDLLEXPORT wxExit()
     abort();
 }
 
-// Yield to other apps/messages
-bool WXDLLEXPORT wxYield()
-{
-    // do nothing
-    return TRUE;
-}
-
 // Yield to other apps/messages
 void WXDLLEXPORT wxWakeUpIdle()
 {
@@ -116,6 +109,7 @@ bool WXDLLEXPORT wxInitialize()
         return FALSE;
     }
 
+    wxTheApp->DoInit();
     gs_nInitCount++;
 
     return TRUE;