From 06442f70998e485df47a6524081bd4aa77d0959d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 6 Jan 2005 12:20:15 +0000 Subject: [PATCH] Lack of accelerators on Smartphones. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/stockitem.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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) {