mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Disambiguate state_handler.attach() call in Button.cpp
This commit is contained in:
@@ -48,7 +48,7 @@ Button::Button(wxWindow* parent, wxString text, wxString icon, long style, int i
|
|||||||
bool Button::Create(wxWindow* parent, wxString text, wxString icon, long style, int iconSize, wxWindowID btn_id)
|
bool Button::Create(wxWindow* parent, wxString text, wxString icon, long style, int iconSize, wxWindowID btn_id)
|
||||||
{
|
{
|
||||||
StaticBox::Create(parent, btn_id, wxDefaultPosition, wxDefaultSize, style);
|
StaticBox::Create(parent, btn_id, wxDefaultPosition, wxDefaultSize, style);
|
||||||
state_handler.attach({&text_color});
|
state_handler.attach(std::vector<StateColor const*>{&text_color});
|
||||||
state_handler.update_binds();
|
state_handler.update_binds();
|
||||||
//BBS set default font
|
//BBS set default font
|
||||||
SetFont(Label::Body_14);
|
SetFont(Label::Body_14);
|
||||||
|
|||||||
Reference in New Issue
Block a user