Huw Davies : oledlg: Remove the structure window property when we
quit.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Oct 20 04:46:05 CDT 2006
Module: wine
Branch: master
Commit: 04662b8c453a0e9236aefd2083e95b3e8cbb9cc1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=04662b8c453a0e9236aefd2083e95b3e8cbb9cc1
Author: Huw Davies <huw at codeweavers.com>
Date: Thu Oct 19 12:44:43 2006 +0100
oledlg: Remove the structure window property when we quit.
---
dlls/oledlg/pastespl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/oledlg/pastespl.c b/dlls/oledlg/pastespl.c
index 7bb7435..ccfceca 100644
--- a/dlls/oledlg/pastespl.c
+++ b/dlls/oledlg/pastespl.c
@@ -615,6 +615,8 @@ static INT_PTR CALLBACK ps_dlg_proc(HWND
if(wp == IDOK)
update_structure(hdlg, ps_struct);
EndDialog(hdlg, wp);
+ /* native does its cleanup in WM_DESTROY */
+ RemovePropW(hdlg, prop_name);
free_structure(ps_struct);
return TRUE;
}
More information about the wine-cvs
mailing list