mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:29:29 +02:00
win32: use ofEnableSizing to choose dialog kind when ofOldStyleDialog is used. Patch from Martok, issue #30406
git-svn-id: trunk@52741 -
This commit is contained in:
parent
6f8636dc39
commit
ac2fa94876
@ -1190,7 +1190,7 @@ begin
|
||||
ulFlags := BIF_RETURNONLYFSDIRS;
|
||||
if not (ofCreatePrompt in Options) then
|
||||
ulFlags := ulFlags + BIF_NONEWFOLDERBUTTON;
|
||||
if not (ofOldStyleDialog in Options) then
|
||||
if (ofEnableSizing in Options) then
|
||||
// better than flag BIF_USENEWUI, to hide editbox, it's not handy
|
||||
ulFlags := ulFlags + BIF_NEWDIALOGSTYLE;
|
||||
lpfn := @BrowseForFolderCallback;
|
||||
|
Loading…
Reference in New Issue
Block a user