wxMenu *pSubMenu)
: wxMenuItemBase(pParentMenu, id, text, strHelp, kind, pSubMenu)
#if wxUSE_OWNER_DRAWN
- , wxOwnerDrawn(GetLabelFromText(text), kind == wxITEM_CHECK)
+ , wxOwnerDrawn(text, kind == wxITEM_CHECK)
#endif // owner drawn
{
Init();
: wxMenuItemBase(parentMenu, id, text, help,
isCheckable ? wxITEM_CHECK : wxITEM_NORMAL, subMenu)
#if wxUSE_OWNER_DRAWN
- , wxOwnerDrawn(GetLabelFromText(text), isCheckable)
+ , wxOwnerDrawn(text, isCheckable)
#endif // owner drawn
{
Init();
start, // the first radio group item
end, // the last one
pos, // the one to check
- MF_BYPOSITION | flags) )
+ MF_BYPOSITION) )
{
wxLogLastError(_T("CheckMenuRadioItem"));
}