Resolved ambiguity

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2004-10-09 10:52:01 +00:00
parent f16e8dc98d
commit 154e1ca181

View File

@ -570,7 +570,7 @@ wxPNGHandler::LoadFile(wxImage *image,
png_set_expand( png_ptr );
png_set_filler( png_ptr, 0xff, PNG_FILLER_AFTER );
image->Create((int)width, (int)height, false /* no need to init pixels */);
image->Create((int)width, (int)height, (bool) false /* no need to init pixels */);
if (!image->Ok())
goto error;