From bf07249cdd3f0ce850c8ff0b98a1d5dc0d210ad1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 17 Jul 2003 22:03:28 +0000 Subject: [PATCH] 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 --- include/wx/filesys.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.45.2