]> git.saurik.com Git - wxWidgets.git/commitdiff
Replaced SetSizeHints -> SetMinSize
authorRobert Roebling <robert@roebling.de>
Mon, 30 Oct 2006 19:13:20 +0000 (19:13 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 30 Oct 2006 19:13:20 +0000 (19:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/spinctrl.cpp

index 3db287f0a86e675182f28f85876f6087fe3c66bc..a9c852b7a5f545edf91161e39d43fbe7b0a146f5 100644 (file)
@@ -44,7 +44,7 @@ public:
         m_spin = spin;
 
         // remove the default minsize, the spinctrl will have one instead
-        SetSizeHints(-1,-1);
+        SetMinSize(wxDefaultSize);
     }
 
     bool ProcessEvent(wxEvent &event)
@@ -153,7 +153,7 @@ public:
         //SetWindowVariant(wxWINDOW_VARIANT_SMALL);
 
         // remove the default minsize, the spinctrl will have one instead
-        SetSizeHints(-1,-1);
+        SetMinSize(wxDefaultSize);
     }
 
 protected: