unreachable code warning fix (Unicode build)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-03-21 12:44:28 +00:00
parent 0d97c09023
commit ba30efbc53

View File

@@ -583,12 +583,12 @@ bool wxGridCellEditor::IsAcceptedKey(wxKeyEvent& event)
keyOk = (key <= 127);
}
return keyOk;
#else
#else // !wxUSE_UNICODE
int key = event.GetKeyCode();
if (key <= 255)
return true;
#endif
return false;
#endif // wxUSE_UNICODE/!wxUSE_UNICODE
}
void wxGridCellEditor::StartingKey(wxKeyEvent& event)