X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cc7251efec4fb9f7e9e3f403fe9f3e6585e9497..8d7ddd02649628327f8169cf2f4f9ee7b52f39c7:/include/wx/gtk1/textctrl.h diff --git a/include/wx/gtk1/textctrl.h b/include/wx/gtk1/textctrl.h index bc5d527d11..085d5ca4b6 100644 --- a/include/wx/gtk1/textctrl.h +++ b/include/wx/gtk1/textctrl.h @@ -148,6 +148,10 @@ public: virtual void Freeze(); virtual void Thaw(); + // textctrl specific scrolling + virtual bool ScrollLines(int lines); + virtual bool ScrollPages(int pages); + // wxGTK-specific: called recursively by Enable, // to give widgets an oppprtunity to correct their colours after they // have been changed by Enable @@ -159,6 +163,13 @@ protected: // common part of all ctors void Init(); + // get the vertical adjustment, if any, NULL otherwise + GtkAdjustment *GetVAdj() const; + + // scroll the control by the given number of pixels, return true if the + // scroll position changed + bool DoScroll(GtkAdjustment *adj, int diff); + private: // change the font for everything in this control void ChangeFontGlobally();