views:

11

answers:

0

To implement a custom button I've subclassed NSButtonCell and overridden -drawWithFrame:inView: as suggested in Cocoa documentation. Everything's working fine, but why is the method -drawWithFrame:inView: invoked 3 times everytime it needs to draw or redraw the cell?