]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valtext.cpp
Reverting back to 1.35 as 1.36 does not work with all data sources
[wxWidgets.git] / src / common / valtext.cpp
index 2d6bbca2f47fe88680d084d21d8b8cd414190e8d..27e3d04cd62dadc610cfe6e20eb6ae9919e81cf3 100644 (file)
@@ -269,7 +269,7 @@ void wxTextValidator::OnChar(wxKeyEvent& event)
 
     if ( m_validatorWindow )
     {
-        int keyCode = event.KeyCode();
+        int keyCode = (int)event.KeyCode();
 
         // we don't filter special keys and Delete
         if (