From 42ac4a136f0b827a5193030c2c970b845161d653 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 26 Feb 2003 04:13:04 +0000 Subject: [PATCH] These hacks shouldn't be needed any longer with the new way that the __del__ methods are generated. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/gdi.i | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/wxPython/src/gdi.i b/wxPython/src/gdi.i index bed4da5640..b27ca1d434 100644 --- a/wxPython/src/gdi.i +++ b/wxPython/src/gdi.i @@ -101,14 +101,6 @@ public: void SetQuality(int q); #endif - %pragma(python) addtoclass = " - def __del__(self,gdic=gdic): - try: - if self.thisown == 1 : - gdic.delete_wxBitmap(self) - except: - pass -" }; @@ -237,14 +229,6 @@ public: #endif void CopyFromBitmap(const wxBitmap& bmp); - %pragma(python) addtoclass = " - def __del__(self,gdic=gdic): - try: - if self.thisown == 1 : - gdic.delete_wxIcon(self) - except: - pass -" };