Support renderer::LeftClick() in generic code, removed unsupported RightClick(), corrected docs, added test to sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-04-05 12:09:15 +00:00
parent bfac616654
commit 0bdfa38835
5 changed files with 91 additions and 51 deletions

View File

@@ -1172,12 +1172,6 @@ gtk_wx_cell_renderer_activate(
if (cell->Activate( renderrect, model, item, model_col ))
ret = true;
}
if (button_event->button == 3)
{
if (cell->RightClick( pt, renderrect, model, item, model_col ))
ret = true;
}
wxrenderer->last_click = button_event->time;
return ret;