- wxLogMessage( "MyCustomRenderer Activate()" );
- return false;
- }
-
- virtual bool LeftClick( wxPoint cursor, wxRect WXUNUSED(cell),
- wxDataViewModel *WXUNUSED(model),
- const wxDataViewItem &WXUNUSED(item),
- unsigned int WXUNUSED(col) )
- {
- wxLogMessage( "MyCustomRenderer LeftClick( %d, %d )", cursor.x, cursor.y );
+ wxString position;
+ if ( mouseEvent )
+ position = wxString::Format("via mouse at %d, %d", mouseEvent->m_x, mouseEvent->m_y);
+ else
+ position = "from keyboard";
+ wxLogMessage("MyCustomRenderer ActivateCell() %s", position);