compilation fix for wxUSE_STL==1 build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-10-08 23:50:32 +00:00
parent e3408b704d
commit dad49cc7f9

View File

@ -95,7 +95,11 @@
inline std::ostream& operator<<(std::ostream& o, const wxString& s)
{
return o << (const char *)wxSafeConvertWX2MB(s);
#if wxUSE_UNICODE
return o << (const char *)wxSafeConvertWX2MB(s.wc_str());
#else
return o << s.c_str();
#endif
}