]>
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 #pragma interface "statbox.h"
19 WXDLLEXPORT_DATA(extern const char*) wxStaticBoxNameStr
;
22 class WXDLLEXPORT wxStaticBox
: public wxStaticBoxBase
24 DECLARE_DYNAMIC_CLASS(wxStaticBox
)
28 wxStaticBox(wxWindow
*parent
, wxWindowID id
,
29 const wxString
& label
,
30 const wxPoint
& pos
= wxDefaultPosition
,
31 const wxSize
& size
= wxDefaultSize
,
33 const wxString
& name
= wxStaticBoxNameStr
)
35 Create(parent
, id
, label
, pos
, size
, style
, name
);
40 bool Create(wxWindow
*parent
, wxWindowID id
,
41 const wxString
& label
,
42 const wxPoint
& pos
= wxDefaultPosition
,
43 const wxSize
& size
= wxDefaultSize
,
45 const wxString
& name
= wxStaticBoxNameStr
);
47 virtual bool ProcessCommand(wxCommandEvent
& WXUNUSED(event
))
52 virtual WXWidget
GetLabelWidget() const { return m_labelWidget
; }
54 virtual void SetLabel(const wxString
& label
);
57 WXWidget m_labelWidget
;