]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk1/stattext.h
compilation fix (no C++ comments in C files, include/wx/expr.hsrc/msw/textctrl.cpp...
[wxWidgets.git] / include / wx / gtk1 / stattext.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: stattext.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 __GTKSTATICTEXTH__
12#define __GTKSTATICTEXTH__
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 wxStaticText;
28
29//-----------------------------------------------------------------------------
30// global data
31//-----------------------------------------------------------------------------
32
33extern const wxChar *wxStaticTextNameStr;
34
35//-----------------------------------------------------------------------------
36// wxStaticText
37//-----------------------------------------------------------------------------
38
39class wxStaticText : public wxControl
40{
41public:
42
43 wxStaticText();
44 wxStaticText(wxWindow *parent,
45 wxWindowID id,
46 const wxString &label,
47 const wxPoint &pos = wxDefaultPosition,
48 const wxSize &size = wxDefaultSize,
49 long style = 0,
50 const wxString &name = wxStaticTextNameStr );
51
52 bool Create(wxWindow *parent,
53 wxWindowID id,
54 const wxString &label,
55 const wxPoint &pos = wxDefaultPosition,
56 const wxSize &size = wxDefaultSize,
57 long style = 0,
58 const wxString &name = wxStaticTextNameStr );
59
60 wxString GetLabel() const;
61 void SetLabel( const wxString &label );
62
63 // implementation
64 void ApplyWidgetStyle();
65
66protected:
67 DECLARE_DYNAMIC_CLASS(wxStaticText)
68};
69
70#endif // __GTKSTATICTEXTH__