Set the updated label in wxAuiManager::Update() to ensure the labels stored
two places are always in sync.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65007
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
style |= wxRESIZE_BORDER;
p.frame->SetWindowStyleFlag(style);
style |= wxRESIZE_BORDER;
p.frame->SetWindowStyleFlag(style);
+ if (p.frame->GetLabel() != p.caption)
+ p.frame->SetLabel(p.caption);
+
if (p.frame->IsShown() != p.IsShown())
p.frame->Show(p.IsShown());
}
if (p.frame->IsShown() != p.IsShown())
p.frame->Show(p.IsShown());
}