Correct initial value of "Toggle toolbar" check menu item in the sample.
This item should initially be checked because the toolbar is initially shown. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -627,6 +627,7 @@ MyFrame::MyFrame(wxFrame* parent,
|
||||
// Associate the menu bar with the frame
|
||||
SetMenuBar(menuBar);
|
||||
|
||||
menuBar->Check(IDM_TOOLBAR_TOGGLE_TOOLBAR, true);
|
||||
menuBar->Check(IDM_TOOLBAR_SHOW_BOTH, true);
|
||||
menuBar->Check(IDM_TOOLBAR_TOGGLETOOLTIPS, true);
|
||||
|
||||
|
Reference in New Issue
Block a user