]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/settings.cpp
Add support for icons in wxAUI panes title bars.
[wxWidgets.git] / src / os2 / settings.cpp
index 89f7710bdc1c8499cc4cc956c4d909c920485a87..c3f6e7bc0fa53deea2be546592b476e523c90065 100644 (file)
@@ -70,8 +70,7 @@ void wxSystemSettingsModule::OnExit()
 {
     sm_optionNames.Clear();
     sm_optionValues.Clear();
 {
     sm_optionNames.Clear();
     sm_optionValues.Clear();
-    delete gs_fontDefault;
-    gs_fontDefault = NULL;
+    wxDELETE(gs_fontDefault);
 }
 
 wxColour wxSystemSettingsNative::GetColour(
 }
 
 wxColour wxSystemSettingsNative::GetColour(