src/windows/native/sun/windows/awt_Component.cpp

Print this page

        

@@ -300,10 +300,11 @@
 
     if (m_childList != NULL)
         delete m_childList;
 
     DestroyDropTarget();
+    ReleaseDragCapture(0);
 
     if (m_myControlID != 0) {
         AwtComponent* parent = GetParent();
         if (parent != NULL)
             parent->RemoveChild(m_myControlID);