mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-22 11:39:30 +02:00
nogui interface: added empty EnumFontFamiliesEx to silence an annoying and irrelevant warning on the command line by TWidgetSet.EnumFontFamiliesEx.
git-svn-id: trunk@27878 -
This commit is contained in:
parent
12b4bd48c0
commit
535fac5416
@ -56,6 +56,7 @@ type
|
|||||||
procedure AppRestore; override;
|
procedure AppRestore; override;
|
||||||
procedure AppBringToFront; override;
|
procedure AppBringToFront; override;
|
||||||
procedure AppSetTitle(const ATitle: string); override;
|
procedure AppSetTitle(const ATitle: string); override;
|
||||||
|
function EnumFontFamiliesEx(DC: HDC; lpLogFont: PLogFont; Callback: FontEnumExProc; Lparam: LParam; Flags: dword): longint; override;
|
||||||
public
|
public
|
||||||
constructor Create; override;
|
constructor Create; override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
@ -127,6 +128,12 @@ begin
|
|||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TNoGUIWidgetSet.EnumFontFamiliesEx(DC: HDC; lpLogFont: PLogFont;
|
||||||
|
Callback: FontEnumExProc; Lparam: LParam; Flags: dword): longint;
|
||||||
|
begin
|
||||||
|
Result:=0;
|
||||||
|
end;
|
||||||
|
|
||||||
constructor TNoGUIWidgetSet.Create;
|
constructor TNoGUIWidgetSet.Create;
|
||||||
begin
|
begin
|
||||||
inherited Create;
|
inherited Create;
|
||||||
|
Loading…
Reference in New Issue
Block a user