X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..a59c124d063b0df0b3259d99b5b569206414f8f5:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index 390dced3de..0b9a9ae16b 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -48,6 +48,7 @@ class /* no WXDLLEXPORT */ wxConsoleApp : public wxApp { public: virtual int OnRun() { wxFAIL_MSG(wxT("unreachable")); return 0; } + virtual bool ProcessIdle() { return TRUE; } }; // ---------------------------------------------------------------------------- @@ -76,13 +77,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 +110,7 @@ bool WXDLLEXPORT wxInitialize() return FALSE; } + wxTheApp->DoInit(); gs_nInitCount++; return TRUE;