- statbarStyleMenu->Append(StatusBar_SetStyleEllipsizeStart, wxT("wxSTB_ELLIPSIZE_START"), wxT("Toggles the wxSTB_ELLIPSIZE_START style"), true);
- statbarStyleMenu->Append(StatusBar_SetStyleEllipsizeMiddle, wxT("wxSTB_ELLIPSIZE_MIDDLE"), wxT("Toggles the wxSTB_ELLIPSIZE_MIDDLE style"), true);
- statbarStyleMenu->Append(StatusBar_SetStyleEllipsizeEnd, wxT("wxSTB_ELLIPSIZE_END"), wxT("Toggles the wxSTB_ELLIPSIZE_END style"), true);
- statbarMenu->Append(StatusBar_SetPaneStyle, wxT("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);