]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolbar.cpp
include wx/thread.h in debug build which is needed after last change
[wxWidgets.git] / src / gtk / scrolbar.cpp
index f1d1efc384dd28e1aac76e68a132a227f4545280..00ea88097329bf6c5205f06d55c51726004bc47c 100644 (file)
@@ -57,7 +57,7 @@ extern "C" {
 static gboolean
 gtk_button_press_event(GtkRange*, GdkEventButton*, wxScrollBar* win)
 {
 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;
 
     win->m_mouseButtonDown = true;
     return false;
@@ -98,8 +98,7 @@ extern "C" {
 static gboolean
 gtk_button_release_event(GtkRange* range, GdkEventButton*, wxScrollBar* win)
 {
 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
 
     win->m_mouseButtonDown = false;
     // If thumb tracking