#if wxUSE_TEXTBUFFER
+wxString wxTextBuffer::ms_eof;
+
// ----------------------------------------------------------------------------
// ctors & dtor
// ----------------------------------------------------------------------------
? wxTextFileType_##t1 \
: wxTextFileType_##t2
- // Watcom C++ doesn't seem to be able to handle the macro
- // VS: Watcom 11 doesn't have a problem...
-#if !(defined(__WATCOMC__) && (__WATCOMC__ < 1100))
+#if !defined(__WATCOMC__) || wxCHECK_WATCOM_VERSION(1,4)
if ( nDos > nUnix )
return GREATER_OF(Dos, Mac);
else if ( nDos < nUnix )
bool wxTextBuffer::Close()
{
- m_aTypes.Clear();
- m_aLines.Clear();
- m_nCurLine = 0;
+ Clear();
m_isOpened = false;
return true;