Lines Matching defs:str
71 WXDLLEXPORT BSTR wxConvertStringToOle(const wxString& str)
74 unsigned int len = strlen((const char*) str);
79 s[i*2] = str[i];
81 wxBasicString bstr(str.mb_str());
95 wxString str(bStr, len);
97 wxString str;
100 wxStringBufferLength buf(str, len); // asserts if len == 0
108 return str;
122 wxBasicString::wxBasicString(const wxString& str)
125 m_wzBuf = new OLECHAR[str.length() + 1];
126 memcpy(m_wzBuf, str.c_str(), str.length()*2);
127 m_wzBuf[str.length()] = L'\0';
129 Init(str.c_str());