]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/spinctrl.cpp
Replaced SetSizeHints -> SetMinSize
[wxWidgets.git] / 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: