X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d3820b348955b748fa0ab3076f4ed9763ce4bee..2fff5f0811df871262c511b360f12d6808c107db:/include/wx/msw/pnghand.h diff --git a/include/wx/msw/pnghand.h b/include/wx/msw/pnghand.h index bb24c83fc0..373ab863d0 100644 --- a/include/wx/msw/pnghand.h +++ b/include/wx/msw/pnghand.h @@ -6,13 +6,16 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Microsoft, Julian Smart -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ #pragma interface "pnghand.h" #endif +#ifndef _WX_PNGHAND_H_ +#define _WX_PNGHAND_H_ + class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler { DECLARE_DYNAMIC_CLASS(wxPNGFileHandler) @@ -24,8 +27,11 @@ public: m_type = wxBITMAP_TYPE_PNG; }; - virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, const long flags, + virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags, int desiredWidth, int desiredHeight); - virtual bool SaveFile(wxBitmap *bitmap, const wxString& name, const int type, const wxPalette *palette = NULL); + virtual bool SaveFile(wxBitmap *bitmap, const wxString& name, int type, const wxPalette *palette = NULL); }; +#endif + // _WX_PNGHAND_H_ +