fixing bug 1841377

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-11-30 09:14:44 +00:00
parent 527b35a84d
commit 94ca03630b

View File

@@ -117,9 +117,8 @@ public:
DisposeControl( m_controlHandle );
else
{
// the embedded control is not under the responsibility of the tool, it will be disposed of in the
// the embedded control is not under the responsibility of the tool, it gets disposed of in the
// proper wxControl destructor
wxASSERT( IsValidControlHandle(GetControl()->GetPeer()->GetControlRef() )) ;
}
m_controlHandle = NULL ;
}