1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/statbox.h
3 // Purpose: wxStaticBox class
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_STATBOX_H_
12 #define _WX_STATBOX_H_
15 class WXDLLIMPEXP_CORE wxStaticBox
: public wxStaticBoxBase
17 DECLARE_DYNAMIC_CLASS(wxStaticBox
)
21 wxStaticBox(wxWindow
*parent
, wxWindowID id
,
22 const wxString
& label
,
23 const wxPoint
& pos
= wxDefaultPosition
,
24 const wxSize
& size
= wxDefaultSize
,
26 const wxString
& name
= wxStaticBoxNameStr
)
28 Create(parent
, id
, label
, pos
, size
, style
, name
);
31 virtual ~wxStaticBox();
33 bool Create(wxWindow
*parent
, wxWindowID id
,
34 const wxString
& label
,
35 const wxPoint
& pos
= wxDefaultPosition
,
36 const wxSize
& size
= wxDefaultSize
,
38 const wxString
& name
= wxStaticBoxNameStr
);
40 virtual bool ProcessCommand(wxCommandEvent
& WXUNUSED(event
))
45 virtual WXWidget
GetLabelWidget() const { return m_labelWidget
; }
47 virtual void SetLabel(const wxString
& label
);
48 virtual void GetBordersForSizer(int *borderTop
, int *borderOther
) const;
51 WXWidget m_labelWidget
;