Add functions for determining if GDK3 backend is X11 or Wayland
This commit is contained in:
14
include/wx/gtk/private/backend.h
Normal file
14
include/wx/gtk/private/backend.h
Normal file
@@ -0,0 +1,14 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/gtk/private/backend.h
|
||||
// Author: Paul Cornett
|
||||
// Copyright: (c) 2022 Paul Cornett
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __WXGTK3__
|
||||
namespace wxGTKImpl
|
||||
{
|
||||
bool IsWayland(void* instance);
|
||||
bool IsX11(void* instance);
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user