CrystalP/xbmc — comment on commit 06edd358d4e8c15baee0e9aef8c8a81ba265a302
File:  line 0
By pieh:

I would rather do something like

if (m_buttonControl.IsMarkedDirty())
MarkDirtyRegion();

Need to add simple IsMarkedDirty() getter but this way You don't have to get into too much details and it's more futureproof.