From 52bff00b1901566e1f5edc60fc0d7dace6189ba2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 5 Feb 2022 16:17:48 +0000 Subject: [PATCH] Add accelerators to artprov sample menu entries Allow testing various things more quickly. --- samples/artprov/arttest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/artprov/arttest.cpp b/samples/artprov/arttest.cpp index 18fb7d4f4c..3a6fe830e2 100644 --- a/samples/artprov/arttest.cpp +++ b/samples/artprov/arttest.cpp @@ -155,13 +155,13 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, wxMenu *helpMenu = new wxMenu; helpMenu->Append(wxID_ABOUT, "&About\tF1", "Show about dialog"); - menuFile->AppendCheckItem(ID_PlugProvider, "&Plug-in art provider", "Enable custom art provider"); + menuFile->AppendCheckItem(ID_PlugProvider, "&Plug-in art provider\tCtrl-P", "Enable custom art provider"); menuFile->AppendSeparator(); #if wxUSE_LOG - menuFile->Append(ID_Logs, "&Logging test", "Show some logging output"); + menuFile->Append(ID_Logs, "&Logging test\tCtrl-L", "Show some logging output"); #endif // wxUSE_LOG - menuFile->Append(ID_Browser, "&Resources browser", "Browse all available icons"); + menuFile->Append(ID_Browser, "&Resources browser\tCtrl-R", "Browse all available icons"); menuFile->AppendSeparator(); menuFile->Append(ID_Quit, "E&xit\tAlt-X", "Quit this program");