]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datstrm.cpp
cvs to svn
[wxWidgets.git] / src / common / datstrm.cpp
index b4a4816f45f90f0e0f9b68539b2236d90b50ca41..99e9051c037bbba324a3eb4a12dbfde4a775f844 100644 (file)
 #if wxUSE_STREAMS
 
 #include "wx/datstrm.h"
-#include "wx/math.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/math.h"
+#endif //WX_PRECOMP
 
 // ---------------------------------------------------------------------------
 // wxDataInputStream
@@ -647,13 +650,6 @@ void wxDataOutputStream::WriteDouble(const double *buffer, size_t size)
   }
 }
 
-wxDataOutputStream& wxDataOutputStream::operator<<(const wxChar *string)
-{
-  Write32(wxStrlen(string));
-  m_output->Write((const char *)string, wxStrlen(string)*sizeof(wxChar));
-  return *this;
-}
-
 wxDataOutputStream& wxDataOutputStream::operator<<(const wxString& string)
 {
   WriteString(string);