X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a9c22462aec446d06267ac10b99f1115704b9d1..0deff0880d28a2b52d6fd666c96d29f2e703e33d:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index 70c9dafcdb..bdbed9efd0 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -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;