X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd94e8aa4563b22e7c66c379625a8373d20720aa..6d9022fe3bb50a75b9b5eaf5cf32558e518ba310:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index cf69aa743a..7522d06854 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -115,7 +115,7 @@ public: wxImage( const wxImage& image ); wxImage( const wxImage* image ); -#if wxUSE_GUI +#if WXWIN_COMPATIBILITY_2_2 && wxUSE_GUI // convertion to/from wxBitmap (deprecated, use wxBitmap's methods instead): wxImage( const wxBitmap &bitmap ); wxBitmap ConvertToBitmap() const; @@ -187,6 +187,7 @@ public: virtual bool LoadFile( wxInputStream& stream, const wxString& mimetype, int index = -1 ); #endif + virtual bool SaveFile( const wxString& name ) const; virtual bool SaveFile( const wxString& name, int type ) const; virtual bool SaveFile( const wxString& name, const wxString& mimetype ) const;