How to implement CUT feature by wx.Clipboard or wx.TheClipboard

Currently I used wx.TheClipboard to add a file or directory into clipboard
and it is works fine. Is it a way to implement the cut feature just like the
feature in the explorer? If it is possible, then the file could be cut in my
application and paste in the system explorer.

    def OnExplorerCopy(self, event):
        item_path = self.genericDirTree.GetPath()
        fo = wx.FileDataObject()
        fo.AddFile(item_path)
        tcb = wx.TheClipboard
        if tcb.Open():
            tcb.SetData(fo)
            tcb.Close()

The copied data could get by:
wx.TheClipboard.GetData(filedataObj)

The application is developed and run on window platform. Any suggestions
will be appreciated. Thanks in advance!

···

-----
I become to love to write program ever since got in university. The programming languages I have learned from collage lessons are C and Assembly. My interest drive me to learn all the other things. Currently I'm working at Ideal Energy (http://www.idealenergy.com) as a software developer.
My undergraduate degree is Electrical Engineering and Automation. Graduate degree is Power Electronics and Power Drives. Personal favorite programming languages are C, C++, C# and Python.
--
View this message in context: http://wxpython-users.1045709.n5.nabble.com/How-to-implement-CUT-feature-by-wx-Clipboard-or-wx-TheClipboard-tp5720423.html
Sent from the wxPython-users mailing list archive at Nabble.com.