X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..7921cf2badfac0c44cd53644bfc6a483a09ec299:/include/wx/msw/pnghand.h diff --git a/include/wx/msw/pnghand.h b/include/wx/msw/pnghand.h index 1de5e7f75a..373ab863d0 100644 --- a/include/wx/msw/pnghand.h +++ b/include/wx/msw/pnghand.h @@ -6,9 +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) @@ -20,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_ +