update to make digitalmars compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3320,7 +3320,7 @@ bool wxWindowMSW::HandleDestroy()
|
|||||||
|
|
||||||
// delete our drop target if we've got one
|
// delete our drop target if we've got one
|
||||||
#if wxUSE_DRAG_AND_DROP
|
#if wxUSE_DRAG_AND_DROP
|
||||||
|
#ifndef __DIGITALMARS__
|
||||||
if ( m_dropTarget != NULL )
|
if ( m_dropTarget != NULL )
|
||||||
{
|
{
|
||||||
m_dropTarget->Revoke(m_hWnd);
|
m_dropTarget->Revoke(m_hWnd);
|
||||||
@@ -3328,6 +3328,7 @@ bool wxWindowMSW::HandleDestroy()
|
|||||||
delete m_dropTarget;
|
delete m_dropTarget;
|
||||||
m_dropTarget = NULL;
|
m_dropTarget = NULL;
|
||||||
}
|
}
|
||||||
|
#endif //#ifndef __DIGITALMARS__
|
||||||
#endif // wxUSE_DRAG_AND_DROP
|
#endif // wxUSE_DRAG_AND_DROP
|
||||||
|
|
||||||
// WM_DESTROY handled
|
// WM_DESTROY handled
|
||||||
|
Reference in New Issue
Block a user