X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f243af310c9772628bbeeab8131a8c09bb94dbc..1fd1922a49351a377bc6ef8f7e00f150112ee096:/src/msw/menuitem.cpp?ds=sidebyside diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index 6e450bc973..aae20373f7 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -89,7 +89,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, 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(); @@ -104,7 +104,7 @@ wxMenuItem::wxMenuItem(wxMenu *parentMenu, : 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();