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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user