- void RenderText( const wxString &text, int xoffset, wxRect cell, wxDC *dc, int state );
+ // override the base class function to use GTK text cell renderer
+ virtual void RenderText(const wxString& text,
+ int xoffset,
+ wxRect cell,
+ wxDC *dc,
+ int state);
+
+ // 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;
+ }