from gdi import *
+from fonts import *
+
from windows import *
from clip_dnd import *
def __init__(self,this):
self.this = this
self.thisown = 0
- def _setSelf(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellRenderer__setSelf,(self,) + _args, _kwargs)
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(gridc.wxPyGridCellRenderer__setCallbackInfo,(self,) + _args, _kwargs)
return val
def base_SetParameters(self, *_args, **_kwargs):
val = apply(gridc.wxPyGridCellRenderer_base_SetParameters,(self,) + _args, _kwargs)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxPyGridCellRenderer,_args,_kwargs)
self.thisown = 1
- self._setSelf(self, wxPyGridCellRenderer)
+ self._setCallbackInfo(self, wxPyGridCellRenderer)
+class wxGridCellDateTimeRendererPtr(wxGridCellStringRendererPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __repr__(self):
+ return "<C wxGridCellDateTimeRenderer instance at %s>" % (self.this,)
+class wxGridCellDateTimeRenderer(wxGridCellDateTimeRendererPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(gridc.new_wxGridCellDateTimeRenderer,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxGridCellEnumRendererPtr(wxGridCellStringRendererPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __repr__(self):
+ return "<C wxGridCellEnumRenderer instance at %s>" % (self.this,)
+class wxGridCellEnumRenderer(wxGridCellEnumRendererPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(gridc.new_wxGridCellEnumRenderer,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxGridCellAutoWrapStringRendererPtr(wxGridCellStringRendererPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __repr__(self):
+ return "<C wxGridCellAutoWrapStringRenderer instance at %s>" % (self.this,)
+class wxGridCellAutoWrapStringRenderer(wxGridCellAutoWrapStringRendererPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(gridc.new_wxGridCellAutoWrapStringRenderer,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
class wxGridCellEditorPtr :
def __init__(self,this):
self.this = this
def __init__(self,this):
self.this = this
self.thisown = 0
- def _setSelf(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor__setSelf,(self,) + _args, _kwargs)
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(gridc.wxPyGridCellEditor__setCallbackInfo,(self,) + _args, _kwargs)
return val
def base_SetSize(self, *_args, **_kwargs):
val = apply(gridc.wxPyGridCellEditor_base_SetSize,(self,) + _args, _kwargs)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxPyGridCellEditor,_args,_kwargs)
self.thisown = 1
- self._setSelf(self, wxPyGridCellEditor)
+ self._setCallbackInfo(self, wxPyGridCellEditor)
+class wxGridCellEnumEditorPtr(wxGridCellChoiceEditorPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __repr__(self):
+ return "<C wxGridCellEnumEditor instance at %s>" % (self.this,)
+class wxGridCellEnumEditor(wxGridCellEnumEditorPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(gridc.new_wxGridCellEnumEditor,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxGridCellAutoWrapStringEditorPtr(wxGridCellTextEditorPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __repr__(self):
+ return "<C wxGridCellAutoWrapStringEditor instance at %s>" % (self.this,)
+class wxGridCellAutoWrapStringEditor(wxGridCellAutoWrapStringEditorPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(gridc.new_wxGridCellAutoWrapStringEditor,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
class wxGridCellAttrPtr :
Any = gridc.wxGridCellAttr_Any
Default = gridc.wxGridCellAttr_Default
return val
def GetTextColour(self, *_args, **_kwargs):
val = apply(gridc.wxGridCellAttr_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(gridc.wxGridCellAttr_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(gridc.wxGridCellAttr_GetFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val)
+ if val: val = wxFontPtr(val) ; val.thisown = 1
return val
def GetAlignment(self, *_args, **_kwargs):
val = apply(gridc.wxGridCellAttr_GetAlignment,(self,) + _args, _kwargs)
def __init__(self,this):
self.this = this
self.thisown = 0
- def _setSelf(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellAttrProvider__setSelf,(self,) + _args, _kwargs)
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(gridc.wxPyGridCellAttrProvider__setCallbackInfo,(self,) + _args, _kwargs)
return val
def base_GetAttr(self, *_args, **_kwargs):
val = apply(gridc.wxPyGridCellAttrProvider_base_GetAttr,(self,) + _args, _kwargs)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxPyGridCellAttrProvider,_args,_kwargs)
self.thisown = 1
- self._setSelf(self, wxPyGridCellAttrProvider)
+ self._setCallbackInfo(self, wxPyGridCellAttrProvider)
def __init__(self,this):
self.this = this
self.thisown = 0
- def _setSelf(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase__setSelf,(self,) + _args, _kwargs)
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(gridc.wxPyGridTableBase__setCallbackInfo,(self,) + _args, _kwargs)
return val
def Destroy(self, *_args, **_kwargs):
val = apply(gridc.wxPyGridTableBase_Destroy,(self,) + _args, _kwargs)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxPyGridTableBase,_args,_kwargs)
self.thisown = 1
- self._setSelf(self, wxPyGridTableBase)
+ self._setCallbackInfo(self, wxPyGridTableBase)
def DrawTextRectangle(self, *_args, **_kwargs):
val = apply(gridc.wxGrid_DrawTextRectangle,(self,) + _args, _kwargs)
return val
- def StringToLines(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_StringToLines,(self,) + _args, _kwargs)
- return val
def GetTextBoxSize(self, *_args, **_kwargs):
val = apply(gridc.wxGrid_GetTextBoxSize,(self,) + _args, _kwargs)
return val
def GetBatchCount(self, *_args, **_kwargs):
val = apply(gridc.wxGrid_GetBatchCount,(self,) + _args, _kwargs)
return val
+ def ForceRefresh(self, *_args, **_kwargs):
+ val = apply(gridc.wxGrid_ForceRefresh,(self,) + _args, _kwargs)
+ return val
def IsEditable(self, *_args, **_kwargs):
val = apply(gridc.wxGrid_IsEditable,(self,) + _args, _kwargs)
return val
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGrid,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)