X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df5168c427b51f1ab2b3200a5c8f7626b3d24aae..174b10af3488cc926c5f0336db457f125a506f51:/include/wx/filesys.h?ds=sidebyside 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.