1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/bmpbuttn.h
3 // Purpose: wxBitmapButton class
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_BMPBUTTN_H_
12 #define _WX_BMPBUTTN_H_
14 #include "wx/button.h"
15 #include "wx/bitmap.h"
18 class WXDLLIMPEXP_CORE wxBitmapButton
: public wxBitmapButtonBase
23 wxBitmapButton(wxWindow
*parent
,
25 const wxBitmap
& bitmap
,
26 const wxPoint
& pos
= wxDefaultPosition
,
27 const wxSize
& size
= wxDefaultSize
,
28 long style
= wxBU_AUTODRAW
,
29 const wxValidator
& validator
= wxDefaultValidator
,
30 const wxString
& name
= wxButtonNameStr
)
32 Create(parent
, id
, bitmap
, pos
, size
, style
, validator
, name
);
35 bool Create(wxWindow
*parent
,
37 const wxBitmap
& bitmap
,
38 const wxPoint
& pos
= wxDefaultPosition
,
39 const wxSize
& size
= wxDefaultSize
,
40 long style
= wxBU_AUTODRAW
,
41 const wxValidator
& validator
= wxDefaultValidator
,
42 const wxString
& name
= wxButtonNameStr
);
46 DECLARE_DYNAMIC_CLASS_NO_COPY(wxBitmapButton
)
49 #endif // _WX_BMPBUTTN_H_