mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 00:19:32 +02:00
LCL TCustomEdit: removed useless code in InitializeWnd
git-svn-id: trunk@12459 -
This commit is contained in:
parent
e37222cbea
commit
15e3c6e26f
@ -441,17 +441,5 @@ begin
|
||||
inherited DoExit;
|
||||
end;
|
||||
|
||||
procedure TCustomEdit.InitializeWnd;
|
||||
var
|
||||
ASelStart, ASelLength : integer;
|
||||
begin
|
||||
inherited InitializeWnd;
|
||||
if FSelStart <> FSelLength then begin
|
||||
ASelStart:= FSelStart;
|
||||
ASelLength:= FSelLength;
|
||||
SelStart:= ASelStart;
|
||||
SelLength:= ASelLength;
|
||||
end;
|
||||
end;
|
||||
|
||||
// included by stdctrls.pp
|
||||
|
@ -665,7 +665,6 @@ type
|
||||
function GetSelLength: integer; virtual;
|
||||
function GetSelStart: integer; virtual;
|
||||
function GetSelText: string; virtual;
|
||||
procedure InitializeWnd; override;
|
||||
procedure SetEchoMode(Val: TEchoMode); virtual;
|
||||
procedure SetSelLength(Val: integer); virtual;
|
||||
procedure SetSelStart(Val: integer); virtual;
|
||||
|
Loading…
Reference in New Issue
Block a user