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:
committed by
Vadim Zeitlin
parent
fa6680be4d
commit
f9e9b19c92
@@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user