1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/pnghand.h
3 // Purpose: PNG bitmap handler
4 // Author: Julian Smart
8 // Copyright: (c) Microsoft, Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_PNGHAND_H_
13 #define _WX_PNGHAND_H_
15 class WXDLLEXPORT wxPNGFileHandler
: public wxBitmapHandler
17 DECLARE_DYNAMIC_CLASS(wxPNGFileHandler
)
19 inline wxPNGFileHandler(void)
21 m_sName
= "PNG bitmap file";
23 m_lType
= wxBITMAP_TYPE_PNG
;
26 virtual bool LoadFile( wxBitmap
* pBitmap
27 ,const wxString
& rName
33 virtual bool SaveFile( wxBitmap
* pBitmap
34 ,const wxString
& rName
36 ,const wxPalette
* pPalette
= NULL