38 explicit tocRenderer(wxDataViewCellMode mode, wxDataViewTreeCtrl* parent);
40 virtual bool Render(wxRect rect, wxDC* dc,
int state) wxOVERRIDE;
42 virtual bool ActivateCell(
const wxRect& cell, wxDataViewModel* model,
const wxDataViewItem& item,
43 unsigned int WXUNUSED(col),
const wxMouseEvent* mouseEvent) wxOVERRIDE;
45 virtual wxSize GetSize()
const wxOVERRIDE;
47 virtual bool SetValue(
const wxVariant& value) wxOVERRIDE;
49 virtual bool GetValue(wxVariant& value)
const wxOVERRIDE;
51 virtual bool HasEditorCtrl()
const wxOVERRIDE;
53 virtual wxWindow* CreateEditorCtrl(wxWindow* parent, wxRect labelRect,
const wxVariant& value) wxOVERRIDE;
55 virtual bool GetValueFromEditorCtrl(wxWindow* ctrl, wxVariant& value) wxOVERRIDE;
58 void _CreateBitmaps();
65 wxImageList m_ImageList;
66 wxDataViewCtrl* m_ParentCtrl;