Use new style directory selection dialog under Vista and later.

Use IFileDialog in wxDirDialog implementation if possible, it shows a much
more user-friendly dialog than the one used by SHBrowseForFolder().

Closes #11401.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-04-15 23:18:12 +00:00
parent 09278fdb79
commit 580ffdf4c0
3 changed files with 266 additions and 6 deletions

View File

@@ -28,6 +28,11 @@ public:
virtual int ShowModal();
private:
// The real implementations of ShowModal(), used for Windows versions
// before and since Vista.
int ShowSHBrowseForFolder(WXHWND owner);
int ShowIFileDialog(WXHWND owner);
DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog)
};