- statbarStyleMenu->Append(StatusBar_SetStyleEllipsizeStart, _T("wxSTB_ELLIPSIZE_START"), _T("Toggles the wxSTB_ELLIPSIZE_START style"), true);
- statbarStyleMenu->Append(StatusBar_SetStyleEllipsizeMiddle, _T("wxSTB_ELLIPSIZE_MIDDLE"), _T("Toggles the wxSTB_ELLIPSIZE_MIDDLE style"), true);
- statbarStyleMenu->Append(StatusBar_SetStyleEllipsizeEnd, _T("wxSTB_ELLIPSIZE_END"), _T("Toggles the wxSTB_ELLIPSIZE_END style"), true);
- statbarMenu->Append(StatusBar_SetPaneStyle, _T("Status bar style"), statbarStyleMenu);
+ statbarStyleMenu->AppendCheckItem(StatusBar_SetStyleEllipsizeStart,
+ wxT("wxSTB_ELLIPSIZE_START"),
+ wxT("Toggle wxSTB_ELLIPSIZE_START style"));
+ statbarStyleMenu->AppendCheckItem(StatusBar_SetStyleEllipsizeMiddle,
+ wxT("wxSTB_ELLIPSIZE_MIDDLE"),
+ wxT("Toggle wxSTB_ELLIPSIZE_MIDDLE style"));
+ statbarStyleMenu->AppendCheckItem(StatusBar_SetStyleEllipsizeEnd,
+ wxT("wxSTB_ELLIPSIZE_END"),
+ wxT("Toggle wxSTB_ELLIPSIZE_END style"));
+ statbarMenu->Append(StatusBar_SetPaneStyle, wxT("Status bar style"),
+ statbarStyleMenu);
+ statbarMenu->AppendSeparator();
+
+ statbarMenu->Append(StatusBar_SetField, "Set active field &number\tCtrl-N",
+ "Set the number of field used by the next commands.");
+ statbarMenu->Append(StatusBar_SetText, wxT("Set field &text\tCtrl-T"),
+ wxT("Set the text of the selected field."));
+ statbarMenu->Append(StatusBar_PushText, "P&ush field text\tCtrl-P",
+ "Push a message on top the selected field.");
+ statbarMenu->Append(StatusBar_PopText, "&Pop field text\tShift-Ctrl-P",
+ "Restore the previous contents of the selected field.");