X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0220cbc1695d01a55964f31987f2fe78cf212ca1..b66824a5720adb43ea82b95448fc8b014ef59d43:/wxPython/src/gtk/controls.py diff --git a/wxPython/src/gtk/controls.py b/wxPython/src/gtk/controls.py index 645e86913e..9220206e99 100644 --- a/wxPython/src/gtk/controls.py +++ b/wxPython/src/gtk/controls.py @@ -40,7 +40,7 @@ class wxControl(wxControlPtr): def wxPreControl(*_args,**_kwargs): val = wxControlPtr(apply(controlsc.new_wxPreControl,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -120,7 +120,7 @@ class wxButton(wxButtonPtr): def wxPreButton(*_args,**_kwargs): val = wxButtonPtr(apply(controlsc.new_wxPreButton,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -181,7 +181,7 @@ class wxBitmapButton(wxBitmapButtonPtr): def wxPreBitmapButton(*_args,**_kwargs): val = wxBitmapButtonPtr(apply(controlsc.new_wxPreBitmapButton,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -211,7 +211,7 @@ class wxCheckBox(wxCheckBoxPtr): def wxPreCheckBox(*_args,**_kwargs): val = wxCheckBoxPtr(apply(controlsc.new_wxPreCheckBox,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -256,7 +256,7 @@ class wxChoice(wxChoicePtr): def wxPreChoice(*_args,**_kwargs): val = wxChoicePtr(apply(controlsc.new_wxPreChoice,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -322,7 +322,7 @@ class wxComboBox(wxComboBoxPtr): def wxPreComboBox(*_args,**_kwargs): val = wxComboBoxPtr(apply(controlsc.new_wxPreComboBox,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -370,7 +370,7 @@ class wxGauge(wxGaugePtr): def wxPreGauge(*_args,**_kwargs): val = wxGaugePtr(apply(controlsc.new_wxPreGauge,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -394,7 +394,7 @@ class wxStaticBox(wxStaticBoxPtr): def wxPreStaticBox(*_args,**_kwargs): val = wxStaticBoxPtr(apply(controlsc.new_wxPreStaticBox,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -418,7 +418,7 @@ class wxStaticLine(wxStaticLinePtr): def wxPreStaticLine(*_args,**_kwargs): val = wxStaticLinePtr(apply(controlsc.new_wxPreStaticLine,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -448,7 +448,7 @@ class wxStaticText(wxStaticTextPtr): def wxPreStaticText(*_args,**_kwargs): val = wxStaticTextPtr(apply(controlsc.new_wxPreStaticText,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -508,7 +508,7 @@ class wxListBox(wxListBoxPtr): def wxPreListBox(*_args,**_kwargs): val = wxListBoxPtr(apply(controlsc.new_wxPreListBox,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -544,7 +544,7 @@ class wxCheckListBox(wxCheckListBoxPtr): def wxPreCheckListBox(*_args,**_kwargs): val = wxCheckListBoxPtr(apply(controlsc.new_wxPreCheckListBox,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -736,7 +736,7 @@ class wxTextCtrl(wxTextCtrlPtr): def wxPreTextCtrl(*_args,**_kwargs): val = wxTextCtrlPtr(apply(controlsc.new_wxPreTextCtrl,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -781,7 +781,7 @@ class wxScrollBar(wxScrollBarPtr): def wxPreScrollBar(*_args,**_kwargs): val = wxScrollBarPtr(apply(controlsc.new_wxPreScrollBar,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -820,7 +820,7 @@ class wxSpinButton(wxSpinButtonPtr): def wxPreSpinButton(*_args,**_kwargs): val = wxSpinButtonPtr(apply(controlsc.new_wxPreSpinButton,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -854,7 +854,7 @@ class wxStaticBitmap(wxStaticBitmapPtr): def wxPreStaticBitmap(*_args,**_kwargs): val = wxStaticBitmapPtr(apply(controlsc.new_wxPreStaticBitmap,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -918,7 +918,7 @@ class wxRadioBox(wxRadioBoxPtr): def wxPreRadioBox(*_args,**_kwargs): val = wxRadioBoxPtr(apply(controlsc.new_wxPreRadioBox,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -948,7 +948,7 @@ class wxRadioButton(wxRadioButtonPtr): def wxPreRadioButton(*_args,**_kwargs): val = wxRadioButtonPtr(apply(controlsc.new_wxPreRadioButton,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -1029,7 +1029,7 @@ class wxSlider(wxSliderPtr): def wxPreSlider(*_args,**_kwargs): val = wxSliderPtr(apply(controlsc.new_wxPreSlider,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -1068,7 +1068,7 @@ class wxSpinCtrl(wxSpinCtrlPtr): def wxPreSpinCtrl(*_args,**_kwargs): val = wxSpinCtrlPtr(apply(controlsc.new_wxPreSpinCtrl,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -1101,7 +1101,7 @@ class wxToggleButton(wxToggleButtonPtr): def wxPreToggleButton(*_args,**_kwargs): val = wxToggleButtonPtr(apply(controlsc.new_wxPreToggleButton,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val