TUNER_SLIDER: add missing skip event in wxFocusEvents.

This commit is contained in:
jean-pierre charras 2021-10-27 20:33:51 +02:00
parent 18318c73b5
commit cf6acae791
1 changed files with 4 additions and 0 deletions

View File

@ -202,24 +202,28 @@ void TUNER_SLIDER::onSliderChanged( wxScrollEvent& event )
void TUNER_SLIDER::onMaxKillFocus( wxFocusEvent& event )
{
updateMax();
event.Skip(); // Mandatory in wxFocusEvent
}
void TUNER_SLIDER::onValueKillFocus( wxFocusEvent& event )
{
updateValue();
event.Skip(); // Mandatory in wxFocusEvent
}
void TUNER_SLIDER::onMinKillFocus( wxFocusEvent& event )
{
updateMin();
event.Skip(); // Mandatory in wxFocusEvent
}
void TUNER_SLIDER::onMaxTextEnter( wxCommandEvent& event )
{
updateMax();
event.Skip(); // Mandatory in wxFocusEvent
}