X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce0d1032d1c9e63bd034575542c5ee4337ab3510..e8c1be041f43e843e0e57cb1591d38664e98d43c:/src/mac/corefoundation/hidjoystick.cpp?ds=inline 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) +