Lack of accelerators on Smartphones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,9 +95,15 @@ bool wxIsStockID(wxWindowID id)
|
|||||||
|
|
||||||
wxString wxGetStockLabel(wxWindowID id)
|
wxString wxGetStockLabel(wxWindowID id)
|
||||||
{
|
{
|
||||||
|
#ifdef __SMARTPHONE__
|
||||||
|
#define STOCKITEM(stockid, label) \
|
||||||
|
case stockid: \
|
||||||
|
return wxStripMenuCodes(label);
|
||||||
|
#else
|
||||||
#define STOCKITEM(stockid, label) \
|
#define STOCKITEM(stockid, label) \
|
||||||
case stockid: \
|
case stockid: \
|
||||||
return label;
|
return label;
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (id)
|
switch (id)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user