From 93ffd498e60dbf13a18b3031b15fd892a6b1c57a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 28 Dec 2009 16:18:30 +0000 Subject: [PATCH] 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 --- samples/toolbar/toolbar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/toolbar/toolbar.cpp b/samples/toolbar/toolbar.cpp index 9fc57c6030..5215196180 100644 --- a/samples/toolbar/toolbar.cpp +++ b/samples/toolbar/toolbar.cpp @@ -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); -- 2.47.2