Skip to content

WrapVclThemes.pas(109) Error: E2034 Too many actual parameters #370

@wg0517

Description

@wg0517

Compilation failed in RS10.3.3 with the error: WrapVclThemes.pas(109) Error: E2034 Too many actual parameters.
StyleServices(AControl: TControl = nil) has only been supported since RS10.4.
So the code in WrapVclThemes.pas at line 109 (Result := GlobalDelphiWrapper.Wrap(StyleServices(LControl));) needs to be changed to: Result := GlobalDelphiWrapper. StyleServices({$if CompilerVersion>33}LControl{$ifend}));

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions