demi's patches #2: fixed x button on translation assistant

Originally committed to SVN as r1426.
This commit is contained in:
Rodrigo Braz Monteiro 2007-07-16 03:17:11 +00:00
parent 5269a2e2a1
commit 9ab04c7ea3
1 changed files with 2 additions and 0 deletions

View File

@ -356,6 +356,8 @@ void DialogTranslation::OnTransBoxKey(wxKeyEvent &event) {
return;
}
if (event.GetKeyCode() == WXK_ESCAPE) EndModal(1);
// Skip anything else
event.Skip();
}