X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb46a9a6c6f291806a5fecbb848930c344e17e11..b8e7b6738fe00529fdeae26e6cfea1ccc2a00a76:/include/wx/os2/pnghand.h diff --git a/include/wx/os2/pnghand.h b/include/wx/os2/pnghand.h index 373ab863d0..49c871a219 100644 --- a/include/wx/os2/pnghand.h +++ b/include/wx/os2/pnghand.h @@ -18,18 +18,27 @@ class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler { - DECLARE_DYNAMIC_CLASS(wxPNGFileHandler) + DECLARE_DYNAMIC_CLASS(wxPNGFileHandler) public: - inline wxPNGFileHandler(void) - { - m_name = "PNG bitmap file"; - m_extension = "bmp"; - m_type = wxBITMAP_TYPE_PNG; - }; + inline wxPNGFileHandler(void) + { + m_sName = "PNG bitmap file"; + m_sExtension = "bmp"; + m_lType = wxBITMAP_TYPE_PNG; + }; - virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags, - int desiredWidth, int desiredHeight); - virtual bool SaveFile(wxBitmap *bitmap, const wxString& name, int type, const wxPalette *palette = NULL); + virtual bool LoadFile( wxBitmap* pBitmap + ,const wxString& rName + ,HPS hPs + ,long lFlags + ,int nDesiredWidth + ,int nDesiredHeight + ); + virtual bool SaveFile( wxBitmap* pBitmap + ,const wxString& rName + ,int nType + ,const wxPalette* pPalette = NULL + ); }; #endif