From: Vadim Zeitlin Date: Thu, 17 Jul 2003 22:03:28 +0000 (+0000) Subject: don't clear the handles list in dtor, it is static/global (patch 773029) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bf07249cdd3f0ce850c8ff0b98a1d5dc0d210ad1 don't clear the handles list in dtor, it is static/global (patch 773029) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/filesys.h b/include/wx/filesys.h index f763f48579..f714790185 100644 --- a/include/wx/filesys.h +++ b/include/wx/filesys.h @@ -160,8 +160,8 @@ protected: class WXDLLIMPEXP_BASE wxFileSystem : public wxObject { public: - wxFileSystem() : wxObject() {m_Path = m_LastName = wxEmptyString; m_FindFileHandler = NULL;} - ~wxFileSystem() { WX_CLEAR_LIST(wxList, m_Handlers); } + wxFileSystem() : wxObject() { m_FindFileHandler = NULL;} + virtual ~wxFileSystem() { } // sets the current location. Every call to OpenFile is // relative to this location.