More accelerator work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1147,8 +1147,6 @@ bool wxFrame::OS2TranslateMessage(
|
||||
WXMSG* pMsg
|
||||
)
|
||||
{
|
||||
if (wxWindow::OS2TranslateMessage(pMsg))
|
||||
return TRUE;
|
||||
//
|
||||
// try the menu bar accels
|
||||
//
|
||||
@@ -1158,7 +1156,7 @@ bool wxFrame::OS2TranslateMessage(
|
||||
return FALSE;
|
||||
|
||||
const wxAcceleratorTable& rAcceleratorTable = pMenuBar->GetAccelTable();
|
||||
return rAcceleratorTable.Translate(this, pMsg);
|
||||
return rAcceleratorTable.Translate(m_hFrame, pMsg);
|
||||
} // end of wxFrame::OS2TranslateMessage
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user