#pragma hdrstop
#endif //__BORLANDC__
+#ifndef WX_PRECOMP
+#include "wx/defs.h"
+#endif
+
+#if wxUSE_TEXTFILE && wxUSE_FILE
+
#include <wx/string.h>
#include <wx/intl.h>
#include <wx/file.h>
}
const wxChar *wxTextFile::GetEOL(wxTextFileType type)
- {
+{
switch ( type ) {
case wxTextFileType_None: return _T("");
case wxTextFileType_Unix: return _T("\n");
wxFAIL_MSG(_T("bad file type in wxTextFile::GetEOL."));
return (const wxChar *) NULL;
}
- }
+}
+#endif