]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/app.cpp
Comment out direction aware code for now.
[wxWidgets.git] / src / x11 / app.cpp
index afe3bb92a701374a5beeec2dd425a9888fc59c37..6afd9e20062b1744a4bfb3ed96e89f72d6a067c9 100644 (file)
     #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"
 
@@ -668,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;