mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 14:19:10 +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;
|
end;
|
||||||
|
|
||||||
class function TWin32WSColorDialog.ColorDialogOptionsToFlags(Options: TColorDialogOptions): DWORD;
|
class function TWin32WSColorDialog.ColorDialogOptionsToFlags(Options: TColorDialogOptions): DWORD;
|
||||||
|
{$if fpc_fullversion < 30301}
|
||||||
const
|
const
|
||||||
CC_ANYCOLOR = $00000100;
|
CC_ANYCOLOR = $00000100;
|
||||||
|
{$endif fpc_fullversion < 30301}
|
||||||
begin
|
begin
|
||||||
Result := 0;
|
Result := 0;
|
||||||
if cdFullOpen in Options then Result := Result or CC_FULLOPEN;
|
if cdFullOpen in Options then Result := Result or CC_FULLOPEN;
|
||||||
|
Loading…
Reference in New Issue
Block a user