Don't assert on value change which shouldn't occur, but does. Closes bug 1672671
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -182,7 +182,6 @@ gtk_value_changed(GtkRange* range, wxSlider* win)
|
|||||||
// If integral position has changed
|
// If integral position has changed
|
||||||
if (wxRound(oldPos) != pos)
|
if (wxRound(oldPos) != pos)
|
||||||
{
|
{
|
||||||
wxCHECK_RET(eventType != wxEVT_NULL, _T("Unknown slider scroll event type"));
|
|
||||||
ProcessScrollEvent(win, eventType);
|
ProcessScrollEvent(win, eventType);
|
||||||
win->m_needThumbRelease = eventType == wxEVT_SCROLL_THUMBTRACK;
|
win->m_needThumbRelease = eventType == wxEVT_SCROLL_THUMBTRACK;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user