diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 6cd3a13646..3e1efc157f 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -1031,7 +1031,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) #if wxUSE_LOG m_log = new wxTextCtrl( this, wxID_ANY, wxT("This is the log window.\n"), wxPoint(5,260), wxSize(630,100), - wxTE_MULTILINE | wxTE_READONLY /* | wxTE_RICH */); + wxTE_MULTILINE | wxTE_READONLY | wxTE_RICH); m_logOld = wxLog::SetActiveTarget( new wxLogTextCtrl( m_log ) ); #endif // wxUSE_LOG