]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stockitem.cpp
GetString() method queries the control for the string when called, m_commandString...
[wxWidgets.git] / 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)
     {