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
return val
def GetBitmapLabel(self, *_args, **_kwargs):
val = apply(controlsc.wxBitmapButton_GetBitmapLabel,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def GetBitmapDisabled(self, *_args, **_kwargs):
val = apply(controlsc.wxBitmapButton_GetBitmapDisabled,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def GetBitmapFocus(self, *_args, **_kwargs):
val = apply(controlsc.wxBitmapButton_GetBitmapFocus,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def GetBitmapSelected(self, *_args, **_kwargs):
val = apply(controlsc.wxBitmapButton_GetBitmapSelected,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def SetBitmapDisabled(self, *_args, **_kwargs):
val = apply(controlsc.wxBitmapButton_SetBitmapDisabled,(self,) + _args, _kwargs)
return val
def GetTextColour(self, *_args, **_kwargs):
val = apply(controlsc.wxTextAttr_GetTextColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetBackgroundColour(self, *_args, **_kwargs):
val = apply(controlsc.wxTextAttr_GetBackgroundColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetFont(self, *_args, **_kwargs):
val = apply(controlsc.wxTextAttr_GetFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val)
+ if val: val = wxFontPtr(val) ; val.thisown = 1
return val
def IsDefault(self, *_args, **_kwargs):
val = apply(controlsc.wxTextAttr_IsDefault,(self,) + _args, _kwargs)
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 write(self, *_args, **_kwargs):
val = apply(controlsc.wxTextCtrl_write,(self,) + _args, _kwargs)
return val
+ def GetString(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextCtrl_GetString,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxTextCtrl instance at %s>" % (self.this,)
class wxTextCtrl(wxTextCtrlPtr):
def GetThumbLength(self, *_args, **_kwargs):
val = apply(controlsc.wxScrollBar_GetThumbLength,(self,) + _args, _kwargs)
return val
+ def IsVertical(self, *_args, **_kwargs):
+ val = apply(controlsc.wxScrollBar_IsVertical,(self,) + _args, _kwargs)
+ return val
def SetThumbPosition(self, *_args, **_kwargs):
val = apply(controlsc.wxScrollBar_SetThumbPosition,(self,) + _args, _kwargs)
return val
return val
def GetBitmap(self, *_args, **_kwargs):
val = apply(controlsc.wxStaticBitmap_GetBitmap,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def SetBitmap(self, *_args, **_kwargs):
val = apply(controlsc.wxStaticBitmap_SetBitmap,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val); val.thisown = 1
return val
+def wxTextAttr_Combine(*_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_Combine,_args,_kwargs)
+ if val: val = wxTextAttrPtr(val); val.thisown = 1
+ return val
+
#-------------- VARIABLE WRAPPERS ------------------