1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/bmpbutton.h
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTK_BMPBUTTON_H_
11 #define _WX_GTK_BMPBUTTON_H_
13 // ----------------------------------------------------------------------------
15 // ----------------------------------------------------------------------------
17 class WXDLLIMPEXP_CORE wxBitmapButton
: public wxBitmapButtonBase
22 wxBitmapButton(wxWindow
*parent
,
24 const wxBitmap
& bitmap
,
25 const wxPoint
& pos
= wxDefaultPosition
,
26 const wxSize
& size
= wxDefaultSize
,
28 const wxValidator
& validator
= wxDefaultValidator
,
29 const wxString
& name
= wxButtonNameStr
)
31 Create(parent
, id
, bitmap
, pos
, size
, style
, validator
, name
);
34 bool Create(wxWindow
*parent
,
36 const wxBitmap
& bitmap
,
37 const wxPoint
& pos
= wxDefaultPosition
,
38 const wxSize
& size
= wxDefaultSize
,
40 const wxValidator
& validator
= wxDefaultValidator
,
41 const wxString
& name
= wxButtonNameStr
)
43 if ( !wxBitmapButtonBase::Create(parent
, id
, "",
49 SetBitmapLabel(bitmap
);
54 DECLARE_DYNAMIC_CLASS(wxBitmapButton
)
57 #endif // _WX_GTK_BMPBUTTON_H_