Make scrolled list throw 'wakeup' events:

This commit is contained in:
Greg Wiatroski 2007-06-05 20:50:33 +00:00
parent aeae2e0198
commit a94605bc0b
1 changed files with 3 additions and 1 deletions

View File

@ -311,6 +311,7 @@ class DirectScrolledList(DirectFrame):
#print "incButtonDown: adding ", taskName
taskMgr.add(task, taskName)
self.scrollBy(task.delta)
messenger.send('wakeup')
def __decButtonDown(self, event):
assert self.notify.debugStateCall(self)
@ -322,7 +323,8 @@ class DirectScrolledList(DirectFrame):
#print "decButtonDown: adding ", taskName
taskMgr.add(task, taskName)
self.scrollBy(task.delta)
messenger.send('wakeup')
def __buttonUp(self, event):
assert self.notify.debugStateCall(self)
taskName = self.taskName("scroll")