git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48399
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// ---------------------------------------------------------
// wxDataViewRendererBase
// ---------------------------------------------------------
// ---------------------------------------------------------
// wxDataViewRendererBase
// ---------------------------------------------------------
-static wxDataViewItem g_item;
IMPLEMENT_ABSTRACT_CLASS(wxDataViewRendererBase, wxObject)
IMPLEMENT_ABSTRACT_CLASS(wxDataViewRendererBase, wxObject)
event.SetDataViewColumn( GetOwner() );
event.SetModel( GetOwner()->GetOwner()->GetModel() );
event.SetItem( item );
event.SetDataViewColumn( GetOwner() );
event.SetModel( GetOwner()->GetOwner()->GetModel() );
event.SetItem( item );
GetOwner()->GetOwner()->GetEventHandler()->ProcessEvent( event );
return true;
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() );
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;
GetOwner()->GetOwner()->GetEventHandler()->ProcessEvent( event );
return true;