]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/motif/statbox.h
1. extracted MSW-specific part of wxDynamicLibrary in msw/dlmsw.cpp
[wxWidgets.git] / include / wx / motif / statbox.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: statbox.h
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
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_STATBOX_H_
13#define _WX_STATBOX_H_
14
15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16#pragma interface "statbox.h"
17#endif
18
19// Group box
20class WXDLLEXPORT wxStaticBox: public wxStaticBoxBase
21{
22 DECLARE_DYNAMIC_CLASS(wxStaticBox)
23
24public:
25 wxStaticBox();
26 wxStaticBox(wxWindow *parent, wxWindowID id,
27 const wxString& label,
28 const wxPoint& pos = wxDefaultPosition,
29 const wxSize& size = wxDefaultSize,
30 long style = 0,
31 const wxString& name = wxStaticBoxNameStr)
32 {
33 Create(parent, id, label, pos, size, style, name);
34 }
35
36 ~wxStaticBox();
37
38 bool Create(wxWindow *parent, wxWindowID id,
39 const wxString& label,
40 const wxPoint& pos = wxDefaultPosition,
41 const wxSize& size = wxDefaultSize,
42 long style = 0,
43 const wxString& name = wxStaticBoxNameStr);
44
45 virtual bool ProcessCommand(wxCommandEvent& WXUNUSED(event))
46 {
47 return FALSE;
48 }
49
50 virtual WXWidget GetLabelWidget() const { return m_labelWidget; }
51
52 virtual void SetLabel(const wxString& label);
53
54private:
55 WXWidget m_labelWidget;
56
57private:
58 DECLARE_EVENT_TABLE()
59};
60
61#endif
62// _WX_STATBOX_H_