[wxPython] How to delay event?

Hi ,

I want to have event handler proceed only one time.

even though, I clicked the button twice by mistake.

How can I do?