documented GetLabel/Text, added a note about GetName being deprecated

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-12-15 19:20:57 +00:00
parent caf51f9536
commit 64a8976615

View File

@ -95,6 +95,17 @@ Returns the help string associated with the menu item.
Returns the menu item identifier.
\membersection{wxMenuItem::GetLabel}\label{wxmenuitemgetlabel}
\constfunc{wxString}{GetLabel}{\void}
Returns the text associated with the menu item without any accelerator
characaters it might contain.
\wxheading{See also}
\helpref{GetText}{wxmenuitemgettext}
\membersection{wxMenuItem::GetMarginWidth}\label{wxmenuitemgetmarginwidth}
\constfunc{int}{GetMarginWidth}{\void}
@ -107,6 +118,21 @@ Gets the width of the menu item checkmark bitmap (Windows only).
Returns the text associated with the menu item.
{\bf NB:} this function is deprecated, please use
\helpref{GetText}{wxmenuitemgettext} or \helpref{GetLabel}{wxmenuitemgetlabel}
instead.
\membersection{wxMenuItem::GetText}\label{wxmenuitemgettext}
\constfunc{wxString}{GetText}{\void}
Returns the text associated with the menu item, such as it was passed to the
wxMenuItem constructor, i.e. with any accelerator characters it may contain.
\wxheading{See also}
\helpref{GetLabel}{wxmenuitemgetlabel}
\membersection{wxMenuItem::GetSubMenu}\label{wxmenuitemgetsubmenu}
\constfunc{wxMenu*}{GetSubMenu}{\void}