]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/menuitem.cpp
VC6 doesn't like 'return callToVoidFunc();' statements
[wxWidgets.git] / src / os2 / menuitem.cpp
index f0b69b5f796b285df9f430db0ab11a376370b4c9..921cfd2cbe4c633f6ce423185c3427aabb62b286 100644 (file)
@@ -427,7 +427,7 @@ void wxMenuItem::SetText( const wxString& rText )
 #endif  //owner drawn
         {
             uFlagsOld |= MIS_TEXT;
-            pData = m_text.char_str();
+            pData = (char*) m_text.wx_str();
         }
 
         //