]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/menu.cpp
This handlers mustn't be deleted when a popup is dismissed since they can
[wxWidgets.git] / src / univ / menu.cpp
index 8e3957ddf7677f603a95f49075076ef17a89def2..ba4e56b51934ae2cf2f5d260f1dcb2158a501f47 100644 (file)
@@ -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;
 }