]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dragimgg.cpp
Implement wxWindow::DoGetBorderSize() for all ports.
[wxWidgets.git] / src / generic / dragimgg.cpp
index 31dcc04f7a051620446b53eddea702dd796e2961..e4b50c9f341edc586160e6c8a00cbf0c81f9e57d 100644 (file)
@@ -358,8 +358,7 @@ bool wxGenericDragImage::EndDrag()
 #else
         m_windowDC->DestroyClippingRegion();
 #endif
-        delete m_windowDC;
-        m_windowDC = NULL;
+        wxDELETE(m_windowDC);
     }
 
 #ifndef wxHAS_NATIVE_OVERLAY