#define KEY(dfb, wx) \
case dfb: \
wxLogTrace(TRACE_EVENTS, \
- _T("key " #dfb " mapped to " #wx)); \
+ wxT("key " #dfb " mapped to " #wx)); \
return wx
// returns translated keycode, i.e. the one for KEYUP/KEYDOWN where 'a'..'z' is
return key_symbol;
else
{
-#if wxUSE_WCHAR_T
wchar_t chr = key_symbol;
wxCharBuffer buf(wxConvUI->cWC2MB(&chr, 1, NULL));
if ( buf )
return *buf; // may be 0 if failed
else
-#endif // wxUSE_WCHAR_T
return 0;
}
#endif