]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textcmn.cpp
removed extremely user-unfriendly translations
[wxWidgets.git] / src / common / textcmn.cpp
index bf4de031f140d7e9302f0c262e06453c4d8ef941..de9a68979c74aa898759beb12d857ce42d514d2f 100644 (file)
@@ -328,12 +328,12 @@ bool wxTextCtrlBase::EmulateKeyPress(const wxKeyEvent& event)
             break;
 
         default:
-            if ( keycode < 256 && keycode >= 0 && isprint(keycode) )
+            if ( keycode < 256 && keycode >= 0 && wxIsprint(keycode) )
             {
                 // FIXME this is not going to work for non letters...
                 if ( !event.ShiftDown() )
                 {
-                    keycode = tolower(keycode);
+                    keycode = wxTolower(keycode);
                 }
 
                 ch = (wxChar)keycode;