]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/scrolbar.cpp
Improved selection mode handling in wxGrid::SelectBlock
[wxWidgets.git] / src / stubs / scrolbar.cpp
index a60274815789bda87effaf4feed9a4a4fac7c600..dca07b3b798ed030a1b9722297597fc556436cf9 100644 (file)
 
 #include "wx/scrolbar.h"
 
 
 #include "wx/scrolbar.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
 
 IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
 
-#endif
 
 // Scrollbar
 bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
 
 // Scrollbar
 bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
@@ -72,7 +70,7 @@ void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS
 
 void wxScrollBar::Command(wxCommandEvent& event)
 {
 
 void wxScrollBar::Command(wxCommandEvent& event)
 {
-    SetPosition(event.m_commandInt);
+    SetThumbPosition(event.m_commandInt);
     ProcessCommand(event);
 }
 
     ProcessCommand(event);
 }