Add wxDirCtrl::GetPath().

This allows to retrieve the directory being affected by wxTreeCtrl event.

Closes #14790.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-10-29 18:30:10 +00:00
parent 1c17754879
commit e3f084fd47
4 changed files with 20 additions and 6 deletions

View File

@@ -162,6 +162,13 @@ public:
*/
virtual wxString GetPath() const;
/**
Gets the path corresponding to the given tree control item.
@since 2.9.5
*/
wxString GetPath(wxTreeItemId itemId) const;
/**
Fills the array @a paths with the selected directories and filenames.
*/