mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 19:35:58 +02:00
removed unneeded invalidate
git-svn-id: trunk@8435 -
This commit is contained in:
parent
8c284f3daa
commit
68755c278e
@ -22,9 +22,9 @@
|
||||
|
||||
{ TCustomForm }
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
{ TCustomForm ClientWndProc }
|
||||
{------------------------------------------------------------------------------}
|
||||
{------------------------------------------------------------------------------
|
||||
TCustomForm ClientWndProc
|
||||
------------------------------------------------------------------------------}
|
||||
Procedure TCustomForm.ClientWndProc(var Message: TLMessage);
|
||||
|
||||
procedure CallDefault;
|
||||
@ -283,7 +283,7 @@ end;
|
||||
function TCustomForm.GetIconHandle: HICON;
|
||||
begin
|
||||
//DebugLn('[TCustomForm.GetIconHandle] ',ClassName,' ',FIcon<>nil);
|
||||
if (FIcon<>nil) and not Icon.Empty then
|
||||
if (FIcon<>nil) and (not Icon.Empty) then
|
||||
Result := FIcon.Handle
|
||||
else
|
||||
Result := Application.GetIconHandle;
|
||||
|
@ -4998,7 +4998,6 @@ begin
|
||||
if HandleAllocated then begin
|
||||
FinalizeWnd;
|
||||
TWSWinControlClass(WidgetSetClass).DestroyHandle(Self);
|
||||
InvalidatePreferredSize;
|
||||
Handle := 0;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user