]> git.saurik.com Git - wxWidgets.git/commitdiff
Added accelerator to bitmap menu item
authorJulian Smart <julian@anthemion.co.uk>
Wed, 13 Sep 2000 11:34:15 +0000 (11:34 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 13 Sep 2000 11:34:15 +0000 (11:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/menu/menu.cpp

index 3346cf74247762680ed053c409becab2ec9fe8cc..98f94475cb20ec0a449e1dcd55ef5c32711cb4ab 100644 (file)
@@ -234,7 +234,7 @@ MyFrame::MyFrame()
     wxMenu *fileMenu = new wxMenu;
     fileMenu->Append(Menu_File_Quit, "E&xit\tAlt-X", "Quit toolbar sample" );
     
-    wxMenuItem *bitmap_menu_item = new wxMenuItem( fileMenu, Menu_File_Quit, "Quit with &bitmap" );
+    wxMenuItem *bitmap_menu_item = new wxMenuItem( fileMenu, Menu_File_Quit, "Quit with &bitmap\tAlt-Q" );
     bitmap_menu_item->SetBitmap( wxBitmap( copy_xpm ) );
     fileMenu->Append( bitmap_menu_item );