FIX: remove hover bitmap

reset a hover bitmap lead to dark color be reset

Change-Id: I779a0a63403ae1b8555018359765285c86fc5d47
This commit is contained in:
liz.li 2023-07-20 20:54:25 +08:00 committed by Lane.Wei
parent 4d8ad0003b
commit a1b243f2d9

View file

@ -384,13 +384,13 @@ CaliPageCaption::CaliPageCaption(wxWindow* parent, CalibMode cali_mode,
top_sizer->Fit(this); top_sizer->Fit(this);
// hover effect // hover effect
m_prev_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) { //m_prev_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) {
m_prev_btn->SetBitmap(m_prev_bmp_hover.bmp()); // m_prev_btn->SetBitmap(m_prev_bmp_hover.bmp());
}); //});
m_prev_btn->Bind(wxEVT_LEAVE_WINDOW, [this](auto& e) { //m_prev_btn->Bind(wxEVT_LEAVE_WINDOW, [this](auto& e) {
m_prev_btn->SetBitmap(m_prev_bmp_normal.bmp()); // m_prev_btn->SetBitmap(m_prev_bmp_normal.bmp());
}); //});
// hover effect // hover effect
//m_help_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) { //m_help_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) {