wxWidgets / Phoenix

wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.
http://wxpython.org/
2.28k stars 515 forks source link

wx.DirDialog doesn't word with wx.DD_MULTIPLE #1944

Open hagemouse opened 3 years ago

hagemouse commented 3 years ago

wx: new version python: 3.8.5

dlg = wx.DirDialog (self, style= wx.DD_MULTIPLE ) dlg.ShowModal() dlg.getpaths(list)

but I get nothing

Anybody can help? thank you.

Infernio commented 3 years ago

Ran into this as well. Seems like DirDialog doesn't support this, I used MultiDirDialog for now.

alphacheng commented 3 years ago

Ran into this as well. thanks to infernio. MultiDirDialog may be useful.

RobinD42 commented 2 years ago

This issue has been mentioned on Discuss wxPython. There might be relevant details there:

https://discuss.wxpython.org/t/correct-usage-of-wx-dirdialogs-getpaths-with-dd-multiple-style/35850/5