X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58614078c466cffaf0e5d0369741706f130fb793..2bc1aa1174ee3ddd68615827c3531549cf204918:/include/wx/gtk/scrolbar.h?ds=sidebyside diff --git a/include/wx/gtk/scrolbar.h b/include/wx/gtk/scrolbar.h index 5bb14787bf..75344cb221 100644 --- a/include/wx/gtk/scrolbar.h +++ b/include/wx/gtk/scrolbar.h @@ -16,6 +16,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_SCROLLBAR + #include "wx/object.h" #include "wx/control.h" @@ -58,11 +61,11 @@ class wxScrollBar: public wxControl const wxValidator& validator = wxDefaultValidator, const wxString& name = wxScrollBarNameStr ); ~wxScrollBar(void); - int GetPosition(void) const; + int GetThumbPosition(void) const; int GetThumbSize() const; int GetPageSize() const; int GetRange() const; - virtual void SetPosition( int viewStart ); + virtual void SetThumbPosition( int viewStart ); virtual void SetScrollbar( int position, int thumbSize, int range, int pageSize, bool refresh = TRUE ); @@ -86,5 +89,7 @@ class wxScrollBar: public wxControl float m_oldPos; }; +#endif + #endif // __GTKSCROLLBARH__