Removed superfluous code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2006-02-27 14:20:44 +00:00
parent 5d605a6995
commit 3c05fe1dbc

View File

@ -817,13 +817,6 @@ bool wxGtkDataViewListModelNotifier::Cleared()
bool wxGtkDataViewListModelNotifier::ValueChanged( wxDataViewColumn *view_column, size_t model_column, size_t row ) bool wxGtkDataViewListModelNotifier::ValueChanged( wxDataViewColumn *view_column, size_t model_column, size_t row )
{ {
wxDataViewCell *cell = view_column->GetCell();
if (!cell)
return false;
wxVariant variant = m_wx_model->GetValue( model_column, row );
cell->SetValue( variant );
GtkTreeView *widget = GTK_TREE_VIEW(view_column->GetOwner()->m_treeview); GtkTreeView *widget = GTK_TREE_VIEW(view_column->GetOwner()->m_treeview);
GtkTreeViewColumn *column = GTK_TREE_VIEW_COLUMN(view_column->GetGtkHandle()); GtkTreeViewColumn *column = GTK_TREE_VIEW_COLUMN(view_column->GetGtkHandle());