Correct wxPickerBase size calculation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 &)
|
||||
|
Reference in New Issue
Block a user