From 06f28e557258a48f6a4b7ccb6aa08448c025ab68 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 25 Jan 2011 05:14:30 +0000 Subject: [PATCH] Save the mode in SetMode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dataview.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() ); -- 2.45.2