wxPalette::Create should return true
This commit is contained in:
@@ -89,7 +89,7 @@ bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *gre
|
||||
M_PALETTEDATA->m_palette[i].Set( red[i] , green[i] , blue[i] ) ;
|
||||
}
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
int wxPalette::GetPixel(unsigned char red, unsigned char green, unsigned char blue) const
|
||||
|
Reference in New Issue
Block a user