From: Włodzimierz Skiba Date: Thu, 6 Jan 2005 12:20:15 +0000 (+0000) Subject: Lack of accelerators on Smartphones. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/06442f70998e485df47a6524081bd4aa77d0959d Lack of accelerators on Smartphones. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/stockitem.cpp b/src/common/stockitem.cpp index 13be116b1f..1a75aed568 100644 --- a/src/common/stockitem.cpp +++ b/src/common/stockitem.cpp @@ -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) {