X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5398eb9c4119c92ad14395bd12aab99e0563e21..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/textbuf.h 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);