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
This commit is contained in:
Vadim Zeitlin 2010-11-17 01:22:17 +00:00
parent 7ee9a64bd6
commit a302a5ca58

View File

@ -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()
*/