Remove wxUSE_WCHAR_T checks.
wxWidgets requires wchar_t for some time now; wx/chartype.h has a check to fail complation without it. Simplify code by removing now-dead code for the !wxUSE_WCHAR_T case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -967,13 +967,11 @@ static long GetUntraslatedKeyCode(DFBInputDeviceKeyIdentifier key_id,
|
||||
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
|
||||
|
Reference in New Issue
Block a user