1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/statbox.h
4 // Author: Robert Roebling
5 // Copyright: (c) 1998 Robert Roebling
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef _WX_GTKSTATICBOX_H_
10 #define _WX_GTKSTATICBOX_H_
12 //-----------------------------------------------------------------------------
14 //-----------------------------------------------------------------------------
16 class WXDLLIMPEXP_CORE wxStaticBox
: public wxStaticBoxBase
20 wxStaticBox( wxWindow
*parent
,
22 const wxString
&label
,
23 const wxPoint
&pos
= wxDefaultPosition
,
24 const wxSize
&size
= wxDefaultSize
,
26 const wxString
&name
= wxStaticBoxNameStr
);
27 bool Create( wxWindow
*parent
,
29 const wxString
&label
,
30 const wxPoint
&pos
= wxDefaultPosition
,
31 const wxSize
&size
= wxDefaultSize
,
33 const wxString
&name
= wxStaticBoxNameStr
);
35 virtual void SetLabel( const wxString
&label
);
37 static wxVisualAttributes
38 GetClassDefaultAttributes(wxWindowVariant variant
= wxWINDOW_VARIANT_NORMAL
);
42 virtual bool GTKIsTransparentForMouse() const { return true; }
44 virtual void GetBordersForSizer(int *borderTop
, int *borderOther
) const;
46 virtual void AddChild( wxWindowBase
*child
);
49 virtual bool GTKWidgetNeedsMnemonic() const;
50 virtual void GTKWidgetDoSetMnemonic(GtkWidget
* w
);
52 void DoApplyWidgetStyle(GtkRcStyle
*style
);
54 DECLARE_DYNAMIC_CLASS(wxStaticBox
)
57 #endif // _WX_GTKSTATICBOX_H_