]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/treectrl.cpp
Update OpenVMS compile support
[wxWidgets.git] / src / os2 / treectrl.cpp
index edd074f652817b923376b77920d8828c05876779..ab60bc7c09bd557d478644c97a035096f33388fe 100644 (file)
@@ -80,11 +80,7 @@ public:
     wxTreeItemInternalData() {}
     ~wxTreeItemInternalData()
     {
-        if(m_pAttr)
-        {
-            delete m_pAttr;
-            m_pAttr = NULL;
-        }
+        wxDELETE(m_pAttr);
     }
 
     wxTreeItemAttr*                 m_pAttr;