X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42841dfcaddc6045ffc618acbb620b1fde1bc618..eba99da4c0563e6508761272a1e1f1b791d0af6b:/include/wx/textbuf.h diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index ac8b14a3b3..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 @@ -165,7 +165,7 @@ public: wxMBConv& conv = wxConvUTF8); // dtor - virtual ~wxTextBuffer(){}; + virtual ~wxTextBuffer(); protected: // ctors