mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-26 01:28:38 +08:00
Allow using F2 for renaming items in the treectrl sample
This makes it simpler to test this functionality and it's also the standard key for doing this, at least under MSW.
This commit is contained in:
@@ -291,7 +291,7 @@ MyFrame::MyFrame(const wxString& title, int x, int y, int w, int h)
|
||||
tree_menu->Append(TreeTest_DecSpacing, "Reduce spacing by 5 points\tCtrl-R");
|
||||
|
||||
item_menu->Append(TreeTest_Dump, "&Dump item children");
|
||||
item_menu->Append(TreeTest_Rename, "&Rename item...");
|
||||
item_menu->Append(TreeTest_Rename, "&Rename item...\tF2");
|
||||
|
||||
item_menu->AppendSeparator();
|
||||
item_menu->Append(TreeTest_SetBold, "Make item &bold");
|
||||
|
||||
Reference in New Issue
Block a user