cliet data crash fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7bcd390c94
commit
6ccec5fcb2
@ -213,7 +213,8 @@ wxWindowBase::~wxWindowBase()
|
||||
delete m_windowValidator;
|
||||
#endif // wxUSE_VALIDATORS
|
||||
|
||||
if ( m_clientObject )
|
||||
// we only delete object data, not untyped
|
||||
if ( m_clientDataType == ClientData_Object )
|
||||
delete m_clientObject;
|
||||
|
||||
#if wxUSE_CONSTRAINTS
|
||||
|
Loading…
Reference in New Issue
Block a user