X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef5c70f96f5e06e1c8f8119f51b99dd019583d2b..fc2d42090058bb7ebb9545b857a9a435ecbdd876:/src/gtk/scrolbar.cpp diff --git a/src/gtk/scrolbar.cpp b/src/gtk/scrolbar.cpp index f1d1efc384..00ea880973 100644 --- a/src/gtk/scrolbar.cpp +++ b/src/gtk/scrolbar.cpp @@ -57,7 +57,7 @@ extern "C" { static gboolean gtk_button_press_event(GtkRange*, GdkEventButton*, wxScrollBar* win) { - if (g_isIdle) wxapp_install_idle_handler(); + // don't need to install idle handler, its done from "event" signal win->m_mouseButtonDown = true; return false; @@ -98,8 +98,7 @@ extern "C" { static gboolean gtk_button_release_event(GtkRange* range, GdkEventButton*, wxScrollBar* win) { - if (g_isIdle) - wxapp_install_idle_handler(); + // don't need to install idle handler, its done from "event" signal win->m_mouseButtonDown = false; // If thumb tracking