From: Robert Roebling Date: Mon, 30 Oct 2006 19:09:59 +0000 (+0000) Subject: Replaced SetSizeHints() with SetMinSize(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cecf69f30dc8f5f29ad636b97eb6fa73621c6e2a Replaced SetSizeHints() with SetMinSize(). Fixed what must by typo be the way. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/combobxc.cpp b/src/mac/carbon/combobxc.cpp index dc03529a98..0925ed43e8 100644 --- a/src/mac/carbon/combobxc.cpp +++ b/src/mac/carbon/combobxc.cpp @@ -399,9 +399,7 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id, (EventHandlerRef *)&comboEventHandler); #else m_choice = new wxComboBoxChoice(this, style ); - - m_choice = new wxComboBoxChoice(this, style ); - m_choice->SetSizeHints( wxSize( POPUPWIDTH , POPUPHEIGHT ) ); + m_choice->SetMinSize( wxSize( POPUPWIDTH , POPUPHEIGHT ) ); wxSize csize = size; if ( style & wxCB_READONLY )