mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-21 05:15:41 +08:00
Handle separators in menus correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
+1
-1
@@ -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
|
||||
{
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user