]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/spinbutt.cpp
completing the removal of PICT
[wxWidgets.git] / src / gtk / spinbutt.cpp
index c8e4780f1280981d7cfdd8a4d565108fbb213355..52e8d4ce8f273f4c18af14ee8f4faa438daecfe2 100644 (file)
@@ -198,7 +198,12 @@ void wxSpinButton::GtkEnableEvents() const
 
 GdkWindow *wxSpinButton::GTKGetWindow(wxArrayGdkWindows& WXUNUSED(windows)) const
 {
+#ifdef __WXGTK3__
+    // no access to internal GdkWindows
+    return NULL;
+#else
     return GTK_SPIN_BUTTON(m_widget)->panel;
+#endif
 }
 
 wxSize wxSpinButton::DoGetBestSize() const