LabeledStaticBox's paint handler on Windows replaces wxStaticBox::OnPaint, which also removed wx's clipping of the controls inside the box. In the calibration dialogs those controls are siblings of the box, so the box painted over them until they were hovered.
PickDC now clips the paint DC to MSWGetRegionWithoutChildren(), converted from screen to window coordinates, which is the same region wx's own paint uses. A new Windows test checks the clip region after a repaint, and again after the dialog moves and a hidden control is shown. The orca-wxwidgets painting reference now describes the clipping.