]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/menucmn.cpp
use wxDC::SetDeviceClippingRegion() instead of deprecated SetClippingRegion()
[wxWidgets.git] / src / common / menucmn.cpp
index 49f2b2d20ffafc7b9e64d59fac4181cb1ceac7ab..db83047580ec2c0041b16babbfbf4c116c58b370 100644 (file)
@@ -125,6 +125,13 @@ void wxMenuItemBase::SetHelp(const wxString& str)
     }
 }
 
+#ifndef __WXPM__
+wxString wxMenuItemBase::GetLabelText(const wxString& text)
+{
+    return wxStripMenuCodes(text);
+}
+#endif
+
 #if WXWIN_COMPATIBILITY_2_8
 wxString wxMenuItemBase::GetLabelFromText(const wxString& text)
 {