#include "wx/scrolbar.h"
-#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
-#endif
// Scrollbar
bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
{
}
-void wxScrollBar::SetPosition(int viewStart)
+void wxScrollBar::SetThumbPosition(int viewStart)
{
// TODO
}
-int wxScrollBar::GetPosition() const
+int wxScrollBar::GetThumbPosition() const
{
// TODO
return 0;
void wxScrollBar::Command(wxCommandEvent& event)
{
- SetValue(event.m_commandInt);
+ SetThumbPosition(event.m_commandInt);
ProcessCommand(event);
}