diff --git a/xvaga/xvtwin.cpp b/xvaga/xvtwin.cpp index 004c7d247..8f443ff8f 100755 --- a/xvaga/xvtwin.cpp +++ b/xvaga/xvtwin.cpp @@ -635,7 +635,6 @@ void TwxWindow::OnChar(wxKeyEvent& evt) void TwxWindow::OnKeyDown(wxKeyEvent& e) { -#ifdef WIN32 // Triste necessita' per gestire corretamente Alt+'+' del tasterino const int k = e.GetKeyCode(); if (k == WXK_NUMPAD_ADD) @@ -645,14 +644,12 @@ void TwxWindow::OnKeyDown(wxKeyEvent& e) OnChar(e); return; } - } -#else - if (e.AltDown() || e.ControlDown()) + } else + if (k == WXK_NUMPAD_DECIMAL) { - OnChar(event); + OnChar(e); return; } -#endif e.Skip(); }