mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 16:22:32 +03:00
chore(ui): explicitly qualify enable call in CSimpleButton ctor
This commit is contained in:
1 file changed
+1
-1
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user