From: Vadim Zeitlin Date: Tue, 10 Sep 2002 13:37:08 +0000 (+0000) Subject: clarification of Set/GetTitle() with respect to popup menus X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/706f30f83cb0243bef62d09647c9e90cf196bf9f clarification of Set/GetTitle() with respect to popup menus git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/menu.tex b/docs/latex/wx/menu.tex index 47d3c70a44..b5626089db 100644 --- a/docs/latex/wx/menu.tex +++ b/docs/latex/wx/menu.tex @@ -372,7 +372,9 @@ Returns the title of the menu. \wxheading{Remarks} -This is relevant only to popup menus. +This is relevant only to popup menus, use +\helpref{wxMenuBar::GetLabelTop}{wxmenubargetlabeltop} for the menus in the +menubar. \wxheading{See also} @@ -580,11 +582,13 @@ Sets the title of the menu. \wxheading{Remarks} -This is relevant only to popup menus. +This is relevant only to popup menus, use +\helpref{wxMenuBar::SetLabelTop}{wxmenubarsetlabeltop} for the menus in the +menubar. \wxheading{See also} -\helpref{wxMenu::SetTitle}{wxmenusettitle} +\helpref{wxMenu::GetTitle}{wxmenugettitle} \membersection{wxMenu::UpdateUI}\label{wxmenuupdateui} @@ -826,7 +830,9 @@ Use only after the menubar has been associated with a frame. \constfunc{wxString}{GetLabelTop}{\param{int}{ pos}} -Returns the label of a top-level menu. +Returns the label of a top-level menu. Note that the returned string does not +include the accelerator characters which could have been specified in the menu +title string during its construction. \wxheading{Parameters}