X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab9bc19bd1c0347b73a55b5a642f4d590aa76d43..29672bf006a8b8422deb530594d1e7b431f6f68c:/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):