X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d90072c22f3f7aff3991ef3187c67b2cdc5ea70..41f44cca0a5130f104aaeefad1f07a39a1491c0f:/src/common/appcmn.cpp diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 7f31949cb4..3316cced79 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -25,14 +25,15 @@ #endif #ifndef WX_PRECOMP + #include "wx/list.h" #include "wx/app.h" #include "wx/bitmap.h" #include "wx/intl.h" - #include "wx/list.h" #include "wx/log.h" #include "wx/msgdlg.h" #include "wx/bitmap.h" #include "wx/confbase.h" + #include "wx/utils.h" #endif #include "wx/apptrait.h" @@ -40,7 +41,6 @@ #include "wx/evtloop.h" #include "wx/msgout.h" #include "wx/thread.h" -#include "wx/utils.h" #include "wx/ptr_scpd.h" #if defined(__WXMSW__) @@ -63,9 +63,6 @@ WX_CHECK_BUILD_OPTIONS("wxCore") // this defines wxEventLoopPtr wxDEFINE_TIED_SCOPED_PTR_TYPE(wxEventLoop) -// define it here as we don't have common/evtloopcmn.cpp for now -wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL; - // ============================================================================ // wxAppBase implementation // ============================================================================ @@ -107,7 +104,6 @@ bool wxAppBase::Initialize(int& argcOrig, wxChar **argvOrig) #endif wxInitializeStockLists(); - wxInitializeStockObjects(); wxBitmap::InitStandardHandlers(); @@ -140,7 +136,7 @@ void wxAppBase::CleanUp() // undo everything we did in Initialize() above wxBitmap::CleanUpHandlers(); - wxDeleteStockObjects(); + wxStockGDI::DeleteAll(); wxDeleteStockLists();