Huw Davies : oledlg: Set the user supplied caption.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 20 04:45:54 CDT 2006


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Oct 18 21:08:43 2006 +0100

oledlg: Set the user supplied caption.

---

 dlls/oledlg/pastespl.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/oledlg/pastespl.c b/dlls/oledlg/pastespl.c
index 4eeceff..c2c0022 100644
--- a/dlls/oledlg/pastespl.c
+++ b/dlls/oledlg/pastespl.c
@@ -154,6 +154,9 @@ static INT_PTR CALLBACK ps_dlg_proc(HWND
 
         SetPropW(hdlg, prop_name, ps_struct);
 
+        if(ps_struct->ps->lpszCaption)
+            SetWindowTextW(hdlg, ps_struct->ps->lpszCaption);
+
         return TRUE; /* use default focus */
     }
     case WM_COMMAND:




More information about the wine-cvs mailing list