X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60d43ad883f16c458928fa7e4e1dbb96f492e77a..b4b830ec00c099ae83596fa3fe9d8a4398fd2929:/include/wx/image.h?ds=sidebyside diff --git a/include/wx/image.h b/include/wx/image.h index 9cee5d69f8..05cee7069d 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -43,10 +43,10 @@ public: wxImageHandler() { m_name = ""; m_extension = ""; m_type = 0; } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=0 ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); - virtual int GetImagesCount( wxInputStream& stream ); + virtual int GetImageCount( wxInputStream& stream ); bool CanRead( wxInputStream& stream ) { return DoCanRead(stream); } bool CanRead( const wxString& name ); @@ -164,13 +164,13 @@ public: unsigned char mr, unsigned char mg, unsigned char mb); static bool CanRead( const wxString& name ); - static int GetImagesCount( const wxString& name, long type = wxBITMAP_TYPE_ANY ); + static int GetImageCount( const wxString& name, long type = wxBITMAP_TYPE_ANY ); virtual bool LoadFile( const wxString& name, long type = wxBITMAP_TYPE_ANY, int index = -1 ); virtual bool LoadFile( const wxString& name, const wxString& mimetype, int index = -1 ); #if wxUSE_STREAMS static bool CanRead( wxInputStream& stream ); - static int GetImagesCount( wxInputStream& stream, long type = wxBITMAP_TYPE_ANY ); + static int GetImageCount( wxInputStream& stream, long type = wxBITMAP_TYPE_ANY ); virtual bool LoadFile( wxInputStream& stream, long type = wxBITMAP_TYPE_ANY, int index = -1 ); virtual bool LoadFile( wxInputStream& stream, const wxString& mimetype, int index = -1 ); #endif @@ -266,6 +266,7 @@ WXDLLEXPORT_DATA(extern wxImage) wxNullImage; #include "wx/imagtiff.h" #include "wx/imagpnm.h" #include "wx/imagxpm.h" +#include "wx/imagiff.h" #endif // wxUSE_IMAGE