Save the mode in SetMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5cef2f6505
commit
06f28e5572
@ -1777,6 +1777,8 @@ void wxDataViewRenderer::SetMode( wxDataViewCellMode mode )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_mode = mode;
|
||||||
|
|
||||||
// This value is most often ignored in GtkTreeView
|
// This value is most often ignored in GtkTreeView
|
||||||
GValue gvalue = { 0, };
|
GValue gvalue = { 0, };
|
||||||
g_value_init( &gvalue, gtk_cell_renderer_mode_get_type() );
|
g_value_init( &gvalue, gtk_cell_renderer_mode_get_type() );
|
||||||
|
Loading…
Reference in New Issue
Block a user