X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4c890fdbe303c1e3290bc831fd958b26ccd4509..18f4ad86739936a97bcc1d72a3c6db22fceb8e78:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index 8af743b0d2..50b8642fbe 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -17,19 +17,17 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "appbase.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif //__BORLANDC__ - -#include "wx/app.h" -#include "wx/debug.h" +#ifndef WX_PRECOMP + #include "wx/app.h" + #include "wx/debug.h" + #include "wx/module.h" +#endif // ---------------------------------------------------------------------------- // global vars @@ -40,12 +38,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 // ----------------------------------------------------------------------------