]>
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_
15 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "statbox.h"
20 class WXDLLEXPORT wxStaticBox
: public wxStaticBoxBase
22 DECLARE_DYNAMIC_CLASS(wxStaticBox
)
26 wxStaticBox(wxWindow
*parent
, wxWindowID id
,
27 const wxString
& label
,
28 const wxPoint
& pos
= wxDefaultPosition
,
29 const wxSize
& size
= wxDefaultSize
,
31 const wxString
& name
= wxStaticBoxNameStr
)
33 Create(parent
, id
, label
, pos
, size
, style
, name
);
38 bool Create(wxWindow
*parent
, wxWindowID id
,
39 const wxString
& label
,
40 const wxPoint
& pos
= wxDefaultPosition
,
41 const wxSize
& size
= wxDefaultSize
,
43 const wxString
& name
= wxStaticBoxNameStr
);
45 virtual bool ProcessCommand(wxCommandEvent
& WXUNUSED(event
))
50 virtual WXWidget
GetLabelWidget() const { return m_labelWidget
; }
52 virtual void SetLabel(const wxString
& label
);
55 WXWidget m_labelWidget
;