]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/accel.cpp
Fixed property editor re-positioning when additional column editor (e.g. label editor...
[wxWidgets.git] / src / motif / accel.cpp
index 3aad0fb5b533a8f29bf1d9e62a1b00d064c5421c..ba59df93dd71daa315493d545859cc70ca12b741 100644 (file)
@@ -108,8 +108,8 @@ bool wxAcceleratorEntry::MatchesEvent(const wxKeyEvent& event) const
     bool accShiftDown = ((GetFlags() & wxACCEL_SHIFT) == wxACCEL_SHIFT);
     int  accKeyCode = GetKeyCode();
     int  accKeyCode2 = GetKeyCode();
-    if (isascii(accKeyCode2))
-        accKeyCode2 = tolower(accKeyCode2);
+    if (wxIsascii(accKeyCode2))
+        accKeyCode2 = wxTolower(accKeyCode2);
 
     return ((eventAltDown == accAltDown) && (eventCtrlDown == accCtrlDown) &&
         (eventShiftDown == accShiftDown) &&