mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 21:16:05 +02:00
jcf: use OpenURL function instead to open urls
git-svn-id: trunk@22019 -
This commit is contained in:
parent
af8d456d33
commit
323fe7ecc1
@ -67,18 +67,16 @@ uses
|
||||
{$ifndef fpc}
|
||||
Windows, ShellAPI, URLMon,
|
||||
{$else}
|
||||
LResources, HelpIntfs,
|
||||
LResources, LCLProc,
|
||||
{$endif}
|
||||
{ local }
|
||||
JcfVersionConsts, JCFHelp, JcfFontSetFunctions, JcfStringUtils;
|
||||
|
||||
{$ifdef fpc}
|
||||
procedure ShowURL(const ps: string);
|
||||
var
|
||||
err: String;
|
||||
begin
|
||||
// do it silent
|
||||
HelpIntfs.ShowHelp(ps, 'JCF', 'text/html', err);
|
||||
OpenURL(ps);
|
||||
end;
|
||||
{$else}
|
||||
procedure ShowURL(const ps: string);
|
||||
|
Loading…
Reference in New Issue
Block a user