no real changes; just a very minor cleanup in wxFrame::MSWTranslateMessage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -734,14 +734,14 @@ bool wxFrame::MSWTranslateMessage(WXMSG* pMsg)
|
||||
#if wxUSE_MENUS && wxUSE_ACCEL && !defined(__WXUNIVERSAL__)
|
||||
// try the menu bar accels
|
||||
wxMenuBar *menuBar = GetMenuBar();
|
||||
if ( !menuBar )
|
||||
return false;
|
||||
|
||||
if ( menuBar )
|
||||
{
|
||||
const wxAcceleratorTable& acceleratorTable = menuBar->GetAccelTable();
|
||||
return acceleratorTable.Translate(this, pMsg);
|
||||
#else
|
||||
return false;
|
||||
}
|
||||
#endif // wxUSE_MENUS && wxUSE_ACCEL
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user