FIX: remove hover bitmap
reset a hover bitmap lead to dark color be reset Change-Id: I779a0a63403ae1b8555018359765285c86fc5d47
This commit is contained in:
parent
4d8ad0003b
commit
a1b243f2d9
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue