mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-09 10:19:23 +02:00
LCL: use new Windows GUI for TSelectDirectoryDialog. Issue #23521, patch from Reinier Olislagers
git-svn-id: trunk@39620 -
This commit is contained in:
parent
780febb55a
commit
0df6e1f978
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user