]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/window.cpp
Fix Tab navigation when focused control is disabled.
[wxWidgets.git] / src / dfb / window.cpp
index 6fed4e69f4f715e20ad45e246c5e5660415e1cd7..bfe64b16f073298bb8a7b1f3d798b05ff89cf0d8 100644 (file)
@@ -967,13 +967,11 @@ static long GetUntraslatedKeyCode(DFBInputDeviceKeyIdentifier key_id,
                 return key_symbol;
             else
             {
                 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
                 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
                     return 0;
             }
 #endif