mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
chore(ui): explicitly qualify enable call in CSimpleButton ctor
This commit is contained in:
parent
b311764b25
commit
7cb26fbd86
@ -41,7 +41,7 @@ CSimpleButton::CSimpleButton(CSimpleFrame* parent) : CSimpleFrame(parent) {
|
|||||||
this->m_textures[BUTTONSTATE_NORMAL] = nullptr;
|
this->m_textures[BUTTONSTATE_NORMAL] = nullptr;
|
||||||
this->m_textures[BUTTONSTATE_PUSHED] = nullptr;
|
this->m_textures[BUTTONSTATE_PUSHED] = nullptr;
|
||||||
|
|
||||||
this->Enable(1);
|
CSimpleButton::Enable(1);
|
||||||
this->EnableEvent(SIMPLE_EVENT_MOUSE, -1);
|
this->EnableEvent(SIMPLE_EVENT_MOUSE, -1);
|
||||||
this->SetFrameFlag(0x10000, 1);
|
this->SetFrameFlag(0x10000, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user