X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a624f6ed375e4dbf126743ff1068486cb5241a2..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/src/dfb/dcclient.cpp diff --git a/src/dfb/dcclient.cpp b/src/dfb/dcclient.cpp index 47add960f3..c5b89fbfc2 100644 --- a/src/dfb/dcclient.cpp +++ b/src/dfb/dcclient.cpp @@ -3,7 +3,6 @@ // Purpose: wxWindowDCImpl, wxClientDCImpl and wxPaintDC // Author: Vaclav Slavik // Created: 2006-08-10 -// RCS-ID: $Id$ // Copyright: (c) 2006 REA Elektronik GmbH // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -107,7 +106,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 +210,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);