Ticket #15190 (closed defect: fixed)
wxRichTextTable::ClearTable doesn't reset the col/row counts
|Reported by:||dghart||Owned by:|
wxRichTextTable::ClearTable is used internally in only two places, neither of which care whether m_colCount and m_rowCount are reset. However future uses, and user code, might reasonably assume that they are.
The attached patch does this, and tests for it in RichTextCtrlTestCase.