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(val)
return val
+class wxControlWithItemsPtr(wxControlPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Delete(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_Delete,(self,) + _args, _kwargs)
+ return val
+ def GetCount(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_GetCount,(self,) + _args, _kwargs)
+ return val
+ def GetString(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_GetString,(self,) + _args, _kwargs)
+ return val
+ def SetString(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_SetString,(self,) + _args, _kwargs)
+ return val
+ def FindString(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_FindString,(self,) + _args, _kwargs)
+ return val
+ def Select(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_Select,(self,) + _args, _kwargs)
+ return val
+ def GetSelection(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_GetSelection,(self,) + _args, _kwargs)
+ return val
+ def GetStringSelection(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_GetStringSelection,(self,) + _args, _kwargs)
+ return val
+ def Append(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_Append,(self,) + _args, _kwargs)
+ return val
+ def GetClientData(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_GetClientData,(self,) + _args, _kwargs)
+ return val
+ def SetClientData(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_SetClientData,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxControlWithItems instance at %s>" % (self.this,)
+ Number = GetCount
+class wxControlWithItems(wxControlWithItemsPtr):
+ def __init__(self,this):
+ self.this = this
+
+
+
+
class wxButtonPtr(wxControlPtr):
def __init__(self,this):
self.this = this
def SetForegroundColour(self, *_args, **_kwargs):
val = apply(controlsc.wxButton_SetForegroundColour,(self,) + _args, _kwargs)
return val
- def SetImageLabel(self, *_args, **_kwargs):
- val = apply(controlsc.wxButton_SetImageLabel,(self,) + _args, _kwargs)
- return val
- def SetImageMargins(self, *_args, **_kwargs):
- val = apply(controlsc.wxButton_SetImageMargins,(self,) + _args, _kwargs)
- return val
def __repr__(self):
return "<C wxButton instance at %s>" % (self.this,)
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(val)
return val
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(val)
return val
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(val)
return val
-class wxChoicePtr(wxControlPtr):
+class wxChoicePtr(wxControlWithItemsPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def Create(self, *_args, **_kwargs):
val = apply(controlsc.wxChoice_Create,(self,) + _args, _kwargs)
return val
- def Append(self, *_args, **_kwargs):
- val = apply(controlsc.wxChoice_Append,(self,) + _args, _kwargs)
- return val
def Clear(self, *_args, **_kwargs):
val = apply(controlsc.wxChoice_Clear,(self,) + _args, _kwargs)
return val
- def Delete(self, *_args, **_kwargs):
- val = apply(controlsc.wxChoice_Delete,(self,) + _args, _kwargs)
- return val
- def FindString(self, *_args, **_kwargs):
- val = apply(controlsc.wxChoice_FindString,(self,) + _args, _kwargs)
- return val
def GetColumns(self, *_args, **_kwargs):
val = apply(controlsc.wxChoice_GetColumns,(self,) + _args, _kwargs)
return val
- def GetSelection(self, *_args, **_kwargs):
- val = apply(controlsc.wxChoice_GetSelection,(self,) + _args, _kwargs)
- return val
- def GetString(self, *_args, **_kwargs):
- val = apply(controlsc.wxChoice_GetString,(self,) + _args, _kwargs)
- return val
- def GetStringSelection(self, *_args, **_kwargs):
- val = apply(controlsc.wxChoice_GetStringSelection,(self,) + _args, _kwargs)
- return val
- def GetCount(self, *_args, **_kwargs):
- val = apply(controlsc.wxChoice_GetCount,(self,) + _args, _kwargs)
- return val
def SetColumns(self, *_args, **_kwargs):
val = apply(controlsc.wxChoice_SetColumns,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxChoice instance at %s>" % (self.this,)
- Number = GetCount
Select = SetSelection
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(val)
return val
def Create(self, *_args, **_kwargs):
val = apply(controlsc.wxComboBox_Create,(self,) + _args, _kwargs)
return val
- def Append(self, *_args, **_kwargs):
- val = apply(controlsc.wxComboBox_Append,(self,) + _args, _kwargs)
- return val
- def Clear(self, *_args, **_kwargs):
- val = apply(controlsc.wxComboBox_Clear,(self,) + _args, _kwargs)
- return val
def Copy(self, *_args, **_kwargs):
val = apply(controlsc.wxComboBox_Copy,(self,) + _args, _kwargs)
return val
def Cut(self, *_args, **_kwargs):
val = apply(controlsc.wxComboBox_Cut,(self,) + _args, _kwargs)
return val
- def Delete(self, *_args, **_kwargs):
- val = apply(controlsc.wxComboBox_Delete,(self,) + _args, _kwargs)
- return val
- def FindString(self, *_args, **_kwargs):
- val = apply(controlsc.wxComboBox_FindString,(self,) + _args, _kwargs)
- return val
def GetInsertionPoint(self, *_args, **_kwargs):
val = apply(controlsc.wxComboBox_GetInsertionPoint,(self,) + _args, _kwargs)
return val
def GetLastPosition(self, *_args, **_kwargs):
val = apply(controlsc.wxComboBox_GetLastPosition,(self,) + _args, _kwargs)
return val
- def GetSelection(self, *_args, **_kwargs):
- val = apply(controlsc.wxComboBox_GetSelection,(self,) + _args, _kwargs)
- return val
- def GetString(self, *_args, **_kwargs):
- val = apply(controlsc.wxComboBox_GetString,(self,) + _args, _kwargs)
- return val
- def GetStringSelection(self, *_args, **_kwargs):
- val = apply(controlsc.wxComboBox_GetStringSelection,(self,) + _args, _kwargs)
- return val
def GetValue(self, *_args, **_kwargs):
val = apply(controlsc.wxComboBox_GetValue,(self,) + _args, _kwargs)
return val
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(val)
return val
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(val)
return val
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(val)
return val
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(val)
return val
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(val)
return val
-class wxListBoxPtr(wxControlPtr):
+class wxListBoxPtr(wxControlWithItemsPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def Create(self, *_args, **_kwargs):
val = apply(controlsc.wxListBox_Create,(self,) + _args, _kwargs)
return val
- def Append(self, *_args, **_kwargs):
- val = apply(controlsc.wxListBox_Append,(self,) + _args, _kwargs)
- return val
def Clear(self, *_args, **_kwargs):
val = apply(controlsc.wxListBox_Clear,(self,) + _args, _kwargs)
return val
- def Delete(self, *_args, **_kwargs):
- val = apply(controlsc.wxListBox_Delete,(self,) + _args, _kwargs)
- return val
def Deselect(self, *_args, **_kwargs):
val = apply(controlsc.wxListBox_Deselect,(self,) + _args, _kwargs)
return val
- def FindString(self, *_args, **_kwargs):
- val = apply(controlsc.wxListBox_FindString,(self,) + _args, _kwargs)
- return val
- def GetSelection(self, *_args, **_kwargs):
- val = apply(controlsc.wxListBox_GetSelection,(self,) + _args, _kwargs)
- return val
def GetSelections(self, *_args, **_kwargs):
val = apply(controlsc.wxListBox_GetSelections,(self,) + _args, _kwargs)
return val
def InsertItems(self, *_args, **_kwargs):
val = apply(controlsc.wxListBox_InsertItems,(self,) + _args, _kwargs)
return val
- def GetString(self, *_args, **_kwargs):
- val = apply(controlsc.wxListBox_GetString,(self,) + _args, _kwargs)
- return val
- def GetStringSelection(self, *_args, **_kwargs):
- val = apply(controlsc.wxListBox_GetStringSelection,(self,) + _args, _kwargs)
- return val
- def GetCount(self, *_args, **_kwargs):
- val = apply(controlsc.wxListBox_GetCount,(self,) + _args, _kwargs)
- return val
def IsSelected(self, *_args, **_kwargs):
val = apply(controlsc.wxListBox_IsSelected,(self,) + _args, _kwargs)
return val
return val
def __repr__(self):
return "<C wxListBox instance at %s>" % (self.this,)
- Number = GetCount
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(val)
return val
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(val)
return val
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(val)
return val
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(val)
return val
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(val)
return val
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(val)
return val
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(val)
return val
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(val)
return val
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(val)
return val
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(val)
return val
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(val)
return val