chore(ui): explicitly qualify enable call in CSimpleButton ctor

This commit is contained in:
fallenoak 2025-11-19 07:52:12 -06:00
parent b311764b25
commit 7cb26fbd86
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -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);
} }