]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/bmpbuttn.h
Added support for sub-object virtual attributes (temporary attributes for characters...
[wxWidgets.git] / include / wx / gtk / bmpbuttn.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/bmpbutton.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_GTK_BMPBUTTON_H_
11 #define _WX_GTK_BMPBUTTON_H_
12
13 // ----------------------------------------------------------------------------
14 // wxBitmapButton
15 // ----------------------------------------------------------------------------
16
17 class WXDLLIMPEXP_CORE wxBitmapButton : public wxBitmapButtonBase
18 {
19 public:
20 wxBitmapButton() { }
21
22 wxBitmapButton(wxWindow *parent,
23 wxWindowID id,
24 const wxBitmap& bitmap,
25 const wxPoint& pos = wxDefaultPosition,
26 const wxSize& size = wxDefaultSize,
27 long style = 0,
28 const wxValidator& validator = wxDefaultValidator,
29 const wxString& name = wxButtonNameStr)
30 {
31 Create(parent, id, bitmap, pos, size, style, validator, name);
32 }
33
34 bool Create(wxWindow *parent,
35 wxWindowID id,
36 const wxBitmap& bitmap,
37 const wxPoint& pos = wxDefaultPosition,
38 const wxSize& size = wxDefaultSize,
39 long style = 0,
40 const wxValidator& validator = wxDefaultValidator,
41 const wxString& name = wxButtonNameStr);
42
43 private:
44 DECLARE_DYNAMIC_CLASS(wxBitmapButton)
45 };
46
47 #endif // _WX_GTK_BMPBUTTON_H_