X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/deb63b954bbf5fd364bc4c6bbabf0e815a677d95..8f974c520a8733158591891458fda10fae4c3950:/src/os2/palette.cpp?ds=inline diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index bf84af809f..bd592c42e0 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++) + int i; + for (i = 0; i < ulNumEntries; i++) { if (pualTable[i] == ulRGB) {