We must always use them with wxGTK2, so don't check wxHAVE_GDK_X11 for
it, otherwise we're never going to include X11 libraries when using it,
but they are always required.
https://github.com/wxWidgets/wxWidgets/pull/22813
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@MaartenBent I'm reasonable sure that this is the right thing to do, but I'd still appreciate your confirmation, of course.
FWIW I also thought of always setting wxHAVE_GDK_X11 for GTK2, but this didn't seem right to me, and it's only used here, so I preferred to make this fix instead.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Looks fine to me. Maybe it can even be simplified to (WXX11 OR WXMOTIF OR WXGTK2 OR wxHAVE_GDK_X11).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Thanks, but I think I prefer to keep WXGTK check as the condition reads more clearly with it, even if it's equivalent. I'll merge this soon.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Closed #22813.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()