Fix building non-GTK ports under Windows with Cairo >= 1.18 (PR #26229)

11 views
Skip to first unread message

VZ

unread,
Feb 23, 2026, 5:44:30 AM (3 days ago) Feb 23
to wx-...@googlegroups.com, Subscribed

Cairo 1.18 broke using cairo_public redefinition hack used before to avoid declaring Cairo functions as being dll-imported. Use the new way to prevent this from happening but still define cairo_public when using older versions.

Note that, unfortunately, we can't do it unconditionally because this results in a macro redefinition warning with newer versions which is impossible to disable using gcc.

Closes #26224.


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

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

Commit Summary

  • 33f57d3 Fix building non-GTK ports under Windows with Cairo >= 1.18

File Changes

(1 file)

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/26229@github.com>

VZ

unread,
Feb 24, 2026, 10:53:46 AM (yesterday) Feb 24
to wx-...@googlegroups.com, Subscribed

Merged #26229 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/26229/issue_event/23039751737@github.com>

Reply all
Reply to author
Forward
0 new messages