]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/stattext.h
Added hotkeys to menus "E&xit\tAlt-X" and such.
[wxWidgets.git] / include / wx / gtk / stattext.h
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
27 class wxStaticText;
28
29 //-----------------------------------------------------------------------------
30 // global data
31 //-----------------------------------------------------------------------------
32
33 extern const char *wxStaticTextNameStr;
34
35 //-----------------------------------------------------------------------------
36 // wxStaticText
37 //-----------------------------------------------------------------------------
38
39 class wxStaticText: public wxControl
40 {
41 DECLARE_DYNAMIC_CLASS(wxStaticText)
42
43 public:
44
45 wxStaticText(void);
46 wxStaticText( wxWindow *parent, wxWindowID id, const wxString &label,
47 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
48 long style = 0, const wxString &name = wxStaticTextNameStr );
49 bool Create( wxWindow *parent, wxWindowID id, const wxString &label,
50 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
51 long style = 0, const wxString &name = wxStaticTextNameStr );
52 wxString GetLabel(void) const;
53 void SetLabel( const wxString &label );
54
55 // implementation
56
57 void ApplyWidgetStyle();
58 };
59
60 #endif // __GTKSTATICTEXTH__