X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce0d1032d1c9e63bd034575542c5ee4337ab3510..c92ad09968b09fe6e4cf17d9e962b51b7caaee91:/src/mac/corefoundation/hidjoystick.cpp diff --git a/src/mac/corefoundation/hidjoystick.cpp b/src/mac/corefoundation/hidjoystick.cpp index 4d104a44f4..bb24ddc33d 100644 --- a/src/mac/corefoundation/hidjoystick.cpp +++ b/src/mac/corefoundation/hidjoystick.cpp @@ -276,7 +276,7 @@ int wxJoystick::GetNumberAxes() const // is all devices with the kHIDUsage_GD_Joystick or kHIDUsage_GD_GamePad // identifiers. //--------------------------------------------------------------------------- -int wxJoystick::GetNumberJoysticks() const +int wxJoystick::GetNumberJoysticks() { return wxHIDDevice::GetCount(kHIDPage_GenericDesktop, kHIDUsage_GD_Joystick) +