Added XRCed to the wxPython Tools directory, contributed by Roman
Rolinsky. Added wrappers for the default ctor and the Create methods for most window classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -423,6 +423,9 @@ class wxListCtrlPtr(wxControlPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(controls2c.wxListCtrl_Create,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def _setSelf(self, *_args, **_kwargs):
|
||||
val = apply(controls2c.wxListCtrl__setSelf,(self,) + _args, _kwargs)
|
||||
return val
|
||||
@@ -619,11 +622,15 @@ class wxListCtrl(wxListCtrlPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controls2c.new_wxListCtrl,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
#wx._StdWindowCallbacks(self)
|
||||
self._setSelf(self, wxListCtrl)
|
||||
|
||||
|
||||
|
||||
def wxPreListCtrl(*_args,**_kwargs):
|
||||
val = wxListCtrlPtr(apply(controls2c.new_wxPreListCtrl,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
|
||||
class wxTreeItemAttrPtr :
|
||||
def __init__(self,this):
|
||||
@@ -755,6 +762,9 @@ class wxTreeCtrlPtr(wxControlPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(controls2c.wxTreeCtrl_Create,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def _setSelf(self, *_args, **_kwargs):
|
||||
val = apply(controls2c.wxTreeCtrl__setSelf,(self,) + _args, _kwargs)
|
||||
return val
|
||||
@@ -1003,11 +1013,15 @@ class wxTreeCtrl(wxTreeCtrlPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controls2c.new_wxTreeCtrl,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
#wx._StdWindowCallbacks(self)
|
||||
self._setSelf(self, wxTreeCtrl)
|
||||
|
||||
|
||||
|
||||
def wxPreTreeCtrl(*_args,**_kwargs):
|
||||
val = wxTreeCtrlPtr(apply(controls2c.new_wxPreTreeCtrl,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user