<wx/stattext.h>
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
\wxheading{Window styles}
\twocolwidtha{5cm}
\membersection{wxStaticText::GetLabelText}\label{wxstatictextgetlabeltext}
-\constfunc{const wxString\&}{GetLabelText}{\void}
+\constfunc{wxString}{GetLabelText}{\void}
+
+\func{static wxString}{GetLabelText}{\param{const wxString\& }{label}}
-Returns the control's label or the given \arg{label} string for the static
-version without the mnemonics characters (if any) and without the markup
-(if the control has \texttt{wxST\_MARKUP} style).
+The first form returns the control's label without the mnemonics characters (if any)
+and without the markup (if the control has \texttt{wxST\_MARKUP} style).
+The second (static) version returns the given \arg{label} string without the mnemonics
+characters (if any) and without the markup.
\membersection{wxStaticText::SetLabel}\label{wxstatictextsetlabel}