feat(ui): add unregister frame call to CSimpleFrame dtor

This commit is contained in:
fallenoak 2023-02-19 11:13:38 -06:00
parent 82be126eee
commit 9afd844d5a
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
3 changed files with 9 additions and 0 deletions

View file

@ -576,3 +576,9 @@ void CSimpleTop::UnregisterForEvent(CSimpleFrame* frame, CSimpleEventType event,
}
}
}
void CSimpleTop::UnregisterFrame(CSimpleFrame* frame) {
this->HideFrame(frame, 0);
// TODO strata
}