]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/dcclient.cpp
Merge in from trunk r64802 - r68625
[wxWidgets.git] / src / dfb / dcclient.cpp
index 47add960f36227e516bcb70e529abe2102a871ca..2a13ea7e2b1f07f51b9a297d4ea89106bd237eaa 100644 (file)
@@ -107,7 +107,7 @@ void wxWindowDCImpl::InitForWin(wxWindow *win, const wxRect *rect)
 {
     wxCHECK_RET( win, "invalid window" );
 
-    m_win = win;
+    m_window = win;
 
     // obtain the surface used for painting:
     wxPoint origin;
@@ -211,7 +211,7 @@ wxWindowDCImpl::~wxWindowDCImpl()
     {
         // paint overlays on top of the surface being drawn to by this DC
         // before showing anything on the screen:
-        m_win->PaintOverlays(m_winRect);
+        GetWindow()->PaintOverlays(m_winRect);
 
         DFBSurfaceCapabilities caps = DSCAPS_NONE;
         surface->GetCapabilities(&caps);