Removed unused variables in DoubleSlider::Control

This commit is contained in:
enricoturri1966 2020-12-10 15:22:18 +01:00
parent cc7dbf8925
commit 740ffc03b4
2 changed files with 0 additions and 8 deletions

View file

@ -1359,10 +1359,6 @@ void Control::OnMotion(wxMouseEvent& event)
m_focus = fiLowerThumb; m_focus = fiLowerThumb;
else if (is_point_in_rect(pos, m_rect_higher_thumb)) else if (is_point_in_rect(pos, m_rect_higher_thumb))
m_focus = fiHigherThumb; m_focus = fiHigherThumb;
else if (is_point_in_rect(pos, m_rect_lower_thumb_text))
m_focus = fiLowerThumbText;
else if (is_point_in_rect(pos, m_rect_higher_thumb_text))
m_focus = fiHigherThumbText;
else { else {
m_focus = fiTick; m_focus = fiTick;
tick = get_tick_near_point(pos); tick = get_tick_near_point(pos);

View file

@ -43,8 +43,6 @@ enum FocusedItem {
fiActionIcon, fiActionIcon,
fiLowerThumb, fiLowerThumb,
fiHigherThumb, fiHigherThumb,
fiLowerThumbText,
fiHigherThumbText,
fiTick fiTick
}; };
@ -373,8 +371,6 @@ private:
wxRect m_rect_lower_thumb; wxRect m_rect_lower_thumb;
wxRect m_rect_higher_thumb; wxRect m_rect_higher_thumb;
mutable wxRect m_rect_lower_thumb_text;
mutable wxRect m_rect_higher_thumb_text;
wxRect m_rect_tick_action; wxRect m_rect_tick_action;
wxRect m_rect_one_layer_icon; wxRect m_rect_one_layer_icon;
wxRect m_rect_revert_icon; wxRect m_rect_revert_icon;