Misc fixes, now menus are almost working on MicroWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1963,7 +1963,7 @@ bool wxMenuBar::ProcessMouseEvent(const wxPoint& pt)
|
||||
|
||||
// show the menu if we know that we should, even if we hadn't been showing
|
||||
// it before (this may happen if the previous menu was disabled)
|
||||
if ( m_shouldShowMenu )
|
||||
if ( m_shouldShowMenu && !m_menuShown)
|
||||
{
|
||||
// open the new menu if the old one we closed had been opened
|
||||
PopupCurrentMenu(FALSE /* don't select first item - as Windows does */);
|
||||
|
Reference in New Issue
Block a user