]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/scrolwin.h
add convenient GetViewStart() and Scroll() overloads taking wxPoint instead of 2...
[wxWidgets.git] / include / wx / gtk / scrolwin.h
index f99fb60c6203821d41c8b2689a59e6782e43a365..facf1d2b49fff5f7450eb013558f7e4b120e8b01 100644 (file)
@@ -27,7 +27,6 @@ public:
                                int xPos = 0, int yPos = 0,
                                bool noRefresh = false);
     virtual void AdjustScrollbars();
-    virtual void Scroll(int x, int y);
 
 protected:
     // this does (each) half of AdjustScrollbars() work
@@ -60,10 +59,12 @@ protected:
     }
 
     // and this does the same for Scroll()
-    void DoScroll(int orient,
-                  int pos,
-                  int pixelsPerLine,
-                  int *posOld);
+    void DoScrollOneDir(int orient,
+                        int pos,
+                        int pixelsPerLine,
+                        int *posOld);
+
+    virtual void DoScroll(int x, int y);
 
 private:
     DECLARE_NO_COPY_CLASS(wxScrollHelperNative)