]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/core/hid.cpp
fixing non-precomp build, fixes #10985
[wxWidgets.git] / src / osx / core / hid.cpp
index 2a35960274f03bd520af963fa964bfb8ae95a590..3bc287cb1738a2b15707e45eb44a202e718b3ae4 100644 (file)
@@ -478,8 +478,8 @@ void wxHIDKeyboard::BuildCookies(CFArrayRef Array)
 void wxHIDKeyboard::DoBuildCookies(CFArrayRef Array)
 {
     //Now go through each possible cookie
-    int i,
-        nUsage;
+    int i;
+    long nUsage;
 //    bool bEOTriggered = false;
     for (i = 0; i < CFArrayGetCount(Array); ++i)
     {
@@ -655,7 +655,7 @@ class wxHIDModule : public wxModule
         {
             for(size_t i = 0; i < sm_keyboards.GetCount(); ++i)
                 delete (wxHIDKeyboard*) sm_keyboards[i];
-               sm_keyboards.Clear(); 
+            sm_keyboards.Clear();
         }
 };