X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a624f6ed375e4dbf126743ff1068486cb5241a2..7198c3368055d88249a338eb33b21f051f674806:/src/dfb/dcclient.cpp?ds=inline diff --git a/src/dfb/dcclient.cpp b/src/dfb/dcclient.cpp index 47add960f3..2a13ea7e2b 100644 --- a/src/dfb/dcclient.cpp +++ b/src/dfb/dcclient.cpp @@ -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);