From 23dee36ec3df4edb91e86f47bc4aef67516427d0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 24 Feb 2019 22:13:54 +0100 Subject: [PATCH] Add accelerators for toolbar positioning menu items in the sample This makes it much more convenient to quickly test different toolbar orientations. --- samples/toolbar/toolbar.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/toolbar/toolbar.cpp b/samples/toolbar/toolbar.cpp index e3745b9669..f787d739d7 100644 --- a/samples/toolbar/toolbar.cpp +++ b/samples/toolbar/toolbar.cpp @@ -574,16 +574,16 @@ MyFrame::MyFrame(wxFrame* parent, tbarMenu->AppendSeparator(); tbarMenu->AppendRadioItem(IDM_TOOLBAR_TOP_ORIENTATION, - "Set toolbar at the top of the window", + "Set toolbar at the top of the window\tCtrl-Up", "Set toolbar at the top of the window"); tbarMenu->AppendRadioItem(IDM_TOOLBAR_LEFT_ORIENTATION, - "Set toolbar at the left of the window", + "Set toolbar at the left of the window\tCtrl-Left", "Set toolbar at the left of the window"); tbarMenu->AppendRadioItem(IDM_TOOLBAR_BOTTOM_ORIENTATION, - "Set toolbar at the bottom of the window", + "Set toolbar at the bottom of the window\tCtrl-Down", "Set toolbar at the bottom of the window"); tbarMenu->AppendRadioItem(IDM_TOOLBAR_RIGHT_ORIENTATION, - "Set toolbar at the right edge of the window", + "Set toolbar at the right edge of the window\tCtrl-Right", "Set toolbar at the right edge of the window"); tbarMenu->AppendSeparator();