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