]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/event.h
Added GSocket_Select() and removed some unused functions
[wxWidgets.git] / include / wx / event.h
index 5598cf8d2562855a4e03451b8b4422a0370026be..71c3bcfb6167930f80e238ae057b0c7ffd959b02 100644 (file)
@@ -1017,7 +1017,7 @@ public:
 
     // Was it a button event? (*doesn't* mean: is any button *down*?)
     bool IsButton() const { return ((GetEventType() == wxEVT_JOY_BUTTON_DOWN) ||
-            (GetEventType() == wxEVT_JOY_BUTTON_DOWN)); }
+            (GetEventType() == wxEVT_JOY_BUTTON_UP)); }
 
     // Was it a move event?
     bool IsMove() const { return (GetEventType() == wxEVT_JOY_MOVE) ; }