]>
git.saurik.com Git - wxWidgets.git/blob - src/qt/stattext.cpp
e49ae65bc28771ff53c9010c0e1600f7a56706ef
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "stattext.h"
16 #include "wx/stattext.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 IMPLEMENT_DYNAMIC_CLASS(wxStaticText
,wxControl
)
24 wxStaticText::wxStaticText(void)
28 wxStaticText::wxStaticText( wxWindow
*parent
, wxWindowID id
, const wxString
&label
,
29 const wxPoint
&pos
, const wxSize
&size
,
30 long style
, const wxString
&name
)
32 Create( parent
, id
, label
, pos
, size
, style
, name
);
35 bool wxStaticText::Create( wxWindow
*parent
, wxWindowID id
, const wxString
&label
,
36 const wxPoint
&pos
, const wxSize
&size
,
37 long style
, const wxString
&name
)
42 wxString
wxStaticText::GetLabel(void) const
46 void wxStaticText::SetLabel( const wxString
&label
)
48 wxControl::SetLabel(label
);