X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/170acdc90e9f92f8b8120fa6c04acdbf45c89582..129b8b1a215fc1fcc1b9f06daa0aeaf22bbce614:/src/os2/choice.cpp diff --git a/src/os2/choice.cpp b/src/os2/choice.cpp index 1e62c4f6c0..59e63f9275 100644 --- a/src/os2/choice.cpp +++ b/src/os2/choice.cpp @@ -134,7 +134,7 @@ int wxChoice::DoAppend( nIndex = (int)::WinSendMsg( GetHwnd() ,LM_INSERTITEM ,(MPARAM)nIndexType - ,(MPARAM)rsItem.c_str() + ,(MPARAM)rsItem.wx_str() ); return nIndex; } // end of wxChoice::DoAppend @@ -157,7 +157,7 @@ int wxChoice::DoInsert( const wxString& rsItem, unsigned int pos ) nIndex = (int)::WinSendMsg( GetHwnd() ,LM_INSERTITEM ,(MPARAM)nIndexType - ,(MPARAM)rsItem.c_str() + ,(MPARAM)rsItem.wx_str() ); return nIndex; } // end of wxChoice::DoInsert @@ -232,7 +232,7 @@ void wxChoice::SetString(unsigned int n, const wxString& rsStr) ::WinSendMsg( GetHwnd() ,LM_INSERTITEM ,(MPARAM)nIndexType - ,(MPARAM)rsStr.c_str() + ,(MPARAM)rsStr.wx_str() ); if (pData)