X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90002c499c3ad62868902e05d2ccccba775bba4e..d3e90957cf70726bba42af977632223ff37439e1:/src/msw/menuitem.cpp diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index f9e310d9a9..9b6dbe9b52 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -240,7 +240,7 @@ void wxMenuItem::SetText(const wxString& text) #endif //owner drawn { flagsOld |= MF_STRING; - data = (char*) text.c_str(); + data = (wxChar*) text.c_str(); } if ( ::ModifyMenu(hMenu, id,