X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..87cc1cc772c106ebd7e9bae9941ed2c002f4706a:/include/wx/generic/dirctrlg.h diff --git a/include/wx/generic/dirctrlg.h b/include/wx/generic/dirctrlg.h index 1d48d66c84..169123db39 100644 --- a/include/wx/generic/dirctrlg.h +++ b/include/wx/generic/dirctrlg.h @@ -60,7 +60,7 @@ class WXDLLEXPORT wxDirItemData : public wxTreeItemData { public: wxDirItemData(const wxString& path, const wxString& name, bool isDir); - ~wxDirItemData(){} + virtual ~wxDirItemData(){} void SetNewDirName(const wxString& path); bool HasSubDirs() const; @@ -116,6 +116,8 @@ public: // Try to expand as much of the given path as possible. virtual bool ExpandPath(const wxString& path); + // collapse the path + virtual bool CollapsePath(const wxString& path); // Accessors @@ -223,7 +225,7 @@ public: void Init(); - ~wxDirFilterListCtrl() {} + virtual ~wxDirFilterListCtrl() {} //// Operations void FillFilterList(const wxString& filter, int defaultFilter);