]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/floatpane.cpp
added assert checking the column index validity (see #10687)
[wxWidgets.git] / src / aui / floatpane.cpp
index f98693a9d10399142f3729069af9d60b24a39916..2c4a256215723c6169bb254699b9083a195b0e0d 100644 (file)
@@ -144,6 +144,11 @@ void wxAuiFloatingFrame::SetPaneWindow(const wxAuiPaneInfo& pane)
 
         SetClientSize(size);
     }
+    
+    if (pane.IsFixed())
+    {
+        SetWindowStyleFlag(GetWindowStyleFlag() & ~wxRESIZE_BORDER);
+    }
 }
 
 wxAuiManager* wxAuiFloatingFrame::GetOwnerManager() const