mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:19:47 +02:00
Win32: ifdef then const declaration of CC_ANYCOLOR for fpc < 3.3.1.
This commit is contained in:
parent
9e143167ff
commit
7c3e5aa112
@ -372,8 +372,10 @@ begin
|
||||
end;
|
||||
|
||||
class function TWin32WSColorDialog.ColorDialogOptionsToFlags(Options: TColorDialogOptions): DWORD;
|
||||
{$if fpc_fullversion < 30301}
|
||||
const
|
||||
CC_ANYCOLOR = $00000100;
|
||||
{$endif fpc_fullversion < 30301}
|
||||
begin
|
||||
Result := 0;
|
||||
if cdFullOpen in Options then Result := Result or CC_FULLOPEN;
|
||||
|
Loading…
Reference in New Issue
Block a user