X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e87271f35887a50e011c7c97fc63c35f5d623e50..4f6aed9c6a21d4bc732579aa564adf4cdb2c9aab:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index 50b8642fbe..0fa42d7d8f 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -26,9 +26,10 @@ #ifndef WX_PRECOMP #include "wx/app.h" #include "wx/debug.h" - #include "wx/module.h" #endif +#include "wx/module.h" + // ---------------------------------------------------------------------------- // global vars // ---------------------------------------------------------------------------- @@ -58,6 +59,32 @@ static size_t gs_nInitCount = 0; // implementation // ============================================================================ +// ---------------------------------------------------------------------------- +// stubs for some GUI functions +// ---------------------------------------------------------------------------- + +void WXDLLEXPORT wxExit() +{ + abort(); +} + +// Yield to other apps/messages +bool WXDLLEXPORT wxYield() +{ + // do nothing + return TRUE; +} + +// Yield to other apps/messages +void WXDLLEXPORT wxWakeUpIdle() +{ + // do nothing +} + +// ---------------------------------------------------------------------------- +// wxBase-specific functions +// ---------------------------------------------------------------------------- + bool WXDLLEXPORT wxInitialize() { if ( gs_nInitCount )