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:
Vadim Zeitlin
2023-02-02 17:13:09 +01:00
parent 0e16d866ed
commit a8d8022529
+1 -1
View File
@@ -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");