1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: PNG bitmap handler
4 // Author: Julian Smart
8 // Copyright: (c) Microsoft, Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma interface "pnghand.h"
16 #ifndef _WX_PNGHAND_H_
17 #define _WX_PNGHAND_H_
19 class WXDLLEXPORT wxPNGFileHandler
: public wxBitmapHandler
21 DECLARE_DYNAMIC_CLASS(wxPNGFileHandler
)
23 inline wxPNGFileHandler(void)
25 m_sName
= "PNG bitmap file";
27 m_lType
= wxBITMAP_TYPE_PNG
;
30 virtual bool LoadFile( wxBitmap
* pBitmap
31 ,const wxString
& rName
36 virtual bool SaveFile( wxBitmap
* pBitmap
37 ,const wxString
& rName
39 ,const wxPalette
* pPalette
= NULL