]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/glcanvas.cpp
64 bit clean implementation
[wxWidgets.git] / src / gtk / glcanvas.cpp
index 3fc37ba80ec2047f0915f15532ea296ee654c97b..df96d5d8c84f95ac6a86ad691311277a86cb907b 100644 (file)
@@ -26,8 +26,6 @@
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
 
-#include "wx/gtk/win_gtk.h"
-
 #if WXWIN_COMPATIBILITY_2_8
 
 //-----------------------------------------------------------------------------
@@ -234,7 +232,7 @@ bool wxGLCanvas::Create(wxWindow *parent,
 
 Window wxGLCanvas::GetXWindow() const
 {
-    GdkWindow *window = GTK_PIZZA(m_wxwindow)->bin_window;
+    GdkWindow *window = m_wxwindow->window;
     return window ? GDK_WINDOW_XWINDOW(window) : 0;
 }