]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/slider.cpp
Fix warning.
[wxWidgets.git] / src / gtk / slider.cpp
index 5e8098e47c84ee77c901b60749e153ceb3c6c49d..5cde6b19f657a5f6289e381b427b04937c5e9346 100644 (file)
@@ -401,10 +401,9 @@ int wxSlider::GetLineSize() const
     return int(gtk_range_get_adjustment (GTK_RANGE (m_widget))->step_increment);
 }
 
-bool wxSlider::IsOwnGtkWindow( GdkWindow *window )
+GdkWindow *wxSlider::GTKGetWindow(wxArrayGdkWindows& WXUNUSED(windows)) const
 {
-    GtkRange *range = GTK_RANGE(m_widget);
-    return (range->event_window == window);
+    return GTK_RANGE(m_widget)->event_window;
 }
 
 // static