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:
@@ -395,11 +395,8 @@ void wxClipboard::Clear()
|
|||||||
while (m_waiting) gtk_main_iteration();
|
while (m_waiting) gtk_main_iteration();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_data)
|
delete m_data;
|
||||||
{
|
m_data = NULL;
|
||||||
delete m_data;
|
|
||||||
m_data = (wxDataObject*) NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if wxUSE_THREADS
|
#if wxUSE_THREADS
|
||||||
/* re-enable GUI threads */
|
/* re-enable GUI threads */
|
||||||
|
Reference in New Issue
Block a user