X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b6dbb09746f8f5ee0549a2ff39ae0ac4c725898..8366ae934aab9f835747b0c2e456231e8795fe78:/include/wx/motif/scrolbar.h diff --git a/include/wx/motif/scrolbar.h b/include/wx/motif/scrolbar.h index 95343b50ca..2cda645071 100644 --- a/include/wx/motif/scrolbar.h +++ b/include/wx/motif/scrolbar.h @@ -45,23 +45,28 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxScrollBarNameStr); - int GetPosition() const ; + int GetThumbPosition() const ; inline int GetThumbSize() const { return m_pageSize; } inline int GetPageSize() const { return m_viewSize; } inline int GetRange() const { return m_objectSize; } - virtual void SetPosition(int viewStart); + virtual void SetThumbPosition(int viewStart); virtual void SetScrollbar(int position, int thumbSize, int range, int pageSize, bool refresh = TRUE); void Command(wxCommandEvent& event); +// Implementation + virtual void ChangeFont(bool keepOriginalSize = TRUE); + virtual void ChangeBackgroundColour(); + virtual void ChangeForegroundColour(); + protected: int m_pageSize; int m_viewSize; int m_objectSize; -DECLARE_EVENT_TABLE() +// DECLARE_EVENT_TABLE() }; #endif