]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/mdi.cpp
regenerated
[wxWidgets.git] / src / os2 / mdi.cpp
index 2c36bb8c0d1cbdae47e5113197685ece5b5ceb81..37b17ad0185aee7f6744ba3a29f977791955e259 100644 (file)
@@ -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
+
 }
 
 // ---------------------------------------------------------------------------