]>
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
41 DECLARE_DYNAMIC_CLASS(wxStaticText
)
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
);
57 void ApplyWidgetStyle();
60 #endif // __GTKSTATICTEXTH__