]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/statbox.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / gtk1 / statbox.h
CommitLineData
c801d85f 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/gtk1/statbox.h
c801d85f
KB
3// Purpose:
4// Author: Robert Roebling
58614078 5// Copyright: (c) 1998 Robert Roebling
65571936 6// Licence: wxWindows licence
c801d85f
KB
7/////////////////////////////////////////////////////////////////////////////
8
c801d85f
KB
9#ifndef __GTKSTATICBOXH__
10#define __GTKSTATICBOXH__
11
c801d85f
KB
12//-----------------------------------------------------------------------------
13// wxStaticBox
14//-----------------------------------------------------------------------------
15
20123d49 16class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
c801d85f 17{
1e6feb95
VZ
18public:
19 wxStaticBox();
20 wxStaticBox( wxWindow *parent,
21 wxWindowID id,
22 const wxString &label,
23 const wxPoint &pos = wxDefaultPosition,
24 const wxSize &size = wxDefaultSize,
25 long style = 0,
26 const wxString &name = wxStaticBoxNameStr );
27 bool Create( wxWindow *parent,
28 wxWindowID id,
29 const wxString &label,
30 const wxPoint &pos = wxDefaultPosition,
31 const wxSize &size = wxDefaultSize,
32 long style = 0,
33 const wxString &name = wxStaticBoxNameStr );
34
35 virtual void SetLabel( const wxString &label );
36
9d522606
RD
37 static wxVisualAttributes
38 GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
39
1e6feb95 40 // implementation
c801d85f 41
d1f2ac45 42 virtual bool IsTransparentForMouse() const { return TRUE; }
c801d85f 43
7545e132
VS
44protected:
45 void DoApplyWidgetStyle(GtkRcStyle *style);
8ef94bfc 46
1e6feb95
VZ
47private:
48 DECLARE_DYNAMIC_CLASS(wxStaticBox)
49};
dcf924a3 50
c801d85f 51#endif // __GTKSTATICBOXH__