From: Steven P. <n9...@n9...> - 2004-04-06 23:08:27
|
On Apr 6, 2004, at 5:52 PM, Steven Palm wrote: > Strange, I'm still digging but can't grok why the dragndrop events > aren't coming through... The OnDrop() method is never called. > Hmmmm.... Interesting... I put in a drop event on the LogWindow, just to test... (in __init__) self.droptarget=MyFileDropTarget(self) self.SetDropTarget(self.droptarget) print "LogWindow Drop Target:",self.droptarget Didn't work. However, if I changed the self.SetDropTarget() to self.tb.SetDropTarget(), it worked. So, it is something with not being attached to a proper wx control? I dunno.... Just throwing this out to see if it rings any bells for you. :-) |