mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 14:29:39 +02:00
Win32: re-introduce DisableVistaDialogs define, so we can test XP dialogs on Vista and up.
git-svn-id: trunk@52790 -
This commit is contained in:
parent
6b0c4428ec
commit
99a55b4afc
@ -325,7 +325,11 @@ end;
|
||||
|
||||
function CanUseVistaDialogs(const AOpenDialog: TOpenDialog): Boolean;
|
||||
begin
|
||||
{$IFnDEF DisableVistaDialogs}
|
||||
Result := (WindowsVersion >= wvVista) and not (ofOldStyleDialog in AOpenDialog.Options);
|
||||
{$ELSE}
|
||||
Result := False;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user