Description

The actual problem I observed was that SendSpinUpdate was sometimes not triggered from wxSpinCtrl::MSWOnScroll due to m_oldValue != new_value being incorrectly false following a call to wxSpinCtrl::SetValue(const wxString&). I changed my own code to use wxSpinCtrl::SetValue(int val), which fixes it for me and is better, but others may still run into the problem.