X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cc4bfafe5a31cb96f35b3ec9b19fa2b0b3a4eef..511a9e3a471a365cea9da2f9f25903f542f95853:/interface/dirctrl.h?ds=inline diff --git a/interface/dirctrl.h b/interface/dirctrl.h index 5292f983bc..018686b534 100644 --- a/interface/dirctrl.h +++ b/interface/dirctrl.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: dirctrl.h -// Purpose: documentation for wxGenericDirCtrl class +// Purpose: interface of wxGenericDirCtrl // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -26,7 +26,7 @@ public: //@{ /** Main constructor. - + @param parent Parent window. @param id @@ -96,33 +96,33 @@ public: /** 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. @@ -132,7 +132,7 @@ public: /** Returns a pointer to the tree control. */ - wxTreeCtrl* GetTreeCtrl(); + wxTreeCtrl* GetTreeCtrl() const; /** Initializes variables. @@ -172,3 +172,4 @@ public: */ void ShowHidden(bool show); }; +