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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user