Implement multiple selection support in wxOSX

Add support for wxDD_MULTIPLE style to wxDirDialog in wxOSX too.
This commit is contained in:
Ian McInerney
2020-01-17 00:14:53 +00:00
committed by Vadim Zeitlin
parent 5e1cf4cdf2
commit 61afcae0be
2 changed files with 24 additions and 2 deletions

View File

@@ -47,6 +47,10 @@ public:
virtual int ShowModal() wxOVERRIDE;
virtual wxString GetPath() const wxOVERRIDE;
virtual void GetPaths(wxArrayString& paths) const wxOVERRIDE;
#if wxOSX_USE_COCOA
virtual void ShowWindowModal() wxOVERRIDE;
virtual void ModalFinishedCallback(void* panel, int returnCode) wxOVERRIDE;
@@ -64,6 +68,8 @@ private:
// Common part of all ctors.
void Init();
wxArrayString m_paths;
wxDECLARE_DYNAMIC_CLASS(wxDirDialog);
};