X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9b4b7f114427e2fc089c4f1b2d4d43d7b003d4..01cca03e20a1c58c977e1ea1252fda8c383ded5b:/src/mac/corefoundation/hidjoystick.cpp diff --git a/src/mac/corefoundation/hidjoystick.cpp b/src/mac/corefoundation/hidjoystick.cpp index 0d6ed6b2dc..0216bf347c 100644 --- a/src/mac/corefoundation/hidjoystick.cpp +++ b/src/mac/corefoundation/hidjoystick.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "joystick.h" -#endif - #include "wx/wxprec.h" #ifdef __DARWIN__ @@ -91,7 +87,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));