From: Vadim Zeitlin Date: Wed, 17 Nov 2010 01:22:17 +0000 (+0000) Subject: Remove obsolete warning from wxMenuBar::GetTitle() documentation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a302a5ca5804cbae64f089dba4af79f2b9399302 Remove obsolete warning from wxMenuBar::GetTitle() documentation. This method can be used for menu bar entries also since the previous commit. Do mention that SetTitle() can't be used to change a menu bar menu title however. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/menu.h b/interface/wx/menu.h index 623f3c8911..a64d66729c 100644 --- a/interface/wx/menu.h +++ b/interface/wx/menu.h @@ -781,9 +781,6 @@ public: /** Returns the title of the menu. - @remarks This is relevant only to popup menus, use - wxMenuBar::GetMenuLabel for the menus in the menubar. - @see SetTitle() */ const wxString& GetTitle() const; @@ -953,8 +950,9 @@ public: @param title The title to set. - @remarks This is relevant only to popup menus, use - wxMenuBar::SetLabelTop for the menus in the menubar. + @remarks Notice that you can only call this method directly for the + popup menus, to change the title of a menu that is part of a menu + bar you need to use wxMenuBar::SetLabelTop(). @see GetTitle() */