]> git.saurik.com Git - wxWidgets.git/commitdiff
Lack of accelerators on Smartphones.
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 6 Jan 2005 12:20:15 +0000 (12:20 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 6 Jan 2005 12:20:15 +0000 (12:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/stockitem.cpp

index 13be116b1fafaba00e9ac4e272a670d5b2c1a853..1a75aed568a90361eed77f6d516ea5b54702571a 100644 (file)
@@ -95,9 +95,15 @@ bool wxIsStockID(wxWindowID id)
 
 wxString wxGetStockLabel(wxWindowID id)
 {
+#ifdef __SMARTPHONE__
+    #define STOCKITEM(stockid, label) \
+        case stockid:                 \
+            return wxStripMenuCodes(label);
+#else
     #define STOCKITEM(stockid, label) \
         case stockid:                 \
             return label;
+#endif
 
     switch (id)
     {