]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/statbox.h
wxPython 2.1b1 for wxMSW (wxGTK coming soon)
[wxWidgets.git] / include / wx / gtk / statbox.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: stabox.h
3// Purpose:
4// Author: Robert Roebling
58614078
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
c801d85f
KB
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10
11#ifndef __GTKSTATICBOXH__
12#define __GTKSTATICBOXH__
13
14#ifdef __GNUG__
15#pragma interface
16#endif
17
18#include "wx/defs.h"
dcf924a3
RR
19
20#if wxUSE_STATBOX
21
c801d85f
KB
22#include "wx/object.h"
23#include "wx/list.h"
24#include "wx/control.h"
25
26//-----------------------------------------------------------------------------
27// classes
28//-----------------------------------------------------------------------------
29
30class wxStaticBox;
31
32//-----------------------------------------------------------------------------
33// global data
34//-----------------------------------------------------------------------------
35
36extern const char *wxStaticBoxNameStr;
37
38//-----------------------------------------------------------------------------
39// wxStaticBox
40//-----------------------------------------------------------------------------
41
42class wxStaticBox: public wxControl
43{
44 DECLARE_DYNAMIC_CLASS(wxStaticBox)
45
46 public:
47
48 wxStaticBox(void);
49 wxStaticBox( wxWindow *parent, wxWindowID id, const wxString &label,
50 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
debe6624
JS
51 long style = 0, const wxString &name = wxStaticBoxNameStr );
52 bool Create( wxWindow *parent, wxWindowID id, const wxString &label,
c801d85f 53 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
debe6624 54 long style = 0, const wxString &name = wxStaticBoxNameStr );
d3904ceb 55 void SetLabel( const wxString &label );
58614078
RR
56
57 // implementation
58
59 void ApplyWidgetStyle();
c801d85f
KB
60};
61
dcf924a3
RR
62#endif
63
c801d85f 64#endif // __GTKSTATICBOXH__