Re: [PATCH 2/2] comctl32/propsheet: Make the PROPSHEET_RemovePage function similar to PROPSHEET_CleanUp
9 Mar
2017
9 Mar
'17
10:18 p.m.
On 09.03.2017 23:20, Hermès BÉLUSCA-MAÏTO wrote:
[PATCH 2/2] comctl32/propsheet: Make the PROPSHEET_RemovePage function similar to PROPSHEET_CleanUp:
- Use an auxiliary psp pointer to hold the psInfo->proppage[index].hpage;
- Check psInfo->proppage[index].hwndPage before destroying the associated window.
/* Destroy page dialog window */ - DestroyWindow(psInfo->proppage[index].hwndPage); + if(psInfo->proppage[index].hwndPage) + DestroyWindow(psInfo->proppage[index].hwndPage);
Why is this important?
3290
Age (days ago)
3290
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov