git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14954
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/////////////////////////////////////////////////////////////////////////////
// Name: imagfill.cpp
// Purpose: FloodFill for wxImage
/////////////////////////////////////////////////////////////////////////////
// Name: imagfill.cpp
// Purpose: FloodFill for wxImage
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
bool wxImage::MatchPixel(int x, int y, int w, int h, const wxColour & c)
{
bool wxImage::MatchPixel(int x, int y, int w, int h, const wxColour & c)
{
- if ((x<0)||(x>=w)||(y<0)||(y>=h)) return false;
+ if ((x<0)||(x>=w)||(y<0)||(y>=h)) return FALSE;
unsigned char r = GetRed(x,y);
unsigned char g = GetGreen(x,y);
unsigned char r = GetRed(x,y);
unsigned char g = GetGreen(x,y);