#include "wx/frame.h"
#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/timer.h"
#include "wx/filename.h"
#include "wx/univ/theme.h"
// global data
//------------------------------------------------------------------------
-extern wxList wxPendingDelete;
-
wxWindowHash *wxWidgetHashTable = NULL;
wxWindowHash *wxClientWidgetHashTable = NULL;
// 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;