+ statbarStyleMenu->Append(StatusBar_SetStyleSizeGrip, wxT("wxSTB_SIZE_GRIP"),
+ wxT("Toggles the wxSTB_SIZE_GRIP style"), true);
+ statbarStyleMenu->Append(StatusBar_SetStyleShowTips, wxT("wxSTB_SHOW_TIPS"),
+ wxT("Toggles the wxSTB_SHOW_TIPS style"), true);
+ statbarStyleMenu->AppendSeparator();
+ 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.");
+ statbarMenu->AppendSeparator();
+
+ statbarMenu->Append(StatusBar_SetFields, wxT("&Set field count\tCtrl-C"),
+ wxT("Set the number of status bar fields"));
+ statbarMenu->Append(StatusBar_SetFont, wxT("&Set field font\tCtrl-F"),
+ wxT("Set the font to use for status bar fields"));
+
+ wxMenu *statbarPaneStyleMenu = new wxMenu;
+ statbarPaneStyleMenu->AppendCheckItem
+ (
+ StatusBar_SetPaneStyleNormal,
+ wxT("&Normal"),
+ wxT("Sets the style of the first field to normal (sunken) look")
+ );
+ statbarPaneStyleMenu->AppendCheckItem
+ (
+ StatusBar_SetPaneStyleFlat,
+ wxT("&Flat"),
+ wxT("Sets the style of the first field to flat look")
+ );
+ statbarPaneStyleMenu->AppendCheckItem
+ (
+ StatusBar_SetPaneStyleRaised,
+ wxT("&Raised"),
+ wxT("Sets the style of the first field to raised look")
+ );
+ statbarMenu->Append(StatusBar_SetPaneStyle, wxT("Field style"),
+ statbarPaneStyleMenu);
+
+ statbarMenu->Append(StatusBar_ResetFieldsWidth, wxT("Reset field widths"),
+ wxT("Sets all fields to the same width"));
+ statbarMenu->Append(StatusBar_ShowFieldsRect,
+ wxT("Sho&w field rectangles\tCtrl-W"),
+ wxT("Visually show field rectangles"));
+ statbarMenu->AppendSeparator();
+
+ statbarMenu->AppendCheckItem(StatusBar_Toggle, wxT("&Toggle Status Bar"),
+ wxT("Toggle the status bar display"));
+ statbarMenu->Append(StatusBar_Recreate, wxT("&Recreate\tCtrl-R"),
+ wxT("Toggle status bar format"));