]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/menu.cpp
Don't close dialogs in ~wxDialog as it just hides other problems
[wxWidgets.git] / src / os2 / menu.cpp
index 1174131571564b40c882062f22902e65960f4f4f..dff498d244d9357afdd7d14cc6c08617aa30dfd3 100644 (file)
@@ -344,7 +344,7 @@ bool wxMenu::DoInsertOrAppend(
         pItem->m_vMenuData.afStyle = rItem.afStyle;
         pItem->m_vMenuData.hItem   = rItem.hItem;
     }
-    else
+    else if (!pItem->IsSeparator())
 #endif
     {
         //