Fix: PropertyGrid crash when you resize it after it resets
This commit is contained in:
@@ -3917,7 +3917,7 @@ static BOOL Grid_OnGetSel(INT iItem)
|
|||||||
static VOID Grid_OnResetContent(VOID)
|
static VOID Grid_OnResetContent(VOID)
|
||||||
{
|
{
|
||||||
ListBox_ResetContent(g_lpInst->hwndListMap);
|
ListBox_ResetContent(g_lpInst->hwndListMap);
|
||||||
|
g_lpInst->lpCurrent = NULL;
|
||||||
if (NULL != g_lpInst->hwndCtl1)
|
if (NULL != g_lpInst->hwndCtl1)
|
||||||
{
|
{
|
||||||
DestroyWindow(g_lpInst->hwndCtl1);
|
DestroyWindow(g_lpInst->hwndCtl1);
|
||||||
|
|||||||
Reference in New Issue
Block a user