1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/stabox.h
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTKSTATICBOX_H_
11 #define _WX_GTKSTATICBOX_H_
13 //-----------------------------------------------------------------------------
15 //-----------------------------------------------------------------------------
17 class WXDLLIMPEXP_CORE wxStaticBox
: public wxStaticBoxBase
21 wxStaticBox( wxWindow
*parent
,
23 const wxString
&label
,
24 const wxPoint
&pos
= wxDefaultPosition
,
25 const wxSize
&size
= wxDefaultSize
,
27 const wxString
&name
= wxStaticBoxNameStr
);
28 bool Create( wxWindow
*parent
,
30 const wxString
&label
,
31 const wxPoint
&pos
= wxDefaultPosition
,
32 const wxSize
&size
= wxDefaultSize
,
34 const wxString
&name
= wxStaticBoxNameStr
);
36 virtual void SetLabel( const wxString
&label
);
38 static wxVisualAttributes
39 GetClassDefaultAttributes(wxWindowVariant variant
= wxWINDOW_VARIANT_NORMAL
);
43 virtual bool IsTransparentForMouse() const { return true; }
45 virtual void GetBordersForSizer(int *borderTop
, int *borderOther
) const;
47 virtual void AddChild( wxWindowBase
*child
);
50 virtual bool GTKWidgetNeedsMnemonic() const;
51 virtual void GTKWidgetDoSetMnemonic(GtkWidget
* w
);
53 void DoApplyWidgetStyle(GtkRcStyle
*style
);
55 DECLARE_DYNAMIC_CLASS(wxStaticBox
)
58 #endif // _WX_GTKSTATICBOX_H_