wxCocoa: Don't use listbox for logging until it's more fully implemented.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2004-01-29 06:21:59 +00:00
parent 914df545ff
commit 7bb70733bb

View 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()