Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,12 +33,14 @@ class wxControl(wxControlPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxControl,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreControl(*_args,**_kwargs):
|
||||
val = wxControlPtr(apply(controlsc.new_wxPreControl,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -111,12 +113,14 @@ class wxButton(wxButtonPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxButton,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreButton(*_args,**_kwargs):
|
||||
val = wxButtonPtr(apply(controlsc.new_wxPreButton,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -170,12 +174,14 @@ class wxBitmapButton(wxBitmapButtonPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxBitmapButton,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreBitmapButton(*_args,**_kwargs):
|
||||
val = wxBitmapButtonPtr(apply(controlsc.new_wxPreBitmapButton,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -198,12 +204,14 @@ class wxCheckBox(wxCheckBoxPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxCheckBox,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreCheckBox(*_args,**_kwargs):
|
||||
val = wxCheckBoxPtr(apply(controlsc.new_wxPreCheckBox,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -241,12 +249,14 @@ class wxChoice(wxChoicePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxChoice,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreChoice(*_args,**_kwargs):
|
||||
val = wxChoicePtr(apply(controlsc.new_wxPreChoice,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -305,12 +315,14 @@ class wxComboBox(wxComboBoxPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxComboBox,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreComboBox(*_args,**_kwargs):
|
||||
val = wxComboBoxPtr(apply(controlsc.new_wxPreComboBox,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -351,12 +363,14 @@ class wxGauge(wxGaugePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxGauge,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreGauge(*_args,**_kwargs):
|
||||
val = wxGaugePtr(apply(controlsc.new_wxPreGauge,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -373,12 +387,14 @@ class wxStaticBox(wxStaticBoxPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxStaticBox,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreStaticBox(*_args,**_kwargs):
|
||||
val = wxStaticBoxPtr(apply(controlsc.new_wxPreStaticBox,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -395,12 +411,14 @@ class wxStaticLine(wxStaticLinePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxStaticLine,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreStaticLine(*_args,**_kwargs):
|
||||
val = wxStaticLinePtr(apply(controlsc.new_wxPreStaticLine,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -423,12 +441,14 @@ class wxStaticText(wxStaticTextPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxStaticText,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreStaticText(*_args,**_kwargs):
|
||||
val = wxStaticTextPtr(apply(controlsc.new_wxPreStaticText,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -481,12 +501,14 @@ class wxListBox(wxListBoxPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxListBox,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreListBox(*_args,**_kwargs):
|
||||
val = wxListBoxPtr(apply(controlsc.new_wxPreListBox,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -515,12 +537,14 @@ class wxCheckListBox(wxCheckListBoxPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxCheckListBox,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreCheckListBox(*_args,**_kwargs):
|
||||
val = wxCheckListBoxPtr(apply(controlsc.new_wxPreCheckListBox,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -705,12 +729,14 @@ class wxTextCtrl(wxTextCtrlPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxTextCtrl,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreTextCtrl(*_args,**_kwargs):
|
||||
val = wxTextCtrlPtr(apply(controlsc.new_wxPreTextCtrl,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -748,12 +774,14 @@ class wxScrollBar(wxScrollBarPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxScrollBar,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreScrollBar(*_args,**_kwargs):
|
||||
val = wxScrollBarPtr(apply(controlsc.new_wxPreScrollBar,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -785,12 +813,14 @@ class wxSpinButton(wxSpinButtonPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxSpinButton,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreSpinButton(*_args,**_kwargs):
|
||||
val = wxSpinButtonPtr(apply(controlsc.new_wxPreSpinButton,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -817,12 +847,14 @@ class wxStaticBitmap(wxStaticBitmapPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxStaticBitmap,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreStaticBitmap(*_args,**_kwargs):
|
||||
val = wxStaticBitmapPtr(apply(controlsc.new_wxPreStaticBitmap,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -879,12 +911,14 @@ class wxRadioBox(wxRadioBoxPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxRadioBox,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreRadioBox(*_args,**_kwargs):
|
||||
val = wxRadioBoxPtr(apply(controlsc.new_wxPreRadioBox,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -907,12 +941,14 @@ class wxRadioButton(wxRadioButtonPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxRadioButton,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreRadioButton(*_args,**_kwargs):
|
||||
val = wxRadioButtonPtr(apply(controlsc.new_wxPreRadioButton,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -986,12 +1022,14 @@ class wxSlider(wxSliderPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxSlider,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreSlider(*_args,**_kwargs):
|
||||
val = wxSliderPtr(apply(controlsc.new_wxPreSlider,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -1023,12 +1061,14 @@ class wxSpinCtrl(wxSpinCtrlPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxSpinCtrl,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreSpinCtrl(*_args,**_kwargs):
|
||||
val = wxSpinCtrlPtr(apply(controlsc.new_wxPreSpinCtrl,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
@@ -1054,12 +1094,14 @@ class wxToggleButton(wxToggleButtonPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(controlsc.new_wxToggleButton,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
def wxPreToggleButton(*_args,**_kwargs):
|
||||
val = wxToggleButtonPtr(apply(controlsc.new_wxPreToggleButton,_args,_kwargs))
|
||||
val.thisown = 1
|
||||
val._setOORInfo(self)
|
||||
return val
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user