return val
-class wxComboBoxPtr(wxChoicePtr):
+class wxComboBoxPtr(wxControlPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def SetEditable(self, *_args, **_kwargs):
val = apply(controlsc.wxComboBox_SetEditable,(self,) + _args, _kwargs)
return val
+ def Clear(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_Clear,(self,) + _args, _kwargs)
+ return val
+ def Delete(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_Delete,(self,) + _args, _kwargs)
+ return val
+ def GetCount(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_GetCount,(self,) + _args, _kwargs)
+ return val
+ def GetString(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_GetString,(self,) + _args, _kwargs)
+ return val
+ def FindString(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_FindString,(self,) + _args, _kwargs)
+ return val
+ def GetSelection(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_GetSelection,(self,) + _args, _kwargs)
+ return val
+ def GetStringSelection(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_GetStringSelection,(self,) + _args, _kwargs)
+ return val
+ def Append(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_Append,(self,) + _args, _kwargs)
+ return val
+ def GetClientData(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_GetClientData,(self,) + _args, _kwargs)
+ return val
+ def SetClientData(self, *_args, **_kwargs):
+ val = apply(controlsc.wxComboBox_SetClientData,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxComboBox instance at %s>" % (self.this,)
+ Number = GetCount
+ Select = SetSelection
class wxComboBox(wxComboBoxPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(controlsc.new_wxComboBox,_args,_kwargs)
def GetSelection(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_GetSelection,(self,) + _args, _kwargs)
return val
+ def GetStringSelection(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_GetStringSelection,(self,) + _args, _kwargs)
+ return val
def Clear(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_Clear,(self,) + _args, _kwargs)
return val