]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/control.tex
added wxDEPRECATED_INLINE, use it for wxPixelData<wxBitmap>::UseAlpha() to fix Sun...
[wxWidgets.git] / docs / latex / wx / control.tex
index 317ab1f7e65593d41591a97c484a5781a43fadbd..584363605b6b8a02ae0fafca822792040d6c64e0 100644 (file)
@@ -15,6 +15,10 @@ displays one or more item of data.
 
 <wx/control.h>
 
 
 <wx/control.h>
 
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
 \wxheading{See also}
 
 \helpref{wxValidator}{wxvalidator}
 \wxheading{See also}
 
 \helpref{wxValidator}{wxvalidator}
@@ -31,12 +35,23 @@ Simulates the effect of the user issuing a command to the item. See \helpref{wxC
 
 \membersection{wxControl::GetLabel}\label{wxcontrolgetlabel}
 
 
 \membersection{wxControl::GetLabel}\label{wxcontrolgetlabel}
 
-\func{wxString\&}{GetLabel}{\void}
+\constfunc{wxString}{GetLabel}{\void}
 
 Returns the control's text.
 
 Note that the returned string contains the mnemonics (\texttt{\&} characters) if
 
 Returns the control's text.
 
 Note that the returned string contains the mnemonics (\texttt{\&} characters) if
-any.
+any, use \helpref{wxControl::GetLabelText}{wxcontrolgetlabeltext} if they are
+undesired.
+
+
+\membersection{wxControl::GetLabelText}\label{wxcontrolgetlabeltext}
+
+\constfunc{const 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.
 
 
 \membersection{wxControl::SetLabel}\label{wxcontrolsetlabel}
 
 
 \membersection{wxControl::SetLabel}\label{wxcontrolsetlabel}