]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/cursor.cpp
Generate key events in generic wxDataViewCtrl implementation.
[wxWidgets.git] / src / msw / cursor.cpp
index dec1344042635a7a098052156087d84973d9d633..a83979575821a74ca425ef2e8a8eb76c4e847675 100644 (file)
@@ -105,8 +105,7 @@ public:
 
     virtual void OnExit()
     {
-        delete gs_globalCursor;
-        gs_globalCursor = NULL;
+        wxDELETE(gs_globalCursor);
     }
 };