Ensure that `wxDC::DeviceToLogical{X,Y}()` and `DeviceToLogical()` etc are always consistent (PR #26346)

14 views
Skip to first unread message

VZ

unread,
Apr 4, 2026, 1:38:52 PM (6 days ago) Apr 4
to wx-...@googlegroups.com, Subscribed

This wasn't the case before, resulting in confusing bugs such as #26266.

Also clean up the code by removing unnecessary macros/functions.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26346

Commit Summary

  • f2ac6de Remove unused code for wxCAIRO_SCALE==0 in wxGTK
  • 05248eb Remove unnecessary [XY]LOG2DEV and DEV2LOG definitions
  • 1c9deed Reimplement wxDC X/Y transformations in terms of wxPoint/wxSize

File Changes

(9 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26346@github.com>

VZ

unread,
Apr 4, 2026, 2:58:45 PM (6 days ago) Apr 4
to wx-...@googlegroups.com, Push

@vadz pushed 1 commit.

  • 5d28a30 Reimplement wxDC X/Y transformations in terms of wxPoint/wxSize


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26346/before/1c9deede4d3ccf85933ce366897d0451e3332053/after/5d28a30c5008362a18459dda758539402f0bde7f@github.com>

VZ

unread,
Apr 4, 2026, 5:38:11 PM (5 days ago) Apr 4
to wx-...@googlegroups.com, Push

@vadz pushed 1 commit.

  • f736265 Generalize Wine workaround to TransformedWithMatrixAndStd() too


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26346/before/5d28a30c5008362a18459dda758539402f0bde7f/after/f736265bb96c58e05c2ea5f0d93315b09b6961bb@github.com>

AliKet

unread,
Apr 5, 2026, 7:44:37 AM (5 days ago) Apr 5
to wx-...@googlegroups.com, Subscribed
AliKet left a comment (wxWidgets/wxWidgets#26346)

Great! thanks for your work on this.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26346/c4188760110@github.com>

VZ

unread,
Apr 5, 2026, 12:39:45 PM (5 days ago) Apr 5
to wx-...@googlegroups.com, Subscribed

Merged #26346 into master.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26346/issue_event/24207996413@github.com>

Reply all
Reply to author
Forward
0 new messages