leo.zhou
2014-02-26 12:25:25 UTC
Hi,
Is there any specific API in wx to move a file to trash instead of
deleting it? currently, I use wxRenameFile to move file to ~/.Trash folder,
but this method is not good enough. I doesn't use each volume's trash
folder properly and the file cannot be put back from trash using Finder. I
think it's reasonable adding this functionality to wx, or just adding one
more parameter to wxRemove would be great. Thanks!
Leo
Is there any specific API in wx to move a file to trash instead of
deleting it? currently, I use wxRenameFile to move file to ~/.Trash folder,
but this method is not good enough. I doesn't use each volume's trash
folder properly and the file cannot be put back from trash using Finder. I
think it's reasonable adding this functionality to wx, or just adding one
more parameter to wxRemove would be great. Thanks!
Leo
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users