X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5fe0dcced09d682063ed608f3fe7d32eb48fc77..9ef63a4a59eccce6cd8787f0ed966bfa8365a22e:/include/wx/mac/scrolbar.h diff --git a/include/wx/mac/scrolbar.h b/include/wx/mac/scrolbar.h index 62f85a3437..1ae57c18d1 100644 --- a/include/wx/mac/scrolbar.h +++ b/include/wx/mac/scrolbar.h @@ -46,8 +46,8 @@ 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; } @@ -57,7 +57,7 @@ public: 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;