]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/glcanvas.cpp
Integrate with GNOME's Recent Documents menu.
[wxWidgets.git] / src / gtk / glcanvas.cpp
index 2525acf3e9dc516107f54a472852119462aa4f91..89ffe1ba9f50e0fccba7c30274fe8e5a6bd48b27 100644 (file)
@@ -247,7 +247,7 @@ bool wxGLCanvas::Create(wxWindow *parent,
 
 Window wxGLCanvas::GetXWindow() const
 {
-    GdkWindow *window = m_wxwindow->window;
+    GdkWindow* window = GTKGetDrawingWindow();
     return window ? GDK_WINDOW_XWINDOW(window) : 0;
 }