X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5398eb9c4119c92ad14395bd12aab99e0563e21..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/textbuf.h?ds=sidebyside 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);