initial commit
Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
33
libs/wxWidgets-3.3.1/include/wx/gtk/private/wrapgdk.h
Normal file
33
libs/wxWidgets-3.3.1/include/wx/gtk/private/wrapgdk.h
Normal file
@@ -0,0 +1,33 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/gtk/private/wrapgdk.h
|
||||
// Purpose: Include GDK header for the appropriate window system
|
||||
// Author: Vadim Zeitlin
|
||||
// Created: 2024-07-17
|
||||
// Copyright: (c) 2024 Vadim Zeitlin <vadim@wxwidgets.org>
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_GTK_PRIVATE_WRAPGDK_H_
|
||||
#define _WX_GTK_PRIVATE_WRAPGDK_H_
|
||||
|
||||
#include "wx/gtk/private/wrapgtk.h"
|
||||
|
||||
#ifdef GDK_WINDOWING_WAYLAND
|
||||
// Wayland headers included from gdkwayland.h may result in -Wundef due to
|
||||
// __STDC_VERSION__ used there being undefined, suppress this.
|
||||
wxGCC_WARNING_SUPPRESS(undef)
|
||||
|
||||
#include <gdk/gdkwayland.h>
|
||||
|
||||
wxGCC_WARNING_RESTORE(undef)
|
||||
#endif // GDK_WINDOWING_WAYLAND
|
||||
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
#include <gdk/gdkx.h>
|
||||
#endif
|
||||
|
||||
#ifdef GDK_WINDOWING_WIN32
|
||||
#include <gdk/gdkwin32.h>
|
||||
#endif
|
||||
|
||||
#endif // _WX_GTK_PRIVATE_WRAPGDK_H_
|
||||
Reference in New Issue
Block a user