X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d17d68f470c31f7c145b095eb1a3e0c2f581f30..8df136714c942b0ec62d6db550d752ab5d731357:/src/gtk/scrolbar.cpp?ds=sidebyside diff --git a/src/gtk/scrolbar.cpp b/src/gtk/scrolbar.cpp index ee6d3eec70..39aba4ce46 100644 --- a/src/gtk/scrolbar.cpp +++ b/src/gtk/scrolbar.cpp @@ -37,6 +37,7 @@ static void gtk_scrollbar_callback( GtkWidget *WXUNUSED(widget), wxScrollBar *wi float diff = win->m_adjust->value - win->m_oldPos; if (fabs(diff) < 0.2) return; + win->m_oldPos = win->m_adjust->value; wxEventType command = wxEVT_NULL;