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