mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 11:59:25 +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 AppBringToFront; override;
|
||||
procedure AppSetTitle(const ATitle: string); override;
|
||||
function EnumFontFamiliesEx(DC: HDC; lpLogFont: PLogFont; Callback: FontEnumExProc; Lparam: LParam; Flags: dword): longint; override;
|
||||
public
|
||||
constructor Create; override;
|
||||
destructor Destroy; override;
|
||||
@ -127,6 +128,12 @@ begin
|
||||
|
||||
end;
|
||||
|
||||
function TNoGUIWidgetSet.EnumFontFamiliesEx(DC: HDC; lpLogFont: PLogFont;
|
||||
Callback: FontEnumExProc; Lparam: LParam; Flags: dword): longint;
|
||||
begin
|
||||
Result:=0;
|
||||
end;
|
||||
|
||||
constructor TNoGUIWidgetSet.Create;
|
||||
begin
|
||||
inherited Create;
|
||||
|
Loading…
Reference in New Issue
Block a user