X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5398eb9c4119c92ad14395bd12aab99e0563e21..03773e400b6ff2692f2a9ba045d652c3b7b7109d:/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);