From: Vadim Zeitlin Date: Sun, 8 Feb 2009 09:28:15 +0000 (+0000) Subject: make dtor public to fix VC6 build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7d15ffcdb92677628179d022977cf16d36a15c84 make dtor public to fix VC6 build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/persist.h b/include/wx/persist.h index 392bf53d9b..02c9607c10 100644 --- a/include/wx/persist.h +++ b/include/wx/persist.h @@ -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() //