mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-07 23:29:54 +03:00
feat(ui): delete title region in CSimpleFrame dtor
This commit is contained in:
1 file changed
+4
-2
@@ -64,13 +64,15 @@ CSimpleFrame::CSimpleFrame(CSimpleFrame* parent) : CScriptRegion() {
|
||||
}
|
||||
|
||||
CSimpleFrame::~CSimpleFrame() {
|
||||
// TODO
|
||||
|
||||
this->m_intAC = 3;
|
||||
|
||||
this->m_top->UnregisterFrame(this);
|
||||
this->m_top = nullptr;
|
||||
|
||||
if (this->m_titleRegion) {
|
||||
delete this->m_titleRegion;
|
||||
}
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user