]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinctrl.cpp
1. coloured buttons seem to work
[wxWidgets.git] / src / msw / spinctrl.cpp
index d37468bbf011b7ae05bc281fea1757672c71013d..27b0b26c2d4c64864b768e42823d405d6dbd69a6 100644 (file)
@@ -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;