X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6eec70b984525aac09528c32411f19113620e284..d25a864d0a1c0d18733666a5015e46da68b4fb1b:/include/wx/generic/dvrenderers.h diff --git a/include/wx/generic/dvrenderers.h b/include/wx/generic/dvrenderers.h index 61592258ca..3ebe0d0f3e 100644 --- a/include/wx/generic/dvrenderers.h +++ b/include/wx/generic/dvrenderers.h @@ -3,7 +3,7 @@ // Purpose: All generic wxDataViewCtrl renderer classes // Author: Robert Roebling, Vadim Zeitlin // Created: 2009-11-07 (extracted from wx/generic/dataview.h) -// RCS-ID: $Id: wxhead.h,v 1.11 2009-06-29 10:23:04 zeitlin Exp $ +// RCS-ID: $Id$ // Copyright: (c) 2006 Robert Roebling // (c) 2009 Vadim Zeitlin // Licence: wxWindows licence @@ -44,17 +44,8 @@ public: bool SetValue( const wxVariant &value ); bool GetValue( wxVariant &value ) const; - virtual bool RenderWithAttr(wxDC& dc, - const wxRect& rect, - int align, - const wxDataViewItemAttr *attr, - int state); - virtual bool Render(wxRect cell, wxDC *dc, int state) - { - return DummyRender(cell, dc, state); - } - - wxSize GetSize() const; + virtual bool Render(wxRect cell, wxDC *dc, int state); + virtual wxSize GetSize() const; // in-place editing virtual bool HasEditorCtrl() const; @@ -135,15 +126,7 @@ public: bool SetValue( const wxVariant &value ); bool GetValue( wxVariant& value ) const; - virtual bool RenderWithAttr(wxDC& dc, - const wxRect& rect, - int align, - const wxDataViewItemAttr *attr, - int state); - virtual bool Render(wxRect cell, wxDC *dc, int state) - { - return DummyRender(cell, dc, state); - } + virtual bool Render(wxRect cell, wxDC *dc, int state); virtual wxSize GetSize() const; private: @@ -168,15 +151,7 @@ public: bool SetValue( const wxVariant &value ); bool GetValue( wxVariant &value ) const; - virtual bool RenderWithAttr(wxDC& dc, - const wxRect& rect, - int align, - const wxDataViewItemAttr *attr, - int state); - virtual bool Render(wxRect cell, wxDC *dc, int state) - { - return DummyRender(cell, dc, state); - } + virtual bool Render(wxRect cell, wxDC *dc, int state); virtual wxSize GetSize() const; virtual bool HasEditorCtrl() const { return true; }