/////////////////////////////////////////////////////////////////////////////
// Name: dirctrl.h
-// Purpose: documentation for wxGenericDirCtrl class
+// Purpose: interface of wxGenericDirCtrl
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
//@{
/**
Main constructor.
-
+
@param parent
Parent window.
@param id
/**
Gets the default path.
*/
- wxString GetDefaultPath();
+ wxString GetDefaultPath() const;
/**
Gets selected filename path only (else empty string).
This function doesn't count a directory as a selection.
*/
- wxString GetFilePath();
+ wxString GetFilePath() const;
/**
Returns the filter string.
*/
- wxString GetFilter();
+ wxString GetFilter() const;
/**
Returns the current filter index (zero-based).
*/
- int GetFilterIndex();
+ int GetFilterIndex() const;
/**
Returns a pointer to the filter list control (if present).
*/
- wxDirFilterListCtrl* GetFilterListCtrl();
+ wxDirFilterListCtrl* GetFilterListCtrl() const;
/**
Gets the currently-selected directory or filename.
*/
- wxString GetPath();
+ wxString GetPath() const;
/**
Returns the root id for the tree control.
/**
Returns a pointer to the tree control.
*/
- wxTreeCtrl* GetTreeCtrl();
+ wxTreeCtrl* GetTreeCtrl() const;
/**
Initializes variables.
*/
void ShowHidden(bool show);
};
+