X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f42d2aba7645ab25ed3764d55394e58649ab0363..7ee392a2cac58b947489a6cd6236034ff12077a2:/include/wx/textfile.h diff --git a/include/wx/textfile.h b/include/wx/textfile.h index 9cfd0794e4..b6132bd178 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -94,7 +94,7 @@ public: // guess the type of file (m_file is supposed to be opened) wxTextFileType GuessType() const; // get the name of the file - const char *GetName() const { return m_strFile.c_str(); } + const wxChar *GetName() const { return m_strFile.c_str(); } // add/remove lines // add a line to the end @@ -114,7 +114,7 @@ public: // get the file termination string // Note: implementation moved to textfile to prevent warning due to switch. - static const char *GetEOL(wxTextFileType type = typeDefault); + static const wxChar *GetEOL(wxTextFileType type = typeDefault); // dtor ~wxTextFile();