from gdi import *
+from fonts import *
+
from clip_dnd import *
from events import *
def SetClientData(self, *_args, **_kwargs):
val = apply(controlsc.wxControlWithItems_SetClientData,(self,) + _args, _kwargs)
return val
+ def AppendItems(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControlWithItems_AppendItems,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxControlWithItems instance at %s>" % (self.this,)
Number = GetCount
def GetValue(self, *_args, **_kwargs):
val = apply(controlsc.wxCheckBox_GetValue,(self,) + _args, _kwargs)
return val
+ def IsChecked(self, *_args, **_kwargs):
+ val = apply(controlsc.wxCheckBox_IsChecked,(self,) + _args, _kwargs)
+ return val
def SetValue(self, *_args, **_kwargs):
val = apply(controlsc.wxCheckBox_SetValue,(self,) + _args, _kwargs)
return val
def GetItemHeight(self, *_args, **_kwargs):
val = apply(controlsc.wxCheckListBox_GetItemHeight,(self,) + _args, _kwargs)
return val
+ def HitTest(self, *_args, **_kwargs):
+ val = apply(controlsc.wxCheckListBox_HitTest,(self,) + _args, _kwargs)
+ return val
+ def HitTestXY(self, *_args, **_kwargs):
+ val = apply(controlsc.wxCheckListBox_HitTestXY,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxCheckListBox instance at %s>" % (self.this,)
class wxCheckListBox(wxCheckListBoxPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,controlsc=controlsc):
- if self.thisown == 1 :
- controlsc.delete_wxTextAttr(self)
+ def __del__(self, delfunc=controlsc.delete_wxTextAttr):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def SetTextColour(self, *_args, **_kwargs):
val = apply(controlsc.wxTextAttr_SetTextColour,(self,) + _args, _kwargs)
return val
def SetValue(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_SetValue,(self,) + _args, _kwargs)
return val
+ def GetRange(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_GetRange,(self,) + _args, _kwargs)
+ return val
def GetLineLength(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_GetLineLength,(self,) + _args, _kwargs)
return val
def AppendText(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_AppendText,(self,) + _args, _kwargs)
return val
+ def EmulateKeyPress(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_EmulateKeyPress,(self,) + _args, _kwargs)
+ return val
def SetStyle(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_SetStyle,(self,) + _args, _kwargs)
return val
def SetEditable(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_SetEditable,(self,) + _args, _kwargs)
return val
+ def IsSingleLine(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_IsSingleLine,(self,) + _args, _kwargs)
+ return val
+ def IsMultiLine(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_IsMultiLine,(self,) + _args, _kwargs)
+ return val
def write(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_write,(self,) + _args, _kwargs)
return val
def GetRowCount(self, *_args, **_kwargs):
val = apply(controlsc.wxRadioBox_GetRowCount,(self,) + _args, _kwargs)
return val
+ def GetNextItem(self, *_args, **_kwargs):
+ val = apply(controlsc.wxRadioBox_GetNextItem,(self,) + _args, _kwargs)
+ return val
def GetSelection(self, *_args, **_kwargs):
val = apply(controlsc.wxRadioBox_GetSelection,(self,) + _args, _kwargs)
return val