- wxString& GetLine(size_t n) const { return (wxString&)m_aLines[n]; }
- wxString& operator[](size_t n) const { return (wxString&)m_aLines[n]; }
+ wxString& GetLine(size_t n) { return m_aLines[n]; }
+ const wxString& GetLine(size_t n) const { return m_aLines[n]; }
+ wxString& operator[](size_t n) { return m_aLines[n]; }
+ const wxString& operator[](size_t n) const { return m_aLines[n]; }