X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/760ac9abdd63651ec8e30e7b365b8d4a9ad927e6..135ce19c6765c1163b63071ed84443da989cac7a:/src/os2/menu.cpp diff --git a/src/os2/menu.cpp b/src/os2/menu.cpp index 5f2ddd5927..a9c390acc3 100644 --- a/src/os2/menu.cpp +++ b/src/os2/menu.cpp @@ -1031,7 +1031,7 @@ void wxMenuBar::Attach( // Ensure the accelerator table is set to the frame (not the client!) // if (!::WinSetAccelTable( vHabmain - ,(HWND)pFrame->GetFrame() + ,(HWND)pFrame->GetHWND() ,m_vAccelTable.GetHACCEL() )) wxLogLastError("WinSetAccelTable");