Fix window closing in HideDropDownMenu
This commit is contained in:
@@ -515,7 +515,7 @@ int HideDropDownMenu(Window *pw)
|
||||
if (pw->window_class == dw->parent_wnd_class &&
|
||||
pw->window_number == dw->parent_wnd_num) {
|
||||
int parent_button = dw->parent_button;
|
||||
delete dw;
|
||||
dw->Close();
|
||||
return parent_button;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user