]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/bmpbuttn.h
Instead of just deleting m_popupInterface, call Destroy() of its wxWindow-based popup...
[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
dbf858b5 5// Id: $Id$
01111366 6// Copyright: (c) 1998 Robert Roebling
65571936 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
6fba6c78
VS
10#ifndef _WX_GTK_BMPBUTTON_H_
11#define _WX_GTK_BMPBUTTON_H_
c801d85f 12
1e6feb95 13// ----------------------------------------------------------------------------
c801d85f 14// wxBitmapButton
1e6feb95 15// ----------------------------------------------------------------------------
c801d85f 16
c37dd6da 17class WXDLLIMPEXP_CORE wxBitmapButton : public wxBitmapButtonBase
151ccd11 18{
43a18898 19public:
c37dd6da 20 wxBitmapButton() { }
c3dfaa10 21
1e6feb95
VZ
22 wxBitmapButton(wxWindow *parent,
23 wxWindowID id,
24 const wxBitmap& bitmap,
25 const wxPoint& pos = wxDefaultPosition,
26 const wxSize& size = wxDefaultSize,
c37dd6da 27 long style = 0,
1e6feb95
VZ
28 const wxValidator& validator = wxDefaultValidator,
29 const wxString& name = wxButtonNameStr)
738f9e5a
RR
30 {
31 Create(parent, id, bitmap, pos, size, style, validator, name);
32 }
c3dfaa10 33
1e6feb95
VZ
34 bool Create(wxWindow *parent,
35 wxWindowID id,
36 const wxBitmap& bitmap,
37 const wxPoint& pos = wxDefaultPosition,
38 const wxSize& size = wxDefaultSize,
c37dd6da 39 long style = 0,
1e6feb95 40 const wxValidator& validator = wxDefaultValidator,
79e38eaf 41 const wxString& name = wxButtonNameStr);
6fba6c78 42
79e38eaf 43private:
738f9e5a 44 DECLARE_DYNAMIC_CLASS(wxBitmapButton)
151ccd11 45};
43a18898 46
6fba6c78 47#endif // _WX_GTK_BMPBUTTON_H_