X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..aba4387c4c71fb812c6a07a7abb495606c5ef4af:/include/wx/textfile.h diff --git a/include/wx/textfile.h b/include/wx/textfile.h index b0d4dd9287..ec93546696 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -131,7 +131,7 @@ public: wxTextFileType type = typeDefault) { m_aLines.Insert(str, n); m_aTypes.Insert(type, n); } // delete one line - void RemoveLine(size_t n) { m_aLines.Remove(n); m_aTypes.Remove(n); } + void RemoveLine(size_t n) { m_aLines.RemoveAt(n); m_aTypes.RemoveAt(n); } // change the file on disk (default argument means "don't change type") // possibly in another format