Make wxMenuItem::GetLabelText readable again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -140,10 +140,6 @@ public:
|
|||||||
wxString GetLabel() const;
|
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.
|
This function is deprecated; please use GetLabelText() instead.
|
||||||
|
|
||||||
@see GetText(), GetLabel()
|
@see GetText(), GetLabel()
|
||||||
@@ -152,7 +148,11 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Strips all accelerator characters and mnemonics from the given @e text.
|
Strips all accelerator characters and mnemonics from the given @e text.
|
||||||
For example,
|
For example:
|
||||||
|
|
||||||
|
@code
|
||||||
|
wxMenuItem::GetLabelfromText( "&Hello\tCtrl-h");
|
||||||
|
@endcode
|
||||||
|
|
||||||
will return just @c "Hello".
|
will return just @c "Hello".
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user