]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/bmpbuttn.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __BMPBUTTONH__
13 #define __BMPBUTTONH__
20 #include "wx/object.h"
22 #include "wx/control.h"
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 extern const char *wxButtonNameStr
;
36 //-----------------------------------------------------------------------------
38 //-----------------------------------------------------------------------------
40 class wxBitmapButton
: public wxControl
42 DECLARE_DYNAMIC_CLASS(wxBitmapButton
)
47 wxBitmapButton( wxWindow
*parent
, wxWindowID id
, const wxBitmap
&bitmap
,
48 const wxPoint
&pos
= wxDefaultPosition
, const wxSize
&size
= wxDefaultSize
,
49 long style
= 0, const wxString
&name
= wxButtonNameStr
);
50 bool Create( wxWindow
*parent
, wxWindowID id
, const wxBitmap
&bitmap
,
51 const wxPoint
&pos
= wxDefaultPosition
, const wxSize
&size
= wxDefaultSize
,
52 long style
= 0, const wxString
&name
= wxButtonNameStr
);
53 void SetDefault(void);
54 void SetLabel( const wxString
&label
);
55 wxString
GetLabel(void) const;
62 #endif // __BMPBUTTONH__