]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/slider.cpp
Tried to find a non-existing bug in the cursor-code
[wxWidgets.git] / src / gtk / slider.cpp
index 74449d7641e5834f92a863a8d38aa1f7f936366c..e9997178d24361fd4855272ccd6e1294269ea532 100644 (file)
@@ -238,3 +238,14 @@ void wxSlider::ClearSel(void)
 {
 }
 
+bool wxSlider::IsOwnGtkWindow( GdkWindow *window )
+{
+  GtkRange *range = GTK_RANGE(m_widget);
+  return ( (window == GTK_WIDGET(range)->window) ||
+           (window == range->trough) ||
+          (window == range->slider) ||
+          (window == range->step_forw) ||
+          (window == range->step_back) );
+}
+
+