don't use obsolete functions (mostly copystring() and Count()), remove their documentation (patch 1697956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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) \
|
||||
|
Reference in New Issue
Block a user