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:
@@ -553,7 +553,7 @@ void MyFrame::BuildDataViewCtrl(wxPanel* parent, unsigned int nPanel, unsigned l
|
||||
m_ctrl[1]->AppendIconTextColumn("icon", 1, wxDATAVIEW_CELL_INERT);
|
||||
#endif
|
||||
m_ctrl[1]->AppendColumn(
|
||||
new wxDataViewColumn("attributes", new wxDataViewTextRendererAttr, 2 ));
|
||||
new wxDataViewColumn("attributes", new wxDataViewTextRenderer, 2 ));
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user