Pop event handler from wxDVC edit control before destroying it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 May 2010 12:45:09 +0000 (12:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 May 2010 12:45:09 +0000 (12:45 +0000)
commit66c02e6e33fe3afee6b67a7e060a695787515650
tree206576a3cbfc9b34e91d96d9ce9c4ad1a74e41cf
parentdfbb5eff442e9bcabd494f0340553fbf49739b25
Pop event handler from wxDVC edit control before destroying it.

This fixes the assert in wxWindow dtor checking that all event handlers pushed
on the window were removed.

Also fix a memory leak by not creating an unnecessary object of wxKillRef
class. In fact remove this class entirely.

Closes #11732.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/dvrenderers.h
src/common/datavcmn.cpp