Improve wxImage::LoadImage so that image format in not anymore required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -367,7 +367,7 @@ FOLLOWING CODE IS BY V.S. :
|
||||
// wxGIFHandler
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
bool wxGIFHandler::LoadFile( wxImage *image, wxInputStream& stream )
|
||||
bool wxGIFHandler::LoadFile( wxImage *image, wxInputStream& stream, bool WXUNUSED(verbose) )
|
||||
{
|
||||
unsigned char *ptr, *src, *pal;
|
||||
IMAGEN igif;
|
||||
@@ -418,9 +418,9 @@ bool wxGIFHandler::LoadFile( wxImage *image, wxInputStream& stream )
|
||||
}
|
||||
|
||||
bool wxGIFHandler::SaveFile( wxImage * WXUNUSED(image),
|
||||
wxOutputStream& WXUNUSED(stream) )
|
||||
wxOutputStream& WXUNUSED(stream), bool verbose )
|
||||
{
|
||||
wxLogDebug(_T("wxGIFHandler is read-only!!"));
|
||||
if (verbose) wxLogDebug(_T("wxGIFHandler is read-only!!"));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user