]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/joystick.h
Fix scrolling to the bottom in wxTextCtrl::AppendText().
[wxWidgets.git] / interface / wx / joystick.h
index 70e5b807e790cdda19174cd61ae7b99d50ce9f9d..a75ba92148c6b65572c934a496aac2445258240f 100644 (file)
@@ -48,7 +48,7 @@ public:
         @param id
             The button id to report, from 0 to GetNumberButtons() - 1
     */
-    bool GetButtonState(unsigned id) const;
+    bool GetButtonState(unsigned int id) const;
 
     /**
         Returns the manufacturer id.
@@ -114,7 +114,7 @@ public:
         @param axis
             The joystick axis to report, from 0 to GetNumberAxes() - 1.
     */
-    int GetPosition(unsigned axis) const;
+    int GetPosition(unsigned int axis) const;
 
     /**
         Returns the product id for the joystick.