]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/slider.cpp
updated setup.h for OpenVMS
[wxWidgets.git] / src / gtk / slider.cpp
index ef87595541364f3aa0194361cbbaf6f1cc8178b2..78f0d118089c74c7bc771ec78d0e928a96291c49 100644 (file)
@@ -521,7 +521,12 @@ int wxSlider::GetLineSize() const
 
 GdkWindow *wxSlider::GTKGetWindow(wxArrayGdkWindows& WXUNUSED(windows)) const
 {
+#ifdef __WXGTK3__
+    // no access to internal GdkWindows
+    return NULL;
+#else
     return GTK_RANGE(m_scale)->event_window;
+#endif
 }
 
 // static