git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40017
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
PaneBorder(false).
Layer(0).Row(0).Position(0);
+ // Carry over the minimum size
+ SetMinSize(pane.window->GetMinSize());
+
m_mgr.AddPane(m_pane_window, contained_pane);
m_mgr.Update();
else
{
sizer_item = vert_pane_sizer->Add(pane.window, 1, wxEXPAND);
- vert_pane_sizer->SetItemMinSize(pane.window, 1, 1);
+ // Don't do this because it breaks the pane size in floating windows
+ // vert_pane_sizer->SetItemMinSize(pane.window, 1, 1);
}
part.type = wxDockUIPart::typePane;