Corretta conversione del . del tastierino numerico in ,

git-svn-id: svn://10.65.10.50/branches/R_10_00@22708 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2012-07-13 13:43:14 +00:00
parent 456ea6579d
commit a01ee6d22d

View File

@ -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();
}