#include "wx/wx.h"
#endif
+#if wxUSE_SPINCTRL
+
#if defined(__WIN95__)
#include "wx/spinctrl.h"
// size calculations
// ----------------------------------------------------------------------------
-wxSize wxSpinCtrl::DoGetBestSize()
+wxSize wxSpinCtrl::DoGetBestSize() const
{
wxSize sizeBtn = wxSpinButton::DoGetBestSize();
sizeBtn.x += DEFAULT_ITEM_WIDTH + MARGIN_BETWEEN;
}
#endif // __WIN95__
+
+#endif
+ // wxUSE_SPINCTRL
+