]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/statbox.h
Applied Russel's changes to wxToolBarBase
[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"
19#include "wx/object.h"
20#include "wx/list.h"
21#include "wx/control.h"
22
23//-----------------------------------------------------------------------------
24// classes
25//-----------------------------------------------------------------------------
26
27class wxStaticBox;
28
29//-----------------------------------------------------------------------------
30// global data
31//-----------------------------------------------------------------------------
32
33extern const char *wxStaticBoxNameStr;
34
35//-----------------------------------------------------------------------------
36// wxStaticBox
37//-----------------------------------------------------------------------------
38
39class wxStaticBox: public wxControl
40{
41 DECLARE_DYNAMIC_CLASS(wxStaticBox)
42
43 public:
44
45 wxStaticBox(void);
46 wxStaticBox( wxWindow *parent, wxWindowID id, const wxString &label,
47 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
debe6624
JS
48 long style = 0, const wxString &name = wxStaticBoxNameStr );
49 bool Create( wxWindow *parent, wxWindowID id, const wxString &label,
c801d85f 50 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
debe6624 51 long style = 0, const wxString &name = wxStaticBoxNameStr );
d3904ceb 52 void SetLabel( const wxString &label );
58614078
RR
53
54 // implementation
55
56 void ApplyWidgetStyle();
c801d85f
KB
57};
58
59#endif // __GTKSTATICBOXH__