mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(ui): delete title region in CSimpleFrame dtor
This commit is contained in:
parent
cded0d86e7
commit
daba2a1ffd
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user