+ wxASSERT_MSG(pParentMenu != NULL, wxT("a menu item should have a parent"));
+
+ Init();
+} // end of wxMenuItem::wxMenuItem
+
+wxMenuItem::wxMenuItem(
+ wxMenu* pParentMenu
+, int nId
+, const wxString& rsText
+, const wxString& rsHelp
+, bool bIsCheckable
+, wxMenu* pSubMenu
+)
+: wxMenuItemBase( pParentMenu
+ ,nId
+ ,TextToLabel(rsText)
+ ,rsHelp
+ ,bIsCheckable ? wxITEM_CHECK : wxITEM_NORMAL
+ ,pSubMenu
+ )
+#if wxUSE_OWNER_DRAWN
+, wxOwnerDrawn( TextToLabel(rsText)
+ ,bIsCheckable
+ )
+#endif // owner drawn
+{
+ wxASSERT_MSG(pParentMenu != NULL, wxT("a menu item should have a parent"));
+ memset(&m_vMenuData, '\0', sizeof(m_vMenuData));
+ m_vMenuData.id = (USHORT)nId;
+
+ Init();
+} // end of wxMenuItem::wxMenuItem
+
+void wxMenuItem::Init()
+{
+ m_vRadioGroup.m_nStart = -1;
+ m_bIsRadioGroupStart = FALSE;