]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/settings.cpp
Initialize all fields of struct tm used by wxDateTime::Format().
[wxWidgets.git] / src / msw / settings.cpp
index 84a4ee3348e14459d0f87345339c8b31e98b6211..eec4fea1a9d8908bf778e46538f9e4cc55dc2073 100644 (file)
@@ -91,8 +91,7 @@ bool wxSystemSettingsModule::OnInit()
 
 void wxSystemSettingsModule::OnExit()
 {
-    delete gs_fontDefault;
-    gs_fontDefault = NULL;
+    wxDELETE(gs_fontDefault);
 }
 
 // ----------------------------------------------------------------------------