from events import *
import wx
-class wxColourDataPtr :
+class wxColourDataPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
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)
def __init__(self,*_args,**_kwargs):
self.this = apply(cmndlgsc.new_wxColourDialog,_args,_kwargs)
self.thisown = 1
- #wx._StdDialogCallbacks(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(cmndlgsc.new_wxDirDialog,_args,_kwargs)
self.thisown = 1
- #wx._StdDialogCallbacks(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(cmndlgsc.new_wxFileDialog,_args,_kwargs)
self.thisown = 1
- #wx._StdDialogCallbacks(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,_args,_kwargs)
self.thisown = 1
- #wx._StdDialogCallbacks(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(cmndlgsc.new_wxTextEntryDialog,_args,_kwargs)
self.thisown = 1
- #wx._StdDialogCallbacks(self)
-class wxFontDataPtr :
+class wxFontDataPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
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)
def __init__(self,*_args,**_kwargs):
self.this = apply(cmndlgsc.new_wxFontDialog,_args,_kwargs)
self.thisown = 1
- #wx._StdDialogCallbacks(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(cmndlgsc.new_wxMessageDialog,_args,_kwargs)
self.thisown = 1
- #wx._StdDialogCallbacks(self)