// Created: 21/3/2000
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_DIRCTRL_H_
#pragma interface "dirctrlg.h"
#endif
+#if wxUSE_DIRDLG
+
#include "wx/treectrl.h"
#include "wx/dirdlg.h"
#include "wx/choice.h"
// classes
//-----------------------------------------------------------------------------
-//class wxDirItemData;
-class wxDirCtrl;
-
//-----------------------------------------------------------------------------
// Extra styles for wxGenericDirCtrl
//-----------------------------------------------------------------------------
public:
wxDirItemDataEx(const wxString& path, const wxString& name, bool isDir);
~wxDirItemDataEx();
- bool HasSubDirs();
void SetNewDirName( wxString path );
wxString m_path, m_name;
bool m_isHidden;
inline wxString GetDefaultPath() const { return m_defaultPath; }
void SetDefaultPath(const wxString& path) { m_defaultPath = path; }
- //inline long GetStyleEx() const { return m_styleEx; }
- //void SetStyleEx(long styleEx) { m_styleEx = styleEx; }
-
// Get dir or filename
wxString GetPath() const ;
// Get selected filename path only (else empty string).
};
+#endif // wxUSE_DIRDLG
+
#endif
// _WX_DIRCTRLG_H_