git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5106
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxString* GetSource() {return &m_Source;}
wxString* GetSource() {return &m_Source;}
- virtual wxList* GetTempData() {return NULL;}
- // this method returns list of wxObjects that represents
- // all data allocated by the parser. These can't be freeded
- // by destructor because they must be valid as long as
- // GetProduct's return value is valid - the caller must
- // explicitly call delete MyParser -> GetTempData() to free
- // the memory
- // (this method always sets the list to delete its contents)
-
protected:
virtual void AddText(const char* txt) = 0;
protected:
virtual void AddText(const char* txt) = 0;
if (m_Cell) delete m_Cell;
if (m_Cell) delete m_Cell;
- wxList *parser_data = m_Parser -> GetTempData();
- if (parser_data) delete parser_data;
-
delete m_Parser;
delete m_FS;
}
delete m_Parser;
delete m_FS;
}