X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb57a95e700187e35b780a4596fa0bbe1c75bd72..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/dvrenderers.h diff --git a/include/wx/dvrenderers.h b/include/wx/dvrenderers.h index 9e34a32c87..99f1e8a837 100644 --- a/include/wx/dvrenderers.h +++ b/include/wx/dvrenderers.h @@ -290,6 +290,9 @@ public: // platform-specific classes. virtual wxDC *GetDC() = 0; + // To draw background use the background colour in wxDataViewItemAttr + virtual void RenderBackground(wxDC* dc, const wxRect& rect); + // Prepare DC to use attributes and call Render(). void WXCallRender(wxRect rect, wxDC *dc, int state);