]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textbuf.h
renamed wxWindow::Clear() to ClearBackground() (fixes bug 783576)
[wxWidgets.git] / include / wx / textbuf.h
index 2b25b2d470fb29896265d29ca4fe042736d745ab..170c28b931f4868d3b7c8b34358cabec7ff69141 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_TEXTBUFFER_H
 #define _WX_TEXTBUFFER_H
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "textbuf.h"
 #endif
 
@@ -43,7 +43,9 @@ enum wxTextFileType
 // wxTextBuffer
 // ----------------------------------------------------------------------------
 
-WX_DEFINE_EXPORTED_ARRAY_INT(wxTextFileType, ArrayFileType);
+WX_DEFINE_USER_EXPORTED_ARRAY_INT(wxTextFileType,
+                                  wxArrayLinesType,
+                                  class WXDLLIMPEXP_BASE);
 
 #endif // wxUSE_TEXTBUFFER
 
@@ -188,8 +190,8 @@ protected:
     wxString m_strBufferName;  // name of the buffer
 
 private:
-    ArrayFileType m_aTypes;   // type of each line
-    wxArrayString m_aLines;   // lines of file
+    wxArrayLinesType m_aTypes;   // type of each line
+    wxArrayString    m_aLines;   // lines of file
 
     size_t        m_nCurLine; // number of current line in the buffer