ENH: remove the event funcs

jira: [STUDIO-12081]
Change-Id: Ifb1126c162ec5b50d2a787a2c018b702946fd36f
This commit is contained in:
xin.zhang 2025-05-16 18:56:21 +08:00 committed by lane.wei
parent cd3219e665
commit d4ddbe9792
2 changed files with 0 additions and 13 deletions

View File

@ -117,18 +117,6 @@ PresetComboBox::PresetComboBox(wxWindow* parent, Preset::Type preset_type, const
// parameters for an icon's drawing
fill_width_height();
Bind(wxEVT_MOUSEWHEEL, [this](wxMouseEvent& e) {
if (m_suppress_change)
e.StopPropagation();
else
e.Skip();
});
Bind(wxEVT_COMBOBOX_DROPDOWN, [this](wxCommandEvent &) {
m_suppress_change = false;
});
Bind(wxEVT_COMBOBOX_CLOSEUP, [this](wxCommandEvent&) { m_suppress_change = true; });
Bind(wxEVT_COMBOBOX, &PresetComboBox::OnSelect, this);
}

View File

@ -123,7 +123,6 @@ protected:
int m_last_selected;
int m_em_unit;
bool m_suppress_change { true };
// BBS: ams
int m_filament_idx = -1;