From: Vadim Zeitlin Date: Sun, 13 Jan 2002 21:00:28 +0000 (+0000) Subject: compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/39ed8d8a1450c346209711c02ec0a2626abb66fb compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index 3b65427023..025fc91265 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -1196,7 +1196,7 @@ WXHBITMAP wxToolBar::MapBitmap(WXHBITMAP bitmap, int width, int height) { COLORREF pixel = ::GetPixel(hdcMem, i, j); - for ( size_t k = 0; k < numColours; k++ ) + for ( size_t k = 0; k < WXSIZEOF(ColorMap); k++ ) { COLORREF col = ColorMap[k].from; if ( abs(GetRValue(pixel) - GetRValue(col)) < 10 &&