]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/mdi.cpp
1. some more tests in console
[wxWidgets.git] / src / os2 / mdi.cpp
index b0142bab6835d5b9c4b64f1653631e9e1a60c808..2c36bb8c0d1cbdae47e5113197685ece5b5ceb81 100644 (file)
@@ -996,7 +996,7 @@ MRESULT wxMDIChildFrame::OS2DefWindowProc(WXUINT message, WXWPARAM wParam, WXLPA
 
 bool wxMDIChildFrame::OS2TranslateMessage(WXMSG* msg)
 {
 
 bool wxMDIChildFrame::OS2TranslateMessage(WXMSG* msg)
 {
-    return m_acceleratorTable.Translate(GetParent(), msg);
+    return m_acceleratorTable.Translate(GetParent()->GetHWND(), msg);
 }
 
 // ---------------------------------------------------------------------------
 }
 
 // ---------------------------------------------------------------------------