mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 04:42:11 +02:00
defaultfont patch from Micha
git-svn-id: trunk@4530 -
This commit is contained in:
parent
a627ec7e42
commit
20818e54b4
@ -459,6 +459,9 @@ End;
|
||||
------------------------------------------------------------------------------}
|
||||
Function TWin32Object.CreateFontIndirect(Const LogFont: TLogFont): HFONT;
|
||||
Begin
|
||||
if String(LogFont.lfFaceName) = 'default' then
|
||||
Result := Windows.GetStockObject(DEFAULT_GUI_FONT)
|
||||
else
|
||||
Result := Windows.CreateFontIndirect(@LogFont);
|
||||
End;
|
||||
|
||||
@ -2422,6 +2425,9 @@ end;
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.57 2003/08/26 16:14:21 mattias
|
||||
defaultfont patch from Micha
|
||||
|
||||
Revision 1.56 2003/08/23 11:30:51 mattias
|
||||
fixed SetComboHeight in win32 intf and finddeclaration of overloaded proc definition
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user