More small fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-06-27 12:31:16 +00:00
parent 4f55a07f9f
commit 606b005fb2
6 changed files with 13 additions and 0 deletions

View File

@@ -3503,6 +3503,8 @@ wxGrid::wxGrid( wxWindow *parent,
wxGrid::~wxGrid()
{
// Must do this or ~wxScrollHelper will pop the wrong event handler
SetTargetWindow(this);
ClearAttrCache();
wxSafeDecRef(m_defaultCellAttr);