Merge branch 'master' of https://github.com/Amebis/wxExtend
This commit is contained in:
commit
196687e7aa
@ -79,6 +79,16 @@ bool WXEXTEND_API wxAuiManagerUpdatePerspectiveCaptions(wxAuiManager& mgr, wxStr
|
|||||||
// Update caption.
|
// Update caption.
|
||||||
pane.caption = p.caption;
|
pane.caption = p.caption;
|
||||||
|
|
||||||
|
// Reset best/min/max sizes to allow resize on GUI changes across different versions.
|
||||||
|
pane.best_size = p.best_size;
|
||||||
|
pane.min_size = p.min_size;
|
||||||
|
pane.max_size = p.max_size;
|
||||||
|
|
||||||
|
if ((pane.state & wxAuiPaneInfo::optionResizable) == 0) {
|
||||||
|
// Reset floating size to allow resize on GUI changes across different versions for non-resizeable panes.
|
||||||
|
pane.floating_size = p.floating_size;
|
||||||
|
}
|
||||||
|
|
||||||
// Re-generate and append pane info.
|
// Re-generate and append pane info.
|
||||||
result += mgr.SavePaneInfo(pane) + wxT('|');
|
result += mgr.SavePaneInfo(pane) + wxT('|');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user