]> git.saurik.com Git - wxWidgets.git/commitdiff
make sure log output on the iphone goes to the console by default
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 14 Apr 2010 16:46:45 +0000 (16:46 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 14 Apr 2010 16:46:45 +0000 (16:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appcmn.cpp

index 003debce41f173b30e88e8c89fb67c14182cc4b6..ea48ba716c7623698eab9021a7de12bf8cb11d6f 100644 (file)
@@ -399,7 +399,11 @@ bool wxAppBase::SendIdleEvents(wxWindow* win, wxIdleEvent& event)
 wxLog *wxGUIAppTraitsBase::CreateLogTarget()
 {
 #if wxUSE_LOGGUI
+#ifndef __WXOSX_IPHONE__
     return new wxLogGui;
+#else
+    return new wxLogStderr;
+#endif
 #else
     // we must have something!
     return new wxLogStderr;