X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7205570233ce8420b71fa5df368054c8953ff0e4..88594d02eb59a55ac85d3210a49d02918124617b:/src/mac/carbon/spinbutt.cpp?ds=sidebyside diff --git a/src/mac/carbon/spinbutt.cpp b/src/mac/carbon/spinbutt.cpp index cdf211ab43..b396d675d0 100644 --- a/src/mac/carbon/spinbutt.cpp +++ b/src/mac/carbon/spinbutt.cpp @@ -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); }