X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65f3f920ba3601249efdd84efc1a9299d80d1b4f..6f9921e15a3e2ef350b37adf6bc954632d9c148b:/src/os2/accel.cpp

diff --git a/src/os2/accel.cpp b/src/os2/accel.cpp
index fc5f2a319b..c65092363e 100644
--- a/src/os2/accel.cpp
+++ b/src/os2/accel.cpp
@@ -199,7 +199,7 @@ bool wxAcceleratorTable::Translate( WXHWND  hWnd,
                              ,GetHaccel()
                              ,pMsg
                             );
-    return (Ok() && rc);
+    return (IsOk() && rc);
 } // end of wxAcceleratorTable::Translate
 
 // ---------------------------------------------------------------------------