X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df5168c427b51f1ab2b3200a5c8f7626b3d24aae..f52e0cf4893f90451eaf5987e4786bde066f629c:/include/wx/filesys.h

diff --git a/include/wx/filesys.h b/include/wx/filesys.h
index f763f48579..73ffd59d62 100644
--- a/include/wx/filesys.h
+++ b/include/wx/filesys.h
@@ -10,7 +10,7 @@
 #ifndef __FILESYS_H__
 #define __FILESYS_H__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "filesys.h"
 #endif
 
@@ -27,7 +27,6 @@
 #if wxUSE_FILESYSTEM
 
 #include "wx/stream.h"
-#include "wx/url.h"
 #include "wx/datetime.h"
 #include "wx/filename.h"
 
@@ -160,8 +159,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.