]> git.saurik.com Git - wxWidgets.git/commitdiff
document GetWheelAxis
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 2 Dec 2008 20:51:45 +0000 (20:51 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 2 Dec 2008 20:51:45 +0000 (20:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/event.h

index 5963edae1052c605220997794afc78288e34bb64..638b86223180d6433d807c3eb55eb6f5adc82fcc 100644 (file)
@@ -1683,6 +1683,14 @@ public:
     */
     int GetWheelRotation() const;
 
+    /**
+        Gets the axis the wheel operation concerns; @c 0 is the Y axis as on
+        most mouse wheels, @c 1 is the X axis.
+
+        Note that only some models of mouse have horizontal wheel axis.
+    */
+    int GetWheelAxis() const;
+
     /**
         Returns X coordinate of the physical mouse event position.
     */