Correct wxID_SEPARATOR description in menu documentation.
Also correct a typo in Delete() function links. Closes #12666. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -386,8 +386,9 @@ public:
|
|||||||
|
|
||||||
A menu item has an integer ID associated with it which can be used to
|
A menu item has an integer ID associated with it which can be used to
|
||||||
identify the selection, or to change the menu item in some way. A menu item
|
identify the selection, or to change the menu item in some way. A menu item
|
||||||
with a special identifier -1 is a separator item and doesn't have an
|
with a special identifier @e wxID_SEPARATOR is a separator item and doesn't
|
||||||
associated command but just makes a separator line appear in the menu.
|
have an associated command but just makes a separator line appear in the
|
||||||
|
menu.
|
||||||
|
|
||||||
@note
|
@note
|
||||||
Please note that @e wxID_ABOUT and @e wxID_EXIT are predefined by wxWidgets
|
Please note that @e wxID_ABOUT and @e wxID_EXIT are predefined by wxWidgets
|
||||||
@@ -646,7 +647,7 @@ public:
|
|||||||
@param id
|
@param id
|
||||||
Id of the menu item to be deleted.
|
Id of the menu item to be deleted.
|
||||||
|
|
||||||
@see FindItem(), Deletes(), Remove()
|
@see FindItem(), Delete(), Remove()
|
||||||
*/
|
*/
|
||||||
bool Destroy(int id);
|
bool Destroy(int id);
|
||||||
|
|
||||||
@@ -658,7 +659,7 @@ public:
|
|||||||
@param item
|
@param item
|
||||||
Menu item to be deleted.
|
Menu item to be deleted.
|
||||||
|
|
||||||
@see FindItem(), Deletes(), Remove()
|
@see FindItem(), Delete(), Remove()
|
||||||
*/
|
*/
|
||||||
bool Destroy(wxMenuItem* item);
|
bool Destroy(wxMenuItem* item);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user