Non-working OEM key sequences issue fixed

resolves #5
This commit is contained in:
Simon Rozman 2016-04-07 14:52:45 +02:00
parent 426b7a6227
commit acfe980705

View File

@ -63,7 +63,7 @@ bool wxZRColaKeyHandler::ProcessEvent(wxEvent& event)
{
// Parse key event and save it at the end of the key sequence.
ZRCola::keyseq_db::keyseq::key_t key;
key.key = e.GetKeyCode(); //wxToupper(e.m_uniChar);
key.key = e.GetRawKeyCode();
key.modifiers =
(e.ShiftDown() ? ZRCola::keyseq_db::keyseq::SHIFT : 0) |
(e.ControlDown() ? ZRCola::keyseq_db::keyseq::CTRL : 0) |