]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/framemanager.cpp
Update AUI frame capture when it changes.
[wxWidgets.git] / src / aui / framemanager.cpp
index a1f7fb11dfe9a5a90ca8dbeef3806cb12d07511b..3680831e6ccb5720865419507fda72f02b020a92 100644 (file)
@@ -2546,6 +2546,9 @@ void wxAuiManager::Update()
                     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());
             }