X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7cacb43db1e69b87b257a67912b4d52995b070a..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/os2/accel.cpp?ds=inline diff --git a/src/os2/accel.cpp b/src/os2/accel.cpp index 3dc254182f..c65092363e 100644 --- a/src/os2/accel.cpp +++ b/src/os2/accel.cpp @@ -75,7 +75,7 @@ wxAcceleratorTable::wxAcceleratorTable( m_refData = new wxAcceleratorRefData; - ulId = atol((char*)rResource.c_str()); + ulId = atol(rResource.c_str()); hAccel = ::WinLoadAccelTable( vHabmain ,NULL // resources always in .exe ,(ULONG)ulId @@ -199,7 +199,7 @@ bool wxAcceleratorTable::Translate( WXHWND hWnd, ,GetHaccel() ,pMsg ); - return (Ok() && rc); + return (IsOk() && rc); } // end of wxAcceleratorTable::Translate // ---------------------------------------------------------------------------