]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dvrenderers.h
Define WXBUILDING in Xcode projects.
[wxWidgets.git] / include / wx / gtk / dvrenderers.h
index 262f9957d77e7fb1ba0a6f8a655c0d08c1509790..b9119a9533c72a9f668ead41d50ad12c8dec2ab4 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
@@ -137,10 +142,9 @@ public:
 
     virtual GtkCellRendererText *GtkGetTextRenderer() const;
 
-protected:
+private:
     bool Init(wxDataViewCellMode mode, int align);
 
-private:
     // Called from GtkGetTextRenderer() to really create the renderer if
     // necessary.
     void GtkInitTextRenderer();