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:
parent
914df545ff
commit
7bb70733bb
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user