Make some wxDataViewCustomRenderer virtuals consistent across platforms.

Add missing WXDLLIMPEXP_ADV.
Add missing impl for wxDataViewEvent::GetPosition

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2008-03-17 21:00:06 +00:00
parent 069b2e5941
commit 5cfb6fee91
4 changed files with 43 additions and 33 deletions

View File

@@ -582,9 +582,10 @@ public:
/**
Override this to react to double clicks or ENTER.
*/
virtual bool Activate(wxRect cell, wxDataViewModel* model,
unsigned int col,
unsigned int row);
virtual bool Activate( wxRect cell,
wxDataViewModel* model,
const wxDataViewItem & item,
unsigned int col );
/**
Override this to create the actual editor control once editing
@@ -622,10 +623,11 @@ public:
/**
Overrride this to react to a left click.
*/
virtual bool LeftClick(wxPoint cursor, wxRect cell,
wxDataViewModel* model,
unsigned int col,
unsigned int row);
virtual bool LeftClick( wxPoint cursor,
wxRect cell,
wxDataViewModel * model,
const wxDataViewItem & item,
unsigned int col );
/**
Override this to render the cell. Before this is called,
@@ -646,18 +648,19 @@ public:
/**
Overrride this to react to a right click.
*/
virtual bool RightClick(wxPoint cursor, wxRect cell,
virtual bool RightClick(wxPoint cursor,
wxRect cell,
wxDataViewModel* model,
unsigned int col,
unsigned int row);
const wxDataViewItem & item,
unsigned int col);
/**
Overrride this to start a drag operation.
*/
virtual bool StartDrag(wxPoint cursor, wxRect cell,
wxDataViewModel* model,
unsigned int col,
unsigned int row);
const wxDataViewItem & item,
unsigned int col);
};