initialize m_nCurLine in wxTextBuffer ctor (part of patch 1908134)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -172,7 +172,7 @@ protected:
|
||||
// -----
|
||||
|
||||
// default ctor, use Open(string)
|
||||
wxTextBuffer() { m_isOpened = false; }
|
||||
wxTextBuffer() { m_nCurLine = 0; m_isOpened = false; }
|
||||
|
||||
// ctor from filename
|
||||
wxTextBuffer(const wxString& strBufferName);
|
||||
|
Reference in New Issue
Block a user