Commit Graph
1 Commits
Author SHA1 Message Date
gaishnik94-ship-it e9f96a9245 Fix Windows group-box painting over calibration controls (#18008)
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.
2026-12-02 08:05:41 -06:00