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:
@@ -781,9 +781,6 @@ public:
|
|||||||
/**
|
/**
|
||||||
Returns the title of the menu.
|
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()
|
@see SetTitle()
|
||||||
*/
|
*/
|
||||||
const wxString& GetTitle() const;
|
const wxString& GetTitle() const;
|
||||||
@@ -953,8 +950,9 @@ public:
|
|||||||
@param title
|
@param title
|
||||||
The title to set.
|
The title to set.
|
||||||
|
|
||||||
@remarks This is relevant only to popup menus, use
|
@remarks Notice that you can only call this method directly for the
|
||||||
wxMenuBar::SetLabelTop for the menus in the menubar.
|
popup menus, to change the title of a menu that is part of a menu
|
||||||
|
bar you need to use wxMenuBar::SetLabelTop().
|
||||||
|
|
||||||
@see GetTitle()
|
@see GetTitle()
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user