X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0a76d8d8a91d5a13c1fab7257aae4da8311f58d..19e30148e18cc99296b26503c155e5cef59045f4:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index 14530e58bc..7522d06854 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -27,6 +27,8 @@ #if wxUSE_IMAGE +#define wxIMAGE_OPTION_FILENAME wxString(_T("FileName")) + //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- @@ -113,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; @@ -185,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;