FIX: fix build error in WipeTowerDialog

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I4a9ff43de48c6e36338036a584e3c336849f040d
This commit is contained in:
yifan.wu 2022-12-12 22:53:16 +08:00 committed by Lane.Wei
parent 6ee7645b72
commit d0d90a8566
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ WipingPanel::WipingPanel(wxWindow* parent, const std::vector<float>& matrix, con
calc_btn->SetTextColor(calc_btn_text);
calc_btn->SetFocus();
calc_btn->SetId(wxID_RESET);
calc_btn->Bind(wxEVT_BUTTON, [this](wxCommandEvent&) { m_panel_wiping->calc_flushing_volumes(); });
calc_btn->Bind(wxEVT_BUTTON, [this](wxCommandEvent&) { this->calc_flushing_volumes(); });
calc_button = calc_btn;
#endif