Remove conflicting keyboard shortcut from the menu sample.

The sample used <Alt+F> for the Get menu info command. However,
this conflicted with the shortcut used to invoke the File menu.

Fix this by using a different shortcut for the Get menu info.
This commit is contained in:
PB
2026-07-17 09:12:17 +02:00
parent fc2bf0bc22
commit bb21ab03d3
+1 -1
View File
@@ -638,7 +638,7 @@ MyFrame::MyFrame()
menuMenu->AppendSeparator();
#endif
menuMenu->Append(Menu_Menu_GetInfo, "Get menu item in&fo\tAlt-F",
menuMenu->Append(Menu_Menu_GetInfo, "Get menu item inf&o\tAlt-O",
"Show the state of the last menu item");
#if wxUSE_TEXTDLG
menuMenu->Append(Menu_Menu_SetLabel, "Set menu item label\tAlt-L",