]> git.saurik.com Git - wxWidgets.git/commitdiff
Corected GetXWindow macro for wxGTK port. (Bug# 1033681)
authorRobin Dunn <robin@alldunn.com>
Fri, 24 Sep 2004 16:18:37 +0000 (16:18 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 24 Sep 2004 16:18:37 +0000 (16:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/helpers.cpp

index dc4666b41da73063ecf6dd9fc419d3ba1d6bc95e..f411f31ee8bf4f2a55f49e786edf2c89be23cacf 100644 (file)
@@ -28,7 +28,7 @@
 #include <gtk/gtk.h>
 #include <gdk/gdkprivate.h>
 #include <wx/gtk/win_gtk.h>
-#define GetXWindow(wxwin)   GDK_WINDOW_XWINDOW((wxwin)->m_widget->window)
+#define GetXWindow(wxwin) GDK_WINDOW_XWINDOW(GTK_PIZZA((wxwin)->m_wxwindow)->bin_window)
 #include <locale.h>
 #endif