【发布时间】:2022-12-27 19:54:51
【问题描述】:
I am using wxSlider to adjust gain in my Windows C++ application. Bind() function code:
sliderAmp->Bind(wxEVT_COMMAND_SLIDER_UPDATED, wxScrollEventHandler(App::OnSliderAmpChanged), this);
With such an implementation, the effect of "bounce" of values appears, i.e. multiple identical values may appear.
How to change the code so that the gain control is more reasonable?
【问题讨论】: