]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/os2/pnghand.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / os2 / pnghand.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/os2/pnghand.h
3// Purpose: PNG bitmap handler
4// Author: Julian Smart
5// Modified by:
6// Created: 04/01/98
7// Copyright: (c) Microsoft, Julian Smart
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_PNGHAND_H_
12#define _WX_PNGHAND_H_
13
14class WXDLLIMPEXP_CORE wxPNGFileHandler: public wxBitmapHandler
15{
16 DECLARE_DYNAMIC_CLASS(wxPNGFileHandler)
17public:
18 inline wxPNGFileHandler(void)
19 {
20 m_sName = "PNG bitmap file";
21 m_sExtension = "bmp";
22 m_lType = wxBITMAP_TYPE_PNG;
23 }
24
25 virtual bool LoadFile( wxBitmap* pBitmap
26 ,const wxString& rName
27 ,HPS hPs
28 ,long lFlags
29 ,int nDesiredWidth
30 ,int nDesiredHeight
31 );
32 virtual bool SaveFile( wxBitmap* pBitmap
33 ,const wxString& rName
34 ,int nType
35 ,const wxPalette* pPalette = NULL
36 );
37};
38
39#endif
40 // _WX_PNGHAND_H_