oledlg: Remove the structure window property when we quit.
This commit is contained in:
parent
5f71b16d07
commit
04662b8c45
|
@ -615,6 +615,8 @@ static INT_PTR CALLBACK ps_dlg_proc(HWND hdlg, UINT msg, WPARAM wp, LPARAM lp)
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue