winefile: Add FOF_ALLOWUNDO to winefile to allow files go to trash.

This commit is contained in:
Mikołaj Zalewski 2008-02-28 08:51:40 +01:00 committed by Alexandre Julliard
parent edb91ce519
commit 7b4f499684
1 changed files with 1 additions and 1 deletions

View File

@ -4491,7 +4491,7 @@ static LRESULT CALLBACK ChildWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
case ID_FILE_DELETE: {
TCHAR path[BUFFER_LEN];
SHFILEOPSTRUCT shfo = {hwnd, FO_DELETE, path};
SHFILEOPSTRUCT shfo = {hwnd, FO_DELETE, path, NULL, FOF_ALLOWUNDO};
get_path(pane->cur, path);