]> git.saurik.com Git - wxWidgets.git/commitdiff
menu items for Centre() tests shouldn't be checkable
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Aug 2006 11:33:34 +0000 (11:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Aug 2006 11:33:34 +0000 (11:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.cpp

index fac0da8183ae64a5d4b26816a7aef7587b1613b1..bdb79dd3ee6a54e51e717200fef4a8bffb501191 100644 (file)
@@ -360,8 +360,8 @@ bool MyApp::OnInit()
     wxMenu *dialogs_menu = new wxMenu;
     dialogs_menu->Append(DIALOGS_MODAL, _T("&Modal dialog\tCtrl-W"));
     dialogs_menu->AppendCheckItem(DIALOGS_MODELESS, _T("Mode&less dialog\tCtrl-Z"));
-    dialogs_menu->AppendCheckItem(DIALOGS_CENTRE_SCREEN, _T("Centered on &screen\tShift-Ctrl-1"));
-    dialogs_menu->AppendCheckItem(DIALOGS_CENTRE_PARENT, _T("Centered on &parent\tShift-Ctrl-2"));
+    dialogs_menu->Append(DIALOGS_CENTRE_SCREEN, _T("Centered on &screen\tShift-Ctrl-1"));
+    dialogs_menu->Append(DIALOGS_CENTRE_PARENT, _T("Centered on &parent\tShift-Ctrl-2"));
     file_menu->Append(wxID_ANY, _T("&Generic dialogs"), dialogs_menu);
 #endif // USE_MODAL_PRESENTATION