1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/stabox.h
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKSTATICBOXH__
12 #define __GTKSTATICBOXH__
14 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class wxStaticBox
: public wxStaticBoxBase
26 wxStaticBox( wxWindow
*parent
,
28 const wxString
&label
,
29 const wxPoint
&pos
= wxDefaultPosition
,
30 const wxSize
&size
= wxDefaultSize
,
32 const wxString
&name
= wxStaticBoxNameStr
);
33 bool Create( wxWindow
*parent
,
35 const wxString
&label
,
36 const wxPoint
&pos
= wxDefaultPosition
,
37 const wxSize
&size
= wxDefaultSize
,
39 const wxString
&name
= wxStaticBoxNameStr
);
41 virtual void SetLabel( const wxString
&label
);
43 static wxVisualAttributes
44 GetClassDefaultAttributes(wxWindowVariant variant
= wxWINDOW_VARIANT_NORMAL
);
48 virtual bool IsTransparentForMouse() const { return TRUE
; }
51 void DoApplyWidgetStyle(GtkRcStyle
*style
);
54 DECLARE_DYNAMIC_CLASS(wxStaticBox
)
57 #endif // __GTKSTATICBOXH__