const wxString& name = wxScrollBarNameStr);
int GetThumbPosition() const ;
- inline int GetThumbSize() const { return m_pageSize; }
- inline int GetPageSize() const { return m_viewSize; }
+ inline int GetThumbSize() const { return m_viewSize; }
+ inline int GetPageSize() const { return m_pageSize; }
inline int GetRange() const { return m_objectSize; }
+ bool IsVertical() const { return (m_windowStyle & wxVERTICAL) != 0; }
+
virtual void SetThumbPosition(int viewStart);
virtual void SetScrollbar(int position, int thumbSize, int range, int pageSize,
bool refresh = TRUE);
void Command(wxCommandEvent& event);
- virtual void MacHandleControlClick( ControlHandle control , SInt16 controlpart ) ;
+ virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ;
protected:
int m_pageSize;