Dimi Paun wrote:
Depends. Right now this code does nothing (and I was going to remove it anyway) - the only place where clrTextBk is read from is in prepaint_setup() - but prepaint_setup() is not called for subitems (and the CLR_NONE override is only done for subitems).
Well, but that's the point: now that prepaint_setup() is always called (I agree with that change), this would do what we want if only we said the CLR_NONE _before_ the call to prepaint_setup() where it's being acted on.
Doesn't work because prepaint_setup() overrides the color again. Anyway, I'm revising my patches...
Felix