]> git.saurik.com Git - wxWidgets.git/commitdiff
Replaced SetSizeHints() with SetMinSize().
authorRobert Roebling <robert@roebling.de>
Mon, 30 Oct 2006 19:09:59 +0000 (19:09 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 30 Oct 2006 19:09:59 +0000 (19:09 +0000)
  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

src/mac/carbon/combobxc.cpp

index dc03529a981e4af5b46ceb1fab8e8757cbc2a2f2..0925ed43e876755b16d9d65e353716faad332bc6 100644 (file)
@@ -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 )