I got tired of some of the memory leak messages related to html and
filesystem classes, (even when I wasn't using them) so I added to the cleanup code already there. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -162,7 +162,7 @@ class WXDLLEXPORT wxFileSystem : public wxObject
|
||||
// unless is_dir = TRUE 'location' is *not* the directory but
|
||||
// file contained in this directory
|
||||
// (so ChangePathTo("dir/subdir/xh.htm") sets m_Path to "dir/subdir/")
|
||||
|
||||
|
||||
wxString GetPath() const {return m_Path;}
|
||||
|
||||
wxFSFile* OpenFile(const wxString& location);
|
||||
@@ -175,6 +175,9 @@ class WXDLLEXPORT wxFileSystem : public wxObject
|
||||
static void AddHandler(wxFileSystemHandler *handler);
|
||||
// Adds FS handler.
|
||||
// In fact, this class is only front-end to the FS hanlers :-)
|
||||
|
||||
static void CleanUpHandlers();
|
||||
// remove all items from the m_Handlers list
|
||||
};
|
||||
|
||||
|
||||
@@ -204,5 +207,5 @@ special characters :
|
||||
#endif
|
||||
// (wxUSE_FS_INET || wxUSE_FS_ZIP) && wxUSE_STREAMS
|
||||
|
||||
#endif
|
||||
#endif
|
||||
// __FILESYS_H__
|
||||
|
Reference in New Issue
Block a user