Add operator << (ostream&, const wxString&)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -176,6 +176,12 @@ istream& operator>>(istream& is, wxString& WXUNUSED(str))
|
||||
return is;
|
||||
}
|
||||
|
||||
ostream& operator<<(ostream& os, const wxString& str)
|
||||
{
|
||||
os << str.c_str();
|
||||
return os;
|
||||
}
|
||||
|
||||
#endif //std::string compatibility
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user