]> git.saurik.com Git - wxWidgets.git/commitdiff
make dtor public to fix VC6 build
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Feb 2009 09:28:15 +0000 (09:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Feb 2009 09:28:15 +0000 (09:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/persist.h

index 392bf53d9b089618fa3b53bfb0435e109790d7da..02c9607c107b4af3adf0c6a3eda90fc01088bad8 100644 (file)
@@ -47,6 +47,11 @@ public:
     // accessor to the unique persistence manager object
     static wxPersistenceManager& Get();
 
+    // trivial but virtual dtor
+    //
+    // FIXME-VC6: this only needs to be public because of VC6 bug
+    virtual ~wxPersistenceManager();
+
 
     // globally disable restoring or saving the persistent properties (both are
     // enabled by default)
@@ -136,9 +141,6 @@ private:
         m_doRestore = true;
     }
 
-    // trivial but virtual dtor
-    virtual ~wxPersistenceManager();
-
 
     // helpers of Save/Restore()
     //