mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:39:31 +02:00
Win32: ifdef then const declaration of CC_ANYCOLOR for fpc < 3.3.1.
(cherry picked from commit 7c3e5aa112
)
Co-authored-by: Bart <9132501-flyingsheep@users.noreply.gitlab.com>
This commit is contained in:
parent
29a3cdf6fa
commit
c76d54fc11
@ -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