]> git.saurik.com Git - wxWidgets.git/commitdiff
Make wxMenuItem::GetLabelText readable again
authorRobert Roebling <robert@roebling.de>
Mon, 2 Jun 2008 20:45:41 +0000 (20:45 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 2 Jun 2008 20:45:41 +0000 (20:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/menuitem.h

index 9296ab2ba39703f233cc8a7fe9dad8c07baf9910..dacdc8094dfbc9404c7f14a7f7c3485dc252b139 100644 (file)
@@ -140,10 +140,6 @@ public:
     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()
@@ -152,7 +148,11 @@ public:
 
     /**
         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".