]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/spinbutt.cpp
toplevel code transferred to wxTopLevelWindow
[wxWidgets.git] / src / mac / carbon / spinbutt.cpp
index cdf211ab43a1f67ac2370817eda5afd25cc1f04c..b396d675d0922d604dadc48ebe26fcf8ced9c469 100644 (file)
@@ -161,17 +161,6 @@ void wxSpinButton::MacHandleControlClick( ControlHandle control , SInt16 control
 
 wxSize wxSpinButton::DoGetBestSize() const
 {
-    if ( (GetWindowStyle() & wxSP_HORIZONTAL) == 0 )
-    {
-        // vertical control
-        return wxSize(16,
-                      2*16);
-    }
-    else
-    {
-        // horizontal control
-        return wxSize(2*16,
-                      16);
-    }
+  return wxSize(16,24);
 }