+
+ // create the log text window
+ m_textctrl = new wxTextCtrl(this, -1, _T(""),
+ wxDefaultPosition, wxDefaultSize,
+ wxTE_MULTILINE);
+ m_textctrl->SetEditable(FALSE);
+
+ wxLog::SetTimestamp(NULL);
+ m_logOld = wxLog::SetActiveTarget(new wxLogTextCtrl(m_textctrl));
+
+ wxLogMessage(_T("Brief explanations: the commands or the \"Menu\" menu ")
+ _T("append/insert/delete items to/from the last menu.\n")
+ _T("The commands from \"Menubar\" menu work with the ")
+ _T("menubar itself.\n\n")
+ _T("Right click the band below to test popup menus.\n"));