Temporary wxUniv menu fix from Michael Wetherell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c0b49f7fff
commit
a393f450dc
@ -2146,6 +2146,9 @@ bool wxMenuBar::ProcessMouseEvent(const wxPoint& pt)
|
||||
return false;
|
||||
}
|
||||
|
||||
// FIXME: temporary workaround for crash, to be fixed
|
||||
// in a later version.
|
||||
#if 0
|
||||
// select the new active item
|
||||
DoSelectMenu(currentNew);
|
||||
|
||||
@ -2156,6 +2159,7 @@ bool wxMenuBar::ProcessMouseEvent(const wxPoint& pt)
|
||||
// open the new menu if the old one we closed had been opened
|
||||
PopupCurrentMenu(false /* don't select first item - as Windows does */);
|
||||
}
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user