-// ---------------------------------------------------------
-// classes
-// ---------------------------------------------------------
-
-class WXDLLIMPEXP_ADV wxDataViewCtrl;
-class WXDLLIMPEXP_ADV wxDataViewMainWindow;
-class WXDLLIMPEXP_ADV wxDataViewHeaderWindow;
-
-// ---------------------------------------------------------
-// wxDataViewRenderer
-// ---------------------------------------------------------
-
-class WXDLLIMPEXP_ADV wxDataViewRenderer: public wxDataViewRendererBase
-{
-public:
- wxDataViewRenderer( const wxString &varianttype, wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT );
- virtual ~wxDataViewRenderer();
-
- virtual bool Render( wxRect cell, wxDC *dc, int state ) = 0;
- virtual wxSize GetSize() = 0;
-
- virtual bool Activate( wxRect WXUNUSED(cell),
- wxDataViewListModel *WXUNUSED(model),
- unsigned int WXUNUSED(col),
- unsigned int WXUNUSED(row) )
- { return false; }
-
- virtual bool LeftClick( wxPoint WXUNUSED(cursor),
- wxRect WXUNUSED(cell),
- wxDataViewListModel *WXUNUSED(model),
- unsigned int WXUNUSED(col),
- unsigned int WXUNUSED(row) )
- { return false; }
- virtual bool RightClick( wxPoint WXUNUSED(cursor),
- wxRect WXUNUSED(cell),
- wxDataViewListModel *WXUNUSED(model),
- unsigned int WXUNUSED(col),
- unsigned int WXUNUSED(row) )
- { return false; }
- virtual bool StartDrag( wxPoint WXUNUSED(cursor),
- wxRect WXUNUSED(cell),
- wxDataViewListModel *WXUNUSED(model),
- unsigned int WXUNUSED(col),
- unsigned int WXUNUSED(row) )
- { return false; }
-
- // Create DC on request
- virtual wxDC *GetDC();
-
-private:
- wxDC *m_dc;
-
-protected:
- DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewRenderer)
-};