_gain = add (new wxSpinCtrlDouble (this));
add (_("dB"), false);
- _gain->SetRange (-144, 0);
+ _gain->SetRange (-144, 18);
_gain->SetDigits (1);
_gain->SetIncrement (0.1);
_gain->SetValue (linear_to_db(v));
layout ();
+
+ _gain->SetFocus ();
}
float