]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/string.cpp
Committing in .
[wxWidgets.git] / src / common / string.cpp
index 423bb6a7e31d2f71a4d053782e00c2496b182c4a..c18e35f6066945472f3aa6ee6a2c589ee30a595d 100644 (file)
@@ -36,7 +36,7 @@
   #include "wx/string.h"
   #include "wx/intl.h"
 #if wxUSE_THREADS
-  #include <wx/thread.h>
+  #include "wx/thread.h"
 #endif
 #endif
 
@@ -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
 
 // ----------------------------------------------------------------------------