wxPalette::Create should return true

This commit is contained in:
Robin Dunn
2016-08-04 22:47:44 -07:00
parent 8d543d6d3c
commit eaf70ea3cb

View File

@@ -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