X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9add93670bb4a38e4007b8422b34b29b6194eecb..1d2fe15e719db47cc7a2630aa91f55a95dffbb98:/src/os2/menu.cpp diff --git a/src/os2/menu.cpp b/src/os2/menu.cpp index 1174131571..dff498d244 100644 --- a/src/os2/menu.cpp +++ b/src/os2/menu.cpp @@ -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 { //