X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..f5ba273ecd799f652736ce2bc830283787302a56:/src/mac/spinbutt.cpp diff --git a/src/mac/spinbutt.cpp b/src/mac/spinbutt.cpp index 5ec5e1b8a2..944f72dc10 100644 --- a/src/mac/spinbutt.cpp +++ b/src/mac/spinbutt.cpp @@ -128,7 +128,7 @@ void wxSpinButton::MacHandleControlClick( ControlHandle control , SInt16 control // size calculation // ---------------------------------------------------------------------------- -wxSize wxSpinButton::DoGetBestSize() +wxSize wxSpinButton::DoGetBestSize() const { if ( (GetWindowStyle() & wxSP_VERTICAL) != 0 ) {