X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e528b997e87057723d1b823dd86e3f69ebb672b..be4017f89bcffe7773934677f11964465e40c87a:/src/msw/spinctrl.cpp?ds=sidebyside diff --git a/src/msw/spinctrl.cpp b/src/msw/spinctrl.cpp index d37468bbf0..27b0b26c2d 100644 --- a/src/msw/spinctrl.cpp +++ b/src/msw/spinctrl.cpp @@ -50,9 +50,7 @@ // macros // ---------------------------------------------------------------------------- -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl, wxControl) -#endif // ---------------------------------------------------------------------------- // constants @@ -207,7 +205,7 @@ bool wxSpinCtrl::SetFont(const wxFont& font) // size calculations // ---------------------------------------------------------------------------- -wxSize wxSpinCtrl::DoGetBestSize() +wxSize wxSpinCtrl::DoGetBestSize() const { wxSize sizeBtn = wxSpinButton::DoGetBestSize(); sizeBtn.x += DEFAULT_ITEM_WIDTH + MARGIN_BETWEEN;