X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1aff4201c36daec702cabc869c0bf899c56ba8cc..4d0dddc7adc82a29ea2fad2fc4e3781592f19d10:/interface/wx/ribbon/gallery.h

diff --git a/interface/wx/ribbon/gallery.h b/interface/wx/ribbon/gallery.h
index eb2b01938f..51edca8784 100644
--- a/interface/wx/ribbon/gallery.h
+++ b/interface/wx/ribbon/gallery.h
@@ -239,6 +239,18 @@ public:
             direction, @false if it did not scroll.
     */
     virtual bool ScrollLines(int lines);
+    
+    /**
+        Scroll the gallery contents by some fine-grained amount.
+
+        @param pixels
+          Positive values scroll toward the end of the gallery, while negative
+          values scroll toward the start.
+
+        @return @true if the gallery scrolled at least one pixel in the given
+            direction, @false if it did not scroll.
+    */
+    bool ScrollPixels(int pixels);
 
     /**
         Scroll the gallery to ensure that the given item is visible.