X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6eec70b984525aac09528c32411f19113620e284..6abf7b639c8f6827c7784d5707ea4733a375d4eb:/include/wx/generic/dvrenderers.h diff --git a/include/wx/generic/dvrenderers.h b/include/wx/generic/dvrenderers.h index 61592258ca..14669694d2 100644 --- a/include/wx/generic/dvrenderers.h +++ b/include/wx/generic/dvrenderers.h @@ -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; }