Add wxDD_MULTIPLE wxDirDialog style and implement it for GTK

Add wxDirDialog::GetPaths() similar to the existing member of
wxFileDialog with the same name and also taking, for consistency,
wxArrayString as the output parameter.
This commit is contained in:
Ian McInerney
2020-01-08 19:51:00 +00:00
committed by Vadim Zeitlin
parent fa6680be4d
commit f9e9b19c92
4 changed files with 63 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ public: // overrides from wxGenericDirDialog
wxString GetPath() const wxOVERRIDE;
void SetPath(const wxString& path) wxOVERRIDE;
void GetPaths(wxArrayString& paths) const wxOVERRIDE;
// Implementation only.
@@ -55,7 +56,7 @@ protected:
private:
wxString m_selectedDirectory;
wxArrayString m_paths;
wxDECLARE_DYNAMIC_CLASS(wxDirDialog);
};