]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textbuf.cpp
moved primitive string and string iterators operations to stringops.h/cpp files to...
[wxWidgets.git] / src / common / textbuf.cpp
index 2aa823d9b3511deef6ce03dca404c0f0826a266b..8c7253e8b666daeb0bc96bb958b1161a35a733ea 100644 (file)
@@ -218,7 +218,7 @@ wxTextFileType wxTextBuffer::GuessType() const
 
     // we take MAX_LINES_SCAN in the beginning, middle and the end of buffer
     #define MAX_LINES_SCAN    (10)
-    size_t nCount = m_aLines.Count() / 3,
+    size_t nCount = m_aLines.GetCount() / 3,
         nScan =  nCount > 3*MAX_LINES_SCAN ? MAX_LINES_SCAN : nCount / 3;
 
     #define   AnalyseLine(n)              \