Enable building wxGTK without GLX (PR #26146)

9 views
Skip to first unread message

Chris Mayo

unread,
Feb 1, 2026, 2:30:39 PM (11 hours ago) Feb 1
to wx-...@googlegroups.com, Subscribed

Set wxHAS_GLX if GTK 3 with GDK_X11.


I've added non-configurable support to configure in a separate commit due to my limited autoconf skills - but this at least maintains the current situation for configure.

Closes #26145


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

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

Commit Summary

  • cba21b7 Enable building wxGTK without GLX
  • 9d0a39e Define wxHAS_GLX in configure for wxGTK

File Changes

(8 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/26146@github.com>

Chris Mayo

unread,
Feb 1, 2026, 2:38:06 PM (11 hours ago) Feb 1
to wx-...@googlegroups.com, Push

@cjmayo pushed 2 commits.

  • 2e64d82 Enable building wxGTK without GLX
  • 11f59af Define wxHAS_GLX in configure for wxGTK


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26146/before/9d0a39e42072920e9c039759304882d1d47abd99/after/11f59af075bd12e07a64b42d414a46aab52abfaa@github.com>

Chris Mayo

unread,
Feb 1, 2026, 2:54:00 PM (11 hours ago) Feb 1
to wx-...@googlegroups.com, Push

@cjmayo pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26146/before/11f59af075bd12e07a64b42d414a46aab52abfaa/after/9b3e7142e35fac21fe50b03f9dde7b4d7955f43a@github.com>

Chris Mayo

unread,
Feb 1, 2026, 3:06:37 PM (11 hours ago) Feb 1
to wx-...@googlegroups.com, Push

@cjmayo pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26146/before/9b3e7142e35fac21fe50b03f9dde7b4d7955f43a/after/acd46777be989349dbc644fde570cf2b2e33b98a@github.com>

Chris Mayo

unread,
Feb 1, 2026, 3:13:26 PM (11 hours ago) Feb 1
to wx-...@googlegroups.com, Subscribed
cjmayo left a comment (wxWidgets/wxWidgets#26146)

What to do about wxGTK 2 - is it reasonable to set wxHAS_GLX?


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

VZ

unread,
Feb 1, 2026, 3:20:23 PM (11 hours ago) Feb 1
to wx-...@googlegroups.com, Subscribed

@vadz commented on this pull request.

Thanks for the fix, I have indeed completely forgotten that GLX might not be available either.

I'm not sure why does the PR only define wxHAS_GLX for wxGTK3, surely it should do it if OpenGL headers/libraries are found, for any port (and then stop doing it for wxX11 in the header)?


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/26146/review/3736583353@github.com>

VZ

unread,
Feb 1, 2026, 3:21:16 PM (11 hours ago) Feb 1
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26146)

What to do about wxGTK 2 - is it reasonable to set wxHAS_GLX?

Yes, and for wxX11 too, please. I.e. just don't test for the toolkit at all — if OpenGL headers/libraries are available, define this symbol.


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

Reply all
Reply to author
Forward
0 new messages