compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user