ConvertToRECT() in wxRenderer code accounted for the origin shift twice when using wxGCDC since the changes of 4f9186f (Increase usable scrolling range in wxMSW by a factor of 10,000, 2022-04-30) which added Offset(dc.GetDeviceOrigin()) call to it as for wxGCDC this offset is already accounted for by MSWApplyGDIPlusTransform().
Fix this by replacing MSWApplyGDIPlusTransform() with a more generic MSWApplyWXTransform() which does the same thing as before for wxGCDC but applies the origin offset for other wxDCs. This ensures that this offset is properly accounted for in both cases.
Closes #25966.
https://github.com/wxWidgets/wxWidgets/pull/25967
(6 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Merged in the commit above.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Closed #25967.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()