While you're in that area of code, there are two compiler hints that would be good to clean up also:
[DCC Hint] acLFPainter.pas(380): H2269 Overriding virtual method 'TcxACPCPainter.GetStyleID' has lower visibility (protected) than base class 'TcxPCTabsPainter' (public)
[DCC Hint] acLFPainter.pas(381): H2269 Overriding virtual method 'TcxACPCPainter.GetStyleName' has lower visibility (protected) than base class 'TcxPCTabsPainter' (public)
The provided file doesn't fix the compiler error or the warnings. The extra parameter in CheckButtonColor is required to build, as shown in Jacek's post.