]> git.saurik.com Git - wxWidgets.git/commitdiff
numpad keys didn't trigger an update (reason for bug ID1503745)
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 10 Jun 2006 14:31:08 +0000 (14:31 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 10 Jun 2006 14:31:08 +0000 (14:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp

index 7b1142a3cec6aef3cf96080c1a9c7488d2540849..93c0feae074c7e68c95f6848d7cd2704b188f559 100644 (file)
@@ -1018,6 +1018,7 @@ void wxTextCtrl::OnChar(wxKeyEvent& event)
     }
 
     if ( ( key >= 0x20 && key < WXK_START ) ||
+         ( key >= WXK_NUMPAD0 && key <= WXK_DIVIDE ) ||
          key == WXK_RETURN ||
          key == WXK_DELETE ||
          key == WXK_BACK)