// ---------------------------------------------------------
// wxDataViewRendererBase
// ---------------------------------------------------------
-static wxDataViewItem g_item;
IMPLEMENT_ABSTRACT_CLASS(wxDataViewRendererBase, wxObject)
event.SetDataViewColumn( GetOwner() );
event.SetModel( GetOwner()->GetOwner()->GetModel() );
event.SetItem( item );
- g_item = item;
GetOwner()->GetOwner()->GetEventHandler()->ProcessEvent( event );
return true;
wxDataViewEvent event( wxEVT_COMMAND_DATAVIEW_ITEM_EDITING_DONE, GetOwner()->GetOwner()->GetId() );
event.SetDataViewColumn( GetOwner() );
event.SetModel( GetOwner()->GetOwner()->GetModel() );
- event.SetItem( g_item );
+ event.SetItem( m_item );
GetOwner()->GetOwner()->GetEventHandler()->ProcessEvent( event );
return true;