| 19 | import wx.lib.agw.aui as aui |
| 20 | |
| 21 | class FileDrop(wx.FileDropTarget): |
| 22 | def OnDropFiles(self, x, y, path): |
| 23 | print(["Open>{'path':'%s'}"%i for i in path]) |
| 24 | Macros('noname', ["Open>{'path':'%s'}"%i.replace('\\', '/') for i in path]).start() |
| 25 | return 0 |
| 26 | |
| 27 | class ImagePy(wx.Frame): |
| 28 | def __init__( self, parent ): |