]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/framemanager.cpp
Fix Shift+TAB navigation from wxNotebook.
[wxWidgets.git] / src / aui / framemanager.cpp
index a63b4375b0ac282f2cb7b894796f357d9a098e17..7bfe00a74f6005f9bf7a8e9275af5f5d9dbb1ce0 100644 (file)
@@ -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());
             }