X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/deb63b954bbf5fd364bc4c6bbabf0e815a677d95..3e98bb2a888f658d95b0ed47434103bc897671ac:/src/os2/palette.cpp diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index bf84af809f..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,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) {