X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1a1ca8998d3a47ab880e9dd19202e50f6d25365..7e02be855d14263c996448bdb56c9e1002ad9b53:/src/msw/frame.cpp diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index b9c2e1c30d..4afd604737 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -726,7 +726,7 @@ WXHICON wxFrame::GetDefaultIcon() const // preprocessing // --------------------------------------------------------------------------- -bool wxFrame::MSWTranslateMessage(WXMSG* pMsg) +bool wxFrame::MSWDoTranslateMessage(wxFrame *frame, WXMSG *pMsg) { if ( wxWindow::MSWTranslateMessage(pMsg) ) return true; @@ -737,7 +737,7 @@ bool wxFrame::MSWTranslateMessage(WXMSG* pMsg) if ( menuBar ) { const wxAcceleratorTable& acceleratorTable = menuBar->GetAccelTable(); - return acceleratorTable.Translate(this, pMsg); + return acceleratorTable.Translate(frame, pMsg); } #endif // wxUSE_MENUS && wxUSE_ACCEL