Significantly changed how the Python interpreter lock and thread state
are managed, which should fix the problem of running on a multi-processor machine. Some fixes for some of the contributed library modules. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -185,6 +185,48 @@ class wxGridCellBoolRenderer(wxGridCellBoolRendererPtr):
|
||||
|
||||
|
||||
|
||||
class wxGridCellDateTimeRendererPtr(wxGridCellStringRendererPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxGridCellDateTimeRenderer instance at %s>" % (self.this,)
|
||||
class wxGridCellDateTimeRenderer(wxGridCellDateTimeRendererPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(gridc.new_wxGridCellDateTimeRenderer,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxGridCellEnumRendererPtr(wxGridCellStringRendererPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxGridCellEnumRenderer instance at %s>" % (self.this,)
|
||||
class wxGridCellEnumRenderer(wxGridCellEnumRendererPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(gridc.new_wxGridCellEnumRenderer,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxGridCellAutoWrapStringRendererPtr(wxGridCellStringRendererPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxGridCellAutoWrapStringRenderer instance at %s>" % (self.this,)
|
||||
class wxGridCellAutoWrapStringRenderer(wxGridCellAutoWrapStringRendererPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(gridc.new_wxGridCellAutoWrapStringRenderer,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxGridCellEditorPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -371,6 +413,34 @@ class wxGridCellChoiceEditor(wxGridCellChoiceEditorPtr):
|
||||
|
||||
|
||||
|
||||
class wxGridCellEnumEditorPtr(wxGridCellChoiceEditorPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxGridCellEnumEditor instance at %s>" % (self.this,)
|
||||
class wxGridCellEnumEditor(wxGridCellEnumEditorPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(gridc.new_wxGridCellEnumEditor,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxGridCellAutoWrapStringEditorPtr(wxGridCellTextEditorPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxGridCellAutoWrapStringEditor instance at %s>" % (self.this,)
|
||||
class wxGridCellAutoWrapStringEditor(wxGridCellAutoWrapStringEditorPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(gridc.new_wxGridCellAutoWrapStringEditor,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxGridCellAttrPtr :
|
||||
Any = gridc.wxGridCellAttr_Any
|
||||
Default = gridc.wxGridCellAttr_Default
|
||||
|
Reference in New Issue
Block a user