My virtual wxListCtrl gets data from a backing store which a std::vector that I populate from a database.
I want to be able to conditionally format a column e.g. set the cell to green if the data value is 1 else set it to red.
How do I do this?
How do I conditionally format a column of a virtual wxListCtrl? Topic is solved
Re: How do I conditionally format a column of a virtual wxListCtrl?
I looked at it but couldn't figure out how to marshal the arguments to the function. For example I am not sure what the first argument ( long ) refers to.PB wrote:Have you tried to override http://docs.wxwidgets.org/3.1.0/classwx ... 585d46a5e6?
The second argument makes sense but it is not sufficient to locate a specific cell.
Re: How do I conditionally format a column of a virtual wxListCtrl?
"item" = row number.
Beware that his works only under MSW like stated in the documentation.
Beware that his works only under MSW like stated in the documentation.
Use the source, Luke!