X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..848332140be2d53aea32d0702f4c0e06c149d24b:/include/wx/gtk/window.h?ds=sidebyside diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 9b0c3d9aba..c14e0d836e 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -99,6 +99,8 @@ public: virtual int GetScrollRange( int orient ) const; virtual void ScrollWindow( int dx, int dy, const wxRect* rect = (wxRect *) NULL ); + virtual bool ScrollLines(int lines); + virtual bool ScrollPages(int pages); #if wxUSE_DRAG_AND_DROP virtual void SetDropTarget( wxDropTarget *dropTarget ); @@ -268,6 +270,10 @@ protected: // ApplyWidgetStyle -- override this, not ApplyWidgetStyle virtual void DoApplyWidgetStyle(GtkRcStyle *style); +protected: + // GtkAdjustment to be used by Scroll{Lines,Pages} + void SetVScrollAdjustment(GtkAdjustment* adj); + private: DECLARE_DYNAMIC_CLASS(wxWindowGTK) DECLARE_NO_COPY_CLASS(wxWindowGTK)