X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65f3f920ba3601249efdd84efc1a9299d80d1b4f..cabf4bca21709a501ca1fe13311744b3830bf28c:/src/os2/choice.cpp diff --git a/src/os2/choice.cpp b/src/os2/choice.cpp index 0b769aceb8..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.char_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.char_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.char_str() + ,(MPARAM)rsStr.wx_str() ); if (pData)