remove redundant test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6fbe4b247a
commit
f4c4697652
@ -395,11 +395,8 @@ void wxClipboard::Clear()
|
||||
while (m_waiting) gtk_main_iteration();
|
||||
}
|
||||
|
||||
if (m_data)
|
||||
{
|
||||
delete m_data;
|
||||
m_data = (wxDataObject*) NULL;
|
||||
}
|
||||
delete m_data;
|
||||
m_data = NULL;
|
||||
|
||||
#if wxUSE_THREADS
|
||||
/* re-enable GUI threads */
|
||||
|
Loading…
Reference in New Issue
Block a user