hi lazy_learner,

what you want to disable? setBrush() function?

if you dont want then comment it
Bala