X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0badb709a86b91a203416784b649e3d00c699c7..5ac1d44aa499901b1a2e194292ba7a93112196ae:/src/x11/app.cpp?ds=sidebyside diff --git a/src/x11/app.cpp b/src/x11/app.cpp index a63e55214f..6afd9e2006 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -23,11 +23,11 @@ #include "wx/icon.h" #include "wx/dialog.h" #include "wx/timer.h" + #include "wx/memory.h" + #include "wx/gdicmn.h" #endif -#include "wx/gdicmn.h" #include "wx/module.h" -#include "wx/memory.h" #include "wx/evtloop.h" #include "wx/filename.h" @@ -46,8 +46,6 @@ // global data //------------------------------------------------------------------------ -extern wxList wxPendingDelete; - wxWindowHash *wxWidgetHashTable = NULL; wxWindowHash *wxClientWidgetHashTable = NULL; @@ -670,10 +668,12 @@ void wxApp::WakeUpIdle() // Create display, and other initialization bool wxApp::OnInitGui() { +#if wxUSE_LOG // Eventually this line will be removed, but for // now we don't want to try popping up a dialog // for error messages. delete wxLog::SetActiveTarget(new wxLogStderr); +#endif if (!wxAppBase::OnInitGui()) return false;