X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f91cd3896917fc386a1f7ede095c6cdf5fcdf7e6..8bf5d46efb26ab22575ca9bc0d0ca5d32d6b77a3:/utils/wxPython/src/gtk/utils.py diff --git a/utils/wxPython/src/gtk/utils.py b/utils/wxPython/src/gtk/utils.py index 321e6ed069..5d437af207 100644 --- a/utils/wxPython/src/gtk/utils.py +++ b/utils/wxPython/src/gtk/utils.py @@ -4,7 +4,7 @@ class wxConfigPtr : def __init__(self,this): self.this = this self.thisown = 0 - def __del__(self): + def __del__(self, utilsc=utilsc): if self.thisown == 1 : utilsc.delete_wxConfig(self.this) def DontCreateOnDemand(self):