]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/textctrl.cpp
Fix harmless unused parameter warnings in wxDEBUG_LEVEL==0 build.
[wxWidgets.git] / src / motif / textctrl.cpp
index 92ea827279d08e71fcc7f00130714dc4fecb07ae..4cd726bc0434eeaed8541f0f60f1e15fd7d43e64 100644 (file)
@@ -387,7 +387,7 @@ void wxTextCtrl::OnChar(wxKeyEvent& event)
         XmTextVerifyCallbackStruct *textStruct =
             (XmTextVerifyCallbackStruct *) m_tempCallbackStruct;
         textStruct->doit = True;
-        if (isascii(event.m_keyCode) && (textStruct->text->length == 1))
+        if (wxIsascii(event.m_keyCode) && (textStruct->text->length == 1))
         {
             textStruct->text->ptr[0] = (char)((event.m_keyCode == WXK_RETURN) ? 10 : event.m_keyCode);
         }