You've already forked lazarus-ccr
Removed unused FPanningCursor
Restore cursor when Panning is stopped git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@150 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1860,7 +1860,6 @@ TBaseVirtualTree = class(TCustomControl)
|
||||
FTotalInternalDataSize: Cardinal; // Cache of the sum of the necessary internal data size for all tree
|
||||
// classes derived from this base class.
|
||||
FPanningWindow: TVirtualPanningWindow; // Helper window for wheel panning
|
||||
FPanningCursor: HCURSOR; // Current wheel panning cursor.
|
||||
FLastClickPos: TPoint; // Used for retained drag start and wheel mouse scrolling.
|
||||
|
||||
{$ifdef EnableAccessible}
|
||||
@ -23287,9 +23286,7 @@ begin
|
||||
|
||||
FPanningWindow.Stop;
|
||||
|
||||
DeleteObject(FPanningCursor);
|
||||
FPanningCursor := 0;
|
||||
LCLIntf.SetCursor(Screen.Cursors[Cursor]);
|
||||
Cursor := crDefault;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user