Add wxAuiManager::AlwaysUsesLiveResize()
This allows to check if it's worth specifying wxAUI_MGR_LIVE_RESIZE or not and allows to get rid of the corresponding menu item in the sample if it doesn't do anything anyhow.
This commit is contained in:
parent
4f7eb2b145
commit
f6727a17a2
4 changed files with 35 additions and 7 deletions
|
|
@ -709,7 +709,9 @@ MyFrame::MyFrame(wxWindow* parent,
|
|||
options_menu->AppendCheckItem(ID_NoVenetianFade, _("Disable Venetian Blinds Hint Fade-in"));
|
||||
options_menu->AppendCheckItem(ID_TransparentDrag, _("Transparent Drag"));
|
||||
options_menu->AppendCheckItem(ID_AllowActivePane, _("Allow Active Pane"));
|
||||
options_menu->AppendCheckItem(ID_LiveUpdate, _("Live Resize Update"));
|
||||
// Only show "live resize" toggle if it's actually functional.
|
||||
if ( !wxAuiManager::AlwaysUsesLiveResize() )
|
||||
options_menu->AppendCheckItem(ID_LiveUpdate, _("Live Resize Update"));
|
||||
options_menu->AppendSeparator();
|
||||
options_menu->AppendRadioItem(ID_NoGradient, _("No Caption Gradient"));
|
||||
options_menu->AppendRadioItem(ID_VerticalGradient, _("Vertical Caption Gradient"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue