All pastes #969066 Raw Edit

Untitled

public python v1 · immutable
·published 2008-04-03 13:36 UTC
rendered paste body
for label in "0123456789":    btn = wx.Button(self, label=label)    def buttonHandler(self, value):        self.processKey(label)    self.Bind(wx.EVT_BUTTON, buttonHandler, object=btn)