]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/stattext.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKSTATICTEXTH__
12 #define __GTKSTATICTEXTH__
19 #include "wx/object.h"
21 #include "wx/control.h"
23 //-----------------------------------------------------------------------------
25 //-----------------------------------------------------------------------------
29 //-----------------------------------------------------------------------------
31 //-----------------------------------------------------------------------------
33 extern const wxChar
*wxStaticTextNameStr
;
35 //-----------------------------------------------------------------------------
37 //-----------------------------------------------------------------------------
39 class wxStaticText
: public wxControl
44 wxStaticText(wxWindow
*parent
,
46 const wxString
&label
,
47 const wxPoint
&pos
= wxDefaultPosition
,
48 const wxSize
&size
= wxDefaultSize
,
50 const wxString
&name
= wxStaticTextNameStr
);
52 bool Create(wxWindow
*parent
,
54 const wxString
&label
,
55 const wxPoint
&pos
= wxDefaultPosition
,
56 const wxSize
&size
= wxDefaultSize
,
58 const wxString
&name
= wxStaticTextNameStr
);
60 wxString
GetLabel() const;
61 void SetLabel( const wxString
&label
);
64 void ApplyWidgetStyle();
67 DECLARE_DYNAMIC_CLASS(wxStaticText
)
70 #endif // __GTKSTATICTEXTH__