reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-11-21 04:03:37 +00:00
parent 13542f4946
commit e7e9d1b87f
11 changed files with 171 additions and 66 deletions

View File

@@ -4730,7 +4730,11 @@ class BufferedDC(MemoryDC):
Constructs a buffered DC.
"""
_gdi_.BufferedDC_swiginit(self,_gdi_.new_BufferedDC(*args))
self.__dc = args[0] # save a ref so the other dc will not be deleted before self
# save a ref so the other dc will not be deleted before self
self.__dc = args[0]
# also save a ref to the bitmap
if len(args) > 1: self.__bmp = args[1]
__swig_destroy__ = _gdi_.delete_BufferedDC
__del__ = lambda self : None;
@@ -4787,6 +4791,8 @@ class BufferedPaintDC(BufferedDC):
window is automatically used).
"""
_gdi_.BufferedPaintDC_swiginit(self,_gdi_.new_BufferedPaintDC(*args, **kwargs))
if len(args) > 1: self.__bmp = args[1]
_gdi_.BufferedPaintDC_swigregister(BufferedPaintDC)
#---------------------------------------------------------------------------