X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5398eb9c4119c92ad14395bd12aab99e0563e21..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/textbuf.h?ds=inline diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index fae3b12095..a5d39703ca 100644 --- a/include/wx/textbuf.h +++ b/include/wx/textbuf.h @@ -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);