]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datstrm.cpp
minor fix that was part of helpbest.patch
[wxWidgets.git] / src / common / datstrm.cpp
index d6f97b7e65ff74583cf2a9a93a360110d12475c8..e0bd854d4cbfb81db6eab43437e6358956c96fd5 100644 (file)
@@ -105,7 +105,7 @@ wxString wxDataInputStream::ReadString()
 #endif
     return s;
   }
-  else 
+  else
     return wxEmptyString;
 }
 
@@ -237,7 +237,7 @@ wxDataOutputStream& wxDataOutputStream::operator<<(const wxChar *string)
   return *this;
 }
 
-wxDataOutputStream& wxDataOutputStream::operator<<(wxString& string)
+wxDataOutputStream& wxDataOutputStream::operator<<(const wxString& string)
 {
   WriteString(string);
   return *this;