diff --git a/lcl/extctrls.pp b/lcl/extctrls.pp index 97a5e823a1..97b7194f4c 100644 --- a/lcl/extctrls.pp +++ b/lcl/extctrls.pp @@ -1436,7 +1436,7 @@ type { TCtrlBands } - TCtrlBands = class (specialize TFPGObjectList) + TCtrlBands = class ({$IFDEF FPDoc}TFPGObjectList{$ELSE}specialize TFPGObjectList{$ENDIF}) public function GetIndex(AControl: TControl): Integer; end;