X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..9779893b90e4ffbb036329c2411f15aff0a93295:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index e1fef28c23..8925cb193f 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -17,12 +17,19 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "appbase.h" +#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 @@ -33,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 // ----------------------------------------------------------------------------