// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "appbase.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__
+#ifndef WX_PRECOMP
+ #include "wx/app.h"
+ #include "wx/debug.h"
+#endif
-#include "wx/app.h"
-#include "wx/debug.h"
+#include "wx/module.h"
// ----------------------------------------------------------------------------
// global vars
wxAppInitializerFunction
wxAppBase::m_appInitFn = (wxAppInitializerFunction)NULL;
-#if wxUSE_THREADS
- // List of events pending processing
- wxList *wxPendingEvents = NULL;
- wxCriticalSection *wxPendingEventsLocker = NULL;
-#endif // wxUSE_THREADS
-
// ----------------------------------------------------------------------------
// private classes
// ----------------------------------------------------------------------------
// 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 )