]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/grid.py
Since wxGTK's wxGauge doesn't derive from wxGaugeBase it needs to have
[wxWidgets.git] / wxPython / src / gtk / grid.py
index d8bb23db2669ee7d5c28b45aedc9764209526b6e..54009717e2ece1577a43a036f3977c6c23d9edb6 100644 (file)
@@ -5,6 +5,8 @@ from misc import *
 
 from gdi import *
 
+from fonts import *
+
 from windows import *
 
 from clip_dnd import *
@@ -67,28 +69,30 @@ class wxGridCellRendererPtr :
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def _setOORInfo(self, *_args, **_kwargs):
+        val = gridc.wxGridCellRenderer__setOORInfo(self, *_args, **_kwargs)
+        return val
     def SetParameters(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellRenderer_SetParameters,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellRenderer_SetParameters(self, *_args, **_kwargs)
         return val
     def IncRef(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellRenderer_IncRef,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellRenderer_IncRef(self, *_args, **_kwargs)
         return val
     def DecRef(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellRenderer_DecRef,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellRenderer_DecRef(self, *_args, **_kwargs)
         return val
     def Draw(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellRenderer_Draw,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellRenderer_Draw(self, *_args, **_kwargs)
         return val
     def GetBestSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellRenderer_GetBestSize,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellRenderer_GetBestSize(self, *_args, **_kwargs)
         if val: val = wxSizePtr(val) ; val.thisown = 1
         return val
     def Clone(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellRenderer_Clone,(self,) + _args, _kwargs)
-        if val: val = wxGridCellRendererPtr(val) 
+        val = gridc.wxGridCellRenderer_Clone(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridCellRenderer instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellRenderer(wxGridCellRendererPtr):
     def __init__(self,this):
         self.this = this
@@ -101,18 +105,19 @@ class wxPyGridCellRendererPtr(wxGridCellRendererPtr):
         self.this = this
         self.thisown = 0
     def _setCallbackInfo(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellRenderer__setCallbackInfo,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellRenderer__setCallbackInfo(self, *_args, **_kwargs)
         return val
     def base_SetParameters(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellRenderer_base_SetParameters,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellRenderer_base_SetParameters(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxPyGridCellRenderer instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxPyGridCellRenderer(wxPyGridCellRendererPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxPyGridCellRenderer,_args,_kwargs)
+        self.this = gridc.new_wxPyGridCellRenderer(*_args,**_kwargs)
         self.thisown = 1
         self._setCallbackInfo(self, wxPyGridCellRenderer)
+        self._setOORInfo(self)
 
 
 
@@ -122,11 +127,12 @@ class wxGridCellStringRendererPtr(wxGridCellRendererPtr):
         self.this = this
         self.thisown = 0
     def __repr__(self):
-        return "<C wxGridCellStringRenderer instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellStringRenderer(wxGridCellStringRendererPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellStringRenderer,_args,_kwargs)
+        self.this = gridc.new_wxGridCellStringRenderer(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -136,11 +142,12 @@ class wxGridCellNumberRendererPtr(wxGridCellStringRendererPtr):
         self.this = this
         self.thisown = 0
     def __repr__(self):
-        return "<C wxGridCellNumberRenderer instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellNumberRenderer(wxGridCellNumberRendererPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellNumberRenderer,_args,_kwargs)
+        self.this = gridc.new_wxGridCellNumberRenderer(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -150,23 +157,24 @@ class wxGridCellFloatRendererPtr(wxGridCellStringRendererPtr):
         self.this = this
         self.thisown = 0
     def GetWidth(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellFloatRenderer_GetWidth,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellFloatRenderer_GetWidth(self, *_args, **_kwargs)
         return val
     def SetWidth(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellFloatRenderer_SetWidth,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellFloatRenderer_SetWidth(self, *_args, **_kwargs)
         return val
     def GetPrecision(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellFloatRenderer_GetPrecision,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellFloatRenderer_GetPrecision(self, *_args, **_kwargs)
         return val
     def SetPrecision(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellFloatRenderer_SetPrecision,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellFloatRenderer_SetPrecision(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridCellFloatRenderer instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellFloatRenderer(wxGridCellFloatRendererPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellFloatRenderer,_args,_kwargs)
+        self.this = gridc.new_wxGridCellFloatRenderer(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -176,11 +184,12 @@ class wxGridCellBoolRendererPtr(wxGridCellRendererPtr):
         self.this = this
         self.thisown = 0
     def __repr__(self):
-        return "<C wxGridCellBoolRenderer instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellBoolRenderer(wxGridCellBoolRendererPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellBoolRenderer,_args,_kwargs)
+        self.this = gridc.new_wxGridCellBoolRenderer(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -190,11 +199,12 @@ class wxGridCellDateTimeRendererPtr(wxGridCellStringRendererPtr):
         self.this = this
         self.thisown = 0
     def __repr__(self):
-        return "<C wxGridCellDateTimeRenderer instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellDateTimeRenderer(wxGridCellDateTimeRendererPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellDateTimeRenderer,_args,_kwargs)
+        self.this = gridc.new_wxGridCellDateTimeRenderer(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -204,11 +214,12 @@ class wxGridCellEnumRendererPtr(wxGridCellStringRendererPtr):
         self.this = this
         self.thisown = 0
     def __repr__(self):
-        return "<C wxGridCellEnumRenderer instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellEnumRenderer(wxGridCellEnumRendererPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellEnumRenderer,_args,_kwargs)
+        self.this = gridc.new_wxGridCellEnumRenderer(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -218,11 +229,12 @@ class wxGridCellAutoWrapStringRendererPtr(wxGridCellStringRendererPtr):
         self.this = this
         self.thisown = 0
     def __repr__(self):
-        return "<C wxGridCellAutoWrapStringRenderer instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellAutoWrapStringRenderer(wxGridCellAutoWrapStringRendererPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellAutoWrapStringRenderer,_args,_kwargs)
+        self.this = gridc.new_wxGridCellAutoWrapStringRenderer(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -231,66 +243,74 @@ class wxGridCellEditorPtr :
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def _setOORInfo(self, *_args, **_kwargs):
+        val = gridc.wxGridCellEditor__setOORInfo(self, *_args, **_kwargs)
+        return val
     def IsCreated(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_IsCreated,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_IsCreated(self, *_args, **_kwargs)
         return val
     def GetControl(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_GetControl,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_GetControl(self, *_args, **_kwargs)
         return val
     def SetControl(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_SetControl,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_SetControl(self, *_args, **_kwargs)
+        return val
+    def GetCellAttr(self, *_args, **_kwargs):
+        val = gridc.wxGridCellEditor_GetCellAttr(self, *_args, **_kwargs)
+        return val
+    def SetCellAttr(self, *_args, **_kwargs):
+        val = gridc.wxGridCellEditor_SetCellAttr(self, *_args, **_kwargs)
         return val
     def SetParameters(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_SetParameters,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_SetParameters(self, *_args, **_kwargs)
         return val
     def IncRef(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_IncRef,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_IncRef(self, *_args, **_kwargs)
         return val
     def DecRef(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_DecRef,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_DecRef(self, *_args, **_kwargs)
         return val
     def Create(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_Create,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_Create(self, *_args, **_kwargs)
         return val
     def BeginEdit(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_BeginEdit,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_BeginEdit(self, *_args, **_kwargs)
         return val
     def EndEdit(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_EndEdit,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_EndEdit(self, *_args, **_kwargs)
         return val
     def Reset(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_Reset,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_Reset(self, *_args, **_kwargs)
         return val
     def Clone(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_Clone,(self,) + _args, _kwargs)
-        if val: val = wxGridCellEditorPtr(val) 
+        val = gridc.wxGridCellEditor_Clone(self, *_args, **_kwargs)
         return val
     def SetSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_SetSize,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_SetSize(self, *_args, **_kwargs)
         return val
     def Show(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_Show,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_Show(self, *_args, **_kwargs)
         return val
     def PaintBackground(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_PaintBackground,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_PaintBackground(self, *_args, **_kwargs)
         return val
     def IsAcceptedKey(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_IsAcceptedKey,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_IsAcceptedKey(self, *_args, **_kwargs)
         return val
     def StartingKey(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_StartingKey,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_StartingKey(self, *_args, **_kwargs)
         return val
     def StartingClick(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_StartingClick,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_StartingClick(self, *_args, **_kwargs)
         return val
     def HandleReturn(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_HandleReturn,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_HandleReturn(self, *_args, **_kwargs)
         return val
     def Destroy(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellEditor_Destroy,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellEditor_Destroy(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridCellEditor instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellEditor(wxGridCellEditorPtr):
     def __init__(self,this):
         self.this = this
@@ -303,42 +323,43 @@ class wxPyGridCellEditorPtr(wxGridCellEditorPtr):
         self.this = this
         self.thisown = 0
     def _setCallbackInfo(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellEditor__setCallbackInfo,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellEditor__setCallbackInfo(self, *_args, **_kwargs)
         return val
     def base_SetSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellEditor_base_SetSize,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellEditor_base_SetSize(self, *_args, **_kwargs)
         return val
     def base_Show(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellEditor_base_Show,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellEditor_base_Show(self, *_args, **_kwargs)
         return val
     def base_PaintBackground(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellEditor_base_PaintBackground,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellEditor_base_PaintBackground(self, *_args, **_kwargs)
         return val
     def base_IsAcceptedKey(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellEditor_base_IsAcceptedKey,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellEditor_base_IsAcceptedKey(self, *_args, **_kwargs)
         return val
     def base_StartingKey(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellEditor_base_StartingKey,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellEditor_base_StartingKey(self, *_args, **_kwargs)
         return val
     def base_StartingClick(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellEditor_base_StartingClick,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellEditor_base_StartingClick(self, *_args, **_kwargs)
         return val
     def base_HandleReturn(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellEditor_base_HandleReturn,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellEditor_base_HandleReturn(self, *_args, **_kwargs)
         return val
     def base_Destroy(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellEditor_base_Destroy,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellEditor_base_Destroy(self, *_args, **_kwargs)
         return val
     def base_SetParameters(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellEditor_base_SetParameters,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellEditor_base_SetParameters(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxPyGridCellEditor instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxPyGridCellEditor(wxPyGridCellEditorPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxPyGridCellEditor,_args,_kwargs)
+        self.this = gridc.new_wxPyGridCellEditor(*_args,**_kwargs)
         self.thisown = 1
         self._setCallbackInfo(self, wxPyGridCellEditor)
+        self._setOORInfo(self)
 
 
 
@@ -347,12 +368,16 @@ class wxGridCellTextEditorPtr(wxGridCellEditorPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def GetValue(self, *_args, **_kwargs):
+        val = gridc.wxGridCellTextEditor_GetValue(self, *_args, **_kwargs)
+        return val
     def __repr__(self):
-        return "<C wxGridCellTextEditor instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellTextEditor(wxGridCellTextEditorPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellTextEditor,_args,_kwargs)
+        self.this = gridc.new_wxGridCellTextEditor(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -361,12 +386,16 @@ class wxGridCellNumberEditorPtr(wxGridCellTextEditorPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def GetValue(self, *_args, **_kwargs):
+        val = gridc.wxGridCellNumberEditor_GetValue(self, *_args, **_kwargs)
+        return val
     def __repr__(self):
-        return "<C wxGridCellNumberEditor instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellNumberEditor(wxGridCellNumberEditorPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellNumberEditor,_args,_kwargs)
+        self.this = gridc.new_wxGridCellNumberEditor(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -375,12 +404,16 @@ class wxGridCellFloatEditorPtr(wxGridCellTextEditorPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def GetValue(self, *_args, **_kwargs):
+        val = gridc.wxGridCellFloatEditor_GetValue(self, *_args, **_kwargs)
+        return val
     def __repr__(self):
-        return "<C wxGridCellFloatEditor instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellFloatEditor(wxGridCellFloatEditorPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellFloatEditor,_args,_kwargs)
+        self.this = gridc.new_wxGridCellFloatEditor(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -389,12 +422,16 @@ class wxGridCellBoolEditorPtr(wxGridCellEditorPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def GetValue(self, *_args, **_kwargs):
+        val = gridc.wxGridCellBoolEditor_GetValue(self, *_args, **_kwargs)
+        return val
     def __repr__(self):
-        return "<C wxGridCellBoolEditor instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellBoolEditor(wxGridCellBoolEditorPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellBoolEditor,_args,_kwargs)
+        self.this = gridc.new_wxGridCellBoolEditor(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -403,12 +440,16 @@ class wxGridCellChoiceEditorPtr(wxGridCellEditorPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def GetValue(self, *_args, **_kwargs):
+        val = gridc.wxGridCellChoiceEditor_GetValue(self, *_args, **_kwargs)
+        return val
     def __repr__(self):
-        return "<C wxGridCellChoiceEditor instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellChoiceEditor(wxGridCellChoiceEditorPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellChoiceEditor,_args,_kwargs)
+        self.this = gridc.new_wxGridCellChoiceEditor(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -417,12 +458,16 @@ class wxGridCellEnumEditorPtr(wxGridCellChoiceEditorPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def GetValue(self, *_args, **_kwargs):
+        val = gridc.wxGridCellEnumEditor_GetValue(self, *_args, **_kwargs)
+        return val
     def __repr__(self):
-        return "<C wxGridCellEnumEditor instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellEnumEditor(wxGridCellEnumEditorPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellEnumEditor,_args,_kwargs)
+        self.this = gridc.new_wxGridCellEnumEditor(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -431,12 +476,16 @@ class wxGridCellAutoWrapStringEditorPtr(wxGridCellTextEditorPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def GetValue(self, *_args, **_kwargs):
+        val = gridc.wxGridCellAutoWrapStringEditor_GetValue(self, *_args, **_kwargs)
+        return val
     def __repr__(self):
-        return "<C wxGridCellAutoWrapStringEditor instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellAutoWrapStringEditor(wxGridCellAutoWrapStringEditorPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellAutoWrapStringEditor,_args,_kwargs)
+        self.this = gridc.new_wxGridCellAutoWrapStringEditor(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -451,99 +500,115 @@ class wxGridCellAttrPtr :
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def _setOORInfo(self, *_args, **_kwargs):
+        val = gridc.wxGridCellAttr__setOORInfo(self, *_args, **_kwargs)
+        return val
     def Clone(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_Clone,(self,) + _args, _kwargs)
-        if val: val = wxGridCellAttrPtr(val) 
+        val = gridc.wxGridCellAttr_Clone(self, *_args, **_kwargs)
         return val
     def MergeWith(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_MergeWith,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_MergeWith(self, *_args, **_kwargs)
         return val
     def IncRef(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_IncRef,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_IncRef(self, *_args, **_kwargs)
         return val
     def DecRef(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_DecRef,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_DecRef(self, *_args, **_kwargs)
         return val
     def SetTextColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_SetTextColour,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_SetTextColour(self, *_args, **_kwargs)
         return val
     def SetBackgroundColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_SetBackgroundColour,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_SetBackgroundColour(self, *_args, **_kwargs)
         return val
     def SetFont(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_SetFont,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_SetFont(self, *_args, **_kwargs)
         return val
     def SetAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_SetAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_SetAlignment(self, *_args, **_kwargs)
+        return val
+    def SetSize(self, *_args, **_kwargs):
+        val = gridc.wxGridCellAttr_SetSize(self, *_args, **_kwargs)
+        return val
+    def SetOverflow(self, *_args, **_kwargs):
+        val = gridc.wxGridCellAttr_SetOverflow(self, *_args, **_kwargs)
         return val
     def SetReadOnly(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_SetReadOnly,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_SetReadOnly(self, *_args, **_kwargs)
         return val
     def SetRenderer(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_SetRenderer,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_SetRenderer(self, *_args, **_kwargs)
         return val
     def SetEditor(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_SetEditor,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_SetEditor(self, *_args, **_kwargs)
         return val
     def SetKind(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_SetKind,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_SetKind(self, *_args, **_kwargs)
         return val
     def HasTextColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_HasTextColour,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_HasTextColour(self, *_args, **_kwargs)
         return val
     def HasBackgroundColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_HasBackgroundColour,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_HasBackgroundColour(self, *_args, **_kwargs)
         return val
     def HasFont(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_HasFont,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_HasFont(self, *_args, **_kwargs)
         return val
     def HasAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_HasAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_HasAlignment(self, *_args, **_kwargs)
         return val
     def HasRenderer(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_HasRenderer,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_HasRenderer(self, *_args, **_kwargs)
         return val
     def HasEditor(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_HasEditor,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_HasEditor(self, *_args, **_kwargs)
         return val
     def HasReadWriteMode(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_HasReadWriteMode,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_HasReadWriteMode(self, *_args, **_kwargs)
+        return val
+    def HasOverflowMode(self, *_args, **_kwargs):
+        val = gridc.wxGridCellAttr_HasOverflowMode(self, *_args, **_kwargs)
         return val
     def GetTextColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_GetTextColour,(self,) + _args, _kwargs)
-        if val: val = wxColourPtr(val) 
+        val = gridc.wxGridCellAttr_GetTextColour(self, *_args, **_kwargs)
+        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) 
+        val = gridc.wxGridCellAttr_GetBackgroundColour(self, *_args, **_kwargs)
+        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) 
+        val = gridc.wxGridCellAttr_GetFont(self, *_args, **_kwargs)
+        if val: val = wxFontPtr(val) ; val.thisown = 1
         return val
     def GetAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_GetAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_GetAlignment(self, *_args, **_kwargs)
+        return val
+    def GetSize(self, *_args, **_kwargs):
+        val = gridc.wxGridCellAttr_GetSize(self, *_args, **_kwargs)
+        return val
+    def GetOverflow(self, *_args, **_kwargs):
+        val = gridc.wxGridCellAttr_GetOverflow(self, *_args, **_kwargs)
         return val
     def GetRenderer(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_GetRenderer,(self,) + _args, _kwargs)
-        if val: val = wxGridCellRendererPtr(val) 
+        val = gridc.wxGridCellAttr_GetRenderer(self, *_args, **_kwargs)
         return val
     def GetEditor(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_GetEditor,(self,) + _args, _kwargs)
-        if val: val = wxGridCellEditorPtr(val) 
+        val = gridc.wxGridCellAttr_GetEditor(self, *_args, **_kwargs)
         return val
     def IsReadOnly(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_IsReadOnly,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_IsReadOnly(self, *_args, **_kwargs)
         return val
     def SetDefAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttr_SetDefAttr,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttr_SetDefAttr(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridCellAttr instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellAttr(wxGridCellAttrPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellAttr,_args,_kwargs)
+        self.this = gridc.new_wxGridCellAttr(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -552,31 +617,34 @@ class wxGridCellAttrProviderPtr :
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def _setOORInfo(self, *_args, **_kwargs):
+        val = gridc.wxGridCellAttrProvider__setOORInfo(self, *_args, **_kwargs)
+        return val
     def GetAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttrProvider_GetAttr,(self,) + _args, _kwargs)
-        if val: val = wxGridCellAttrPtr(val) 
+        val = gridc.wxGridCellAttrProvider_GetAttr(self, *_args, **_kwargs)
         return val
     def SetAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttrProvider_SetAttr,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttrProvider_SetAttr(self, *_args, **_kwargs)
         return val
     def SetRowAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttrProvider_SetRowAttr,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttrProvider_SetRowAttr(self, *_args, **_kwargs)
         return val
     def SetColAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttrProvider_SetColAttr,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttrProvider_SetColAttr(self, *_args, **_kwargs)
         return val
     def UpdateAttrRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttrProvider_UpdateAttrRows,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttrProvider_UpdateAttrRows(self, *_args, **_kwargs)
         return val
     def UpdateAttrCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellAttrProvider_UpdateAttrCols,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellAttrProvider_UpdateAttrCols(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridCellAttrProvider instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridCellAttrProvider(wxGridCellAttrProviderPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellAttrProvider,_args,_kwargs)
+        self.this = gridc.new_wxGridCellAttrProvider(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -586,26 +654,25 @@ class wxPyGridCellAttrProviderPtr(wxGridCellAttrProviderPtr):
         self.this = this
         self.thisown = 0
     def _setCallbackInfo(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellAttrProvider__setCallbackInfo,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellAttrProvider__setCallbackInfo(self, *_args, **_kwargs)
         return val
     def base_GetAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellAttrProvider_base_GetAttr,(self,) + _args, _kwargs)
-        if val: val = wxGridCellAttrPtr(val) 
+        val = gridc.wxPyGridCellAttrProvider_base_GetAttr(self, *_args, **_kwargs)
         return val
     def base_SetAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellAttrProvider_base_SetAttr,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellAttrProvider_base_SetAttr(self, *_args, **_kwargs)
         return val
     def base_SetRowAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellAttrProvider_base_SetRowAttr,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellAttrProvider_base_SetRowAttr(self, *_args, **_kwargs)
         return val
     def base_SetColAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridCellAttrProvider_base_SetColAttr,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridCellAttrProvider_base_SetColAttr(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxPyGridCellAttrProvider instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxPyGridCellAttrProvider(wxPyGridCellAttrProviderPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxPyGridCellAttrProvider,_args,_kwargs)
+        self.this = gridc.new_wxPyGridCellAttrProvider(*_args,**_kwargs)
         self.thisown = 1
         self._setCallbackInfo(self, wxPyGridCellAttrProvider)
 
@@ -616,112 +683,113 @@ class wxGridTableBasePtr(wxObjectPtr):
     def __init__(self,this):
         self.this = this
         self.thisown = 0
+    def _setOORInfo(self, *_args, **_kwargs):
+        val = gridc.wxGridTableBase__setOORInfo(self, *_args, **_kwargs)
+        return val
     def SetAttrProvider(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetAttrProvider,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetAttrProvider(self, *_args, **_kwargs)
         return val
     def GetAttrProvider(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetAttrProvider,(self,) + _args, _kwargs)
-        if val: val = wxGridCellAttrProviderPtr(val) 
+        val = gridc.wxGridTableBase_GetAttrProvider(self, *_args, **_kwargs)
         return val
     def SetView(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetView,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetView(self, *_args, **_kwargs)
         return val
     def GetView(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetView,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_GetView(self, *_args, **_kwargs)
         return val
     def GetNumberRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetNumberRows,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_GetNumberRows(self, *_args, **_kwargs)
         return val
     def GetNumberCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetNumberCols,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_GetNumberCols(self, *_args, **_kwargs)
         return val
     def IsEmptyCell(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_IsEmptyCell,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_IsEmptyCell(self, *_args, **_kwargs)
         return val
     def GetValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetValue,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_GetValue(self, *_args, **_kwargs)
         return val
     def SetValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetValue,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetValue(self, *_args, **_kwargs)
         return val
     def GetTypeName(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetTypeName,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_GetTypeName(self, *_args, **_kwargs)
         return val
     def CanGetValueAs(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_CanGetValueAs,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_CanGetValueAs(self, *_args, **_kwargs)
         return val
     def CanSetValueAs(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_CanSetValueAs,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_CanSetValueAs(self, *_args, **_kwargs)
         return val
     def GetValueAsLong(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetValueAsLong,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_GetValueAsLong(self, *_args, **_kwargs)
         return val
     def GetValueAsDouble(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetValueAsDouble,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_GetValueAsDouble(self, *_args, **_kwargs)
         return val
     def GetValueAsBool(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetValueAsBool,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_GetValueAsBool(self, *_args, **_kwargs)
         return val
     def SetValueAsLong(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetValueAsLong,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetValueAsLong(self, *_args, **_kwargs)
         return val
     def SetValueAsDouble(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetValueAsDouble,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetValueAsDouble(self, *_args, **_kwargs)
         return val
     def SetValueAsBool(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetValueAsBool,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetValueAsBool(self, *_args, **_kwargs)
         return val
     def Clear(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_Clear,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_Clear(self, *_args, **_kwargs)
         return val
     def InsertRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_InsertRows,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_InsertRows(self, *_args, **_kwargs)
         return val
     def AppendRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_AppendRows,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_AppendRows(self, *_args, **_kwargs)
         return val
     def DeleteRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_DeleteRows,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_DeleteRows(self, *_args, **_kwargs)
         return val
     def InsertCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_InsertCols,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_InsertCols(self, *_args, **_kwargs)
         return val
     def AppendCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_AppendCols,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_AppendCols(self, *_args, **_kwargs)
         return val
     def DeleteCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_DeleteCols,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_DeleteCols(self, *_args, **_kwargs)
         return val
     def GetRowLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetRowLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_GetRowLabelValue(self, *_args, **_kwargs)
         return val
     def GetColLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetColLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_GetColLabelValue(self, *_args, **_kwargs)
         return val
     def SetRowLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetRowLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetRowLabelValue(self, *_args, **_kwargs)
         return val
     def SetColLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetColLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetColLabelValue(self, *_args, **_kwargs)
         return val
     def CanHaveAttributes(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_CanHaveAttributes,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_CanHaveAttributes(self, *_args, **_kwargs)
         return val
     def GetAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_GetAttr,(self,) + _args, _kwargs)
-        if val: val = wxGridCellAttrPtr(val) 
+        val = gridc.wxGridTableBase_GetAttr(self, *_args, **_kwargs)
         return val
     def SetAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetAttr,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetAttr(self, *_args, **_kwargs)
         return val
     def SetRowAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetRowAttr,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetRowAttr(self, *_args, **_kwargs)
         return val
     def SetColAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableBase_SetColAttr,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableBase_SetColAttr(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridTableBase instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridTableBase(wxGridTableBasePtr):
     def __init__(self,this):
         self.this = this
@@ -734,76 +802,76 @@ class wxPyGridTableBasePtr(wxGridTableBasePtr):
         self.this = this
         self.thisown = 0
     def _setCallbackInfo(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase__setCallbackInfo,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase__setCallbackInfo(self, *_args, **_kwargs)
         return val
     def Destroy(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_Destroy,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_Destroy(self, *_args, **_kwargs)
         return val
     def base_GetTypeName(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_GetTypeName,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_GetTypeName(self, *_args, **_kwargs)
         return val
     def base_CanGetValueAs(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_CanGetValueAs,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_CanGetValueAs(self, *_args, **_kwargs)
         return val
     def base_CanSetValueAs(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_CanSetValueAs,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_CanSetValueAs(self, *_args, **_kwargs)
         return val
     def base_Clear(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_Clear,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_Clear(self, *_args, **_kwargs)
         return val
     def base_InsertRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_InsertRows,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_InsertRows(self, *_args, **_kwargs)
         return val
     def base_AppendRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_AppendRows,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_AppendRows(self, *_args, **_kwargs)
         return val
     def base_DeleteRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_DeleteRows,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_DeleteRows(self, *_args, **_kwargs)
         return val
     def base_InsertCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_InsertCols,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_InsertCols(self, *_args, **_kwargs)
         return val
     def base_AppendCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_AppendCols,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_AppendCols(self, *_args, **_kwargs)
         return val
     def base_DeleteCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_DeleteCols,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_DeleteCols(self, *_args, **_kwargs)
         return val
     def base_GetRowLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_GetRowLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_GetRowLabelValue(self, *_args, **_kwargs)
         return val
     def base_GetColLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_GetColLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_GetColLabelValue(self, *_args, **_kwargs)
         return val
     def base_SetRowLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_SetRowLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_SetRowLabelValue(self, *_args, **_kwargs)
         return val
     def base_SetColLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_SetColLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_SetColLabelValue(self, *_args, **_kwargs)
         return val
     def base_CanHaveAttributes(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_CanHaveAttributes,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_CanHaveAttributes(self, *_args, **_kwargs)
         return val
     def base_GetAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_GetAttr,(self,) + _args, _kwargs)
-        if val: val = wxGridCellAttrPtr(val) 
+        val = gridc.wxPyGridTableBase_base_GetAttr(self, *_args, **_kwargs)
         return val
     def base_SetAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_SetAttr,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_SetAttr(self, *_args, **_kwargs)
         return val
     def base_SetRowAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_SetRowAttr,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_SetRowAttr(self, *_args, **_kwargs)
         return val
     def base_SetColAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxPyGridTableBase_base_SetColAttr,(self,) + _args, _kwargs)
+        val = gridc.wxPyGridTableBase_base_SetColAttr(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxPyGridTableBase instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxPyGridTableBase(wxPyGridTableBasePtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxPyGridTableBase,_args,_kwargs)
+        self.this = gridc.new_wxPyGridTableBase(*_args,**_kwargs)
         self.thisown = 1
         self._setCallbackInfo(self, wxPyGridTableBase)
+        self._setOORInfo(self)
 
 
 
@@ -813,11 +881,12 @@ class wxGridStringTablePtr(wxGridTableBasePtr):
         self.this = this
         self.thisown = 0
     def __repr__(self):
-        return "<C wxGridStringTable instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridStringTable(wxGridStringTablePtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridStringTable,_args,_kwargs)
+        self.this = gridc.new_wxGridStringTable(*_args,**_kwargs)
         self.thisown = 1
+        self._setOORInfo(self)
 
 
 
@@ -826,38 +895,41 @@ class wxGridTableMessagePtr :
     def __init__(self,this):
         self.this = this
         self.thisown = 0
-    def __del__(self,gridc=gridc):
-        if self.thisown == 1 :
-            gridc.delete_wxGridTableMessage(self)
+    def __del__(self, delfunc=gridc.delete_wxGridTableMessage):
+        if self.thisown == 1:
+            try:
+                delfunc(self)
+            except:
+                pass
     def SetTableObject(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableMessage_SetTableObject,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableMessage_SetTableObject(self, *_args, **_kwargs)
         return val
     def GetTableObject(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableMessage_GetTableObject,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableMessage_GetTableObject(self, *_args, **_kwargs)
         return val
     def SetId(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableMessage_SetId,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableMessage_SetId(self, *_args, **_kwargs)
         return val
     def GetId(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableMessage_GetId,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableMessage_GetId(self, *_args, **_kwargs)
         return val
     def SetCommandInt(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableMessage_SetCommandInt,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableMessage_SetCommandInt(self, *_args, **_kwargs)
         return val
     def GetCommandInt(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableMessage_GetCommandInt,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableMessage_GetCommandInt(self, *_args, **_kwargs)
         return val
     def SetCommandInt2(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableMessage_SetCommandInt2,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableMessage_SetCommandInt2(self, *_args, **_kwargs)
         return val
     def GetCommandInt2(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridTableMessage_GetCommandInt2,(self,) + _args, _kwargs)
+        val = gridc.wxGridTableMessage_GetCommandInt2(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridTableMessage instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridTableMessage(wxGridTableMessagePtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridTableMessage,_args,_kwargs)
+        self.this = gridc.new_wxGridTableMessage(*_args,**_kwargs)
         self.thisown = 1
 
 
@@ -867,37 +939,48 @@ class wxGridCellCoordsPtr :
     def __init__(self,this):
         self.this = this
         self.thisown = 0
-    def __del__(self,gridc=gridc):
-        if self.thisown == 1 :
-            gridc.delete_wxGridCellCoords(self)
+    def __del__(self, delfunc=gridc.delete_wxGridCellCoords):
+        if self.thisown == 1:
+            try:
+                delfunc(self)
+            except:
+                pass
     def GetRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellCoords_GetRow,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellCoords_GetRow(self, *_args, **_kwargs)
         return val
     def SetRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellCoords_SetRow,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellCoords_SetRow(self, *_args, **_kwargs)
         return val
     def GetCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellCoords_GetCol,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellCoords_GetCol(self, *_args, **_kwargs)
         return val
     def SetCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellCoords_SetCol,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellCoords_SetCol(self, *_args, **_kwargs)
         return val
     def Set(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellCoords_Set,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellCoords_Set(self, *_args, **_kwargs)
         return val
     def asTuple(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellCoords_asTuple,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellCoords_asTuple(self, *_args, **_kwargs)
         return val
     def __cmp__(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridCellCoords___cmp__,(self,) + _args, _kwargs)
+        val = gridc.wxGridCellCoords___cmp__(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridCellCoords instance at %s>" % (self.this,)
-    def __str__(self): return str(self.asTuple())
-    def __repr__(self): return str(self.asTuple())
+        return "<%s.%s instance; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+    
+    def __str__(self):                   return str(self.asTuple())
+    def __repr__(self):                  return 'wxGridCellCoords'+str(self.asTuple())
+    def __len__(self):                   return len(self.asTuple())
+    def __getitem__(self, index):        return self.asTuple()[index]
+    def __setitem__(self, index, val):
+        if index == 0: self.SetRow(val)
+        elif index == 1: self.SetCol(val)
+        else: raise IndexError
+    
 class wxGridCellCoords(wxGridCellCoordsPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridCellCoords,_args,_kwargs)
+        self.this = gridc.new_wxGridCellCoords(*_args,**_kwargs)
         self.thisown = 1
 
 
@@ -911,523 +994,590 @@ class wxGridPtr(wxScrolledWindowPtr):
         self.this = this
         self.thisown = 0
     def CreateGrid(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_CreateGrid,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_CreateGrid(self, *_args, **_kwargs)
         return val
     def SetSelectionMode(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetSelectionMode,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetSelectionMode(self, *_args, **_kwargs)
+        return val
+    def GetSelectionMode(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetSelectionMode(self, *_args, **_kwargs)
         return val
     def GetNumberRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetNumberRows,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetNumberRows(self, *_args, **_kwargs)
         return val
     def GetNumberCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetNumberCols,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetNumberCols(self, *_args, **_kwargs)
         return val
     def ProcessTableMessage(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_ProcessTableMessage,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_ProcessTableMessage(self, *_args, **_kwargs)
         return val
     def GetTable(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetTable,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetTable(self, *_args, **_kwargs)
         return val
     def SetTable(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetTable,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetTable(self, *_args, **_kwargs)
         return val
     def ClearGrid(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_ClearGrid,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_ClearGrid(self, *_args, **_kwargs)
         return val
     def InsertRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_InsertRows,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_InsertRows(self, *_args, **_kwargs)
         return val
     def AppendRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_AppendRows,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_AppendRows(self, *_args, **_kwargs)
         return val
     def DeleteRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_DeleteRows,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_DeleteRows(self, *_args, **_kwargs)
         return val
     def InsertCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_InsertCols,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_InsertCols(self, *_args, **_kwargs)
         return val
     def AppendCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_AppendCols,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_AppendCols(self, *_args, **_kwargs)
         return val
     def DeleteCols(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_DeleteCols,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_DeleteCols(self, *_args, **_kwargs)
         return val
     def DrawCellHighlight(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_DrawCellHighlight,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_DrawCellHighlight(self, *_args, **_kwargs)
         return val
     def DrawTextRectangle(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_DrawTextRectangle,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_DrawTextRectangle(self, *_args, **_kwargs)
         return val
     def GetTextBoxSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetTextBoxSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetTextBoxSize(self, *_args, **_kwargs)
         return val
     def BeginBatch(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_BeginBatch,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_BeginBatch(self, *_args, **_kwargs)
         return val
     def EndBatch(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_EndBatch,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_EndBatch(self, *_args, **_kwargs)
         return val
     def GetBatchCount(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetBatchCount,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetBatchCount(self, *_args, **_kwargs)
         return val
     def ForceRefresh(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_ForceRefresh,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_ForceRefresh(self, *_args, **_kwargs)
+        return val
+    def Refresh(self, *_args, **_kwargs):
+        val = gridc.wxGrid_Refresh(self, *_args, **_kwargs)
         return val
     def IsEditable(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_IsEditable,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_IsEditable(self, *_args, **_kwargs)
         return val
     def EnableEditing(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_EnableEditing,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_EnableEditing(self, *_args, **_kwargs)
         return val
     def EnableCellEditControl(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_EnableCellEditControl,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_EnableCellEditControl(self, *_args, **_kwargs)
         return val
     def DisableCellEditControl(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_DisableCellEditControl,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_DisableCellEditControl(self, *_args, **_kwargs)
         return val
     def CanEnableCellControl(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_CanEnableCellControl,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_CanEnableCellControl(self, *_args, **_kwargs)
         return val
     def IsCellEditControlEnabled(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_IsCellEditControlEnabled,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_IsCellEditControlEnabled(self, *_args, **_kwargs)
         return val
     def IsCellEditControlShown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_IsCellEditControlShown,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_IsCellEditControlShown(self, *_args, **_kwargs)
         return val
     def IsCurrentCellReadOnly(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_IsCurrentCellReadOnly,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_IsCurrentCellReadOnly(self, *_args, **_kwargs)
         return val
     def ShowCellEditControl(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_ShowCellEditControl,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_ShowCellEditControl(self, *_args, **_kwargs)
         return val
     def HideCellEditControl(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_HideCellEditControl,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_HideCellEditControl(self, *_args, **_kwargs)
         return val
     def SaveEditControlValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SaveEditControlValue,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SaveEditControlValue(self, *_args, **_kwargs)
         return val
     def XYToCell(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_XYToCell,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_XYToCell(self, *_args, **_kwargs)
         if val: val = wxGridCellCoordsPtr(val) ; val.thisown = 1
         return val
     def YToRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_YToRow,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_YToRow(self, *_args, **_kwargs)
         return val
     def XToCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_XToCol,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_XToCol(self, *_args, **_kwargs)
         return val
     def YToEdgeOfRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_YToEdgeOfRow,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_YToEdgeOfRow(self, *_args, **_kwargs)
         return val
     def XToEdgeOfCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_XToEdgeOfCol,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_XToEdgeOfCol(self, *_args, **_kwargs)
         return val
     def CellToRect(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_CellToRect,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_CellToRect(self, *_args, **_kwargs)
         if val: val = wxRectPtr(val) ; val.thisown = 1
         return val
     def GetGridCursorRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetGridCursorRow,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetGridCursorRow(self, *_args, **_kwargs)
         return val
     def GetGridCursorCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetGridCursorCol,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetGridCursorCol(self, *_args, **_kwargs)
         return val
     def IsVisible(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_IsVisible,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_IsVisible(self, *_args, **_kwargs)
         return val
     def MakeCellVisible(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MakeCellVisible,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MakeCellVisible(self, *_args, **_kwargs)
         return val
     def SetGridCursor(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetGridCursor,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetGridCursor(self, *_args, **_kwargs)
         return val
     def MoveCursorUp(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MoveCursorUp,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MoveCursorUp(self, *_args, **_kwargs)
         return val
     def MoveCursorDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MoveCursorDown,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MoveCursorDown(self, *_args, **_kwargs)
         return val
     def MoveCursorLeft(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MoveCursorLeft,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MoveCursorLeft(self, *_args, **_kwargs)
         return val
     def MoveCursorRight(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MoveCursorRight,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MoveCursorRight(self, *_args, **_kwargs)
         return val
     def MovePageDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MovePageDown,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MovePageDown(self, *_args, **_kwargs)
         return val
     def MovePageUp(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MovePageUp,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MovePageUp(self, *_args, **_kwargs)
         return val
     def MoveCursorUpBlock(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MoveCursorUpBlock,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MoveCursorUpBlock(self, *_args, **_kwargs)
         return val
     def MoveCursorDownBlock(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MoveCursorDownBlock,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MoveCursorDownBlock(self, *_args, **_kwargs)
         return val
     def MoveCursorLeftBlock(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MoveCursorLeftBlock,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MoveCursorLeftBlock(self, *_args, **_kwargs)
         return val
     def MoveCursorRightBlock(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_MoveCursorRightBlock,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_MoveCursorRightBlock(self, *_args, **_kwargs)
         return val
     def GetDefaultRowLabelSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultRowLabelSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetDefaultRowLabelSize(self, *_args, **_kwargs)
         return val
     def GetRowLabelSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetRowLabelSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetRowLabelSize(self, *_args, **_kwargs)
         return val
     def GetDefaultColLabelSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultColLabelSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetDefaultColLabelSize(self, *_args, **_kwargs)
         return val
     def GetColLabelSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetColLabelSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetColLabelSize(self, *_args, **_kwargs)
         return val
     def GetLabelBackgroundColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetLabelBackgroundColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetLabelBackgroundColour(self, *_args, **_kwargs)
         if val: val = wxColourPtr(val) ; val.thisown = 1
         return val
     def GetLabelTextColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetLabelTextColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetLabelTextColour(self, *_args, **_kwargs)
         if val: val = wxColourPtr(val) ; val.thisown = 1
         return val
     def GetLabelFont(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetLabelFont,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetLabelFont(self, *_args, **_kwargs)
         if val: val = wxFontPtr(val) ; val.thisown = 1
         return val
     def GetRowLabelAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetRowLabelAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetRowLabelAlignment(self, *_args, **_kwargs)
         return val
     def GetColLabelAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetColLabelAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetColLabelAlignment(self, *_args, **_kwargs)
+        return val
+    def GetColLabelTextOrientation(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetColLabelTextOrientation(self, *_args, **_kwargs)
         return val
     def GetRowLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetRowLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetRowLabelValue(self, *_args, **_kwargs)
         return val
     def GetColLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetColLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetColLabelValue(self, *_args, **_kwargs)
         return val
     def GetGridLineColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetGridLineColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetGridLineColour(self, *_args, **_kwargs)
         if val: val = wxColourPtr(val) ; val.thisown = 1
         return val
     def GetCellHighlightColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetCellHighlightColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetCellHighlightColour(self, *_args, **_kwargs)
         if val: val = wxColourPtr(val) ; val.thisown = 1
         return val
     def GetCellHighlightPenWidth(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetCellHighlightPenWidth,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetCellHighlightPenWidth(self, *_args, **_kwargs)
         return val
     def GetCellHighlightROPenWidth(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetCellHighlightROPenWidth,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetCellHighlightROPenWidth(self, *_args, **_kwargs)
         return val
     def SetRowLabelSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetRowLabelSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetRowLabelSize(self, *_args, **_kwargs)
         return val
     def SetColLabelSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetColLabelSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetColLabelSize(self, *_args, **_kwargs)
         return val
     def SetLabelBackgroundColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetLabelBackgroundColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetLabelBackgroundColour(self, *_args, **_kwargs)
         return val
     def SetLabelTextColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetLabelTextColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetLabelTextColour(self, *_args, **_kwargs)
         return val
     def SetLabelFont(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetLabelFont,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetLabelFont(self, *_args, **_kwargs)
         return val
     def SetRowLabelAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetRowLabelAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetRowLabelAlignment(self, *_args, **_kwargs)
         return val
     def SetColLabelAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetColLabelAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetColLabelAlignment(self, *_args, **_kwargs)
+        return val
+    def SetColLabelTextOrientation(self, *_args, **_kwargs):
+        val = gridc.wxGrid_SetColLabelTextOrientation(self, *_args, **_kwargs)
         return val
     def SetRowLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetRowLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetRowLabelValue(self, *_args, **_kwargs)
         return val
     def SetColLabelValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetColLabelValue,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetColLabelValue(self, *_args, **_kwargs)
         return val
     def SetGridLineColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetGridLineColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetGridLineColour(self, *_args, **_kwargs)
         return val
     def SetCellHighlightColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetCellHighlightColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetCellHighlightColour(self, *_args, **_kwargs)
         return val
     def SetCellHighlightPenWidth(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetCellHighlightPenWidth,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetCellHighlightPenWidth(self, *_args, **_kwargs)
         return val
     def SetCellHighlightROPenWidth(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetCellHighlightROPenWidth,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetCellHighlightROPenWidth(self, *_args, **_kwargs)
         return val
     def EnableDragRowSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_EnableDragRowSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_EnableDragRowSize(self, *_args, **_kwargs)
         return val
     def DisableDragRowSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_DisableDragRowSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_DisableDragRowSize(self, *_args, **_kwargs)
         return val
     def CanDragRowSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_CanDragRowSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_CanDragRowSize(self, *_args, **_kwargs)
         return val
     def EnableDragColSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_EnableDragColSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_EnableDragColSize(self, *_args, **_kwargs)
         return val
     def DisableDragColSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_DisableDragColSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_DisableDragColSize(self, *_args, **_kwargs)
         return val
     def CanDragColSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_CanDragColSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_CanDragColSize(self, *_args, **_kwargs)
         return val
     def EnableDragGridSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_EnableDragGridSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_EnableDragGridSize(self, *_args, **_kwargs)
         return val
     def DisableDragGridSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_DisableDragGridSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_DisableDragGridSize(self, *_args, **_kwargs)
         return val
     def CanDragGridSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_CanDragGridSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_CanDragGridSize(self, *_args, **_kwargs)
+        return val
+    def SetAttr(self, *_args, **_kwargs):
+        val = gridc.wxGrid_SetAttr(self, *_args, **_kwargs)
         return val
     def SetRowAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetRowAttr,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetRowAttr(self, *_args, **_kwargs)
         return val
     def SetColAttr(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetColAttr,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetColAttr(self, *_args, **_kwargs)
         return val
     def SetColFormatBool(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetColFormatBool,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetColFormatBool(self, *_args, **_kwargs)
         return val
     def SetColFormatNumber(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetColFormatNumber,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetColFormatNumber(self, *_args, **_kwargs)
         return val
     def SetColFormatFloat(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetColFormatFloat,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetColFormatFloat(self, *_args, **_kwargs)
         return val
     def SetColFormatCustom(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetColFormatCustom,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetColFormatCustom(self, *_args, **_kwargs)
         return val
     def EnableGridLines(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_EnableGridLines,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_EnableGridLines(self, *_args, **_kwargs)
         return val
     def GridLinesEnabled(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GridLinesEnabled,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GridLinesEnabled(self, *_args, **_kwargs)
         return val
     def GetDefaultRowSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultRowSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetDefaultRowSize(self, *_args, **_kwargs)
         return val
     def GetRowSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetRowSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetRowSize(self, *_args, **_kwargs)
         return val
     def GetDefaultColSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultColSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetDefaultColSize(self, *_args, **_kwargs)
         return val
     def GetColSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetColSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetColSize(self, *_args, **_kwargs)
         return val
     def GetDefaultCellBackgroundColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultCellBackgroundColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetDefaultCellBackgroundColour(self, *_args, **_kwargs)
         if val: val = wxColourPtr(val) ; val.thisown = 1
         return val
     def GetCellBackgroundColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetCellBackgroundColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetCellBackgroundColour(self, *_args, **_kwargs)
         if val: val = wxColourPtr(val) ; val.thisown = 1
         return val
     def GetDefaultCellTextColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultCellTextColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetDefaultCellTextColour(self, *_args, **_kwargs)
         if val: val = wxColourPtr(val) ; val.thisown = 1
         return val
     def GetCellTextColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetCellTextColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetCellTextColour(self, *_args, **_kwargs)
         if val: val = wxColourPtr(val) ; val.thisown = 1
         return val
     def GetDefaultCellFont(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultCellFont,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetDefaultCellFont(self, *_args, **_kwargs)
         if val: val = wxFontPtr(val) ; val.thisown = 1
         return val
     def GetCellFont(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetCellFont,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetCellFont(self, *_args, **_kwargs)
         if val: val = wxFontPtr(val) ; val.thisown = 1
         return val
     def GetDefaultCellAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultCellAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetDefaultCellAlignment(self, *_args, **_kwargs)
         return val
     def GetCellAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetCellAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetCellAlignment(self, *_args, **_kwargs)
+        return val
+    def GetDefaultCellOverflow(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetDefaultCellOverflow(self, *_args, **_kwargs)
+        return val
+    def GetCellOverflow(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetCellOverflow(self, *_args, **_kwargs)
+        return val
+    def GetCellSize(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetCellSize(self, *_args, **_kwargs)
         return val
     def SetDefaultRowSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetDefaultRowSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetDefaultRowSize(self, *_args, **_kwargs)
         return val
     def SetRowSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetRowSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetRowSize(self, *_args, **_kwargs)
         return val
     def SetDefaultColSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetDefaultColSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetDefaultColSize(self, *_args, **_kwargs)
         return val
     def SetColSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetColSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetColSize(self, *_args, **_kwargs)
         return val
     def AutoSizeColumn(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_AutoSizeColumn,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_AutoSizeColumn(self, *_args, **_kwargs)
         return val
     def AutoSizeRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_AutoSizeRow,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_AutoSizeRow(self, *_args, **_kwargs)
         return val
     def AutoSizeColumns(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_AutoSizeColumns,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_AutoSizeColumns(self, *_args, **_kwargs)
         return val
     def AutoSizeRows(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_AutoSizeRows,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_AutoSizeRows(self, *_args, **_kwargs)
         return val
     def AutoSize(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_AutoSize,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_AutoSize(self, *_args, **_kwargs)
+        return val
+    def AutoSizeRowLabelSize(self, *_args, **_kwargs):
+        val = gridc.wxGrid_AutoSizeRowLabelSize(self, *_args, **_kwargs)
+        return val
+    def AutoSizeColLabelSize(self, *_args, **_kwargs):
+        val = gridc.wxGrid_AutoSizeColLabelSize(self, *_args, **_kwargs)
         return val
     def SetColMinimalWidth(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetColMinimalWidth,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetColMinimalWidth(self, *_args, **_kwargs)
         return val
     def SetRowMinimalHeight(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetRowMinimalHeight,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetRowMinimalHeight(self, *_args, **_kwargs)
+        return val
+    def SetColMinimalAcceptableWidth(self, *_args, **_kwargs):
+        val = gridc.wxGrid_SetColMinimalAcceptableWidth(self, *_args, **_kwargs)
+        return val
+    def SetRowMinimalAcceptableHeight(self, *_args, **_kwargs):
+        val = gridc.wxGrid_SetRowMinimalAcceptableHeight(self, *_args, **_kwargs)
+        return val
+    def GetColMinimalAcceptableWidth(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetColMinimalAcceptableWidth(self, *_args, **_kwargs)
+        return val
+    def GetRowMinimalAcceptableHeight(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetRowMinimalAcceptableHeight(self, *_args, **_kwargs)
         return val
     def SetDefaultCellBackgroundColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetDefaultCellBackgroundColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetDefaultCellBackgroundColour(self, *_args, **_kwargs)
         return val
     def SetCellBackgroundColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetCellBackgroundColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetCellBackgroundColour(self, *_args, **_kwargs)
         return val
     def SetDefaultCellTextColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetDefaultCellTextColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetDefaultCellTextColour(self, *_args, **_kwargs)
         return val
     def SetCellTextColour(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetCellTextColour,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetCellTextColour(self, *_args, **_kwargs)
         return val
     def SetDefaultCellFont(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetDefaultCellFont,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetDefaultCellFont(self, *_args, **_kwargs)
         return val
     def SetCellFont(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetCellFont,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetCellFont(self, *_args, **_kwargs)
         return val
     def SetDefaultCellAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetDefaultCellAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetDefaultCellAlignment(self, *_args, **_kwargs)
         return val
     def SetCellAlignment(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetCellAlignment,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetCellAlignment(self, *_args, **_kwargs)
+        return val
+    def SetDefaultCellOverflow(self, *_args, **_kwargs):
+        val = gridc.wxGrid_SetDefaultCellOverflow(self, *_args, **_kwargs)
+        return val
+    def SetCellOverflow(self, *_args, **_kwargs):
+        val = gridc.wxGrid_SetCellOverflow(self, *_args, **_kwargs)
+        return val
+    def SetCellSize(self, *_args, **_kwargs):
+        val = gridc.wxGrid_SetCellSize(self, *_args, **_kwargs)
         return val
     def SetDefaultRenderer(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetDefaultRenderer,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetDefaultRenderer(self, *_args, **_kwargs)
         return val
     def SetCellRenderer(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetCellRenderer,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetCellRenderer(self, *_args, **_kwargs)
         return val
     def GetDefaultRenderer(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultRenderer,(self,) + _args, _kwargs)
-        if val: val = wxGridCellRendererPtr(val) 
+        val = gridc.wxGrid_GetDefaultRenderer(self, *_args, **_kwargs)
         return val
     def GetCellRenderer(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetCellRenderer,(self,) + _args, _kwargs)
-        if val: val = wxGridCellRendererPtr(val) 
+        val = gridc.wxGrid_GetCellRenderer(self, *_args, **_kwargs)
         return val
     def SetDefaultEditor(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetDefaultEditor,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetDefaultEditor(self, *_args, **_kwargs)
         return val
     def SetCellEditor(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetCellEditor,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetCellEditor(self, *_args, **_kwargs)
         return val
     def GetDefaultEditor(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultEditor,(self,) + _args, _kwargs)
-        if val: val = wxGridCellEditorPtr(val) 
+        val = gridc.wxGrid_GetDefaultEditor(self, *_args, **_kwargs)
         return val
     def GetCellEditor(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetCellEditor,(self,) + _args, _kwargs)
-        if val: val = wxGridCellEditorPtr(val) 
+        val = gridc.wxGrid_GetCellEditor(self, *_args, **_kwargs)
         return val
     def GetCellValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetCellValue,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetCellValue(self, *_args, **_kwargs)
         return val
     def SetCellValue(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetCellValue,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetCellValue(self, *_args, **_kwargs)
         return val
     def IsReadOnly(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_IsReadOnly,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_IsReadOnly(self, *_args, **_kwargs)
         return val
     def SetReadOnly(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetReadOnly,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetReadOnly(self, *_args, **_kwargs)
         return val
     def SelectRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SelectRow,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SelectRow(self, *_args, **_kwargs)
         return val
     def SelectCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SelectCol,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SelectCol(self, *_args, **_kwargs)
         return val
     def SelectBlock(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SelectBlock,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SelectBlock(self, *_args, **_kwargs)
         return val
     def SelectAll(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SelectAll,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SelectAll(self, *_args, **_kwargs)
         return val
     def IsSelection(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_IsSelection,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_IsSelection(self, *_args, **_kwargs)
         return val
     def ClearSelection(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_ClearSelection,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_ClearSelection(self, *_args, **_kwargs)
         return val
     def IsInSelection(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_IsInSelection,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_IsInSelection(self, *_args, **_kwargs)
+        return val
+    def GetSelectedCells(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetSelectedCells(self, *_args, **_kwargs)
+        return val
+    def GetSelectionBlockTopLeft(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetSelectionBlockTopLeft(self, *_args, **_kwargs)
+        return val
+    def GetSelectionBlockBottomRight(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetSelectionBlockBottomRight(self, *_args, **_kwargs)
+        return val
+    def GetSelectedRows(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetSelectedRows(self, *_args, **_kwargs)
+        return val
+    def GetSelectedCols(self, *_args, **_kwargs):
+        val = gridc.wxGrid_GetSelectedCols(self, *_args, **_kwargs)
+        return val
+    def DeselectRow(self, *_args, **_kwargs):
+        val = gridc.wxGrid_DeselectRow(self, *_args, **_kwargs)
+        return val
+    def DeselectCol(self, *_args, **_kwargs):
+        val = gridc.wxGrid_DeselectCol(self, *_args, **_kwargs)
+        return val
+    def DeselectCell(self, *_args, **_kwargs):
+        val = gridc.wxGrid_DeselectCell(self, *_args, **_kwargs)
         return val
     def BlockToDeviceRect(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_BlockToDeviceRect,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_BlockToDeviceRect(self, *_args, **_kwargs)
         if val: val = wxRectPtr(val) ; val.thisown = 1
         return val
     def GetSelectionBackground(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetSelectionBackground,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetSelectionBackground(self, *_args, **_kwargs)
         if val: val = wxColourPtr(val) ; val.thisown = 1
         return val
     def GetSelectionForeground(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetSelectionForeground,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetSelectionForeground(self, *_args, **_kwargs)
         if val: val = wxColourPtr(val) ; val.thisown = 1
         return val
     def SetSelectionBackground(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetSelectionBackground,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetSelectionBackground(self, *_args, **_kwargs)
         return val
     def SetSelectionForeground(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetSelectionForeground,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetSelectionForeground(self, *_args, **_kwargs)
         return val
     def RegisterDataType(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_RegisterDataType,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_RegisterDataType(self, *_args, **_kwargs)
         return val
     def GetDefaultEditorForCell(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultEditorForCell,(self,) + _args, _kwargs)
-        if val: val = wxGridCellEditorPtr(val) 
+        val = gridc.wxGrid_GetDefaultEditorForCell(self, *_args, **_kwargs)
         return val
     def GetDefaultRendererForCell(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultRendererForCell,(self,) + _args, _kwargs)
-        if val: val = wxGridCellRendererPtr(val) 
+        val = gridc.wxGrid_GetDefaultRendererForCell(self, *_args, **_kwargs)
         return val
     def GetDefaultEditorForType(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultEditorForType,(self,) + _args, _kwargs)
-        if val: val = wxGridCellEditorPtr(val) 
+        val = gridc.wxGrid_GetDefaultEditorForType(self, *_args, **_kwargs)
         return val
     def GetDefaultRendererForType(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetDefaultRendererForType,(self,) + _args, _kwargs)
-        if val: val = wxGridCellRendererPtr(val) 
+        val = gridc.wxGrid_GetDefaultRendererForType(self, *_args, **_kwargs)
         return val
     def SetMargins(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_SetMargins,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_SetMargins(self, *_args, **_kwargs)
         return val
     def GetGridWindow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetGridWindow,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetGridWindow(self, *_args, **_kwargs)
         return val
     def GetGridRowLabelWindow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetGridRowLabelWindow,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetGridRowLabelWindow(self, *_args, **_kwargs)
         return val
     def GetGridColLabelWindow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetGridColLabelWindow,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetGridColLabelWindow(self, *_args, **_kwargs)
         return val
     def GetGridCornerLabelWindow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGrid_GetGridCornerLabelWindow,(self,) + _args, _kwargs)
+        val = gridc.wxGrid_GetGridCornerLabelWindow(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGrid instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGrid(wxGridPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGrid,_args,_kwargs)
+        self.this = gridc.new_wxGrid(*_args,**_kwargs)
         self.thisown = 1
         self._setOORInfo(self)
 
@@ -1439,35 +1589,35 @@ class wxGridEventPtr(wxNotifyEventPtr):
         self.this = this
         self.thisown = 0
     def GetRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEvent_GetRow,(self,) + _args, _kwargs)
+        val = gridc.wxGridEvent_GetRow(self, *_args, **_kwargs)
         return val
     def GetCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEvent_GetCol,(self,) + _args, _kwargs)
+        val = gridc.wxGridEvent_GetCol(self, *_args, **_kwargs)
         return val
     def GetPosition(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEvent_GetPosition,(self,) + _args, _kwargs)
+        val = gridc.wxGridEvent_GetPosition(self, *_args, **_kwargs)
         if val: val = wxPointPtr(val) ; val.thisown = 1
         return val
     def Selecting(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEvent_Selecting,(self,) + _args, _kwargs)
+        val = gridc.wxGridEvent_Selecting(self, *_args, **_kwargs)
         return val
     def ControlDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEvent_ControlDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridEvent_ControlDown(self, *_args, **_kwargs)
         return val
     def MetaDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEvent_MetaDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridEvent_MetaDown(self, *_args, **_kwargs)
         return val
     def ShiftDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEvent_ShiftDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridEvent_ShiftDown(self, *_args, **_kwargs)
         return val
     def AltDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEvent_AltDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridEvent_AltDown(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridEvent instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridEvent(wxGridEventPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridEvent,_args,_kwargs)
+        self.this = gridc.new_wxGridEvent(*_args,**_kwargs)
         self.thisown = 1
 
 
@@ -1478,29 +1628,29 @@ class wxGridSizeEventPtr(wxNotifyEventPtr):
         self.this = this
         self.thisown = 0
     def GetRowOrCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridSizeEvent_GetRowOrCol,(self,) + _args, _kwargs)
+        val = gridc.wxGridSizeEvent_GetRowOrCol(self, *_args, **_kwargs)
         return val
     def GetPosition(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridSizeEvent_GetPosition,(self,) + _args, _kwargs)
+        val = gridc.wxGridSizeEvent_GetPosition(self, *_args, **_kwargs)
         if val: val = wxPointPtr(val) ; val.thisown = 1
         return val
     def ControlDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridSizeEvent_ControlDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridSizeEvent_ControlDown(self, *_args, **_kwargs)
         return val
     def MetaDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridSizeEvent_MetaDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridSizeEvent_MetaDown(self, *_args, **_kwargs)
         return val
     def ShiftDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridSizeEvent_ShiftDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridSizeEvent_ShiftDown(self, *_args, **_kwargs)
         return val
     def AltDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridSizeEvent_AltDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridSizeEvent_AltDown(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridSizeEvent instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridSizeEvent(wxGridSizeEventPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridSizeEvent,_args,_kwargs)
+        self.this = gridc.new_wxGridSizeEvent(*_args,**_kwargs)
         self.thisown = 1
 
 
@@ -1511,45 +1661,45 @@ class wxGridRangeSelectEventPtr(wxNotifyEventPtr):
         self.this = this
         self.thisown = 0
     def GetTopLeftCoords(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_GetTopLeftCoords,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_GetTopLeftCoords(self, *_args, **_kwargs)
         if val: val = wxGridCellCoordsPtr(val) ; val.thisown = 1
         return val
     def GetBottomRightCoords(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_GetBottomRightCoords,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_GetBottomRightCoords(self, *_args, **_kwargs)
         if val: val = wxGridCellCoordsPtr(val) ; val.thisown = 1
         return val
     def GetTopRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_GetTopRow,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_GetTopRow(self, *_args, **_kwargs)
         return val
     def GetBottomRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_GetBottomRow,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_GetBottomRow(self, *_args, **_kwargs)
         return val
     def GetLeftCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_GetLeftCol,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_GetLeftCol(self, *_args, **_kwargs)
         return val
     def GetRightCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_GetRightCol,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_GetRightCol(self, *_args, **_kwargs)
         return val
     def Selecting(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_Selecting,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_Selecting(self, *_args, **_kwargs)
         return val
     def ControlDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_ControlDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_ControlDown(self, *_args, **_kwargs)
         return val
     def MetaDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_MetaDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_MetaDown(self, *_args, **_kwargs)
         return val
     def ShiftDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_ShiftDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_ShiftDown(self, *_args, **_kwargs)
         return val
     def AltDown(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridRangeSelectEvent_AltDown,(self,) + _args, _kwargs)
+        val = gridc.wxGridRangeSelectEvent_AltDown(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridRangeSelectEvent instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridRangeSelectEvent(wxGridRangeSelectEventPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridRangeSelectEvent,_args,_kwargs)
+        self.this = gridc.new_wxGridRangeSelectEvent(*_args,**_kwargs)
         self.thisown = 1
 
 
@@ -1560,28 +1710,28 @@ class wxGridEditorCreatedEventPtr(wxCommandEventPtr):
         self.this = this
         self.thisown = 0
     def GetRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEditorCreatedEvent_GetRow,(self,) + _args, _kwargs)
+        val = gridc.wxGridEditorCreatedEvent_GetRow(self, *_args, **_kwargs)
         return val
     def GetCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEditorCreatedEvent_GetCol,(self,) + _args, _kwargs)
+        val = gridc.wxGridEditorCreatedEvent_GetCol(self, *_args, **_kwargs)
         return val
     def GetControl(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEditorCreatedEvent_GetControl,(self,) + _args, _kwargs)
+        val = gridc.wxGridEditorCreatedEvent_GetControl(self, *_args, **_kwargs)
         return val
     def SetRow(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEditorCreatedEvent_SetRow,(self,) + _args, _kwargs)
+        val = gridc.wxGridEditorCreatedEvent_SetRow(self, *_args, **_kwargs)
         return val
     def SetCol(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEditorCreatedEvent_SetCol,(self,) + _args, _kwargs)
+        val = gridc.wxGridEditorCreatedEvent_SetCol(self, *_args, **_kwargs)
         return val
     def SetControl(self, *_args, **_kwargs):
-        val = apply(gridc.wxGridEditorCreatedEvent_SetControl,(self,) + _args, _kwargs)
+        val = gridc.wxGridEditorCreatedEvent_SetControl(self, *_args, **_kwargs)
         return val
     def __repr__(self):
-        return "<C wxGridEditorCreatedEvent instance at %s>" % (self.this,)
+        return "<%s.%s instance; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
 class wxGridEditorCreatedEvent(wxGridEditorCreatedEventPtr):
     def __init__(self,*_args,**_kwargs):
-        self.this = apply(gridc.new_wxGridEditorCreatedEvent,_args,_kwargs)
+        self.this = gridc.new_wxGridEditorCreatedEvent(*_args,**_kwargs)
         self.thisown = 1
 
 
@@ -1602,6 +1752,8 @@ wxGRID_VALUE_FLOAT = gridc.wxGRID_VALUE_FLOAT
 wxGRID_VALUE_CHOICE = gridc.wxGRID_VALUE_CHOICE
 wxGRID_VALUE_TEXT = gridc.wxGRID_VALUE_TEXT
 wxGRID_VALUE_LONG = gridc.wxGRID_VALUE_LONG
+wxGRID_VALUE_CHOICEINT = gridc.wxGRID_VALUE_CHOICEINT
+wxGRID_VALUE_DATETIME = gridc.wxGRID_VALUE_DATETIME
 cvar = gridc.cvar
 wxGridNoCellCoords = wxGridCellCoordsPtr(gridc.cvar.wxGridNoCellCoords)
 wxGridNoCellRect = wxRectPtr(gridc.cvar.wxGridNoCellRect)