Making a pane (e.g. a toolbar) [not] resizable didn't have any effect when it
was floating, fix this by explicitly updating its style to match the internal
state.
Closes #10638.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63948
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
*/
}
+ // 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());
}