]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ffile.cpp
wxDL_XXX macros and dynamic loading cleanup:
[wxWidgets.git] / src / common / ffile.cpp
index c60271dbd5d21974c1f50bd75fa4b9b266575dd0..4ea59377b9feac87ff1add5e4841adc52c251417 100644 (file)
@@ -29,6 +29,7 @@
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/log.h"
+    #include "wx/crt.h"
 #endif
 
 #ifdef __WINDOWS__
 // opening the file
 // ----------------------------------------------------------------------------
 
-wxFFile::wxFFile(const wxChar *filename, const wxChar *mode)
+wxFFile::wxFFile(const wxString& filename, const wxString& mode)
 {
     Detach();
 
     (void)Open(filename, mode);
 }
 
-bool wxFFile::Open(const wxChar *filename, const wxChar *mode)
+bool wxFFile::Open(const wxString& filename, const wxString& mode)
 {
     wxASSERT_MSG( !m_fp, wxT("should close or detach the old file first") );