But it is not working as I expected:
Code: Select all
m_drop_threshold_ctrl = new wxSpinCtrlDouble(this, wxID_ANY, "0.5");
m_drop_threshold_ctrl->SetIncrement(0.05);
m_drop_threshold_ctrl->SetValue(0.5);
Where am I going wrong?
Here is the class reference: https://docs.wxwidgets.org/3.0/classwx_ ... ouble.html