diff --git a/docs/latex/wx/menuitem.tex b/docs/latex/wx/menuitem.tex index f59dbd68f8..5143834903 100644 --- a/docs/latex/wx/menuitem.tex +++ b/docs/latex/wx/menuitem.tex @@ -239,9 +239,9 @@ Sets the help string. Sets the width of the menu item checkmark bitmap (Windows only). -\membersection{wxMenuItem::SetName}\label{wxmenuitemsetname} +\membersection{wxMenuItem::SetText}\label{wxmenuitemsettext} -\constfunc{void}{SetName}{\param{const wxString\& }{text}} +\constfunc{void}{SetText}{\param{const wxString\& }{text}} Sets the text associated with the menu item.