no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -384,7 +384,7 @@ bool wxBitmap::LoadFile(
|
||||
if (!vImage.LoadFile(rFilename, lType) || !vImage.Ok() )
|
||||
return(FALSE);
|
||||
|
||||
*this = vImage.ConvertToBitmap();
|
||||
*this = wxBitmap(vImage);
|
||||
|
||||
return(TRUE);
|
||||
}
|
||||
@@ -444,7 +444,7 @@ bool wxBitmap::SaveFile(
|
||||
else
|
||||
{
|
||||
// FIXME what about palette? shouldn't we use it?
|
||||
wxImage vImage(*this);
|
||||
wxImage vImage = ConvertToImage();
|
||||
|
||||
if (!vImage.Ok())
|
||||
return(FALSE);
|
||||
|
Reference in New Issue
Block a user