X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3febf6845ffa9f9004dc5000e01a0f01d8a6f57c..6d9022fe3bb50a75b9b5eaf5cf32558e518ba310:/src/os2/accel.cpp?ds=sidebyside diff --git a/src/os2/accel.cpp b/src/os2/accel.cpp index a93f7f1af6..802a3867e4 100644 --- a/src/os2/accel.cpp +++ b/src/os2/accel.cpp @@ -90,7 +90,7 @@ wxAcceleratorTable::wxAcceleratorTable( ::WinSetAccelTable( vHabmain ,hAccel - ,(HWND)pFrame->GetHWND() + ,(HWND)pFrame->GetFrame() ); } M_ACCELDATA->m_hAccel = hAccel; @@ -162,7 +162,7 @@ wxAcceleratorTable::wxAcceleratorTable( ::WinSetAccelTable( vHabmain ,M_ACCELDATA->m_hAccel - ,(HWND)pFrame->GetHWND() + ,(HWND)pFrame->GetFrame() ); } @@ -208,10 +208,5 @@ bool wxAcceleratorTable::Translate( int x = 1; } return (Ok() && rc); -// ::WinTranslateAccel( vHabmain -// ,(HWND)hWnd -// ,GetHaccel() -// ,pMsg -// ); } // end of wxAcceleratorTable::Translate