#ifndef _WX_DIRCTRL_H_
#define _WX_DIRCTRL_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "dirctrlg.h"
-#endif
-
#if wxUSE_DIRDLG || wxUSE_FILEDLG
#include "wx/imaglist.h"
#endif
{
public:
wxDirItemData(const wxString& path, const wxString& name, bool isDir);
- ~wxDirItemData(){}
+ virtual ~wxDirItemData(){}
void SetNewDirName(const wxString& path);
bool HasSubDirs() const;
// 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
void Init();
- ~wxDirFilterListCtrl() {}
+ virtual ~wxDirFilterListCtrl() {}
//// Operations
void FillFilterList(const wxString& filter, int defaultFilter);