]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/slider.cpp
Added more compat. functions for wxGrid so grid sample compiles;
[wxWidgets.git] / src / os2 / slider.cpp
index 9dee621c51bccbcd0e8b1849a5851047eb93eedb..130472e6adab6fa092a9228677b8f63d8396d5a8 100644 (file)
@@ -27,6 +27,7 @@
 
 #if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
+#endif
 
 // Slider
 wxSlider::wxSlider()
@@ -140,6 +141,7 @@ bool wxSlider::OS2OnScroll(int WXUNUSED(orientation), WXWORD wParam,
         return TRUE;
     }
 */
+    int       newPos = 0; //temporary
     SetValue(newPos);
 
     wxScrollEvent event(scrollEvent, m_windowId);