X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..30e77b5c9ff09da4e65445d3a03081d375f49845:/include/wx/imagjpeg.h?ds=sidebyside diff --git a/include/wx/imagjpeg.h b/include/wx/imagjpeg.h index 07a1095c1b..e51491e8f7 100644 --- a/include/wx/imagjpeg.h +++ b/include/wx/imagjpeg.h @@ -16,15 +16,6 @@ #include "wx/image.h" -// defines for wxImage::SetOption -#define wxIMAGE_OPTION_RESOLUTION wxString(_T("Resolution")) -#define wxIMAGE_OPTION_RESOLUTIONUNIT wxString(_T("ResolutionUnit")) - -enum -{ - wxIMAGE_RESOLUTION_INCHES = 1, - wxIMAGE_RESOLUTION_CM = 2 -}; //----------------------------------------------------------------------------- // wxJPEGHandler @@ -43,8 +34,8 @@ public: } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true ); virtual bool DoCanRead( wxInputStream& stream ); #endif @@ -53,8 +44,5 @@ private: }; #endif - - -#endif - // _WX_IMAGJPEG_H_ +#endif // _WX_IMAGJPEG_H_