Reset row and columns count in wxRichTextTable::ClearTable().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 May 2013 13:14:48 +0000 (13:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 May 2013 13:14:48 +0000 (13:14 +0000)
commit0a6ec346d56158e98ee91e2661821940a825e899
treef4783da9a7e5d21cd45ec32f98911ddf3f403e0b
parent830c06655b226cfe9fe55d57da8c948d1744107c
Reset row and columns count in wxRichTextTable::ClearTable().

No real changes, just update the internal variables in ClearTable() to avoid
inconsistent internal state, even if this doesn't seem to result in any
problems for now.

Closes #15190.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/richtext/richtextbuffer.cpp
tests/controls/richtextctrltest.cpp