mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 21:10:36 +02:00
carbon: set FTabIndex instead ATabIndex variable in TCarbonTabsControl.SetPageIndex. patch by David Jenkins.issue #21728
git-svn-id: trunk@36958 -
This commit is contained in:
parent
7a8106c0d1
commit
8c6daf0f2c
@ -1016,7 +1016,7 @@ begin
|
||||
begin
|
||||
Debugln(['TCarbonTabsControl.SetPageIndex unknown pageindex: ',AIndex]);
|
||||
end;}
|
||||
ATabIndex := -1;
|
||||
FTabIndex := -1;
|
||||
SetControl32BitValue(ControlRef(Widget), 0);
|
||||
ShowTab;
|
||||
Exit;
|
||||
|
Loading…
Reference in New Issue
Block a user