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