Remove wxDataViewTextRendererAttr by merging it with wxDataViewTextRenderer.
There is no reason to have a separate class for rendering the text honouring the attributes defined for it, wxDataViewTextRenderer itself already does this perfectly well. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1033,7 +1033,6 @@ enum wxDataViewCellRenderState
|
||||
One instance of a renderer class is owned by a wxDataViewColumn.
|
||||
There is a number of ready-to-use renderers provided:
|
||||
- wxDataViewTextRenderer,
|
||||
- wxDataViewTextRendererAttr,
|
||||
- wxDataViewIconTextRenderer,
|
||||
- wxDataViewToggleRenderer,
|
||||
- wxDataViewProgressRenderer,
|
||||
@@ -1263,30 +1262,6 @@ public:
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@class wxDataViewTextRendererAttr
|
||||
|
||||
The same as wxDataViewTextRenderer but with support for font attributes.
|
||||
Font attributes are currently only supported under GTK+ and MSW.
|
||||
|
||||
@see wxDataViewModel::GetAttr and wxDataViewItemAttr.
|
||||
|
||||
@library{wxadv}
|
||||
@category{dvc}
|
||||
*/
|
||||
class wxDataViewTextRendererAttr : public wxDataViewTextRenderer
|
||||
{
|
||||
public:
|
||||
/**
|
||||
The ctor.
|
||||
*/
|
||||
wxDataViewTextRendererAttr(const wxString& varianttype = "string",
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@class wxDataViewCustomRenderer
|
||||
|
||||
|
Reference in New Issue
Block a user