1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/bmpbuttn.h
3 // Purpose: wxBitmapButton class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_BMPBUTTN_H_
13 #define _WX_BMPBUTTN_H_
15 #include "wx/button.h"
16 #include "wx/bitmap.h"
19 class WXDLLIMPEXP_CORE wxBitmapButton
: public wxBitmapButtonBase
24 wxBitmapButton(wxWindow
*parent
,
26 const wxBitmap
& bitmap
,
27 const wxPoint
& pos
= wxDefaultPosition
,
28 const wxSize
& size
= wxDefaultSize
,
29 long style
= wxBU_AUTODRAW
,
30 const wxValidator
& validator
= wxDefaultValidator
,
31 const wxString
& name
= wxButtonNameStr
)
33 Create(parent
, id
, bitmap
, pos
, size
, style
, validator
, name
);
36 bool Create(wxWindow
*parent
,
38 const wxBitmap
& bitmap
,
39 const wxPoint
& pos
= wxDefaultPosition
,
40 const wxSize
& size
= wxDefaultSize
,
41 long style
= wxBU_AUTODRAW
,
42 const wxValidator
& validator
= wxDefaultValidator
,
43 const wxString
& name
= wxButtonNameStr
);
47 DECLARE_DYNAMIC_CLASS_NO_COPY(wxBitmapButton
)
50 #endif // _WX_BMPBUTTN_H_