]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/gdi.py
Use a local copy of the old wxBufferedDC classes until the ones in the
[wxWidgets.git] / wxPython / src / mac / gdi.py
index 16944575b5f3b767e16a4a62685027525520931d..99802424e6b18992ac107541a55facdae18b8bad 100644 (file)
@@ -2825,7 +2825,7 @@ class BufferedDC(MemoryDC):
         self.this = newobj.this
         self.thisown = 1
         del newobj.thisown
-        val._dc = args[0] # save a ref so the other dc will not be deleted before self
+        self._dc = args[0] # save a ref so the other dc will not be deleted before self
 
     def UnMask(*args, **kwargs):
         """UnMask()"""