Merge branch 'msw-tbar-resize'
Many fixes for wxToolBar (re)sizing in wxMSW, partially addressing toolbar size changes since the previous wxWidgets versions. See https://github.com/wxWidgets/wxWidgets/pull/1241 Closes #18294.
This commit is contained in:
@@ -350,7 +350,7 @@ void MyFrame::RecreateToolbar()
|
||||
style |= wxTB_RIGHT;
|
||||
break;
|
||||
case TOOLBAR_BOTTOM:
|
||||
style |= wxTB_BOTTOM;
|
||||
style |= wxTB_BOTTOM;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user