mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 00:00:42 +02:00
lcl: clean up
git-svn-id: trunk@53332 -
This commit is contained in:
parent
79db8762f5
commit
43fe142cde
@ -15,9 +15,6 @@
|
||||
|
||||
Abstract:
|
||||
TTreeView for LCL
|
||||
|
||||
ToDo:
|
||||
- Columns
|
||||
}
|
||||
|
||||
|
||||
@ -29,9 +26,6 @@ const
|
||||
TVAutoHeightString = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789jgpq|\()^';
|
||||
MinNodeCapacity = 10;
|
||||
|
||||
// maximum scroll range
|
||||
//MAX_SCROLL = 32767;
|
||||
|
||||
function CompareExpandedNodes(Data1, Data2: Pointer): integer;
|
||||
var
|
||||
Node1: TTreeNodeExpandedState;
|
||||
@ -1045,7 +1039,6 @@ begin
|
||||
Result := GetLastChild;
|
||||
if Assigned(Result) and not Result.Visible then begin
|
||||
Result := Result.GetPrevVisible;
|
||||
// ToDo: implement this better. Now it works only when Self is visible.
|
||||
if Result = Self then begin // No visible nodes found.
|
||||
Assert(Visible, 'TTreeNode.GetLastVisibleChild: Node is not Visible');
|
||||
Result := Nil;
|
||||
|
Loading…
Reference in New Issue
Block a user