]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textbuf.cpp
Include compatibility guard for int GetItemSpacing( bool isSmall ) in implementation...
[wxWidgets.git] / src / common / textbuf.cpp
index 2564a4cdbf2345d32378fef7be7ec404103dc081..b1950d24bc4590902a1c1b84fa9c90b1fdf8efbe 100644 (file)
@@ -132,6 +132,8 @@ wxString wxTextBuffer::Translate(const wxString& text, wxTextFileType type)
 
 #if wxUSE_TEXTBUFFER
 
+wxString wxTextBuffer::ms_eof;
+
 // ----------------------------------------------------------------------------
 // ctors & dtor
 // ----------------------------------------------------------------------------
@@ -268,9 +270,7 @@ wxTextFileType wxTextBuffer::GuessType() const
 
 bool wxTextBuffer::Close()
 {
-    m_aTypes.Clear();
-    m_aLines.Clear();
-    m_nCurLine = 0;
+    Clear();
     m_isOpened = false;
 
     return true;