// Purpose: implementation of wxTextBuffer class
// Created: 14.11.01
// Author: Morten Hanssen, Vadim Zeitlin
+// RCS-ID: $Id$
// Copyright: (c) 1998-2001 wxWidgets team
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// headers
// ============================================================================
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "textbuf.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
wxTextFileType_Unix;
#elif defined(__WXMAC__)
wxTextFileType_Mac;
-#elif defined(__WXPM__)
+#elif defined(__OS2__)
wxTextFileType_Os2;
#else
wxTextFileType_None;
wxFAIL_MSG(wxT("bad buffer type in wxTextBuffer::GetEOL."));
// fall through nevertheless - we must return something...
- case wxTextFileType_None: return wxT("");
+ case wxTextFileType_None: return wxEmptyString;
case wxTextFileType_Unix: return wxT("\n");
case wxTextFileType_Dos: return wxT("\r\n");
case wxTextFileType_Mac: return wxT("\r");
}
#endif // wxUSE_TEXTBUFFER
-