]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/settings.cpp
Fix unit test build with wxUSE_ZIPSTREAM or wxUSE_TARSTREAM == 0.
[wxWidgets.git] / src / mgl / settings.cpp
index 3f3b87166020af58b5f53aec727e977faede0a6a..107eb14b12d7be41e2a6dc608cc8903c190b9ef1 100644 (file)
@@ -34,8 +34,7 @@ public:
     virtual bool OnInit() { return true; }
     virtual void OnExit()
     {
-        delete gs_fontDefault;
-        gs_fontDefault = NULL;
+        wxDELETE(gs_fontDefault);
     }
 
 private: