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
This commit is contained in:
@@ -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
|
||||
"
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user