Ticket #1107 (new defect)

Opened 7 months ago

Unable to assign both a droppedTextHandler and DroppedFileHandler to the same object

Reported by: nate Assigned to: somebody
Priority: major Milestone: 0.8.3
Component: ui Version:
Keywords: Cc:

Description

I can assign them. It just doesn't handle both of them.

I know that the problem exists where we need a wx.FileDropTarget? and a wx.TextDropTarget? object and we have them for each handler, but each object can only have one at a time because they both are set using self.SetDropTarget?. I think the solution is to combine the classes. Ed, Paul, any ideas? The code in question is dPemMixin.py lines 1786 - 1824.

I am leaving this unassigned for now because I don't have time to look at it. If someone wants it take it, otherwise I will grab it when I have time.

Problem exists on Linux and Windows. Heres the version info for Windows:

Platform: Win Python Version: 2.5 on win32 Dabo Version: Version 0.9a; Revision 3557 UI Version: 2.8.3.0 on wxMSW