]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dvrenderers.h
synchronize GTK2 minimum version in docs
[wxWidgets.git] / include / wx / gtk / dvrenderers.h
index 262f9957d77e7fb1ba0a6f8a655c0d08c1509790..9901bec0cba698be4210acc43dc74f1c6aa9e41c 100644 (file)
 #ifndef _WX_GTK_DVRENDERERS_H_
 #define _WX_GTK_DVRENDERERS_H_
 
-typedef struct _GdkRectangle GdkRectangle;
+#ifdef __WXGTK3__
+    typedef struct _cairo_rectangle_int cairo_rectangle_int_t;
+    typedef cairo_rectangle_int_t GdkRectangle;
+#else
+    typedef struct _GdkRectangle GdkRectangle;
+#endif
 
 // ---------------------------------------------------------
 // wxDataViewTextRenderer