]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/scrolbar.cpp
cosmetic fixes to font encoding names
[wxWidgets.git] / src / stubs / scrolbar.cpp
index 0058a14f53583ade1e186d2a0b3657bd787696bb..dca07b3b798ed030a1b9722297597fc556436cf9 100644 (file)
 
 #include "wx/scrolbar.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
 
-#endif
 
 // Scrollbar
 bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
@@ -48,12 +46,12 @@ wxScrollBar::~wxScrollBar()
 {
 }
 
-void wxScrollBar::SetPosition(int viewStart)
+void wxScrollBar::SetThumbPosition(int viewStart)
 {
     // TODO
 }
 
-int wxScrollBar::GetPosition() const
+int wxScrollBar::GetThumbPosition() const
 {
     // TODO
     return 0;
@@ -72,7 +70,7 @@ void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS
 
 void wxScrollBar::Command(wxCommandEvent& event)
 {
-    SetValue(event.m_commandInt);
+    SetThumbPosition(event.m_commandInt);
     ProcessCommand(event);
 }