win32: use VisibleIndex in MovePage. Issue #22293

git-svn-id: trunk@39886 -
This commit is contained in:
blikblum 2013-01-19 07:14:10 +00:00
parent e10e3ce749
commit ced57c7fc5

View File

@ -368,7 +368,7 @@ begin
if not ATabControl.ShowTabs then
Exit;
Index := AChild.PageIndex;
Index := AChild.VisibleIndex;
TCI.Mask := TCIF_IMAGE or TCIF_PARAM;
{$ifdef WindowsUnicodeSupport}
if UnicodeEnabledOS then