the menu item is selected) in this parameter.
Finally note that you can e.g. use a stock menu label without using its stock
help string:
-
+
that is, stock properties are set independently one from the other.
-
+
@param parentMenu
Menu that the menu item belongs to.
@param id
/**
Returns the text associated with the menu item including any accelerator
characters that were passed to the constructor or SetItemLabel.
-
+
@see GetItemLabelText(), GetLabelText()
*/
wxString GetItemLabel() const;
/**
Returns the text associated with the menu item, without any accelerator
characters.
-
+
@see GetItemLabel(), GetLabelText()
*/
wxString GetItemLabelText() const;
Returns the text associated with the menu item without any accelerator
characters it might contain.
This function is deprecated in favour of GetItemLabelText().
-
+
@see GetText(), GetLabelFromText()
*/
wxString GetLabel() const;
/**
Strips all accelerator characters and mnemonics from the given @e text.
For example,
-
+
will return just @c "Hello".
This function is deprecated; please use GetLabelText() instead.
-
+
@see GetText(), GetLabel()
*/
static wxString GetLabelFromText(const wxString& text);
/**
Strips all accelerator characters and mnemonics from the given @e text.
For example,
-
+
will return just @c "Hello".
-
+
@see GetItemLabelText(), GetItemLabel()
*/
static wxString GetLabelText(const wxString& text);
/**
Returns the text associated with the menu item.
- @b NB: this function is deprecated, please use
+ @note this function is deprecated, please use
GetItemLabel() or GetItemLabelText()
instead.
*/
Returns the text associated with the menu item, such as it was passed to the
wxMenuItem constructor, i.e. with any accelerator characters it may contain.
This function is deprecated in favour of GetItemLabel().
-
+
@see GetLabel(), GetLabelFromText()
*/
wxString GetText() const;