X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/519cb848a8f4c91c73421bb75314754284e593a4..c6eaa6fb6733d8472a14e220a5656787eafda398:/include/wx/mac/scrolbar.h?ds=inline diff --git a/include/wx/mac/scrolbar.h b/include/wx/mac/scrolbar.h index 10e80637db..1ae57c18d1 100644 --- a/include/wx/mac/scrolbar.h +++ b/include/wx/mac/scrolbar.h @@ -46,16 +46,18 @@ public: 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;