]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/spinbutt.cpp
removed stray return from SetFont()
[wxWidgets.git] / src / gtk / spinbutt.cpp
index 6dbfe5b1072db1efe7e228790889b77bfce6c0c2..25c26b63a02d52409341419ab43c283f0b8221ec 100644 (file)
@@ -176,9 +176,9 @@ void wxSpinButton::OnSize( wxSizeEvent &WXUNUSED(event) )
     gtk_widget_set_size_request( m_widget, m_width, m_height );
 }
 
-bool wxSpinButton::IsOwnGtkWindow( GdkWindow *window )
+GdkWindow *wxSpinButton::GTKGetWindow(wxArrayGdkWindows& WXUNUSED(windows)) const
 {
-    return GTK_SPIN_BUTTON(m_widget)->panel == window;
+    return GTK_SPIN_BUTTON(m_widget)->panel;
 }
 
 wxSize wxSpinButton::DoGetBestSize() const