X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..b3402d0df8c9f763da1e32fc28c824014e5516c6:/src/stubs/scrolbar.cpp diff --git a/src/stubs/scrolbar.cpp b/src/stubs/scrolbar.cpp index 307cdefc13..dca07b3b79 100644 --- a/src/stubs/scrolbar.cpp +++ b/src/stubs/scrolbar.cpp @@ -15,10 +15,8 @@ #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) { - SetPosition(event.m_commandInt); + SetThumbPosition(event.m_commandInt); ProcessCommand(event); }