X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9df61a29d2ff6ec6037c04a4da6d5418c1a5fbc9..b8fbf1a035db2af6d3aba89203263a4711cb7c53:/wxPython/src/gtk/cmndlgs.py diff --git a/wxPython/src/gtk/cmndlgs.py b/wxPython/src/gtk/cmndlgs.py index cbbb523526..02d1e711d8 100644 --- a/wxPython/src/gtk/cmndlgs.py +++ b/wxPython/src/gtk/cmndlgs.py @@ -29,7 +29,7 @@ class wxColourDataPtr(wxObjectPtr): return val def GetColour(self, *_args, **_kwargs): val = apply(cmndlgsc.wxColourData_GetColour,(self,) + _args, _kwargs) - if val: val = wxColourPtr(val) + if val: val = wxColourPtr(val) ; val.thisown = 1 return val def GetCustomColour(self, *_args, **_kwargs): val = apply(cmndlgsc.wxColourData_GetCustomColour,(self,) + _args, _kwargs) @@ -71,7 +71,6 @@ class wxColourDialog(wxColourDialogPtr): def __init__(self,*_args,**_kwargs): self.this = apply(cmndlgsc.new_wxColourDialog,_args,_kwargs) self.thisown = 1 - #wx._StdDialogCallbacks(self) @@ -104,7 +103,6 @@ class wxDirDialog(wxDirDialogPtr): def __init__(self,*_args,**_kwargs): self.this = apply(cmndlgsc.new_wxDirDialog,_args,_kwargs) self.thisown = 1 - #wx._StdDialogCallbacks(self) @@ -170,7 +168,6 @@ class wxFileDialog(wxFileDialogPtr): def __init__(self,*_args,**_kwargs): self.this = apply(cmndlgsc.new_wxFileDialog,_args,_kwargs) self.thisown = 1 - #wx._StdDialogCallbacks(self) @@ -197,7 +194,6 @@ class wxSingleChoiceDialog(wxSingleChoiceDialogPtr): def __init__(self,*_args,**_kwargs): self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,_args,_kwargs) self.thisown = 1 - #wx._StdDialogCallbacks(self) @@ -221,7 +217,6 @@ class wxTextEntryDialog(wxTextEntryDialogPtr): def __init__(self,*_args,**_kwargs): self.this = apply(cmndlgsc.new_wxTextEntryDialog,_args,_kwargs) self.thisown = 1 - #wx._StdDialogCallbacks(self) @@ -241,7 +236,7 @@ class wxFontDataPtr(wxObjectPtr): return val def GetColour(self, *_args, **_kwargs): val = apply(cmndlgsc.wxFontData_GetColour,(self,) + _args, _kwargs) - if val: val = wxColourPtr(val) + if val: val = wxColourPtr(val) ; val.thisown = 1 return val def GetChosenFont(self, *_args, **_kwargs): val = apply(cmndlgsc.wxFontData_GetChosenFont,(self,) + _args, _kwargs) @@ -302,7 +297,6 @@ class wxFontDialog(wxFontDialogPtr): def __init__(self,*_args,**_kwargs): self.this = apply(cmndlgsc.new_wxFontDialog,_args,_kwargs) self.thisown = 1 - #wx._StdDialogCallbacks(self) @@ -320,7 +314,6 @@ class wxMessageDialog(wxMessageDialogPtr): def __init__(self,*_args,**_kwargs): self.this = apply(cmndlgsc.new_wxMessageDialog,_args,_kwargs) self.thisown = 1 - #wx._StdDialogCallbacks(self)