X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9b4b7f114427e2fc089c4f1b2d4d43d7b003d4..26dfc728189586eab5f83c23eebcac63ea4c0f8a:/src/mac/corefoundation/hidjoystick.cpp diff --git a/src/mac/corefoundation/hidjoystick.cpp b/src/mac/corefoundation/hidjoystick.cpp index 0d6ed6b2dc..780c1b5ca6 100644 --- a/src/mac/corefoundation/hidjoystick.cpp +++ b/src/mac/corefoundation/hidjoystick.cpp @@ -91,7 +91,7 @@ void wxHIDJoystick::MakeCookies(wxCFArray& Array) int i, nUsage, nPage; - for (i = 0; i < Array.GetCount(); ++i) + for (i = 0; i < Array.Count(); ++i) { const void* ref = CFDictionaryGetValue((CFDictionaryRef)Array[i], CFSTR(kIOHIDElementKey));