diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index 8da8b29454..f6ca9dcfb9 100644 --- a/include/wx/textbuf.h +++ b/include/wx/textbuf.h @@ -157,7 +157,7 @@ public: } // remove all lines - void Clear() { m_aLines.clear(); m_nCurLine = 0; } + void Clear() { m_aLines.clear(); m_aTypes.clear(); m_nCurLine = 0; } // change the buffer (default argument means "don't change type") // possibly in another format