]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontutil.cpp
Scale sizes more accurately in generic SetWindowVariant().
[wxWidgets.git] / src / unix / fontutil.cpp
index aa47c514c46946913e98af2a129fe931545ea489..a9fac62420d00cfe45df2c3fc67531f931ba1a79 100644 (file)
@@ -1465,9 +1465,7 @@ bool wxFontModule::OnInit()
 
 void wxFontModule::OnExit()
 {
-    delete g_fontHash;
-
-    g_fontHash = NULL;
+    wxDELETE(g_fontHash);
 }
 
 #endif // GTK 2.0/1.x