mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 00:49:18 +02:00
Added if HandleAllocated to SetBorderStyle
git-svn-id: trunk@5498 -
This commit is contained in:
parent
d4265baaa0
commit
c9f9f10d1a
@ -992,7 +992,8 @@ end;
|
||||
procedure TWinControl.SetBorderStyle(NewStyle: TBorderStyle);
|
||||
begin
|
||||
FBorderStyle := NewStyle;
|
||||
TWSWinControlClass(WidgetSetClass).SetBorderStyle(Self, NewStyle);
|
||||
if HandleAllocated then
|
||||
TWSWinControlClass(WidgetSetClass).SetBorderStyle(Self, NewStyle);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
@ -3544,6 +3545,9 @@ end;
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.232 2004/05/21 21:58:01 vincents
|
||||
Added if HandleAllocated to SetBorderStyle
|
||||
|
||||
Revision 1.231 2004/05/21 10:02:59 micha
|
||||
consistent BorderStyle naming
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user