1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/pnghand.h
3 // Purpose: PNG bitmap handler
4 // Author: Julian Smart
7 // Copyright: (c) Microsoft, Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_PNGHAND_H_
12 #define _WX_PNGHAND_H_
14 class WXDLLIMPEXP_CORE wxPNGFileHandler
: public wxBitmapHandler
16 DECLARE_DYNAMIC_CLASS(wxPNGFileHandler
)
18 inline wxPNGFileHandler(void)
20 m_sName
= "PNG bitmap file";
22 m_lType
= wxBITMAP_TYPE_PNG
;
25 virtual bool LoadFile( wxBitmap
* pBitmap
26 ,const wxString
& rName
32 virtual bool SaveFile( wxBitmap
* pBitmap
33 ,const wxString
& rName
35 ,const wxPalette
* pPalette
= NULL