Author: gschneider
Date: Sat Apr 10 16:58:31 2010
New Revision: 46814
URL:
http://svn.reactos.org/svn/reactos?rev=46814&view=rev
Log:
[SHELL32] Handle WM_CLOSE instead of WM_DESTROY to close the dialog
See issue #4226 for more details.
Modified:
trunk/reactos/dll/win32/shell32/she_ocmenu.c
Modified: trunk/reactos/dll/win32/shell32/she_ocmenu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/she_ocme…
==============================================================================
--- trunk/reactos/dll/win32/shell32/she_ocmenu.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/she_ocmenu.c [iso-8859-1] Sat Apr 10 16:58:31 2010
@@ -756,7 +756,7 @@
break;
}
break;
- case WM_DESTROY:
+ case WM_CLOSE:
FreeListItems(hwndDlg);
EndDialog(hwndDlg, 0);
return TRUE;