Fixed wxRTC AltGr+key input on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -994,7 +994,8 @@ void wxRichTextCtrl::OnChar(wxKeyEvent& event)
|
||||
#ifdef __WXMAC__
|
||||
if (event.CmdDown())
|
||||
#else
|
||||
if (event.CmdDown() || event.AltDown())
|
||||
// Fixes AltGr+key with European input languages on Windows
|
||||
if ((event.CmdDown() && !event.AltDown()) || (event.AltDown() && !event.CmdDown()))
|
||||
#endif
|
||||
{
|
||||
event.Skip();
|
||||
|
Reference in New Issue
Block a user