]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/dcclient.cpp
Add test for absence of events from wxSpinCtrlDouble ctor.
[wxWidgets.git] / src / dfb / dcclient.cpp
index 47add960f36227e516bcb70e529abe2102a871ca..c5b89fbfc2f7b044cf25cd122403d41ce0162b0b 100644 (file)
@@ -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);