From 64a89766155c24d81224c0d4064d90913f9990d7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Dec 1999 19:20:57 +0000 Subject: [PATCH] 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 --- docs/latex/wx/menuitem.tex | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/latex/wx/menuitem.tex b/docs/latex/wx/menuitem.tex index d780b742a7..0d46f86854 100644 --- a/docs/latex/wx/menuitem.tex +++ b/docs/latex/wx/menuitem.tex @@ -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} -- 2.45.2