mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 03:42:01 +02:00
lcl: fix bug with TabControl ImageIndex retrieving based on instructions of Robin Hoo (issue #0015421)
git-svn-id: trunk@24020 -
This commit is contained in:
parent
093ec32e60
commit
0118bd4b2a
@ -481,9 +481,9 @@ end;
|
|||||||
|
|
||||||
function TCustomTabControl.GetImageIndex(ATabIndex: Integer): Integer;
|
function TCustomTabControl.GetImageIndex(ATabIndex: Integer): Integer;
|
||||||
begin
|
begin
|
||||||
Result := TabIndex;
|
Result := ATabIndex;
|
||||||
if Assigned(FOnGetImageIndex) then
|
if Assigned(FOnGetImageIndex) then
|
||||||
FOnGetImageIndex(Self, TabIndex, Result);
|
FOnGetImageIndex(Self, ATabIndex, Result);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCustomTabControl.Loaded;
|
procedure TCustomTabControl.Loaded;
|
||||||
|
Loading…
Reference in New Issue
Block a user