fixed VC++ warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1005,13 +1005,11 @@ int wxImage::GetImageCount( const wxString &name, long type )
|
|||||||
{
|
{
|
||||||
#if wxUSE_STREAMS
|
#if wxUSE_STREAMS
|
||||||
wxFileInputStream stream(name);
|
wxFileInputStream stream(name);
|
||||||
if (!stream.Ok())
|
if (stream.Ok())
|
||||||
return 0;
|
|
||||||
else
|
|
||||||
return GetImageCount(stream, type);
|
return GetImageCount(stream, type);
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if wxUSE_STREAMS
|
#if wxUSE_STREAMS
|
||||||
|
Reference in New Issue
Block a user