git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64256
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
kind = wxITEM_SEPARATOR;
break;
kind = wxITEM_SEPARATOR;
break;
+ case wxID_NONE:
+ // (popup) menu titles in wxMSW use this ID to indicate that
+ // it's not a real menu item, so we don't want the check below to
+ // apply to it
+ m_id = id;
+ break;
+
default:
// ids are limited to 16 bits under MSW so portable code shouldn't
// use ids outside of this range (negative ids generated by wx are
default:
// ids are limited to 16 bits under MSW so portable code shouldn't
// use ids outside of this range (negative ids generated by wx are