mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 21:50:18 +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;
|
||||
begin
|
||||
Result := TabIndex;
|
||||
Result := ATabIndex;
|
||||
if Assigned(FOnGetImageIndex) then
|
||||
FOnGetImageIndex(Self, TabIndex, Result);
|
||||
FOnGetImageIndex(Self, ATabIndex, Result);
|
||||
end;
|
||||
|
||||
procedure TCustomTabControl.Loaded;
|
||||
|
Loading…
Reference in New Issue
Block a user