From: Julian Smart Date: Wed, 13 Sep 2000 11:34:15 +0000 (+0000) Subject: Added accelerator to bitmap menu item X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8088e4c6288247bf4255f43b427ab9f2856ffbe5?hp=191ebf4d459ca672c8d7678293c0ab3b05ba95d2 Added accelerator to bitmap menu item git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 3346cf7424..98f94475cb 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -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 );