]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/statbox.h
don't pass window argument to NotifyCaptureLost, it's not needed/used
[wxWidgets.git] / include / wx / motif / statbox.h
CommitLineData
9b6dbb09 1/////////////////////////////////////////////////////////////////////////////
925f7740 2// Name: wx/motif/statbox.h
9b6dbb09
JS
3// Purpose: wxStaticBox class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
65571936 9// Licence: wxWindows licence
9b6dbb09
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_STATBOX_H_
13#define _WX_STATBOX_H_
14
9b6dbb09 15// Group box
483561c5 16class WXDLLEXPORT wxStaticBox: public wxStaticBoxBase
9b6dbb09 17{
83df96d6 18 DECLARE_DYNAMIC_CLASS(wxStaticBox)
925f7740 19
bfc6fde4
VZ
20public:
21 wxStaticBox();
22 wxStaticBox(wxWindow *parent, wxWindowID id,
83df96d6
JS
23 const wxString& label,
24 const wxPoint& pos = wxDefaultPosition,
25 const wxSize& size = wxDefaultSize,
26 long style = 0,
27 const wxString& name = wxStaticBoxNameStr)
bfc6fde4
VZ
28 {
29 Create(parent, id, label, pos, size, style, name);
30 }
483561c5 31
bfc6fde4 32 ~wxStaticBox();
925f7740 33
bfc6fde4 34 bool Create(wxWindow *parent, wxWindowID id,
83df96d6
JS
35 const wxString& label,
36 const wxPoint& pos = wxDefaultPosition,
37 const wxSize& size = wxDefaultSize,
38 long style = 0,
39 const wxString& name = wxStaticBoxNameStr);
925f7740 40
31528cd3
VZ
41 virtual bool ProcessCommand(wxCommandEvent& WXUNUSED(event))
42 {
96be256b 43 return false;
31528cd3 44 }
483561c5
MB
45
46 virtual WXWidget GetLabelWidget() const { return m_labelWidget; }
47
48 virtual void SetLabel(const wxString& label);
13abe5c0 49 virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
483561c5
MB
50
51private:
bfc6fde4 52 WXWidget m_labelWidget;
925f7740 53
bfc6fde4
VZ
54private:
55 DECLARE_EVENT_TABLE()
9b6dbb09
JS
56};
57
58#endif
83df96d6 59// _WX_STATBOX_H_