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:
@@ -2146,6 +2146,9 @@ bool wxMenuBar::ProcessMouseEvent(const wxPoint& pt)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: temporary workaround for crash, to be fixed
|
||||||
|
// in a later version.
|
||||||
|
#if 0
|
||||||
// select the new active item
|
// select the new active item
|
||||||
DoSelectMenu(currentNew);
|
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
|
// open the new menu if the old one we closed had been opened
|
||||||
PopupCurrentMenu(false /* don't select first item - as Windows does */);
|
PopupCurrentMenu(false /* don't select first item - as Windows does */);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user