]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/menuitem.cpp
fix for rather mysterious problem when deleting the list ctrl
[wxWidgets.git] / src / os2 / menuitem.cpp
index 1d960c605b06481777659b18c361ac97594d075d..16ea72e6a0f97ea21fd68ecdfa52d37191c7ba0c 100644 (file)
@@ -71,7 +71,7 @@ static wxString TextToLabel(const wxString& rTitle)
                 pc++;
                 Title << wxT('&');
             }
-            else 
+            else
                 Title << wxT('~');
         }
 //         else if (*pc == wxT('/'))
@@ -208,18 +208,6 @@ wxString wxMenuItemBase::GetLabelFromText(
     return label;
 }
 
-// accelerators
-// ------------
-
-#if wxUSE_ACCEL
-
-wxAcceleratorEntry *wxMenuItem::GetAccel() const
-{
-    return wxGetAccelFromString(GetText());
-}
-
-#endif // wxUSE_ACCEL
-
 // change item state
 // -----------------