+class wxValidatorPtr(wxEvtHandlerPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Clone(self, *_args, **_kwargs):
+ val = apply(windowsc.wxValidator_Clone,(self,) + _args, _kwargs)
+ if val: val = wxValidatorPtr(val)
+ return val
+ def GetWindow(self, *_args, **_kwargs):
+ val = apply(windowsc.wxValidator_GetWindow,(self,) + _args, _kwargs)
+ if val: val = wxWindowPtr(val)
+ return val
+ def SetWindow(self, *_args, **_kwargs):
+ val = apply(windowsc.wxValidator_SetWindow,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxValidator instance at %s>" % (self.this,)
+class wxValidator(wxValidatorPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(windowsc.new_wxValidator,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxPyValidatorPtr(wxValidatorPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Destroy(self, *_args, **_kwargs):
+ val = apply(windowsc.wxPyValidator_Destroy,(self,) + _args, _kwargs)
+ return val
+ def _setSelf(self, *_args, **_kwargs):
+ val = apply(windowsc.wxPyValidator__setSelf,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxPyValidator instance at %s>" % (self.this,)
+class wxPyValidator(wxPyValidatorPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(windowsc.new_wxPyValidator,_args,_kwargs)
+ self.thisown = 1
+ self._setSelf(self, 0)
+
+
+
+