X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..0d8d91a98fefe95fae785dd9669d7e5fb1b8c66c:/include/wx/msw/pnghand.h diff --git a/include/wx/msw/pnghand.h b/include/wx/msw/pnghand.h index 1de5e7f75a..3fb34992fe 100644 --- a/include/wx/msw/pnghand.h +++ b/include/wx/msw/pnghand.h @@ -6,9 +6,13 @@ // 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 + class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler { DECLARE_DYNAMIC_CLASS(wxPNGFileHandler) @@ -20,8 +24,8 @@ 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); };