Fixed wxRTC AltGr+key input on Windows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-04-02 09:50:57 +00:00
parent 9d68bed54b
commit 0d704eb30a

View File

@@ -984,7 +984,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();