comdlg32: Remove the property when destroy the dialog box.

This commit is contained in:
Mike McCormack 2006-03-10 12:26:50 +09:00 committed by Alexandre Julliard
parent 91b80fc8e2
commit e1ca87732b

View File

@ -1220,7 +1220,7 @@ static INT_PTR CALLBACK ColorDlgProc( HWND hDlg, UINT message,
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))