]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
Moved all the coordinate system calculation to wxDCBase
[wxWidgets.git] / src / msw / menuitem.cpp
index 79c03953b8145b094c1907683fb0b9c7096331e3..91a7d4121187c8bb983542179f7581bf587d92ce 100644 (file)
@@ -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__