]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valtext.cpp
Fixed the GetDataSource() function so the DsDesc that is returned is the full description
[wxWidgets.git] / src / common / valtext.cpp
index 2d6bbca2f47fe88680d084d21d8b8cd414190e8d..27e3d04cd62dadc610cfe6e20eb6ae9919e81cf3 100644 (file)
@@ -269,7 +269,7 @@ void wxTextValidator::OnChar(wxKeyEvent& event)
 
     if ( m_validatorWindow )
     {
 
     if ( m_validatorWindow )
     {
-        int keyCode = event.KeyCode();
+        int keyCode = (int)event.KeyCode();
 
         // we don't filter special keys and Delete
         if (
 
         // we don't filter special keys and Delete
         if (