]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/any.cpp
Generate key events in generic wxDataViewCtrl implementation.
[wxWidgets.git] / src / common / any.cpp
index 5136577dc59afec2e85e94c757ad2fe1155167a5..0fa136825748c9940493c2415c872992ab7a3137 100644 (file)
@@ -223,8 +223,7 @@ public:
     }
     virtual void OnExit()
     {
-        delete g_wxAnyValueTypeGlobals;
-        g_wxAnyValueTypeGlobals = NULL;
+        wxDELETE(g_wxAnyValueTypeGlobals);
     }
 private:
 };