LCL: use new Windows GUI for TSelectDirectoryDialog. Issue #23521, patch from Reinier Olislagers

git-svn-id: trunk@39620 -
This commit is contained in:
juha 2012-12-21 18:59:36 +00:00
parent 780febb55a
commit 0df6e1f978

View File

@ -1310,7 +1310,7 @@ begin
lpszTitle := PWideChar(Title);
ulFlags := BIF_RETURNONLYFSDIRS;
if not (ofOldStyleDialog in Options) then
ulFlags := ulFlags + BIF_NEWDIALOGSTYLE;
ulFlags := ulFlags + BIF_USENEWUI;
lpfn := @BrowseForFolderCallback;
// this value will be passed to callback proc as lpData
lParam := Windows.LParam(PWideChar(InitialDirW));