numpad keys didn't trigger an update (reason for bug ID1503745)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1018,6 +1018,7 @@ void wxTextCtrl::OnChar(wxKeyEvent& event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( ( key >= 0x20 && key < WXK_START ) ||
|
if ( ( key >= 0x20 && key < WXK_START ) ||
|
||||||
|
( key >= WXK_NUMPAD0 && key <= WXK_DIVIDE ) ||
|
||||||
key == WXK_RETURN ||
|
key == WXK_RETURN ||
|
||||||
key == WXK_DELETE ||
|
key == WXK_DELETE ||
|
||||||
key == WXK_BACK)
|
key == WXK_BACK)
|
||||||
|
Reference in New Issue
Block a user