mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
comdlg32: Remove the property when destroy the dialog box.
This commit is contained in:
parent
91b80fc8e2
commit
e1ca87732b
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user