]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use m_backing_window, it can't be drawn on
authorPaul Cornett <paulcor@bullseye.com>
Wed, 21 Jan 2009 16:58:06 +0000 (16:58 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Wed, 21 Jan 2009 16:58:06 +0000 (16:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/renderer.cpp

index e3c002a91a85830502eb841fa704b49c28a53f72..34554c2b63377b0ba3fddcdbd69906589ea8fb3d 100644 (file)
@@ -36,7 +36,6 @@
 #include "wx/dcgraph.h"
 #include "wx/gtk/dc.h"
 #include "wx/gtk/private.h"
-#include "wx/gtk/private/win_gtk.h"
 
 #include <gtk/gtk.h>
 
@@ -142,7 +141,7 @@ static GdkWindow* wxGetGdkWindowForDC(wxWindow* win, wxDC& dc)
     
 #if wxUSE_GRAPHICS_CONTEXT
     if ( dc.IsKindOf( CLASSINFO(wxGCDC) ) )
-        gdk_window = WX_PIZZA(win->m_wxwindow)->m_backing_window;   
+        gdk_window = win->GTKGetDrawingWindow();
     else
 #endif
     {