mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 03:10:30 +02:00
LCL: simplify TScreen.BeginTempCursor
git-svn-id: trunk@62683 -
This commit is contained in:
parent
5930969e12
commit
da5d437410
@ -302,8 +302,8 @@ begin
|
|||||||
OldCursor := RealCursor;
|
OldCursor := RealCursor;
|
||||||
SetLength(FTempCursors, Length(FTempCursors)+1);
|
SetLength(FTempCursors, Length(FTempCursors)+1);
|
||||||
FTempCursors[High(FTempCursors)] := aCursor;
|
FTempCursors[High(FTempCursors)] := aCursor;
|
||||||
if OldCursor<>RealCursor then
|
if OldCursor<>aCursor then
|
||||||
WidgetSet.SetCursor(Cursors[RealCursor]);
|
WidgetSet.SetCursor(Cursors[aCursor]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TScreen.BeginWaitCursor;
|
procedure TScreen.BeginWaitCursor;
|
||||||
|
Loading…
Reference in New Issue
Block a user