]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wxLogStdErr in preference to wxLogGui on wxCocoa.
authorDavid Elliott <dfe@tgwbd.org>
Sat, 11 Aug 2007 01:28:42 +0000 (01:28 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sat, 11 Aug 2007 01:28:42 +0000 (01:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appcmn.cpp

index cf61da7e89cb76b92b0680ae325f65d19c507e1c..e25528a638ccc786f71d14b96e4d0893604efd08 100644 (file)
@@ -433,7 +433,9 @@ bool wxAppBase::SendIdleEvents(wxWindow* win, wxIdleEvent& event)
 
 wxLog *wxGUIAppTraitsBase::CreateLogTarget()
 {
-#if wxUSE_LOGGUI
+// DE: One day I'll remove this but right now the generic dialog used for this
+// just doesn't work right at all on wxCocoa.
+#if wxUSE_LOGGUI && !defined(__WXCOCOA__)
     return new wxLogGui;
 #else
     // we must have something!