]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't call SetMinSize() on the pane as this prevents GetBestSize() from ever calling...
authorRobert Roebling <robert@roebling.de>
Fri, 30 Jan 2009 23:04:17 +0000 (23:04 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 30 Jan 2009 23:04:17 +0000 (23:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/collpaneg.cpp

index 85874c573fdd6234c27edfcdca2816ecfa2b8a7e..25450bf9ce9ec46c0b58a2015b754f6b22756eab 100644 (file)
@@ -160,7 +160,7 @@ wxString wxGenericCollapsiblePane::GetBtnLabel() const
 void wxGenericCollapsiblePane::OnStateChange(const wxSize& sz)
 {
     // minimal size has priority over the best size so set here our min size
-    SetMinSize(sz);
+//    SetMinSize(sz);
     SetSize(sz);
 
     if (this->HasFlag(wxCP_NO_TLW_RESIZE))