Sending wxChar* outputs pointer instead of text under Borland.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-04-13 17:53:28 +00:00
parent 15cdc34149
commit ad5bb7d6a6

View File

@@ -131,7 +131,11 @@ wxSTD istream& operator>>(wxSTD istream& is, wxString& WXUNUSED(str))
wxSTD ostream& operator<<(wxSTD ostream& os, const wxString& str)
{
#ifdef __BORLANDC__
os << str.mb_str();
#else
os << str.c_str();
#endif
return os;
}