X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55b43eaa025408453e90a6c01f64215a9203da9a..fae803f27be8ae1c4fe8f8775b333cc0fc80bdee:/src/common/pickerbase.cpp diff --git a/src/common/pickerbase.cpp b/src/common/pickerbase.cpp index cc35df3255..f025426193 100644 --- a/src/common/pickerbase.cpp +++ b/src/common/pickerbase.cpp @@ -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 &)