Mike McCormack : comdlg32: Remove the property when destroy the dialog box.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Mar 10 14:51:48 CST 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Fri Mar 10 12:26:50 2006 +0900

comdlg32: Remove the property when destroy the dialog box.

---

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

diff --git a/dlls/commdlg/colordlg.c b/dlls/commdlg/colordlg.c
index 022e83f..ca00593 100644
--- a/dlls/commdlg/colordlg.c
+++ b/dlls/commdlg/colordlg.c
@@ -1220,7 +1220,7 @@ static INT_PTR CALLBACK ColorDlgProc( HW
 	                DeleteDC(lpp->hdcMem);
 	                DeleteObject(lpp->hbmMem);
                         HeapFree(GetProcessHeap(), 0, lpp);
-                        SetPropW( hDlg, szColourDialogProp, 0 );
+                        RemovePropW( hDlg, szColourDialogProp );
 	                break;
 	  case WM_COMMAND:
 	                if (CC_WMCommand( hDlg, wParam, lParam, HIWORD(wParam), (HWND) lParam))




More information about the wine-cvs mailing list