]> git.saurik.com Git - wxWidgets.git/commitdiff
update to make digitalmars compile
authorChris Elliott <biol75@york.ac.uk>
Sat, 19 Apr 2003 19:28:19 +0000 (19:28 +0000)
committerChris Elliott <biol75@york.ac.uk>
Sat, 19 Apr 2003 19:28:19 +0000 (19:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index bad8b941b4683935f6d5a540fac3adae0f04b6ed..7f48e64a461683cb770959c13b8bb5e1edcb7eec 100644 (file)
@@ -3320,7 +3320,7 @@ bool wxWindowMSW::HandleDestroy()
 
     // delete our drop target if we've got one
 #if wxUSE_DRAG_AND_DROP
-    
+#ifndef __DIGITALMARS__    
     if ( m_dropTarget != NULL )
     {
         m_dropTarget->Revoke(m_hWnd);
@@ -3328,6 +3328,7 @@ bool wxWindowMSW::HandleDestroy()
         delete m_dropTarget;
         m_dropTarget = NULL;
     }
+#endif  //#ifndef __DIGITALMARS__
 #endif // wxUSE_DRAG_AND_DROP
 
     // WM_DESTROY handled