X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/345319d60c69cac3f5e9e74ee570d20370fc532f..129b8b1a215fc1fcc1b9f06daa0aeaf22bbce614:/src/msw/menuitem.cpp diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index 79c03953b8..91a7d41211 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -392,7 +392,7 @@ void wxMenuItem::SetText(const wxString& txt) #endif //owner drawn { flagsOld |= MF_STRING; - data = (wxChar*) m_text.c_str(); + data = (wxChar*) m_text.wx_str(); } #ifdef __WXWINCE__