#endif
}
-int wxImage::GetImagesCount( const wxString &name, long type )
+int wxImage::GetImageCount( const wxString &name, long type )
{
#if wxUSE_STREAMS
wxFileInputStream stream(name);
- return GetImagesCount(stream, type);
+ return GetImageCount(stream, type);
#else
return 0;
#endif
return FALSE;
}
-int wxImage::GetImagesCount( wxInputStream &stream, long type )
+int wxImage::GetImageCount( wxInputStream &stream, long type )
{
wxImageHandler *handler;
{
handler=(wxImageHandler*)node->GetData();
if ( handler->CanRead(stream) )
- return handler->GetImagesCount(stream);
+ return handler->GetImageCount(stream);
}
if ( handler->CanRead(stream) )
{
- return handler->GetImagesCount(stream);
+ return handler->GetImageCount(stream);
}
else
{
return FALSE;
}
- return handler->LoadFile( this, stream, index );
+ return handler->LoadFile( this, stream, TRUE/*verbose*/, index );
}
bool wxImage::SaveFile( wxOutputStream& stream, int type )
return FALSE;
}
-int wxImageHandler::GetImagesCount( wxInputStream& WXUNUSED(stream) )
+int wxImageHandler::GetImageCount( wxInputStream& WXUNUSED(stream) )
{
return 1;
}