]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/private/gtk2-compat.h
activating DrawRectangle optimization
[wxWidgets.git] / include / wx / gtk / private / gtk2-compat.h
index 9f112872f7b2a34c2bf67ec8eafb3268983e9bea..0c8c0bdf50b44aa4b51f5632c8a5240bd5dc46d5 100644 (file)
@@ -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