Mikołaj Zalewski : shell32: Use Yes/No instead of OK/ Cancel in confirm dialogs.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Aug 18 05:40:35 CDT 2006


Module: wine
Branch: master
Commit: 961881836e04d47e7d7cbfee2041f36ed608e057
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=961881836e04d47e7d7cbfee2041f36ed608e057

Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date:   Thu Aug 17 18:22:27 2006 +0200

shell32: Use Yes/No instead of OK/Cancel in confirm dialogs.

---

 dlls/shell32/shlfileop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index e05b2fa..fccc2ac 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -151,7 +151,7 @@ BOOL SHELL_ConfirmDialogW(HWND hWnd, int
         params.lpszText = szBuffer;
         params.lpszCaption = szCaption;
         params.lpszIcon = (LPWSTR)MAKEINTRESOURCE(ids.icon_resource_id);
-        params.dwStyle = MB_OKCANCEL | MB_USERICON;
+        params.dwStyle = MB_YESNO | MB_USERICON;
 
 	return (IDOK == MessageBoxIndirectW(&params));
 }




More information about the wine-cvs mailing list