X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a885d89ae9c9d6ff5275cb5b1ea3087132aacf8c..6ba636000f13b4bf7d3e7dcfad429713085f6700:/src/os2/mdi.cpp?ds=sidebyside diff --git a/src/os2/mdi.cpp b/src/os2/mdi.cpp index b0142bab68..2c36bb8c0d 100644 --- a/src/os2/mdi.cpp +++ b/src/os2/mdi.cpp @@ -996,7 +996,7 @@ MRESULT wxMDIChildFrame::OS2DefWindowProc(WXUINT message, WXWPARAM wParam, WXLPA bool wxMDIChildFrame::OS2TranslateMessage(WXMSG* msg) { - return m_acceleratorTable.Translate(GetParent(), msg); + return m_acceleratorTable.Translate(GetParent()->GetHWND(), msg); } // ---------------------------------------------------------------------------