X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdf565feca722eddb84168a95dbef329ba23d719..dcfd4ac4125092a50a81d1b8059ed7dcd09ca56e:/src/x11/app.cpp diff --git a/src/x11/app.cpp b/src/x11/app.cpp index 31af47478f..e5dc6785da 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -22,13 +22,13 @@ #include "wx/frame.h" #include "wx/icon.h" #include "wx/dialog.h" + #include "wx/timer.h" + #include "wx/memory.h" + #include "wx/gdicmn.h" + #include "wx/module.h" #endif -#include "wx/gdicmn.h" -#include "wx/module.h" -#include "wx/memory.h" #include "wx/evtloop.h" -#include "wx/timer.h" #include "wx/filename.h" #include "wx/univ/theme.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;