As a side note, this is a VERY easy mistake to make. It's one that
Python can't catch, and it is difficult to detect, because as you
noted, the function did seem to get called once. For beginners,
it's worth taking a minute to work out exactly why this fails, so
that you get in the habit of triple-checking every call to Bind.
As a hint, the parens mean that OnClockTick was called before Bind
was called, when Python was preparing the parameters. OnClockTick
returns None, so what Bind actually saw was (wx.EVT_TIMER, None);
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.