]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/window_osx.cpp
Correct format specifiers used to show wxIPV4address.
[wxWidgets.git] / src / osx / window_osx.cpp
index cd8aecdc4d55cdec84ab47b461341c620a06b350..707e495537dd56eecaaf1dc1eceeaa571a28e195 100644 (file)
@@ -257,11 +257,7 @@ wxWindowMac::~wxWindowMac()
 
     // delete our drop target if we've got one
 #if wxUSE_DRAG_AND_DROP
-    if ( m_dropTarget != NULL )
-    {
-        delete m_dropTarget;
-        m_dropTarget = NULL;
-    }
+    wxDELETE(m_dropTarget);
 #endif
 
     delete m_peer ;