]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/menuitem.tex
corrected the completely wrong example (bug 545427)
[wxWidgets.git] / docs / latex / wx / menuitem.tex
index f59dbd68f834b4bce0bd82a0c670917b54aa0a0b..514383490313e8fec0ba393895433ca0bd257535 100644 (file)
@@ -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.