From f9e795297b8da1768b554b89304911469d54e75e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 3 Nov 2007 14:17:00 +0000 Subject: [PATCH] Move files to recycle bin when asked to svn path=/trunk/; revision=30089 --- reactos/dll/win32/shell32/recyclebin.c | 4 ++-- reactos/dll/win32/shell32/shell32.rbuild | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/reactos/dll/win32/shell32/recyclebin.c b/reactos/dll/win32/shell32/recyclebin.c index e2276f41060..6473a0920f8 100644 --- a/reactos/dll/win32/shell32/recyclebin.c +++ b/reactos/dll/win32/shell32/recyclebin.c @@ -806,6 +806,6 @@ TRASH_CanTrashFile(LPCWSTR wszPath) BOOL TRASH_TrashFile(LPCWSTR wszPath) { - FIXME("(%s)\n", debugstr_w(wszPath)); - return FALSE; + TRACE("(%s)\n", debugstr_w(wszPath)); + return DeleteFileToRecycleBinW(wszPath); } diff --git a/reactos/dll/win32/shell32/shell32.rbuild b/reactos/dll/win32/shell32/shell32.rbuild index 5d1d442ff33..c39dfd48e77 100644 --- a/reactos/dll/win32/shell32/shell32.rbuild +++ b/reactos/dll/win32/shell32/shell32.rbuild @@ -22,7 +22,6 @@ ole32 version devmgr - rtl winspool authors.c autocomplete.c