mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-22 22:24:56 +08:00
Due to rounding errors, this test would fail under wxMSW if the region started at x=2*n, and would fail under wxQt if it started at x=2*n+1. So relax the check by using 1 as a position tolerance.