]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/palette.cpp
Don't automatically copy the selection to the clipboard on the Mac
[wxWidgets.git] / src / os2 / palette.cpp
index bf84af809ff06e8df0cdb13ce434aa9f47fa6d37..43252c40700a2b5f0d12e20c7a574838a0d0c82f 100644 (file)
 
 #ifndef WX_PRECOMP
 #include <stdio.h>
+#include "wx/defs.h"
 #include "wx/setup.h"
+#include "wx/string.h"
+#include "wx/os2/private.h"
 #include "wx/palette.h"
+#include "wx/app.h"
 #endif
 
 #define INCL_PM
 #define INCL_GPI
-#include <os2.h>
 
 #include "assert.h"
 
@@ -150,7 +153,8 @@ int wxPalette::GetPixel(
     //
     // Now loop through and find the matching entry
     //
-    for (int i = 0; i < ulNumEntries; i++)
+    ULONG                           i;
+    for (i = 0; i < ulNumEntries; i++)
     {
         if (pualTable[i] == ulRGB)
         {