reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-29 03:03:29 +00:00
parent 9ac884500c
commit 5c8c7dd324
18 changed files with 5945 additions and 2918 deletions

View File

@@ -4963,6 +4963,112 @@ class GraphicsFont(GraphicsObject):
__del__ = lambda self : None;
_gdi_.GraphicsFont_swigregister(GraphicsFont)
class GraphicsMatrix(GraphicsObject):
"""Proxy of C++ GraphicsMatrix class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
__swig_destroy__ = _gdi_.delete_GraphicsMatrix
__del__ = lambda self : None;
def Concat(*args, **kwargs):
"""
Concat(self, GraphicsMatrix t)
concatenates the matrix
"""
return _gdi_.GraphicsMatrix_Concat(*args, **kwargs)
def Copy(*args, **kwargs):
"""
Copy(self, GraphicsMatrix t)
Copy the passed in matrix to this one.
"""
return _gdi_.GraphicsMatrix_Copy(*args, **kwargs)
def Set(*args, **kwargs):
"""
Set(self, Double a=1.0, Double b=0.0, Double c=0.0, Double d=1.0,
Double tx=0.0, Double ty=0.0)
sets the matrix to the respective values
"""
return _gdi_.GraphicsMatrix_Set(*args, **kwargs)
def Invert(*args, **kwargs):
"""
Invert(self)
makes this the inverse matrix
"""
return _gdi_.GraphicsMatrix_Invert(*args, **kwargs)
def IsEqual(*args, **kwargs):
"""
IsEqual(self, GraphicsMatrix t) -> bool
returns true if the elements of the transformation matrix are equal
"""
return _gdi_.GraphicsMatrix_IsEqual(*args, **kwargs)
def IsIdentity(*args, **kwargs):
"""
IsIdentity(self) -> bool
return true if this is the identity matrix
"""
return _gdi_.GraphicsMatrix_IsIdentity(*args, **kwargs)
def Translate(*args, **kwargs):
"""
Translate(self, Double dx, Double dy)
add the translation to this matrix
"""
return _gdi_.GraphicsMatrix_Translate(*args, **kwargs)
def Scale(*args, **kwargs):
"""
Scale(self, Double xScale, Double yScale)
add the scale to this matrix
"""
return _gdi_.GraphicsMatrix_Scale(*args, **kwargs)
def Rotate(*args, **kwargs):
"""
Rotate(self, Double angle)
add the rotation to this matrix (radians)
"""
return _gdi_.GraphicsMatrix_Rotate(*args, **kwargs)
def TransformPoint(*args, **kwargs):
"""
TransformPoint(self, x, y) --> (x, y)
applies that matrix to the point
"""
return _gdi_.GraphicsMatrix_TransformPoint(*args, **kwargs)
def TransformDistance(*args, **kwargs):
"""
TransformDistance(self, dx, dy) --> (dx, dy)
applies the matrix except for translations
"""
return _gdi_.GraphicsMatrix_TransformDistance(*args, **kwargs)
def GetNativeMatrix(*args, **kwargs):
"""
GetNativeMatrix(self) -> void
returns the native representation
"""
return _gdi_.GraphicsMatrix_GetNativeMatrix(*args, **kwargs)
_gdi_.GraphicsMatrix_swigregister(GraphicsMatrix)
class GraphicsPath(GraphicsObject):
"""Proxy of C++ GraphicsPath class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
@@ -4970,10 +5076,6 @@ class GraphicsPath(GraphicsObject):
__repr__ = _swig_repr
__swig_destroy__ = _gdi_.delete_GraphicsPath
__del__ = lambda self : None;
def Clone(*args, **kwargs):
"""Clone(self) -> GraphicsPath"""
return _gdi_.GraphicsPath_Clone(*args, **kwargs)
def MoveToPoint(*args):
"""
MoveToPoint(self, Double x, Double y)
@@ -5124,126 +5226,12 @@ class GraphicsPath(GraphicsObject):
def Contains(*args):
"""
Contains(self, Double x, Double y, int fillStyle=WINDING_RULE) -> bool
Contains(self, wxPoint2DDouble c, int fillStyle=WINDING_RULE) -> bool
Contains(self, Double x, Double y, int fillStyle=ODDEVEN_RULE) -> bool
Contains(self, wxPoint2DDouble c, int fillStyle=ODDEVEN_RULE) -> bool
"""
return _gdi_.GraphicsPath_Contains(*args)
_gdi_.GraphicsPath_swigregister(GraphicsPath)
cvar = _gdi_.cvar
NullGraphicsPen = cvar.NullGraphicsPen
NullGraphicsBrush = cvar.NullGraphicsBrush
NullGraphicsFont = cvar.NullGraphicsFont
class GraphicsMatrix(GraphicsObject):
"""Proxy of C++ GraphicsMatrix class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
__swig_destroy__ = _gdi_.delete_GraphicsMatrix
__del__ = lambda self : None;
def Clone(*args, **kwargs):
"""Clone(self) -> GraphicsMatrix"""
return _gdi_.GraphicsMatrix_Clone(*args, **kwargs)
def Concat(*args, **kwargs):
"""
Concat(self, GraphicsMatrix t)
concatenates the matrix
"""
return _gdi_.GraphicsMatrix_Concat(*args, **kwargs)
def Copy(*args, **kwargs):
"""
Copy(self, GraphicsMatrix t)
copies the passed in matrix
"""
return _gdi_.GraphicsMatrix_Copy(*args, **kwargs)
def Set(*args, **kwargs):
"""
Set(self, Double a=1.0, Double b=0.0, Double c=0.0, Double d=1.0,
Double tx=0.0, Double ty=0.0)
sets the matrix to the respective values
"""
return _gdi_.GraphicsMatrix_Set(*args, **kwargs)
def Invert(*args, **kwargs):
"""
Invert(self)
makes this the inverse matrix
"""
return _gdi_.GraphicsMatrix_Invert(*args, **kwargs)
def IsEqual(*args, **kwargs):
"""
IsEqual(self, GraphicsMatrix t) -> bool
returns true if the elements of the transformation matrix are equal
"""
return _gdi_.GraphicsMatrix_IsEqual(*args, **kwargs)
def IsIdentity(*args, **kwargs):
"""
IsIdentity(self) -> bool
return true if this is the identity matrix
"""
return _gdi_.GraphicsMatrix_IsIdentity(*args, **kwargs)
def Translate(*args, **kwargs):
"""
Translate(self, Double dx, Double dy)
add the translation to this matrix
"""
return _gdi_.GraphicsMatrix_Translate(*args, **kwargs)
def Scale(*args, **kwargs):
"""
Scale(self, Double xScale, Double yScale)
add the scale to this matrix
"""
return _gdi_.GraphicsMatrix_Scale(*args, **kwargs)
def Rotate(*args, **kwargs):
"""
Rotate(self, Double angle)
add the rotation to this matrix (radians)
"""
return _gdi_.GraphicsMatrix_Rotate(*args, **kwargs)
def TransformPoint(*args, **kwargs):
"""
TransformPoint(self, x, y) --> (x, y)
applies that matrix to the point
"""
return _gdi_.GraphicsMatrix_TransformPoint(*args, **kwargs)
def TransformDistance(*args, **kwargs):
"""
TransformDistance(self, dx, dy) --> (dx, dy)
applies the matrix except for translations
"""
return _gdi_.GraphicsMatrix_TransformDistance(*args, **kwargs)
def GetNativeMatrix(*args, **kwargs):
"""
GetNativeMatrix(self) -> void
returns the native representation
"""
return _gdi_.GraphicsMatrix_GetNativeMatrix(*args, **kwargs)
_gdi_.GraphicsMatrix_swigregister(GraphicsMatrix)
class GraphicsContext(GraphicsObject):
"""Proxy of C++ GraphicsContext class"""
@@ -5399,6 +5387,30 @@ class GraphicsContext(GraphicsObject):
"""
return _gdi_.GraphicsContext_Rotate(*args, **kwargs)
def ConcatTransform(*args, **kwargs):
"""
ConcatTransform(self, GraphicsMatrix matrix)
concatenates this transform with the current transform of this context
"""
return _gdi_.GraphicsContext_ConcatTransform(*args, **kwargs)
def SetTransform(*args, **kwargs):
"""
SetTransform(self, GraphicsMatrix matrix)
sets the transform of this context
"""
return _gdi_.GraphicsContext_SetTransform(*args, **kwargs)
def GetTransform(*args, **kwargs):
"""
GetTransform(self) -> GraphicsMatrix
gets the matrix of this context
"""
return _gdi_.GraphicsContext_GetTransform(*args, **kwargs)
def SetPen(*args):
"""
SetPen(self, GraphicsPen pen)
@@ -5436,7 +5448,7 @@ class GraphicsContext(GraphicsObject):
def FillPath(*args, **kwargs):
"""
FillPath(self, GraphicsPath path, int fillStyle=WINDING_RULE)
FillPath(self, GraphicsPath path, int fillStyle=ODDEVEN_RULE)
fills a path with the current brush
"""
@@ -5444,7 +5456,7 @@ class GraphicsContext(GraphicsObject):
def DrawPath(*args, **kwargs):
"""
DrawPath(self, GraphicsPath path, int fillStyle=WINDING_RULE)
DrawPath(self, GraphicsPath path, int fillStyle=ODDEVEN_RULE)
draws a path by first filling and then stroking
"""
@@ -5504,7 +5516,7 @@ class GraphicsContext(GraphicsObject):
def DrawLines(*args, **kwargs):
"""
DrawLines(self, size_t points, int fillStyle=WINDING_RULE)
DrawLines(self, size_t points, int fillStyle=ODDEVEN_RULE)
draws a polygon
"""
@@ -5543,6 +5555,12 @@ class GraphicsContext(GraphicsObject):
return _gdi_.GraphicsContext_ShouldOffset(*args, **kwargs)
_gdi_.GraphicsContext_swigregister(GraphicsContext)
cvar = _gdi_.cvar
NullGraphicsPen = cvar.NullGraphicsPen
NullGraphicsBrush = cvar.NullGraphicsBrush
NullGraphicsFont = cvar.NullGraphicsFont
NullGraphicsMatrix = cvar.NullGraphicsMatrix
NullGraphicsPath = cvar.NullGraphicsPath
def GraphicsContext_Create(*args):
"""

File diff suppressed because it is too large Load Diff

View File

@@ -1435,6 +1435,49 @@ class FloatingPane(_windows.MiniFrame):
_aui.FloatingPane_swigregister(FloatingPane)
class TabArt(object):
"""Proxy of C++ TabArt class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
__swig_destroy__ = _aui.delete_TabArt
__del__ = lambda self : None;
def DrawBackground(*args, **kwargs):
"""DrawBackground(self, DC dc, Rect rect)"""
return _aui.TabArt_DrawBackground(*args, **kwargs)
def DrawTab(*args, **kwargs):
"""
DrawTab(self, DC dc, Rect in_rect, String caption, bool active, Rect out_rect,
int x_extent)
"""
return _aui.TabArt_DrawTab(*args, **kwargs)
def SetNormalFont(*args, **kwargs):
"""SetNormalFont(self, Font font)"""
return _aui.TabArt_SetNormalFont(*args, **kwargs)
def SetSelectedFont(*args, **kwargs):
"""SetSelectedFont(self, Font font)"""
return _aui.TabArt_SetSelectedFont(*args, **kwargs)
def SetMeasuringFont(*args, **kwargs):
"""SetMeasuringFont(self, Font font)"""
return _aui.TabArt_SetMeasuringFont(*args, **kwargs)
_aui.TabArt_swigregister(TabArt)
class DefaultTabArt(TabArt):
"""Proxy of C++ DefaultTabArt class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self) -> DefaultTabArt"""
_aui.DefaultTabArt_swiginit(self,_aui.new_DefaultTabArt(*args, **kwargs))
__swig_destroy__ = _aui.delete_DefaultTabArt
__del__ = lambda self : None;
_aui.DefaultTabArt_swigregister(DefaultTabArt)
class AuiNotebookEvent(_core.NotifyEvent):
"""Proxy of C++ AuiNotebookEvent class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
@@ -1488,6 +1531,7 @@ class AuiTabContainerButton(object):
__repr__ = _swig_repr
id = property(_aui.AuiTabContainerButton_id_get, _aui.AuiTabContainerButton_id_set)
cur_state = property(_aui.AuiTabContainerButton_cur_state_get, _aui.AuiTabContainerButton_cur_state_set)
location = property(_aui.AuiTabContainerButton_location_get, _aui.AuiTabContainerButton_location_set)
bitmap = property(_aui.AuiTabContainerButton_bitmap_get, _aui.AuiTabContainerButton_bitmap_set)
rect = property(_aui.AuiTabContainerButton_rect_get, _aui.AuiTabContainerButton_rect_set)
_aui.AuiTabContainerButton_swigregister(AuiTabContainerButton)
@@ -1501,6 +1545,14 @@ class AuiTabContainer(object):
_aui.AuiTabContainer_swiginit(self,_aui.new_AuiTabContainer(*args, **kwargs))
__swig_destroy__ = _aui.delete_AuiTabContainer
__del__ = lambda self : None;
def SetArtProvider(*args, **kwargs):
"""SetArtProvider(self, TabArt art)"""
return _aui.AuiTabContainer_SetArtProvider(*args, **kwargs)
def GetArtProvider(*args, **kwargs):
"""GetArtProvider(self) -> TabArt"""
return _aui.AuiTabContainer_GetArtProvider(*args, **kwargs)
def AddPage(*args, **kwargs):
"""AddPage(self, Window page, AuiNotebookPage info) -> bool"""
return _aui.AuiTabContainer_AddPage(*args, **kwargs)
@@ -1577,7 +1629,7 @@ class AuiTabContainer(object):
return _aui.AuiTabContainer_SetRect(*args, **kwargs)
def AddButton(*args, **kwargs):
"""AddButton(self, int id, Bitmap bmp)"""
"""AddButton(self, int id, int location, Bitmap bmp)"""
return _aui.AuiTabContainer_AddButton(*args, **kwargs)
ActivePage = property(GetActivePage,SetActivePage,doc="See `GetActivePage` and `SetActivePage`")
@@ -1659,6 +1711,14 @@ class AuiMultiNotebook(_core.Control):
"""GetPage(self, size_t page_idx) -> Window"""
return _aui.AuiMultiNotebook_GetPage(*args, **kwargs)
def SetArtProvider(*args, **kwargs):
"""SetArtProvider(self, TabArt art)"""
return _aui.AuiMultiNotebook_SetArtProvider(*args, **kwargs)
def GetArtProvider(*args, **kwargs):
"""GetArtProvider(self) -> TabArt"""
return _aui.AuiMultiNotebook_GetArtProvider(*args, **kwargs)
PageCount = property(GetPageCount,doc="See `GetPageCount`")
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
_aui.AuiMultiNotebook_swigregister(AuiMultiNotebook)
@@ -1693,5 +1753,16 @@ class PyDockArt(DefaultDockArt):
__repr__ = _swig_repr
_aui.PyDockArt_swigregister(PyDockArt)
class PyTabArt(DefaultTabArt):
"""
This version of the `TabArt` class has been instrumented to be
subclassable in Python and to reflect all calls to the C++ base class
methods to the Python methods implemented in the derived class.
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
_aui.PyTabArt_swigregister(PyTabArt)

File diff suppressed because it is too large Load Diff

View File

@@ -440,7 +440,26 @@ class GridCellBoolEditor(GridCellEditor):
_grid.GridCellBoolEditor_swiginit(self,_grid.new_GridCellBoolEditor(*args, **kwargs))
self._setOORInfo(self)
def UseStringValues(*args, **kwargs):
"""UseStringValues(String valueTrue=OneString, String valueFalse=EmptyString)"""
return _grid.GridCellBoolEditor_UseStringValues(*args, **kwargs)
UseStringValues = staticmethod(UseStringValues)
def IsTrueValue(*args, **kwargs):
"""IsTrueValue(String value) -> bool"""
return _grid.GridCellBoolEditor_IsTrueValue(*args, **kwargs)
IsTrueValue = staticmethod(IsTrueValue)
_grid.GridCellBoolEditor_swigregister(GridCellBoolEditor)
OneString = cvar.OneString
def GridCellBoolEditor_UseStringValues(*args, **kwargs):
"""GridCellBoolEditor_UseStringValues(String valueTrue=OneString, String valueFalse=EmptyString)"""
return _grid.GridCellBoolEditor_UseStringValues(*args, **kwargs)
def GridCellBoolEditor_IsTrueValue(*args, **kwargs):
"""GridCellBoolEditor_IsTrueValue(String value) -> bool"""
return _grid.GridCellBoolEditor_IsTrueValue(*args, **kwargs)
class GridCellChoiceEditor(GridCellEditor):
"""Proxy of C++ GridCellChoiceEditor class"""

View File

@@ -3482,6 +3482,7 @@ IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
static const wxString wxPyOneString(_T("1"));
SWIGINTERN void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject *_self){
if (!self->GetClientObject())
self->SetClientObject(new wxPyOORClientData(_self));
@@ -5700,6 +5701,26 @@ SWIGINTERN PyObject *GridCellFloatEditor_swiginit(PyObject *SWIGUNUSEDPARM(self)
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN int OneString_set(PyObject *) {
SWIG_Error(SWIG_AttributeError,"Variable OneString is read-only.");
return 1;
}
SWIGINTERN PyObject *OneString_get(void) {
PyObject *pyobj = 0;
{
#if wxUSE_UNICODE
pyobj = PyUnicode_FromWideChar((&wxPyOneString)->c_str(), (&wxPyOneString)->Len());
#else
pyobj = PyString_FromStringAndSize((&wxPyOneString)->c_str(), (&wxPyOneString)->Len());
#endif
}
return pyobj;
}
SWIGINTERN PyObject *_wrap_new_GridCellBoolEditor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxGridCellBoolEditor *result = 0 ;
@@ -5718,6 +5739,103 @@ fail:
}
SWIGINTERN PyObject *_wrap_GridCellBoolEditor_UseStringValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
PyObject *resultobj = 0;
wxString const &arg1_defvalue = wxPyOneString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
bool temp1 = false ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char * kwnames[] = {
(char *) "valueTrue",(char *) "valueFalse", NULL
};
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:GridCellBoolEditor_UseStringValues",kwnames,&obj0,&obj1)) SWIG_fail;
if (obj0) {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
temp1 = true;
}
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = true;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGridCellBoolEditor::UseStringValues((wxString const &)*arg1,(wxString const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_Py_Void();
{
if (temp1)
delete arg1;
}
{
if (temp2)
delete arg2;
}
return resultobj;
fail:
{
if (temp1)
delete arg1;
}
{
if (temp2)
delete arg2;
}
return NULL;
}
SWIGINTERN PyObject *_wrap_GridCellBoolEditor_IsTrueValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
PyObject *resultobj = 0;
wxString *arg1 = 0 ;
bool result;
bool temp1 = false ;
PyObject * obj0 = 0 ;
char * kwnames[] = {
(char *) "value", NULL
};
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridCellBoolEditor_IsTrueValue",kwnames,&obj0)) SWIG_fail;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)wxGridCellBoolEditor::IsTrueValue((wxString const &)*arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
}
{
if (temp1)
delete arg1;
}
return resultobj;
fail:
{
if (temp1)
delete arg1;
}
return NULL;
}
SWIGINTERN PyObject *GridCellBoolEditor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
@@ -20576,6 +20694,8 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister, METH_VARARGS, NULL},
{ (char *)"GridCellFloatEditor_swiginit", GridCellFloatEditor_swiginit, METH_VARARGS, NULL},
{ (char *)"new_GridCellBoolEditor", (PyCFunction)_wrap_new_GridCellBoolEditor, METH_NOARGS, NULL},
{ (char *)"GridCellBoolEditor_UseStringValues", (PyCFunction) _wrap_GridCellBoolEditor_UseStringValues, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GridCellBoolEditor_IsTrueValue", (PyCFunction) _wrap_GridCellBoolEditor_IsTrueValue, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister, METH_VARARGS, NULL},
{ (char *)"GridCellBoolEditor_swiginit", GridCellBoolEditor_swiginit, METH_VARARGS, NULL},
{ (char *)"new_GridCellChoiceEditor", (PyCFunction) _wrap_new_GridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS, NULL},
@@ -23387,6 +23507,7 @@ SWIGEXPORT void SWIG_init(void) {
SWIG_Python_SetConstant(d, "GRID_MIN_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxGRID_MIN_ROW_HEIGHT)));
SWIG_Python_SetConstant(d, "GRID_MIN_COL_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_MIN_COL_WIDTH)));
SWIG_Python_SetConstant(d, "GRID_DEFAULT_SCROLLBAR_WIDTH",SWIG_From_int(static_cast< int >(wxGRID_DEFAULT_SCROLLBAR_WIDTH)));
SWIG_addvarlink(SWIG_globals(),(char*)"OneString",OneString_get, OneString_set);
SWIG_Python_SetConstant(d, "GridCellAttr_Any",SWIG_From_int(static_cast< int >(wxGridCellAttr::Any)));
SWIG_Python_SetConstant(d, "GridCellAttr_Default",SWIG_From_int(static_cast< int >(wxGridCellAttr::Default)));
SWIG_Python_SetConstant(d, "GridCellAttr_Cell",SWIG_From_int(static_cast< int >(wxGridCellAttr::Cell)));