X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..682214d5c6ec3e56dbdfd0c97d70d87e614b38c2:/include/wx/textbuf.h diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index b0c5dfecd3..8da8b29454 100644 --- a/include/wx/textbuf.h +++ b/include/wx/textbuf.h @@ -145,15 +145,15 @@ public: size_t n, wxTextFileType type = typeDefault) { - m_aLines.insert(m_aLines.begin() + n, str); - m_aTypes.insert(m_aTypes.begin()+n, type); + m_aLines.insert(m_aLines.begin() + n, str); + m_aTypes.insert(m_aTypes.begin()+n, type); } // delete one line void RemoveLine(size_t n) { m_aLines.erase(m_aLines.begin() + n); - m_aTypes.erase(m_aTypes.begin() + n); + m_aTypes.erase(m_aTypes.begin() + n); } // remove all lines