+ // store GTK render call parameters for possible later use
+ void GTKStashRenderParams(GdkWindow *window,
+ GtkWidget *widget,
+ GdkRectangle *background_area,
+ GdkRectangle *expose_area,
+ int flags)
+ {
+ m_renderParams.window = window;
+ m_renderParams.widget = widget;
+ m_renderParams.background_area = background_area;
+ m_renderParams.expose_area = expose_area;
+ m_renderParams.flags = flags;
+ }
+
+ // we may or not support attributes, as we don't know it, return true to
+ // make it possible to use them
+ virtual bool GtkSupportsAttrs() const { return true; }
+
+ virtual bool GtkSetAttr(const wxDataViewItemAttr& attr)
+ {
+ SetAttr(attr);
+ return !attr.IsDefault();
+ }