mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-25 17:18:49 -07:00
ENH: remove the event funcs
jira: [STUDIO-12081] Change-Id: Ifb1126c162ec5b50d2a787a2c018b702946fd36f (cherry picked from commit d4ddbe97924b44d1fb19a4e80309c9a9aad42709)
This commit is contained in:
parent
1e9d825dbb
commit
ff003bbda0
2 changed files with 0 additions and 11 deletions
|
|
@ -118,16 +118,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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue