X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6eec70b984525aac09528c32411f19113620e284..032e024c1c6ab6a20226604baab9d00558620e72:/include/wx/osx/dvrenderers.h diff --git a/include/wx/osx/dvrenderers.h b/include/wx/osx/dvrenderers.h index b25ca48e5a..01a8998599 100644 --- a/include/wx/osx/dvrenderers.h +++ b/include/wx/osx/dvrenderers.h @@ -24,18 +24,16 @@ public: virtual ~wxDataViewCustomRenderer(); - void RenderText( const wxString &text, int xoffset, wxRect cell, wxDC *dc, int state ); - - virtual wxSize GetSize() const = 0; - - virtual bool Render(wxRect cell, wxDC* dc, int state) = 0; - // implementation only // ------------------- virtual bool MacRender(); +#if wxOSX_USE_COCOA + virtual void OSXApplyAttr(const wxDataViewItemAttr& attr); +#endif // Cocoa + virtual wxDC* GetDC(); // creates a device context and keeps it void SetDC(wxDC* newDCPtr); // this method takes ownership of the pointer