]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/corefoundation/hidjoystick.cpp
Trace module initialization and cleanup.
[wxWidgets.git] / src / mac / corefoundation / hidjoystick.cpp
index 0d6ed6b2dc2dbc604493aa78b996db78099f970e..0216bf347c3c3c5969692de2a7c4bb317405f2b1 100644 (file)
@@ -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));