diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index 4bdb669062..ac183545e9 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -1777,6 +1777,8 @@ void wxDataViewRenderer::SetMode( wxDataViewCellMode mode ) return; } + m_mode = mode; + // This value is most often ignored in GtkTreeView GValue gvalue = { 0, }; g_value_init( &gvalue, gtk_cell_renderer_mode_get_type() );