X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/760ac9abdd63651ec8e30e7b365b8d4a9ad927e6..eedb15434a5f0350f4e1a11faaab3391b900cb5b:/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");