X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51abe921b849be69f02c174365c9a7bc8b46bd08..270a909e20a2c652fd816ad14407113ad0319c9d:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index 8925cb193f..0fa42d7d8f 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -30,7 +30,6 @@ #include "wx/module.h" - // ---------------------------------------------------------------------------- // global vars // ---------------------------------------------------------------------------- @@ -60,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 )