Diff of /corelib/PWSprefs.cpp [6635e0] .. [558161] Maximize Restore

  Switch to side-by-side view

--- a/corelib/PWSprefs.cpp
+++ b/corelib/PWSprefs.cpp
@@ -75,6 +75,14 @@
   if (self == NULL)
     self = new PWSprefs;
   return self;
+}
+
+void PWSprefs::DeleteInstance()
+{
+  if (self != NULL) {
+    delete self;
+    self = NULL;
+  }
 }
 
 PWSprefs::PWSprefs() : m_app(::AfxGetApp()), m_changed(false)