X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..43ef6d9ec748053bd32d5e7c01084de3b09ea8af:/src/os2/mdi.cpp?ds=inline diff --git a/src/os2/mdi.cpp b/src/os2/mdi.cpp index 2c36bb8c0d..37b17ad018 100644 --- a/src/os2/mdi.cpp +++ b/src/os2/mdi.cpp @@ -996,7 +996,12 @@ MRESULT wxMDIChildFrame::OS2DefWindowProc(WXUINT message, WXWPARAM wParam, WXLPA bool wxMDIChildFrame::OS2TranslateMessage(WXMSG* msg) { +#if wxUSE_ACCEL return m_acceleratorTable.Translate(GetParent()->GetHWND(), msg); +#else + return FALSE; +#endif //wxUSE_ACCEL + } // ---------------------------------------------------------------------------