]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk1/statbox.h
converted to 16 colors
[wxWidgets.git] / include / wx / gtk1 / statbox.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: stabox.h
3// Purpose:
4// Author: Robert Roebling
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
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"
19
20#if wxUSE_STATBOX
21
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,
51 long style = 0, const wxString &name = wxStaticBoxNameStr );
52 bool Create( wxWindow *parent, wxWindowID id, const wxString &label,
53 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
54 long style = 0, const wxString &name = wxStaticBoxNameStr );
55 void SetLabel( const wxString &label );
56
57 // implementation
58
59 void ApplyWidgetStyle();
60};
61
62#endif
63
64#endif // __GTKSTATICBOXH__