Widget not redrawn?

I am calling PtDamageWidget(); but my paint method is not being called. The
method is however called when another window has been in front of my window
and my window comes up to the top again. Anyone know what the problem is?