]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/palette.cpp
synthesize NM_RCLICK ourselves now that def window proc doesn't do it as we don't...
[wxWidgets.git] / src / os2 / palette.cpp
index 8012364200fa3529d9b2df1a8a33e918aac8f039..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,7 @@ int wxPalette::GetPixel(
     //
     // Now loop through and find the matching entry
     //
-    int                             i;
+    ULONG                           i;
     for (i = 0; i < ulNumEntries; i++)
     {
         if (pualTable[i] == ulRGB)