I have a TGraphicControl descendant which paints rather slowly. There's also a TWinControl descendant, this one paint fast. Both controls are on the same TPanel.
While scrolling, the TGraphicControl is updated more often than the TWinControl, so they look out of sync. This updating is done by Windows and/or the VCL, not by my code.
I can solve this by calling TWinControl.Update from the TGraphicControl.Paint method, but I'm a bit worried this might cause problems one way or another.
Is it safe to do this?