LCL: Fix a comment about a deprecated variable, remove deprecated enum. Issue #41366.

This commit is contained in:
Juha 2025-01-31 14:03:44 +02:00
parent 476da882fa
commit b3833f5594
2 changed files with 3 additions and 5 deletions

View File

@ -3365,7 +3365,6 @@ type
tvsIsEditing, tvsIsEditing,
tvsStateChanging, tvsStateChanging,
tvsManualNotify, tvsManualNotify,
tvsUpdating, // NOTE: This state is deprecated and has no functionality after r64855
tvsPainting, tvsPainting,
tvoFocusedPainting, tvoFocusedPainting,
tvsDblClicked, tvsDblClicked,

View File

@ -1596,10 +1596,9 @@ type
property OnStartDrag: TStartDragEvent read FOnStartDrag write FOnStartDrag; property OnStartDrag: TStartDragEvent read FOnStartDrag write FOnStartDrag;
property OnEditingDone: TNotifyEvent read FOnEditingDone write FOnEditingDone; property OnEditingDone: TNotifyEvent read FOnEditingDone write FOnEditingDone;
public public
FCompStyle: Byte; // DEPRECATED. Enables (valid) use of 'IN' operator (this // Enables (valid) use of 'IN' operator. A hack for speed. Will be replaced by
// is a hack for speed. It will be replaced by the use of the widgetset // using the widgetset classes. Now used in over 100 places in Lazarus sources.
// classes. FCompStyle: Byte;
// So, don't use it anymore.
public public
// drag and dock // drag and dock
procedure DragDrop(Source: TObject; X,Y: Integer); virtual; procedure DragDrop(Source: TObject; X,Y: Integer); virtual;