]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
Fix for mingw32 compilation (replaced #ifdef NM_CUSTOMDRAW with a test for _WIN32_IE
[wxWidgets.git] / src / msw / spinbutt.cpp
index b443d1b06243a5c5d1394da76bcfdbcf34f7dd12..deafa898b21535fcea7cbe040a8a518364843cf5 100644 (file)
 // wxWin macros
 // ----------------------------------------------------------------------------
 
-#if !USE_SHARED_LIBRARY
     IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
     IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent);
-#endif
 
 // ----------------------------------------------------------------------------
 // wxSpinButton
@@ -153,7 +151,7 @@ wxSpinButton::~wxSpinButton()
 // size calculation
 // ----------------------------------------------------------------------------
 
-wxSize wxSpinButton::DoGetBestSize()
+wxSize wxSpinButton::DoGetBestSize() const
 {
     if ( (GetWindowStyle() & wxSP_VERTICAL) != 0 )
     {