Re: [PATCH 2/2] comctl32/propsheet: Make the PROPSHEET_RemovePage function similar to PROPSHEET_CleanUp
March 9, 2017
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?
3305
Age (days ago)
3305
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov