]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
Committing in .
[wxWidgets.git] / src / common / init.cpp
index 8af743b0d2fe4012f4b02423368a9db492bd64b9..8925cb193f5e7adf6c6e25aa51d2037b89cd72fe 100644 (file)
 // 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/module.h"
 
-#include "wx/app.h"
-#include "wx/debug.h"
 
 // ----------------------------------------------------------------------------
 // global vars
@@ -40,12 +40,6 @@ wxApp * WXDLLEXPORT wxTheApp = NULL;
 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
 // ----------------------------------------------------------------------------