]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
really show the menubar (calling Show(TRUE) doesn't do it any more)
[wxWidgets.git] / src / common / appcmn.cpp
index 769a9d18b5e4be5e8a9a39852a4d2809af0b4347..1255c30938d3d6499a47d5367995d0817c8620e9 100644 (file)
@@ -465,7 +465,12 @@ void wxAppBase::OnIdle(wxIdleEvent& WXUNUSED(event))
 
 wxLog *wxGUIAppTraitsBase::CreateLogTarget()
 {
+#if wxUSE_LOGGUI
     return new wxLogGui;
+#else
+    // wem ust have something!
+    return new wxLogStderr;
+#endif
 }
 
 #endif // wxUSE_LOG