]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolbar.cpp
tooltip bug (which I introduced recently) corrected
[wxWidgets.git] / src / gtk / scrolbar.cpp
index ee6d3eec70e5da7bd70943986c6b5a931f47fd48..39aba4ce4698c1624b0b0010966f4628a85f11ce 100644 (file)
@@ -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;