]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/widgets.cpp
added wxSetCCUnicodeFormat() and use it in wxTreeCtrl/wxToolBar; also replaced SendMe...
[wxWidgets.git] / samples / widgets / widgets.cpp
index 89836f02ec4eda944eddf4541db4cef2c8698346..6f51626845f57621f73ede5ff5b5cc7a4677deb2 100644 (file)
@@ -282,10 +282,13 @@ WidgetsFrame::WidgetsFrame(const wxString& title)
     sizerTop->Fit(this);
     sizerTop->SetSizeHints(this);
 
+    // wxCocoa's listbox is too flakey to use for logging right now
+    #if !defined(__WXCOCOA__)
     // now that everything is created we can redirect the log messages to the
     // listbox
     m_logTarget = new LboxLogger(m_lboxLog, wxLog::GetActiveTarget());
     wxLog::SetActiveTarget(m_logTarget);
+    #endif
 }
 
 void WidgetsFrame::InitNotebook()