X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d57cea923de12c2e1f44c783eaa0eff5a5430ad..606ce80cc8348f7121cb126386887d2ba9c3e80e:/src/os2/palette.cpp diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index 8012364200..43252c4070 100644 --- a/src/os2/palette.cpp +++ b/src/os2/palette.cpp @@ -14,13 +14,16 @@ #ifndef WX_PRECOMP #include +#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 #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)