X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f931438cc1738c125eaa3c4c9a23db4ad670644..4a0dcc87af44792d5dc993daa5b20f10348233da:/src/aui/framemanager.cpp diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index a63b4375b0..7bfe00a74f 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -2538,6 +2538,14 @@ void wxAuiManager::Update() */ } + // update whether the pane is resizable or not + long style = p.frame->GetWindowStyleFlag(); + if (p.IsFixed()) + style &= ~wxRESIZE_BORDER; + else + style |= wxRESIZE_BORDER; + p.frame->SetWindowStyleFlag(style); + if (p.frame->IsShown() != p.IsShown()) p.frame->Show(p.IsShown()); }