Remove all lines containing cvs/svn "$Id$" keyword.
[wxWidgets.git] / include / wx / motif / statbox.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/statbox.h
3 // Purpose: wxStaticBox class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_STATBOX_H_
12 #define _WX_STATBOX_H_
13
14 // Group box
15 class WXDLLIMPEXP_CORE wxStaticBox: public wxStaticBoxBase
16 {
17 DECLARE_DYNAMIC_CLASS(wxStaticBox)
18
19 public:
20 wxStaticBox();
21 wxStaticBox(wxWindow *parent, wxWindowID id,
22 const wxString& label,
23 const wxPoint& pos = wxDefaultPosition,
24 const wxSize& size = wxDefaultSize,
25 long style = 0,
26 const wxString& name = wxStaticBoxNameStr)
27 {
28 Create(parent, id, label, pos, size, style, name);
29 }
30
31 virtual ~wxStaticBox();
32
33 bool Create(wxWindow *parent, wxWindowID id,
34 const wxString& label,
35 const wxPoint& pos = wxDefaultPosition,
36 const wxSize& size = wxDefaultSize,
37 long style = 0,
38 const wxString& name = wxStaticBoxNameStr);
39
40 virtual bool ProcessCommand(wxCommandEvent& WXUNUSED(event))
41 {
42 return false;
43 }
44
45 virtual WXWidget GetLabelWidget() const { return m_labelWidget; }
46
47 virtual void SetLabel(const wxString& label);
48 virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
49
50 private:
51 WXWidget m_labelWidget;
52
53 private:
54 DECLARE_EVENT_TABLE()
55 };
56
57 #endif
58 // _WX_STATBOX_H_