]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wfstream.cpp
better Sun CC fix: put the function in anonymous namespace instead of making it global
[wxWidgets.git] / src / common / wfstream.cpp
index 25327f1489dde8a578d9431dab54d620652ddf74..5bc7cf1ce22eaa01028b53b259b512111fcc8577 100644 (file)
@@ -234,7 +234,7 @@ wxFileStream::wxFileStream(const wxString& fileName)
 // ----------------------------------------------------------------------------
 
 wxFFileInputStream::wxFFileInputStream(const wxString& fileName,
-                                       const wxChar *mode)
+                                       const wxString& mode)
                   : wxInputStream()
 {
     m_file = new wxFFile(fileName, mode);
@@ -310,7 +310,7 @@ bool wxFFileInputStream::IsOk() const
 // ----------------------------------------------------------------------------
 
 wxFFileOutputStream::wxFFileOutputStream(const wxString& fileName,
-                                         const wxChar *mode)
+                                         const wxString& mode)
 {
     m_file = new wxFFile(fileName, mode);
     m_file_destroy = true;