X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1897abe1d8ac5e9575f4c9a589ea7ce08189506a..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/gtk/private/gtk2-compat.h?ds=inline diff --git a/include/wx/gtk/private/gtk2-compat.h b/include/wx/gtk/private/gtk2-compat.h index 9f112872f7..0c8c0bdf50 100644 --- a/include/wx/gtk/private/gtk2-compat.h +++ b/include/wx/gtk/private/gtk2-compat.h @@ -381,6 +381,12 @@ static inline gint wx_gdk_visual_get_depth(GdkVisual* visual) } #define gdk_visual_get_depth wx_gdk_visual_get_depth +static inline gboolean wx_gtk_window_has_group(GtkWindow* window) +{ + return window->group != NULL; +} +#define gtk_window_has_group wx_gtk_window_has_group + // ---------------------------------------------------------------------------- // the following were introduced in GTK+ 2.24