mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-28 15:50:17 +08:00
End wxContextHelp mode when mouse capture is lost and only release the mouse if the help window still owns capture after the modal help loop. Add coverage for the capture-loss path so context help exits without using another input event. Fixes #21534. Closes #26674.