From a302a5ca5804cbae64f089dba4af79f2b9399302 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 17 Nov 2010 01:22:17 +0000 Subject: [PATCH] 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 --- interface/wx/menu.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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() */ -- 2.50.0