Allow building wxGTK3 with Broadway backend.
Use GDK_WINDOWING_BROADWAY to fix compilation with it. Closes #14469. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,8 +38,13 @@
|
||||
|
||||
#ifdef __WXGTK__
|
||||
#include <gdk/gdk.h>
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
#include <gdk/gdkx.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Only X11 backend is supported for wxGTK here
|
||||
#if !defined(__WXGTK__) || defined(GDK_WINDOWING_X11)
|
||||
|
||||
// Various X11 Atoms used in this file:
|
||||
static Atom _NET_WM_STATE = 0;
|
||||
@@ -925,4 +930,6 @@ bool wxDoLaunchDefaultBrowser(const wxString& url, int flags)
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif // !defined(__WXGTK__) || defined(GDK_WINDOWING_X11)
|
||||
|
||||
#endif // __WXX11__ || __WXGTK__ || __WXMOTIF__
|
||||
|
Reference in New Issue
Block a user