+ menu_bar->Append(menuText, "Te&xt");
+
+ wxMenu *menuLog = new wxMenu;
+ menuLog->Append(TEXT_LOG_KEY, "Log &key events", "", TRUE);
+ menuLog->Append(TEXT_LOG_CHAR, "Log &char events", "", TRUE);
+ menuLog->Append(TEXT_LOG_MOUSE, "Log &mouse events", "", TRUE);
+ menuLog->AppendSeparator();
+ menuLog->Append(TEXT_CLEAR, "&Clear the log\tCtrl-C",
+ "Clear the log window contents");
+ menuLog->Check(TEXT_LOG_KEY, TRUE);
+ menuLog->Check(TEXT_LOG_CHAR, TRUE);
+ menuLog->Check(TEXT_LOG_MOUSE, TRUE);
+ menu_bar->Append(menuLog, "&Log");