X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94af7d45eff65baa84c142b8238267217ba4617d..07243717e26bda497d5a8b325c2e6acf4ee033cf:/src/common/textcmn.cpp diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index bf4de031f1..de9a68979c 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -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;