mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 18:22:01 +08:00
Don't mirror coordinates passed to GDI functions in RTL layout as they already mirror them internally, resulting in incorrect coordinates being used. As a consequence, wxDC::LogicalToDevice() now always returns unmirrored coordinates, even in RTL layout, which is consistent with wxGTK3 and wxQt. Also fix scaling even in LTR layout by using ::ScaleWindowExtEx(). See #26398.