X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e604d44b4b03f1f36998f91311d4e18e8f1b290e..2adaf5969faf352d740f267b1a4ef79a2cf75980:/src/os2/accel.cpp?ds=sidebyside diff --git a/src/os2/accel.cpp b/src/os2/accel.cpp index 1b901b20c4..611f53c959 100644 --- a/src/os2/accel.cpp +++ b/src/os2/accel.cpp @@ -187,11 +187,22 @@ bool wxAcceleratorTable::Translate( ) const { PQMSG pMsg = (PQMSG)pWxmsg; - - return Ok() && ::WinTranslateAccel( vHabmain - ,(HWND)hWnd - ,GetHaccel() - ,pMsg - ); + BOOL rc = FALSE; + + rc = ::WinTranslateAccel( vHabmain + ,(HWND)hWnd + ,GetHaccel() + ,pMsg + ); + if (rc) + { + int x = 1; + } + return (Ok() && rc); +// ::WinTranslateAccel( vHabmain +// ,(HWND)hWnd +// ,GetHaccel() +// ,pMsg +// ); } // end of wxAcceleratorTable::Translate