if (!win->m_isScrolling)
{
// and if it's over also send a general "changed" event
wxScrollEvent evtChanged(wxEVT_SCROLL_CHANGED, id, value, orient);
evtChanged.SetEventObject(win);
if (!win->m_isScrolling)
{
// and if it's over also send a general "changed" event
wxScrollEvent evtChanged(wxEVT_SCROLL_CHANGED, id, value, orient);
evtChanged.SetEventObject(win);