mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-25 07:13:52 +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() {
|
CSimpleFrame::~CSimpleFrame() {
|
||||||
// TODO
|
|
||||||
|
|
||||||
this->m_intAC = 3;
|
this->m_intAC = 3;
|
||||||
|
|
||||||
this->m_top->UnregisterFrame(this);
|
this->m_top->UnregisterFrame(this);
|
||||||
this->m_top = nullptr;
|
this->m_top = nullptr;
|
||||||
|
|
||||||
|
if (this->m_titleRegion) {
|
||||||
|
delete this->m_titleRegion;
|
||||||
|
}
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user