Changeset 56214
- Timestamp:
- 10/10/08 09:11:40 (3 months ago)
- Files:
-
- 1 modified
-
wxWidgets/trunk/src/common/string.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wxWidgets/trunk/src/common/string.cpp
r55945 r56214 169 169 { 170 170 #if wxUSE_UNICODE && !wxUSE_UNICODE_UTF8 171 return os << (const char *)str.AsCharBuf(); 171 const wxCharBuffer buf(str.AsCharBuf()); 172 if ( !buf ) 173 os.clear(wxSTD ios_base::failbit); 174 else 175 os << buf.data(); 176 177 return os; 172 178 #else 173 179 return os << str.AsInternal();
