]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
test for timegm() added
[wxWidgets.git] / src / common / init.cpp
index 8925cb193f5e7adf6c6e25aa51d2037b89cd72fe..0fa42d7d8f7fda405c2e1cf19e7e720218d753d7 100644 (file)
@@ -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 )