+ GtkRange *range = GTK_RANGE(m_widget);
+#ifdef __WXGTK20__
+ return (range->event_window == window);
+#else
+ return ( (window == GTK_WIDGET(range)->window)
+ || (window == range->trough)
+ || (window == range->slider)
+ || (window == range->step_forw)
+ || (window == range->step_back) );
+#endif