Column configuration with wxDataViewItemAttr?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Column configuration with wxDataViewItemAttr?

Marc Schanne
Hej everybody,

I try to configure font or even colour for a column in my wxDataViewCtrl on a Windows platform.

Perhaps you can help me with this code:

wxDataViewItemAttr font_attr = wxDataViewItemAttr();
column = new wxDataViewColumn(database_handle->GetColumnName((int) col_index), text_renderer, col, column_width);

Thanx for any help advance!  Marc