]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/motif/statbox.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxStaticBox class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_STATBOX_H_
13 #define _WX_STATBOX_H_
16 class WXDLLEXPORT wxStaticBox
: public wxStaticBoxBase
18 DECLARE_DYNAMIC_CLASS(wxStaticBox
)
22 wxStaticBox(wxWindow
*parent
, wxWindowID id
,
23 const wxString
& label
,
24 const wxPoint
& pos
= wxDefaultPosition
,
25 const wxSize
& size
= wxDefaultSize
,
27 const wxString
& name
= wxStaticBoxNameStr
)
29 Create(parent
, id
, label
, pos
, size
, style
, name
);
34 bool Create(wxWindow
*parent
, wxWindowID id
,
35 const wxString
& label
,
36 const wxPoint
& pos
= wxDefaultPosition
,
37 const wxSize
& size
= wxDefaultSize
,
39 const wxString
& name
= wxStaticBoxNameStr
);
41 virtual bool ProcessCommand(wxCommandEvent
& WXUNUSED(event
))
46 virtual WXWidget
GetLabelWidget() const { return m_labelWidget
; }
48 virtual void SetLabel(const wxString
& label
);
49 virtual void GetBordersForSizer(int *borderTop
, int *borderOther
) const;
52 WXWidget m_labelWidget
;