]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/pickerbase.cpp
make things compile under 10.3 again
[wxWidgets.git] / src / common / pickerbase.cpp
index cc35df3255f1c4fad72229e941519ce2583fb0e6..f02542619313d0b9861249c806bd9cef22ef708b 100644 (file)
@@ -119,7 +119,7 @@ void wxPickerBase::PostCreation()
     m_sizer->Add(m_picker, HasTextCtrl() ? 0 : 1, GetDefaultPickerCtrlFlag(), 5);
 
     SetSizer(m_sizer);
-    m_sizer->SetSizeHints(this);
+    SetMinSize( m_sizer->GetMinSize() );
 }
 
 void wxPickerBase::OnTextCtrlKillFocus(wxFocusEvent &)