reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-09-26 02:09:51 +00:00
parent 976f924083
commit b411df4a29
21 changed files with 10176 additions and 2318 deletions

View File

@ -325,15 +325,15 @@ class LEDNumberCtrl(_core.Control):
return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
def SetAlignment(*args, **kwargs):
"""SetAlignment(self, int Alignment, bool Redraw=true)"""
"""SetAlignment(self, int Alignment, bool Redraw=True)"""
return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
def SetDrawFaded(*args, **kwargs):
"""SetDrawFaded(self, bool DrawFaded, bool Redraw=true)"""
"""SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
def SetValue(*args, **kwargs):
"""SetValue(self, String Value, bool Redraw=true)"""
"""SetValue(self, String Value, bool Redraw=True)"""
return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)

File diff suppressed because one or more lines are too long

View File

@ -593,7 +593,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *, PyObject *args, PyObject
PyObject *resultobj;
wxGLContext *arg1 = (wxGLContext *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -606,7 +606,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *, PyObject *args, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -707,7 +707,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *, PyObject *args, PyObject *kwargs
wxGLCanvas *result;
wxPoint temp3 ;
wxSize temp4 ;
bool temp6 = False ;
bool temp6 = false ;
int *temp7 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -748,7 +748,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *, PyObject *args, PyObject *kwargs
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = True;
temp6 = true;
}
}
if (obj6) {
@ -821,7 +821,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(PyObject *, PyObject *args, PyObj
wxGLCanvas *result;
wxPoint temp4 ;
wxSize temp5 ;
bool temp7 = False ;
bool temp7 = false ;
int *temp8 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -867,7 +867,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(PyObject *, PyObject *args, PyObj
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
temp7 = True;
temp7 = true;
}
}
if (obj7) {
@ -951,7 +951,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *, PyObject *args, PyObject *
PyObject *resultobj;
wxGLCanvas *arg1 = (wxGLCanvas *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -964,7 +964,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *, PyObject *args, PyObject *
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();

View File

@ -1223,11 +1223,11 @@ class PseudoMetaFile(_core.Object):
return _ogl.PseudoMetaFile_DestroyClippingRect(*args, **kwargs)
def SetPen(*args, **kwargs):
"""SetPen(self, wxPen pen, bool isOutline=FALSE)"""
"""SetPen(self, wxPen pen, bool isOutline=False)"""
return _ogl.PseudoMetaFile_SetPen(*args, **kwargs)
def SetBrush(*args, **kwargs):
"""SetBrush(self, wxBrush brush, bool isFill=FALSE)"""
"""SetBrush(self, wxBrush brush, bool isFill=False)"""
return _ogl.PseudoMetaFile_SetBrush(*args, **kwargs)
def SetFont(*args, **kwargs):
@ -1290,7 +1290,7 @@ class PyRectangleShape(PyShape):
return _ogl.PyRectangleShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyRectangleShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -1452,7 +1452,7 @@ class PyControlPoint(PyRectangleShape):
return _ogl.PyControlPoint_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyControlPoint_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -1622,7 +1622,7 @@ class PyBitmapShape(PyRectangleShape):
return _ogl.PyBitmapShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyBitmapShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -1848,7 +1848,7 @@ class PyDrawnShape(PyRectangleShape):
return _ogl.PyDrawnShape_SetDrawnBackgroundMode(*args, **kwargs)
def SetDrawnBrush(*args, **kwargs):
"""SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)"""
"""SetDrawnBrush(self, wxBrush pen, bool isOutline=False)"""
return _ogl.PyDrawnShape_SetDrawnBrush(*args, **kwargs)
def SetDrawnFont(*args, **kwargs):
@ -1856,7 +1856,7 @@ class PyDrawnShape(PyRectangleShape):
return _ogl.PyDrawnShape_SetDrawnFont(*args, **kwargs)
def SetDrawnPen(*args, **kwargs):
"""SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)"""
"""SetDrawnPen(self, wxPen pen, bool isOutline=False)"""
return _ogl.PyDrawnShape_SetDrawnPen(*args, **kwargs)
def SetDrawnTextColour(*args, **kwargs):
@ -1888,7 +1888,7 @@ class PyDrawnShape(PyRectangleShape):
return _ogl.PyDrawnShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyDrawnShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -2127,7 +2127,7 @@ class PyCompositeShape(PyRectangleShape):
return _ogl.PyCompositeShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyCompositeShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -2289,7 +2289,7 @@ class PyDividedShape(PyRectangleShape):
return _ogl.PyDividedShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyDividedShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -2543,7 +2543,7 @@ class PyDivisionShape(PyCompositeShape):
return _ogl.PyDivisionShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyDivisionShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -2693,7 +2693,7 @@ class PyEllipseShape(PyShape):
return _ogl.PyEllipseShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyEllipseShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -2843,7 +2843,7 @@ class PyCircleShape(PyEllipseShape):
return _ogl.PyCircleShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyCircleShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -3276,7 +3276,7 @@ class PyLineShape(PyShape):
return _ogl.PyLineShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyLineShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -3470,7 +3470,7 @@ class PyPolygonShape(PyShape):
return _ogl.PyPolygonShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyPolygonShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
@ -3624,7 +3624,7 @@ class PyTextShape(PyRectangleShape):
return _ogl.PyTextShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
"""base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
"""base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyTextShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):

View File

@ -969,7 +969,7 @@ static PyObject *_wrap_ShapeRegion_SetText(PyObject *, PyObject *args, PyObject
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -982,7 +982,7 @@ static PyObject *_wrap_ShapeRegion_SetText(PyObject *, PyObject *args, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -1220,7 +1220,7 @@ static PyObject *_wrap_ShapeRegion_SetName(PyObject *, PyObject *args, PyObject
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1233,7 +1233,7 @@ static PyObject *_wrap_ShapeRegion_SetName(PyObject *, PyObject *args, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -1261,7 +1261,7 @@ static PyObject *_wrap_ShapeRegion_SetColour(PyObject *, PyObject *args, PyObjec
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1274,7 +1274,7 @@ static PyObject *_wrap_ShapeRegion_SetColour(PyObject *, PyObject *args, PyObjec
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -1744,7 +1744,7 @@ static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *, PyObject *args, PyOb
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1757,7 +1757,7 @@ static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *, PyObject *args, PyOb
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -2405,7 +2405,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *, PyObjec
PyObject *resultobj;
wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -2753,7 +2753,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *, PyObject *ar
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -2812,7 +2812,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *, PyObject *a
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -3260,7 +3260,7 @@ static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *, PyObject *a
PyObject *resultobj;
wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -4406,7 +4406,7 @@ static PyObject *_wrap_PyShape_CalculateSize(PyObject *, PyObject *args, PyObjec
static PyObject *_wrap_PyShape_Select(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
wxDC *arg3 = (wxDC *) NULL ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -4443,8 +4443,8 @@ static PyObject *_wrap_PyShape_Select(PyObject *, PyObject *args, PyObject *kwar
static PyObject *_wrap_PyShape_SetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
bool arg2 = (bool) True ;
bool arg3 = (bool) False ;
bool arg2 = (bool) true ;
bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -4565,7 +4565,7 @@ static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *, PyObject *args,
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
int arg2 = (int) OP_ALL ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -4628,7 +4628,7 @@ static PyObject *_wrap_PyShape_SetDraggable(PyObject *, PyObject *args, PyObject
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
bool arg2 ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -4846,7 +4846,7 @@ static PyObject *_wrap_PyShape_SetShadowMode(PyObject *, PyObject *args, PyObjec
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
int arg2 ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -5409,7 +5409,7 @@ static PyObject *_wrap_PyShape_Move(PyObject *, PyObject *args, PyObject *kwargs
wxDC *arg2 = 0 ;
double arg3 ;
double arg4 ;
bool arg5 = (bool) True ;
bool arg5 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -5651,7 +5651,7 @@ static PyObject *_wrap_PyShape_SetSize(PyObject *, PyObject *args, PyObject *kwa
wxPyShape *arg1 = (wxPyShape *) 0 ;
double arg2 ;
double arg3 ;
bool arg4 = (bool) True ;
bool arg4 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -5891,7 +5891,7 @@ static PyObject *_wrap_PyShape_AddText(PyObject *, PyObject *args, PyObject *kwa
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5904,7 +5904,7 @@ static PyObject *_wrap_PyShape_AddText(PyObject *, PyObject *args, PyObject *kwa
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6011,7 +6011,7 @@ static PyObject *_wrap_PyShape_FormatText(PyObject *, PyObject *args, PyObject *
wxDC *arg2 = 0 ;
wxString *arg3 = 0 ;
int arg4 = (int) 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -6033,7 +6033,7 @@ static PyObject *_wrap_PyShape_FormatText(PyObject *, PyObject *args, PyObject *
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
@ -6220,7 +6220,7 @@ static PyObject *_wrap_PyShape_SetTextColour(PyObject *, PyObject *args, PyObjec
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -6234,7 +6234,7 @@ static PyObject *_wrap_PyShape_SetTextColour(PyObject *, PyObject *args, PyObjec
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
@ -6331,7 +6331,7 @@ static PyObject *_wrap_PyShape_SetRegionName(PyObject *, PyObject *args, PyObjec
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -6345,7 +6345,7 @@ static PyObject *_wrap_PyShape_SetRegionName(PyObject *, PyObject *args, PyObjec
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
@ -6414,7 +6414,7 @@ static PyObject *_wrap_PyShape_GetRegionId(PyObject *, PyObject *args, PyObject
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
int result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -6427,7 +6427,7 @@ static PyObject *_wrap_PyShape_GetRegionId(PyObject *, PyObject *args, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6456,7 +6456,7 @@ static PyObject *_wrap_PyShape_NameRegions(PyObject *, PyObject *args, PyObject
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -6470,7 +6470,7 @@ static PyObject *_wrap_PyShape_NameRegions(PyObject *, PyObject *args, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
}
{
@ -6606,7 +6606,7 @@ static PyObject *_wrap_PyShape_FindRegion(PyObject *, PyObject *args, PyObject *
wxString *arg2 = 0 ;
int *arg3 = (int *) 0 ;
wxPyShape *result;
bool temp2 = False ;
bool temp2 = false ;
int temp3 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
@ -6622,7 +6622,7 @@ static PyObject *_wrap_PyShape_FindRegion(PyObject *, PyObject *args, PyObject *
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -7059,7 +7059,7 @@ static PyObject *_wrap_PyShape_EraseLinks(PyObject *, PyObject *args, PyObject *
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
int arg3 = (int) -1 ;
bool arg4 = (bool) False ;
bool arg4 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -7105,7 +7105,7 @@ static PyObject *_wrap_PyShape_DrawLinks(PyObject *, PyObject *args, PyObject *k
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
int arg3 = (int) -1 ;
bool arg4 = (bool) False ;
bool arg4 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -7740,8 +7740,8 @@ static PyObject *_wrap_PyShape_HasDescendant(PyObject *, PyObject *args, PyObjec
static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
bool arg2 = (bool) True ;
bool arg3 = (bool) True ;
bool arg2 = (bool) true ;
bool arg3 = (bool) true ;
wxPyShape *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -8187,7 +8187,7 @@ static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *, PyObject *args, P
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -8535,7 +8535,7 @@ static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *, PyObject *args, PyObje
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -8594,7 +8594,7 @@ static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *, PyObject *args, PyObj
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -9042,7 +9042,7 @@ static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *, PyObject *args, PyObj
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -9595,7 +9595,7 @@ static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *, PyObject *arg
double *arg3 = (double *) 0 ;
double *arg4 = (double *) 0 ;
bool result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -9610,7 +9610,7 @@ static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *, PyObject *arg
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
@ -10285,7 +10285,7 @@ static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *, PyObject *args, PyObj
wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
wxString *arg2 = 0 ;
wxPoint *arg3 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -10300,7 +10300,7 @@ static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *, PyObject *args, PyObj
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
arg3 = &temp3;
@ -11319,7 +11319,7 @@ static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *, PyObject *arg
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -11378,7 +11378,7 @@ static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *, PyObject *ar
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -11826,7 +11826,7 @@ static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *, PyObject *ar
PyObject *resultobj;
wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12649,7 +12649,7 @@ static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *, PyObject *args,
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -12708,7 +12708,7 @@ static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *, PyObject *args
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -13156,7 +13156,7 @@ static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *, PyObject *args
PyObject *resultobj;
wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -13571,7 +13571,7 @@ static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *, PyObject *args, PyO
PyObject *resultobj;
wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -13584,7 +13584,7 @@ static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *, PyObject *args, PyO
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -14053,7 +14053,7 @@ static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *, PyObject *args,
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -14112,7 +14112,7 @@ static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *, PyObject *args,
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -14560,7 +14560,7 @@ static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *, PyObject *args,
PyObject *resultobj;
wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -15302,7 +15302,7 @@ static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *, PyObject *args, PyObjec
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
wxString *arg2 = 0 ;
wxPoint *arg3 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -15317,7 +15317,7 @@ static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *, PyObject *args, PyObjec
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
arg3 = &temp3;
@ -15431,7 +15431,7 @@ static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *, PyObject *args,
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
wxString *arg2 = 0 ;
bool result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -15444,7 +15444,7 @@ static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *, PyObject *args,
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -16321,7 +16321,7 @@ static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *, PyObject *args, P
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -16380,7 +16380,7 @@ static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *, PyObject *args,
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -16828,7 +16828,7 @@ static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *, PyObject *args,
PyObject *resultobj;
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -18148,7 +18148,7 @@ static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *, PyObject *arg
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -18207,7 +18207,7 @@ static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *, PyObject *ar
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -18655,7 +18655,7 @@ static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *, PyObject *ar
PyObject *resultobj;
wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -19475,7 +19475,7 @@ static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *, PyObject *args,
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -19534,7 +19534,7 @@ static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *, PyObject *args
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -19982,7 +19982,7 @@ static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *, PyObject *args
PyObject *resultobj;
wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -20868,7 +20868,7 @@ static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *, PyObject *a
PyObject *resultobj;
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -20881,7 +20881,7 @@ static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *, PyObject *a
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -21012,7 +21012,7 @@ static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *, PyObject *ar
PyObject *resultobj;
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -21025,7 +21025,7 @@ static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *, PyObject *ar
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -21539,7 +21539,7 @@ static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *, PyObject *args
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -21598,7 +21598,7 @@ static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *, PyObject *arg
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -22046,7 +22046,7 @@ static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *, PyObject *arg
PyObject *resultobj;
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -22791,7 +22791,7 @@ static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *, PyObject *args,
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -22850,7 +22850,7 @@ static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *, PyObject *args
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -23298,7 +23298,7 @@ static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *, PyObject *args
PyObject *resultobj;
wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -24037,7 +24037,7 @@ static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *, PyObject *args,
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -24096,7 +24096,7 @@ static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *, PyObject *args,
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -24544,7 +24544,7 @@ static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *, PyObject *args,
PyObject *resultobj;
wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -24815,7 +24815,7 @@ static PyObject *_wrap_new_ArrowHead(PyObject *, PyObject *args, PyObject *kwarg
wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
long arg7 = (long) -1 ;
wxArrowHead *result;
bool temp5 = False ;
bool temp5 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -24848,7 +24848,7 @@ static PyObject *_wrap_new_ArrowHead(PyObject *, PyObject *args, PyObject *kwarg
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
temp5 = True;
temp5 = true;
}
}
if (obj5) {
@ -25418,7 +25418,7 @@ static PyObject *_wrap_PyLineShape_AddArrow(PyObject *, PyObject *args, PyObject
wxString *arg6 = (wxString *) &arg6_defvalue ;
wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
long arg8 = (long) -1 ;
bool temp6 = False ;
bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -25452,7 +25452,7 @@ static PyObject *_wrap_PyLineShape_AddArrow(PyObject *, PyObject *args, PyObject
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = True;
temp6 = true;
}
}
if (obj6) {
@ -25526,7 +25526,7 @@ static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *, PyObject *args, PyObje
wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
wxString *arg2 = 0 ;
bool result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -25539,7 +25539,7 @@ static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *, PyObject *args, PyObje
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -25680,7 +25680,7 @@ static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *, PyObject *args, P
int arg2 ;
wxString *arg3 = 0 ;
bool result;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -25696,7 +25696,7 @@ static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *, PyObject *args, P
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -25914,7 +25914,7 @@ static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *, PyObject *args, PyO
int arg2 ;
wxString *arg3 = 0 ;
wxArrowHead *result;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -25930,7 +25930,7 @@ static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *, PyObject *args, PyO
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -27439,7 +27439,7 @@ static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *, PyObject *args, Py
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -27498,7 +27498,7 @@ static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *, PyObject *args, P
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -27946,7 +27946,7 @@ static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *, PyObject *args, P
PyObject *resultobj;
wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -28982,7 +28982,7 @@ static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *, PyObject *args,
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -29041,7 +29041,7 @@ static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *, PyObject *args
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -29489,7 +29489,7 @@ static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *, PyObject *args
PyObject *resultobj;
wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -30259,7 +30259,7 @@ static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *, PyObject *args, Py
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -30318,7 +30318,7 @@ static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *, PyObject *args, P
double arg4 ;
double arg5 ;
double arg6 ;
bool arg7 = (bool) True ;
bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -30766,7 +30766,7 @@ static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *, PyObject *args, P
PyObject *resultobj;
wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
wxDC *arg2 = 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -31813,7 +31813,7 @@ static PyObject *_wrap_new_PyShapeCanvas(PyObject *, PyObject *args, PyObject *k
wxPyShapeCanvas *result;
wxPoint temp3 ;
wxSize temp4 ;
bool temp6 = False ;
bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -31853,7 +31853,7 @@ static PyObject *_wrap_new_PyShapeCanvas(PyObject *, PyObject *args, PyObject *k
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = True;
temp6 = true;
}
}
{

View File

@ -581,7 +581,7 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *
wxStyledTextCtrl *result;
wxPoint temp3 ;
wxSize temp4 ;
bool temp6 = False ;
bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -619,7 +619,7 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = True;
temp6 = true;
}
}
{
@ -682,7 +682,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObjec
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxPoint temp4 ;
wxSize temp5 ;
bool temp7 = False ;
bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -723,7 +723,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObjec
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
temp7 = True;
temp7 = true;
}
}
{
@ -752,7 +752,7 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObje
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -765,7 +765,7 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObje
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -793,7 +793,7 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args,
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxMemoryBuffer *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -811,7 +811,7 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args,
char* str = PyString_AS_STRING(obj1);
int len = PyString_GET_SIZE(obj1);
arg2 = new wxMemoryBuffer(len);
temp2 = True;
temp2 = true;
memcpy(arg2->GetData(), str, len);
arg2->SetDataLen(len);
}
@ -840,7 +840,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyO
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -856,7 +856,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyO
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -2698,7 +2698,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *arg
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -2714,7 +2714,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *arg
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3251,7 +3251,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, P
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -3264,7 +3264,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, P
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3844,7 +3844,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, P
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -3860,7 +3860,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, P
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3992,7 +3992,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args,
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -4005,7 +4005,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args,
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -4088,7 +4088,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args,
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -4101,7 +4101,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args,
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -4186,7 +4186,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *a
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -4199,7 +4199,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *a
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -4342,7 +4342,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, P
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -4358,7 +4358,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, P
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5389,7 +5389,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj
wxString *arg4 = 0 ;
int arg5 = (int) 0 ;
int result;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -5409,7 +5409,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
if (obj4) {
arg5 = (int)SWIG_As_int(obj4);
@ -5977,7 +5977,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *arg
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5990,7 +5990,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *arg
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6253,7 +6253,7 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObje
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -6266,7 +6266,7 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObje
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6575,7 +6575,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args,
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
int result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -6588,7 +6588,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args,
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6617,7 +6617,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
int result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -6630,7 +6630,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6659,7 +6659,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args,
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
int result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -6672,7 +6672,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args,
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6756,7 +6756,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, Py
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -6772,7 +6772,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, Py
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -7878,7 +7878,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb
int arg2 ;
wxString *arg3 = 0 ;
int result;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -7894,7 +7894,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -8065,7 +8065,7 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyO
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -8081,7 +8081,7 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyO
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -10228,7 +10228,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO
int arg2 ;
wxString *arg3 = 0 ;
int result;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -10244,7 +10244,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -10274,7 +10274,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO
int arg2 ;
wxString *arg3 = 0 ;
int result;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -10290,7 +10290,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -11551,7 +11551,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObj
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -11567,7 +11567,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObj
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -12135,7 +12135,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *a
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -12148,7 +12148,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *a
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -12366,8 +12366,8 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, Py
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
bool temp2 = False ;
bool temp3 = False ;
bool temp2 = false ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12381,12 +12381,12 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, Py
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -12423,7 +12423,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, Py
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12439,7 +12439,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, Py
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -12467,7 +12467,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *arg
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -12480,7 +12480,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *arg
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -12535,7 +12535,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, P
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12551,7 +12551,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, P
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -12622,7 +12622,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *arg
bool arg5 ;
bool arg6 ;
bool arg7 ;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12644,7 +12644,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *arg
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
arg5 = (bool)SWIG_As_bool(obj4);
if (PyErr_Occurred()) SWIG_fail;
@ -13027,7 +13027,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObj
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -13040,7 +13040,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObj
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -13071,7 +13071,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObj
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -13084,7 +13084,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObj
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -13155,7 +13155,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyO
long arg3 ;
wxString *arg4 = 0 ;
bool result;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -13174,7 +13174,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyO
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -13443,7 +13443,7 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObj
PyObject *resultobj;
wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -13456,7 +13456,7 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObj
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -13832,7 +13832,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, P
PyObject *resultobj;
wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -13845,7 +13845,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, P
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();

View File

@ -3090,7 +3090,7 @@ class NotebookPage(wx.Panel):
wx.Panel.__init__(self, parent, id, pos, size, style, name)
self.child = None
EVT_SIZE(self, self.OnSize)
def OnSize(self, evt):
if self.child is None:
children = self.GetChildren()
@ -3177,6 +3177,80 @@ wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING = _controls_.wxEVT_COMMAND_LISTBOOK_PAGE_CH
EVT_LISTBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 1 )
EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 1 )
CHB_DEFAULT = _controls_.CHB_DEFAULT
CHB_TOP = _controls_.CHB_TOP
CHB_BOTTOM = _controls_.CHB_BOTTOM
CHB_LEFT = _controls_.CHB_LEFT
CHB_RIGHT = _controls_.CHB_RIGHT
CHB_ALIGN_MASK = _controls_.CHB_ALIGN_MASK
class Choicebook(BookCtrl):
def __repr__(self):
return "<%s.%s; proxy of C++ wxChoicebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
long style=0, String name=EmptyString) -> Choicebook
"""
newobj = _controls_.new_Choicebook(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def Create(*args, **kwargs):
"""
Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
long style=0, String name=EmptyString) -> bool
"""
return _controls_.Choicebook_Create(*args, **kwargs)
def IsVertical(*args, **kwargs):
"""IsVertical(self) -> bool"""
return _controls_.Choicebook_IsVertical(*args, **kwargs)
def DeleteAllPages(*args, **kwargs):
"""DeleteAllPages(self) -> bool"""
return _controls_.Choicebook_DeleteAllPages(*args, **kwargs)
class ChoicebookPtr(Choicebook):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = Choicebook
_controls_.Choicebook_swigregister(ChoicebookPtr)
def PreChoicebook(*args, **kwargs):
"""PreChoicebook() -> Choicebook"""
val = _controls_.new_PreChoicebook(*args, **kwargs)
val.thisown = 1
return val
class ChoicebookEvent(BookCtrlEvent):
def __repr__(self):
return "<%s.%s; proxy of C++ wxChoicebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
int nOldSel=-1) -> ChoicebookEvent
"""
newobj = _controls_.new_ChoicebookEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
class ChoicebookEventPtr(ChoicebookEvent):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = ChoicebookEvent
_controls_.ChoicebookEvent_swigregister(ChoicebookEventPtr)
wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED = _controls_.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING = _controls_.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
EVT_CHOICEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED, 1 )
EVT_CHOICEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING, 1 )
#---------------------------------------------------------------------------
class BookCtrlSizer(_core.Sizer):

File diff suppressed because one or more lines are too long

View File

@ -1771,6 +1771,11 @@ class FileSystem(Object):
return _core_.FileSystem_FileNameToURL(*args, **kwargs)
FileNameToURL = staticmethod(FileNameToURL)
def URLToFileName(*args, **kwargs):
"""URLToFileName(String url) -> String"""
return _core_.FileSystem_URLToFileName(*args, **kwargs)
URLToFileName = staticmethod(URLToFileName)
class FileSystemPtr(FileSystem):
def __init__(self, this):
@ -1791,10 +1796,10 @@ def FileSystem_FileNameToURL(*args, **kwargs):
"""FileSystem_FileNameToURL(String filename) -> String"""
return _core_.FileSystem_FileNameToURL(*args, **kwargs)
def FileSystem_URLToFileName(*args, **kwargs):
"""FileSystem_URLToFileName(String url) -> String"""
return _core_.FileSystem_URLToFileName(*args, **kwargs)
class InternetFSHandler(CPPFileSystemHandler):
def __repr__(self):
return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1865,14 +1870,22 @@ def __wxMemoryFSHandler_AddFile_wxBitmap(*args, **kwargs):
def __wxMemoryFSHandler_AddFile_Data(*args, **kwargs):
"""__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)"""
return _core_.__wxMemoryFSHandler_AddFile_Data(*args, **kwargs)
def MemoryFSHandler_AddFile(filename, a, b=''):
if isinstance(a, wx.Image):
__wxMemoryFSHandler_AddFile_wxImage(filename, a, b)
elif isinstance(a, wx.Bitmap):
__wxMemoryFSHandler_AddFile_wxBitmap(filename, a, b)
elif type(a) == str:
__wxMemoryFSHandler_AddFile_Data(filename, a)
else: raise TypeError, 'wx.Image, wx.Bitmap or string expected'
def MemoryFSHandler_AddFile(filename, dataItem, imgType=-1):
"""
Add 'file' to the memory filesystem. The dataItem parameter can
either be a `wx.Bitmap`, `wx.Image` or a string that can contain
arbitrary data. If a bitmap or image is used then the imgType
parameter should specify what kind of image file it should be
written as, wx.BITMAP_TYPE_PNG, etc.
"""
if isinstance(dataItem, wx.Image):
__wxMemoryFSHandler_AddFile_wxImage(filename, dataItem, imgType)
elif isinstance(dataItem, wx.Bitmap):
__wxMemoryFSHandler_AddFile_wxBitmap(filename, dataItem, imgType)
elif type(dataItem) == str:
__wxMemoryFSHandler_AddFile_Data(filename, dataItem)
else:
raise TypeError, 'wx.Image, wx.Bitmap or string expected'
class MemoryFSHandler(CPPFileSystemHandler):
def __repr__(self):
@ -5398,6 +5411,69 @@ _sys.__wxPythonCleanup = __wxPyCleanup()
#---------------------------------------------------------------------------
class EventLoop(object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxEventLoop instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self) -> EventLoop"""
newobj = _core_.new_EventLoop(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __del__(self, destroy=_core_.delete_EventLoop):
"""__del__(self)"""
try:
if self.thisown: destroy(self)
except: pass
def Run(*args, **kwargs):
"""Run(self) -> int"""
return _core_.EventLoop_Run(*args, **kwargs)
def Exit(*args, **kwargs):
"""Exit(self, int rc=0)"""
return _core_.EventLoop_Exit(*args, **kwargs)
def Pending(*args, **kwargs):
"""Pending(self) -> bool"""
return _core_.EventLoop_Pending(*args, **kwargs)
def Dispatch(*args, **kwargs):
"""Dispatch(self) -> bool"""
return _core_.EventLoop_Dispatch(*args, **kwargs)
def IsRunning(*args, **kwargs):
"""IsRunning(self) -> bool"""
return _core_.EventLoop_IsRunning(*args, **kwargs)
def GetActive(*args, **kwargs):
"""GetActive() -> EventLoop"""
return _core_.EventLoop_GetActive(*args, **kwargs)
GetActive = staticmethod(GetActive)
def SetActive(*args, **kwargs):
"""SetActive(EventLoop loop)"""
return _core_.EventLoop_SetActive(*args, **kwargs)
SetActive = staticmethod(SetActive)
class EventLoopPtr(EventLoop):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = EventLoop
_core_.EventLoop_swigregister(EventLoopPtr)
def EventLoop_GetActive(*args, **kwargs):
"""EventLoop_GetActive() -> EventLoop"""
return _core_.EventLoop_GetActive(*args, **kwargs)
def EventLoop_SetActive(*args, **kwargs):
"""EventLoop_SetActive(EventLoop loop)"""
return _core_.EventLoop_SetActive(*args, **kwargs)
#---------------------------------------------------------------------------
class AcceleratorEntry(object):
"""
A class used to define items in an `wx.AcceleratorTable`. wxPython
@ -7525,7 +7601,7 @@ class Window(EvtHandler):
layout sizer object is already owned by the window, it will be deleted
if the deleteOld parameter is true. Note that this function will also
call SetAutoLayout implicitly with a True parameter if the sizer is
non-NoneL and False otherwise.
non-None, and False otherwise.
"""
return _core_.Window_SetSizer(*args, **kwargs)
@ -9324,7 +9400,7 @@ class Sizer(Object):
def Show(*args, **kwargs):
"""
Show(self, item, bool show=True, bool recursive=False) -> bool
Show(self, item, bool show=True, bool recursive=false) -> bool
Shows or hides an item managed by the sizer. To make a sizer item
disappear or reappear, use Show followed by `Layout`. The *item*
@ -9349,7 +9425,7 @@ class Sizer(Object):
"""
A convenience method for Show(item, False, recursive).
"""
return self.Show(item, False, recursive)
return self.Show(item, false, recursive)
def ShowItems(*args, **kwargs):
"""

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -294,6 +294,7 @@ FRAME_FLOAT_ON_PARENT = _windows_.FRAME_FLOAT_ON_PARENT
FRAME_NO_WINDOW_MENU = _windows_.FRAME_NO_WINDOW_MENU
FRAME_NO_TASKBAR = _windows_.FRAME_NO_TASKBAR
FRAME_SHAPED = _windows_.FRAME_SHAPED
FRAME_DRAWER = _windows_.FRAME_DRAWER
DIALOG_MODAL = _windows_.DIALOG_MODAL
DIALOG_MODELESS = _windows_.DIALOG_MODELESS
USER_COLOURS = _windows_.USER_COLOURS
@ -2051,6 +2052,27 @@ class TaskBarIcon(_core.EvtHandler):
"""
return _windows_.TaskBarIcon_Destroy(*args, **kwargs)
def IsOk(*args, **kwargs):
"""IsOk(self) -> bool"""
return _windows_.TaskBarIcon_IsOk(*args, **kwargs)
def __nonzero__(self): return self.IsOk()
def IsIconInstalled(*args, **kwargs):
"""IsIconInstalled(self) -> bool"""
return _windows_.TaskBarIcon_IsIconInstalled(*args, **kwargs)
def SetIcon(*args, **kwargs):
"""SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
return _windows_.TaskBarIcon_SetIcon(*args, **kwargs)
def RemoveIcon(*args, **kwargs):
"""RemoveIcon(self) -> bool"""
return _windows_.TaskBarIcon_RemoveIcon(*args, **kwargs)
def PopupMenu(*args, **kwargs):
"""PopupMenu(self, Menu menu) -> bool"""
return _windows_.TaskBarIcon_PopupMenu(*args, **kwargs)
class TaskBarIconPtr(TaskBarIcon):
def __init__(self, this):
@ -3648,6 +3670,21 @@ PRINT_MODE_PREVIEW = _windows_.PRINT_MODE_PREVIEW
PRINT_MODE_FILE = _windows_.PRINT_MODE_FILE
PRINT_MODE_PRINTER = _windows_.PRINT_MODE_PRINTER
PRINT_MODE_STREAM = _windows_.PRINT_MODE_STREAM
PRINTBIN_DEFAULT = _windows_.PRINTBIN_DEFAULT
PRINTBIN_ONLYONE = _windows_.PRINTBIN_ONLYONE
PRINTBIN_LOWER = _windows_.PRINTBIN_LOWER
PRINTBIN_MIDDLE = _windows_.PRINTBIN_MIDDLE
PRINTBIN_MANUAL = _windows_.PRINTBIN_MANUAL
PRINTBIN_ENVELOPE = _windows_.PRINTBIN_ENVELOPE
PRINTBIN_ENVMANUAL = _windows_.PRINTBIN_ENVMANUAL
PRINTBIN_AUTO = _windows_.PRINTBIN_AUTO
PRINTBIN_TRACTOR = _windows_.PRINTBIN_TRACTOR
PRINTBIN_SMALLFMT = _windows_.PRINTBIN_SMALLFMT
PRINTBIN_LARGEFMT = _windows_.PRINTBIN_LARGEFMT
PRINTBIN_LARGECAPACITY = _windows_.PRINTBIN_LARGECAPACITY
PRINTBIN_CASSETTE = _windows_.PRINTBIN_CASSETTE
PRINTBIN_FORMSOURCE = _windows_.PRINTBIN_FORMSOURCE
PRINTBIN_USER = _windows_.PRINTBIN_USER
class PrintData(_core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -3706,6 +3743,10 @@ class PrintData(_core.Object):
"""GetQuality(self) -> int"""
return _windows_.PrintData_GetQuality(*args, **kwargs)
def GetBin(*args, **kwargs):
"""GetBin(self) -> int"""
return _windows_.PrintData_GetBin(*args, **kwargs)
def SetNoCopies(*args, **kwargs):
"""SetNoCopies(self, int v)"""
return _windows_.PrintData_SetNoCopies(*args, **kwargs)
@ -3742,6 +3783,10 @@ class PrintData(_core.Object):
"""SetQuality(self, int quality)"""
return _windows_.PrintData_SetQuality(*args, **kwargs)
def SetBin(*args, **kwargs):
"""SetBin(self, int bin)"""
return _windows_.PrintData_SetBin(*args, **kwargs)
def GetPrinterCommand(*args, **kwargs):
"""GetPrinterCommand(self) -> String"""
return _windows_.PrintData_GetPrinterCommand(*args, **kwargs)

File diff suppressed because it is too large Load Diff

View File

@ -1291,7 +1291,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw
wxCalendarCtrl *result;
wxPoint temp4 ;
wxSize temp5 ;
bool temp7 = False ;
bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -1339,7 +1339,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
temp7 = True;
temp7 = true;
}
}
{
@ -1405,7 +1405,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject
bool result;
wxPoint temp5 ;
wxSize temp6 ;
bool temp8 = False ;
bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -1454,7 +1454,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
temp8 = True;
temp8 = true;
}
}
{
@ -1737,7 +1737,7 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *, PyObject *args, PyO
static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1768,7 +1768,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args,
static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1799,7 +1799,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args
static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {

View File

@ -1096,7 +1096,7 @@ public:
bool EndEdit(int row, int col, wxGrid* grid) {
bool rv = False;
bool rv = false;
bool blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
PyObject* go = wxPyMake_wxObject(grid,false);
@ -1482,7 +1482,7 @@ bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
if (source == Py_None) {
**obj = wxGridCellCoords(-1,-1);
return True;
return true;
}
// If source is an object instance then it may already be the right type
@ -1491,7 +1491,7 @@ bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
goto error;
*obj = ptr;
return True;
return true;
}
// otherwise a 2-tuple of integers is expected
else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
@ -1505,12 +1505,12 @@ bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
**obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
Py_DECREF(o1);
Py_DECREF(o2);
return True;
return true;
}
error:
PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
return False;
return false;
}
@ -1519,13 +1519,13 @@ bool wxGridCellCoords_typecheck(PyObject* source) {
if (wxPySwigInstance_Check(source) &&
wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
return True;
return true;
PyErr_Clear();
if (PySequence_Check(source) && PySequence_Length(source) == 2)
return True;
return true;
return False;
return false;
}
@ -1642,7 +1642,7 @@ static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *, PyObject *args
PyObject *resultobj;
wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1655,7 +1655,7 @@ static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *, PyObject *args
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -1957,7 +1957,7 @@ static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *, PyObjec
PyObject *resultobj;
wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -1970,7 +1970,7 @@ static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *, PyObjec
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -2293,7 +2293,7 @@ static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *, PyObject *args, PyOb
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxGridCellEnumRenderer *result;
bool temp1 = False ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "choices", NULL
@ -2304,7 +2304,7 @@ static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *, PyObject *args, PyOb
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
temp1 = True;
temp1 = true;
}
}
{
@ -2539,7 +2539,7 @@ static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *, PyObject *args,
PyObject *resultobj;
wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -2552,7 +2552,7 @@ static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *, PyObject *args,
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3373,7 +3373,7 @@ static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *, PyObject
PyObject *resultobj;
wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
wxString *arg2 = 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -3386,7 +3386,7 @@ static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *, PyObject
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -3689,7 +3689,7 @@ static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *, PyObject *args, PyOb
PyObject *resultobj;
int arg1 = (int) 0 ;
wxString *arg2 = (wxString *) NULL ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
wxGridCellChoiceEditor *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -3773,7 +3773,7 @@ static PyObject *_wrap_new_GridCellEnumEditor(PyObject *, PyObject *args, PyObje
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxGridCellEnumEditor *result;
bool temp1 = False ;
bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "choices", NULL
@ -3784,7 +3784,7 @@ static PyObject *_wrap_new_GridCellEnumEditor(PyObject *, PyObject *args, PyObje
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
temp1 = True;
temp1 = true;
}
}
{
@ -4241,7 +4241,7 @@ static PyObject *_wrap_GridCellAttr_SetSize(PyObject *, PyObject *args, PyObject
static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -4272,7 +4272,7 @@ static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyOb
static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -5720,7 +5720,7 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObje
int arg2 ;
int arg3 ;
wxString *arg4 = 0 ;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -5739,7 +5739,7 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObje
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5810,7 +5810,7 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, P
int arg3 ;
wxString *arg4 = 0 ;
bool result;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -5829,7 +5829,7 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, P
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -5862,7 +5862,7 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, P
int arg3 ;
wxString *arg4 = 0 ;
bool result;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -5881,7 +5881,7 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, P
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6452,7 +6452,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args
wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -6468,7 +6468,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6497,7 +6497,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args
wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -6513,7 +6513,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6840,7 +6840,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *, PyObject *
int arg3 ;
wxString *arg4 = 0 ;
bool result;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -6859,7 +6859,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *, PyObject *
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -6892,7 +6892,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *, PyObject *
int arg3 ;
wxString *arg4 = 0 ;
bool result;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -6911,7 +6911,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *, PyObject *
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -7267,7 +7267,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *, PyObjec
wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -7283,7 +7283,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *, PyObjec
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -7312,7 +7312,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *, PyObjec
wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -7328,7 +7328,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *, PyObjec
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -8186,7 +8186,7 @@ static PyObject *_wrap_new_Grid(PyObject *, PyObject *args, PyObject *kwargs) {
wxGrid *result;
wxPoint temp3 ;
wxSize temp4 ;
bool temp6 = False ;
bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -8224,7 +8224,7 @@ static PyObject *_wrap_new_Grid(PyObject *, PyObject *args, PyObject *kwargs) {
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
temp6 = True;
temp6 = true;
}
}
{
@ -8288,7 +8288,7 @@ static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs)
bool result;
wxPoint temp4 ;
wxSize temp5 ;
bool temp7 = False ;
bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -8329,7 +8329,7 @@ static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs)
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
temp7 = True;
temp7 = true;
}
}
{
@ -8574,7 +8574,7 @@ static PyObject *_wrap_Grid_SetTable(PyObject *, PyObject *args, PyObject *kwarg
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
bool result;
PyObject * obj0 = 0 ;
@ -8644,7 +8644,7 @@ static PyObject *_wrap_Grid_InsertRows(PyObject *, PyObject *args, PyObject *kwa
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
bool arg4 = (bool) True ;
bool arg4 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -8689,7 +8689,7 @@ static PyObject *_wrap_Grid_AppendRows(PyObject *, PyObject *args, PyObject *kwa
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 1 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -8730,7 +8730,7 @@ static PyObject *_wrap_Grid_DeleteRows(PyObject *, PyObject *args, PyObject *kwa
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
bool arg4 = (bool) True ;
bool arg4 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -8776,7 +8776,7 @@ static PyObject *_wrap_Grid_InsertCols(PyObject *, PyObject *args, PyObject *kwa
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
bool arg4 = (bool) True ;
bool arg4 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -8821,7 +8821,7 @@ static PyObject *_wrap_Grid_AppendCols(PyObject *, PyObject *args, PyObject *kwa
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 1 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -8862,7 +8862,7 @@ static PyObject *_wrap_Grid_DeleteCols(PyObject *, PyObject *args, PyObject *kwa
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
bool arg4 = (bool) True ;
bool arg4 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -8950,7 +8950,7 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObje
int arg5 = (int) wxLEFT ;
int arg6 = (int) wxTOP ;
int arg7 = (int) wxHORIZONTAL ;
bool temp3 = False ;
bool temp3 = false ;
wxRect temp4 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -8976,7 +8976,7 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObje
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
arg4 = &temp4;
@ -9023,7 +9023,7 @@ static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *, PyObject *args, PyObject
wxArrayString *arg3 = 0 ;
long *arg4 = (long *) 0 ;
long *arg5 = (long *) 0 ;
bool temp3 = False ;
bool temp3 = false ;
long temp4 ;
int res4 = 0 ;
long temp5 ;
@ -9053,7 +9053,7 @@ static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *, PyObject *args, PyObject
SWIG_fail;
}
arg3 = new wxArrayString;
temp3 = True;
temp3 = true;
int i, len=PySequence_Length(obj2);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj2, i);
@ -9253,7 +9253,7 @@ static PyObject *_wrap_Grid_EnableEditing(PyObject *, PyObject *args, PyObject *
static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -9746,7 +9746,7 @@ static PyObject *_wrap_Grid_IsVisible(PyObject *, PyObject *args, PyObject *kwar
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
int arg3 ;
bool arg4 = (bool) True ;
bool arg4 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -10895,7 +10895,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObjec
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -10911,7 +10911,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObjec
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -10940,7 +10940,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObjec
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -10956,7 +10956,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObjec
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -11105,7 +11105,7 @@ static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *, PyObject *arg
static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -11189,7 +11189,7 @@ static PyObject *_wrap_Grid_CanDragRowSize(PyObject *, PyObject *args, PyObject
static PyObject *_wrap_Grid_EnableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -11273,7 +11273,7 @@ static PyObject *_wrap_Grid_CanDragColSize(PyObject *, PyObject *args, PyObject
static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -11357,7 +11357,7 @@ static PyObject *_wrap_Grid_CanDragGridSize(PyObject *, PyObject *args, PyObject
static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -11681,7 +11681,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObj
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -11697,7 +11697,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObj
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -11724,7 +11724,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObj
static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -12291,7 +12291,7 @@ static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *, PyObject *args, PyObje
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12359,7 +12359,7 @@ static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *, PyObject *args, PyObje
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12427,7 +12427,7 @@ static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *, PyObject *args, PyObject
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12462,7 +12462,7 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kw
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -12496,7 +12496,7 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kw
static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -12527,7 +12527,7 @@ static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject
static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
bool arg2 = (bool) True ;
bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -13521,7 +13521,7 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *k
int arg2 ;
int arg3 ;
wxString *arg4 = 0 ;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -13540,7 +13540,7 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *k
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -13605,7 +13605,7 @@ static PyObject *_wrap_Grid_SetReadOnly(PyObject *, PyObject *args, PyObject *kw
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
int arg3 ;
bool arg4 = (bool) True ;
bool arg4 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -13643,7 +13643,7 @@ static PyObject *_wrap_Grid_SelectRow(PyObject *, PyObject *args, PyObject *kwar
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -13678,7 +13678,7 @@ static PyObject *_wrap_Grid_SelectCol(PyObject *, PyObject *args, PyObject *kwar
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
bool arg3 = (bool) False ;
bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -13716,7 +13716,7 @@ static PyObject *_wrap_Grid_SelectBlock(PyObject *, PyObject *args, PyObject *kw
int arg3 ;
int arg4 ;
int arg5 ;
bool arg6 = (bool) False ;
bool arg6 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -14287,7 +14287,7 @@ static PyObject *_wrap_Grid_RegisterDataType(PyObject *, PyObject *args, PyObjec
wxString *arg2 = 0 ;
wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -14302,7 +14302,7 @@ static PyObject *_wrap_Grid_RegisterDataType(PyObject *, PyObject *args, PyObjec
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
@ -14407,7 +14407,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *, PyObject *args,
wxGrid *arg1 = (wxGrid *) 0 ;
wxString *arg2 = 0 ;
wxGridCellEditor *result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -14420,7 +14420,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *, PyObject *args,
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -14451,7 +14451,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *, PyObject *args
wxGrid *arg1 = (wxGrid *) 0 ;
wxString *arg2 = 0 ;
wxGridCellRenderer *result;
bool temp2 = False ;
bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
@ -14464,7 +14464,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *, PyObject *args
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
temp2 = True;
temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
@ -14684,11 +14684,11 @@ static PyObject *_wrap_new_GridEvent(PyObject *, PyObject *args, PyObject *kwarg
int arg5 = (int) -1 ;
int arg6 = (int) -1 ;
int arg7 = (int) -1 ;
bool arg8 = (bool) True ;
bool arg9 = (bool) False ;
bool arg10 = (bool) False ;
bool arg11 = (bool) False ;
bool arg12 = (bool) False ;
bool arg8 = (bool) true ;
bool arg9 = (bool) false ;
bool arg10 = (bool) false ;
bool arg11 = (bool) false ;
bool arg12 = (bool) false ;
wxGridEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -15000,10 +15000,10 @@ static PyObject *_wrap_new_GridSizeEvent(PyObject *, PyObject *args, PyObject *k
int arg4 = (int) -1 ;
int arg5 = (int) -1 ;
int arg6 = (int) -1 ;
bool arg7 = (bool) False ;
bool arg8 = (bool) False ;
bool arg9 = (bool) False ;
bool arg10 = (bool) False ;
bool arg7 = (bool) false ;
bool arg8 = (bool) false ;
bool arg9 = (bool) false ;
bool arg10 = (bool) false ;
wxGridSizeEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -15250,11 +15250,11 @@ static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyOb
wxGrid *arg3 = (wxGrid *) 0 ;
wxGridCellCoords *arg4 = 0 ;
wxGridCellCoords *arg5 = 0 ;
bool arg6 = (bool) True ;
bool arg7 = (bool) False ;
bool arg8 = (bool) False ;
bool arg9 = (bool) False ;
bool arg10 = (bool) False ;
bool arg6 = (bool) true ;
bool arg7 = (bool) false ;
bool arg8 = (bool) false ;
bool arg9 = (bool) false ;
bool arg10 = (bool) false ;
wxGridRangeSelectEvent *result;
wxGridCellCoords temp4 ;
wxGridCellCoords temp5 ;

View File

@ -227,9 +227,9 @@ class HtmlWinParser(HtmlParser):
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlWinParser_SetFonts(*args, **kwargs)
def NormalizeFontSizes(*args, **kwargs):
"""NormalizeFontSizes(self, int size=-1)"""
return _html.HtmlWinParser_NormalizeFontSizes(*args, **kwargs)
def SetStandardFonts(*args, **kwargs):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlWinParser_SetStandardFonts(*args, **kwargs)
def GetContainer(*args, **kwargs):
"""GetContainer(self) -> HtmlContainerCell"""
@ -1012,9 +1012,9 @@ class HtmlWindow(_windows.ScrolledWindow):
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlWindow_SetFonts(*args, **kwargs)
def NormalizeFontSizes(*args, **kwargs):
"""NormalizeFontSizes(self, int size=-1)"""
return _html.HtmlWindow_NormalizeFontSizes(*args, **kwargs)
def SetStandardFonts(*args, **kwargs):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlWindow_SetStandardFonts(*args, **kwargs)
def SetTitle(*args, **kwargs):
"""SetTitle(self, String title)"""
@ -1195,9 +1195,9 @@ class HtmlDCRenderer(_core.Object):
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
def NormalizeFontSizes(*args, **kwargs):
"""NormalizeFontSizes(self, int size=-1)"""
return _html.HtmlDCRenderer_NormalizeFontSizes(*args, **kwargs)
def SetStandardFonts(*args, **kwargs):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs)
def Render(*args, **kwargs):
"""
@ -1250,9 +1250,9 @@ class HtmlPrintout(_windows.Printout):
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlPrintout_SetFonts(*args, **kwargs)
def NormalizeFontSizes(*args, **kwargs):
"""NormalizeFontSizes(self, int size=-1)"""
return _html.HtmlPrintout_NormalizeFontSizes(*args, **kwargs)
def SetStandardFonts(*args, **kwargs):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs)
def SetMargins(*args, **kwargs):
"""
@ -1338,9 +1338,9 @@ class HtmlEasyPrinting(_core.Object):
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
def NormalizeFontSizes(*args, **kwargs):
"""NormalizeFontSizes(self, int size=-1)"""
return _html.HtmlEasyPrinting_NormalizeFontSizes(*args, **kwargs)
def SetStandardFonts(*args, **kwargs):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlEasyPrinting_SetStandardFonts(*args, **kwargs)
def GetPrintData(*args, **kwargs):
"""GetPrintData(self) -> PrintData"""

File diff suppressed because it is too large Load Diff

View File

@ -601,7 +601,7 @@ static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwa
PyObject *resultobj;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) -1 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
wxWizardPage *arg4 = (wxWizardPage *) NULL ;
wxWizardEvent *result;
PyObject * obj0 = 0 ;
@ -715,7 +715,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
bool result;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -742,7 +742,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
}
{
@ -868,7 +868,7 @@ static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kw
wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
wxString *arg3 = (wxString *) &wxPyEmptyString ;
wxPyWizardPage *result;
bool temp3 = False ;
bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -887,7 +887,7 @@ static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kw
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
}
{
@ -945,7 +945,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
bool result;
bool temp4 = False ;
bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
@ -972,7 +972,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
}
{
@ -1865,7 +1865,7 @@ static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs)
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
wxWizard *result;
bool temp3 = False ;
bool temp3 = false ;
wxPoint temp5 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -1888,7 +1888,7 @@ static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs)
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
temp3 = True;
temp3 = true;
}
}
if (obj3) {
@ -1968,7 +1968,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg
wxPoint const &arg6_defvalue = wxDefaultPosition ;
wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
bool result;
bool temp4 = False ;
bool temp4 = false ;
wxPoint temp6 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
@ -1993,7 +1993,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
temp4 = True;
temp4 = true;
}
}
if (obj4) {
@ -2300,7 +2300,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwa
PyObject *resultobj;
wxWizard *arg1 = (wxWizard *) 0 ;
wxWizardPage *arg2 = (wxWizardPage *) 0 ;
bool arg3 = (bool) True ;
bool arg3 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;

693
wxPython/src/mac/xrc.py Normal file
View File

@ -0,0 +1,693 @@
# This file was created automatically by SWIG.
# Don't modify this file, modify the SWIG interface instead.
"""
The `XmlResource` class allows program resources defining menus, layout of
controls on a panel, etc. to be loaded from an XML file.
"""
import _xrc
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
#---------------------------------------------------------------------------
WX_XMLRES_CURRENT_VERSION_MAJOR = _xrc.WX_XMLRES_CURRENT_VERSION_MAJOR
WX_XMLRES_CURRENT_VERSION_MINOR = _xrc.WX_XMLRES_CURRENT_VERSION_MINOR
WX_XMLRES_CURRENT_VERSION_RELEASE = _xrc.WX_XMLRES_CURRENT_VERSION_RELEASE
WX_XMLRES_CURRENT_VERSION_REVISION = _xrc.WX_XMLRES_CURRENT_VERSION_REVISION
XRC_USE_LOCALE = _xrc.XRC_USE_LOCALE
XRC_NO_SUBCLASSING = _xrc.XRC_NO_SUBCLASSING
XRC_NO_RELOADING = _xrc.XRC_NO_RELOADING
class XmlResource(_core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, String filemask, int flags=XRC_USE_LOCALE) -> XmlResource"""
newobj = _xrc.new_XmlResource(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self.InitAllHandlers()
def __del__(self, destroy=_xrc.delete_XmlResource):
"""__del__(self)"""
try:
if self.thisown: destroy(self)
except: pass
def Load(*args, **kwargs):
"""Load(self, String filemask) -> bool"""
return _xrc.XmlResource_Load(*args, **kwargs)
def LoadFromString(*args, **kwargs):
"""LoadFromString(self, String data) -> bool"""
return _xrc.XmlResource_LoadFromString(*args, **kwargs)
def InitAllHandlers(*args, **kwargs):
"""InitAllHandlers(self)"""
return _xrc.XmlResource_InitAllHandlers(*args, **kwargs)
def AddHandler(*args, **kwargs):
"""AddHandler(self, XmlResourceHandler handler)"""
return _xrc.XmlResource_AddHandler(*args, **kwargs)
def InsertHandler(*args, **kwargs):
"""InsertHandler(self, XmlResourceHandler handler)"""
return _xrc.XmlResource_InsertHandler(*args, **kwargs)
def ClearHandlers(*args, **kwargs):
"""ClearHandlers(self)"""
return _xrc.XmlResource_ClearHandlers(*args, **kwargs)
def AddSubclassFactory(*args, **kwargs):
"""AddSubclassFactory(XmlSubclassFactory factory)"""
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
AddSubclassFactory = staticmethod(AddSubclassFactory)
def LoadMenu(*args, **kwargs):
"""LoadMenu(self, String name) -> Menu"""
return _xrc.XmlResource_LoadMenu(*args, **kwargs)
def LoadMenuBar(*args, **kwargs):
"""LoadMenuBar(self, String name) -> MenuBar"""
return _xrc.XmlResource_LoadMenuBar(*args, **kwargs)
def LoadMenuBarOnFrame(*args, **kwargs):
"""LoadMenuBarOnFrame(self, Window parent, String name) -> MenuBar"""
return _xrc.XmlResource_LoadMenuBarOnFrame(*args, **kwargs)
def LoadToolBar(*args, **kwargs):
"""LoadToolBar(self, Window parent, String name) -> wxToolBar"""
return _xrc.XmlResource_LoadToolBar(*args, **kwargs)
def LoadDialog(*args, **kwargs):
"""LoadDialog(self, Window parent, String name) -> wxDialog"""
return _xrc.XmlResource_LoadDialog(*args, **kwargs)
def LoadOnDialog(*args, **kwargs):
"""LoadOnDialog(self, wxDialog dlg, Window parent, String name) -> bool"""
return _xrc.XmlResource_LoadOnDialog(*args, **kwargs)
def LoadPanel(*args, **kwargs):
"""LoadPanel(self, Window parent, String name) -> wxPanel"""
return _xrc.XmlResource_LoadPanel(*args, **kwargs)
def LoadOnPanel(*args, **kwargs):
"""LoadOnPanel(self, wxPanel panel, Window parent, String name) -> bool"""
return _xrc.XmlResource_LoadOnPanel(*args, **kwargs)
def LoadFrame(*args, **kwargs):
"""LoadFrame(self, Window parent, String name) -> wxFrame"""
return _xrc.XmlResource_LoadFrame(*args, **kwargs)
def LoadOnFrame(*args, **kwargs):
"""LoadOnFrame(self, wxFrame frame, Window parent, String name) -> bool"""
return _xrc.XmlResource_LoadOnFrame(*args, **kwargs)
def LoadObject(*args, **kwargs):
"""LoadObject(self, Window parent, String name, String classname) -> Object"""
return _xrc.XmlResource_LoadObject(*args, **kwargs)
def LoadOnObject(*args, **kwargs):
"""LoadOnObject(self, Object instance, Window parent, String name, String classname) -> bool"""
return _xrc.XmlResource_LoadOnObject(*args, **kwargs)
def LoadBitmap(*args, **kwargs):
"""LoadBitmap(self, String name) -> Bitmap"""
return _xrc.XmlResource_LoadBitmap(*args, **kwargs)
def LoadIcon(*args, **kwargs):
"""LoadIcon(self, String name) -> Icon"""
return _xrc.XmlResource_LoadIcon(*args, **kwargs)
def AttachUnknownControl(*args, **kwargs):
"""AttachUnknownControl(self, String name, Window control, Window parent=None) -> bool"""
return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs)
def GetXRCID(*args, **kwargs):
"""GetXRCID(String str_id) -> int"""
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
GetXRCID = staticmethod(GetXRCID)
def GetVersion(*args, **kwargs):
"""GetVersion(self) -> long"""
return _xrc.XmlResource_GetVersion(*args, **kwargs)
def CompareVersion(*args, **kwargs):
"""CompareVersion(self, int major, int minor, int release, int revision) -> int"""
return _xrc.XmlResource_CompareVersion(*args, **kwargs)
def Get(*args, **kwargs):
"""Get() -> XmlResource"""
return _xrc.XmlResource_Get(*args, **kwargs)
Get = staticmethod(Get)
def Set(*args, **kwargs):
"""Set(XmlResource res) -> XmlResource"""
return _xrc.XmlResource_Set(*args, **kwargs)
Set = staticmethod(Set)
def GetFlags(*args, **kwargs):
"""GetFlags(self) -> int"""
return _xrc.XmlResource_GetFlags(*args, **kwargs)
def SetFlags(*args, **kwargs):
"""SetFlags(self, int flags)"""
return _xrc.XmlResource_SetFlags(*args, **kwargs)
class XmlResourcePtr(XmlResource):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = XmlResource
_xrc.XmlResource_swigregister(XmlResourcePtr)
cvar = _xrc.cvar
UTF8String = cvar.UTF8String
StyleString = cvar.StyleString
SizeString = cvar.SizeString
PosString = cvar.PosString
BitmapString = cvar.BitmapString
IconString = cvar.IconString
FontString = cvar.FontString
def EmptyXmlResource(*args, **kwargs):
"""EmptyXmlResource(int flags=XRC_USE_LOCALE) -> XmlResource"""
val = _xrc.new_EmptyXmlResource(*args, **kwargs)
val.thisown = 1
val.InitAllHandlers()
return val
def XmlResource_AddSubclassFactory(*args, **kwargs):
"""XmlResource_AddSubclassFactory(XmlSubclassFactory factory)"""
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
def XmlResource_GetXRCID(*args, **kwargs):
"""XmlResource_GetXRCID(String str_id) -> int"""
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
def XmlResource_Get(*args, **kwargs):
"""XmlResource_Get() -> XmlResource"""
return _xrc.XmlResource_Get(*args, **kwargs)
def XmlResource_Set(*args, **kwargs):
"""XmlResource_Set(XmlResource res) -> XmlResource"""
return _xrc.XmlResource_Set(*args, **kwargs)
def XRCID(str_id):
return XmlResource_GetXRCID(str_id)
def XRCCTRL(window, str_id, *ignoreargs):
return window.FindWindowById(XRCID(str_id))
#---------------------------------------------------------------------------
class XmlSubclassFactory(object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self) -> XmlSubclassFactory"""
newobj = _xrc.new_XmlSubclassFactory(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setCallbackInfo(self, XmlSubclassFactory)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _xrc.XmlSubclassFactory__setCallbackInfo(*args, **kwargs)
class XmlSubclassFactoryPtr(XmlSubclassFactory):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = XmlSubclassFactory
_xrc.XmlSubclassFactory_swigregister(XmlSubclassFactoryPtr)
#---------------------------------------------------------------------------
XML_ELEMENT_NODE = _xrc.XML_ELEMENT_NODE
XML_ATTRIBUTE_NODE = _xrc.XML_ATTRIBUTE_NODE
XML_TEXT_NODE = _xrc.XML_TEXT_NODE
XML_CDATA_SECTION_NODE = _xrc.XML_CDATA_SECTION_NODE
XML_ENTITY_REF_NODE = _xrc.XML_ENTITY_REF_NODE
XML_ENTITY_NODE = _xrc.XML_ENTITY_NODE
XML_PI_NODE = _xrc.XML_PI_NODE
XML_COMMENT_NODE = _xrc.XML_COMMENT_NODE
XML_DOCUMENT_NODE = _xrc.XML_DOCUMENT_NODE
XML_DOCUMENT_TYPE_NODE = _xrc.XML_DOCUMENT_TYPE_NODE
XML_DOCUMENT_FRAG_NODE = _xrc.XML_DOCUMENT_FRAG_NODE
XML_NOTATION_NODE = _xrc.XML_NOTATION_NODE
XML_HTML_DOCUMENT_NODE = _xrc.XML_HTML_DOCUMENT_NODE
class XmlProperty(object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(self, String name=EmptyString, String value=EmptyString,
XmlProperty next=None) -> XmlProperty
"""
newobj = _xrc.new_XmlProperty(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def GetName(*args, **kwargs):
"""GetName(self) -> String"""
return _xrc.XmlProperty_GetName(*args, **kwargs)
def GetValue(*args, **kwargs):
"""GetValue(self) -> String"""
return _xrc.XmlProperty_GetValue(*args, **kwargs)
def GetNext(*args, **kwargs):
"""GetNext(self) -> XmlProperty"""
return _xrc.XmlProperty_GetNext(*args, **kwargs)
def SetName(*args, **kwargs):
"""SetName(self, String name)"""
return _xrc.XmlProperty_SetName(*args, **kwargs)
def SetValue(*args, **kwargs):
"""SetValue(self, String value)"""
return _xrc.XmlProperty_SetValue(*args, **kwargs)
def SetNext(*args, **kwargs):
"""SetNext(self, XmlProperty next)"""
return _xrc.XmlProperty_SetNext(*args, **kwargs)
class XmlPropertyPtr(XmlProperty):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = XmlProperty
_xrc.XmlProperty_swigregister(XmlPropertyPtr)
class XmlNode(object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(self, XmlNode parent=None, int type=0, String name=EmptyString,
String content=EmptyString, XmlProperty props=None,
XmlNode next=None) -> XmlNode
"""
newobj = _xrc.new_XmlNode(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __del__(self, destroy=_xrc.delete_XmlNode):
"""__del__(self)"""
try:
if self.thisown: destroy(self)
except: pass
def AddChild(*args, **kwargs):
"""AddChild(self, XmlNode child)"""
return _xrc.XmlNode_AddChild(*args, **kwargs)
def InsertChild(*args, **kwargs):
"""InsertChild(self, XmlNode child, XmlNode before_node)"""
return _xrc.XmlNode_InsertChild(*args, **kwargs)
def RemoveChild(*args, **kwargs):
"""RemoveChild(self, XmlNode child) -> bool"""
return _xrc.XmlNode_RemoveChild(*args, **kwargs)
def AddProperty(*args, **kwargs):
"""AddProperty(self, XmlProperty prop)"""
return _xrc.XmlNode_AddProperty(*args, **kwargs)
def AddPropertyName(*args, **kwargs):
"""AddPropertyName(self, String name, String value)"""
return _xrc.XmlNode_AddPropertyName(*args, **kwargs)
def DeleteProperty(*args, **kwargs):
"""DeleteProperty(self, String name) -> bool"""
return _xrc.XmlNode_DeleteProperty(*args, **kwargs)
def GetType(*args, **kwargs):
"""GetType(self) -> int"""
return _xrc.XmlNode_GetType(*args, **kwargs)
def GetName(*args, **kwargs):
"""GetName(self) -> String"""
return _xrc.XmlNode_GetName(*args, **kwargs)
def GetContent(*args, **kwargs):
"""GetContent(self) -> String"""
return _xrc.XmlNode_GetContent(*args, **kwargs)
def GetParent(*args, **kwargs):
"""GetParent(self) -> XmlNode"""
return _xrc.XmlNode_GetParent(*args, **kwargs)
def GetNext(*args, **kwargs):
"""GetNext(self) -> XmlNode"""
return _xrc.XmlNode_GetNext(*args, **kwargs)
def GetChildren(*args, **kwargs):
"""GetChildren(self) -> XmlNode"""
return _xrc.XmlNode_GetChildren(*args, **kwargs)
def GetProperties(*args, **kwargs):
"""GetProperties(self) -> XmlProperty"""
return _xrc.XmlNode_GetProperties(*args, **kwargs)
def GetPropVal(*args, **kwargs):
"""GetPropVal(self, String propName, String defaultVal) -> String"""
return _xrc.XmlNode_GetPropVal(*args, **kwargs)
def HasProp(*args, **kwargs):
"""HasProp(self, String propName) -> bool"""
return _xrc.XmlNode_HasProp(*args, **kwargs)
def SetType(*args, **kwargs):
"""SetType(self, int type)"""
return _xrc.XmlNode_SetType(*args, **kwargs)
def SetName(*args, **kwargs):
"""SetName(self, String name)"""
return _xrc.XmlNode_SetName(*args, **kwargs)
def SetContent(*args, **kwargs):
"""SetContent(self, String con)"""
return _xrc.XmlNode_SetContent(*args, **kwargs)
def SetParent(*args, **kwargs):
"""SetParent(self, XmlNode parent)"""
return _xrc.XmlNode_SetParent(*args, **kwargs)
def SetNext(*args, **kwargs):
"""SetNext(self, XmlNode next)"""
return _xrc.XmlNode_SetNext(*args, **kwargs)
def SetChildren(*args, **kwargs):
"""SetChildren(self, XmlNode child)"""
return _xrc.XmlNode_SetChildren(*args, **kwargs)
def SetProperties(*args, **kwargs):
"""SetProperties(self, XmlProperty prop)"""
return _xrc.XmlNode_SetProperties(*args, **kwargs)
class XmlNodePtr(XmlNode):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = XmlNode
_xrc.XmlNode_swigregister(XmlNodePtr)
def XmlNodeEasy(*args, **kwargs):
"""XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode"""
val = _xrc.new_XmlNodeEasy(*args, **kwargs)
val.thisown = 1
return val
class XmlDocument(_core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, String filename, String encoding=UTF8String) -> XmlDocument"""
newobj = _xrc.new_XmlDocument(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __del__(self, destroy=_xrc.delete_XmlDocument):
"""__del__(self)"""
try:
if self.thisown: destroy(self)
except: pass
def Load(*args, **kwargs):
"""Load(self, String filename, String encoding=UTF8String) -> bool"""
return _xrc.XmlDocument_Load(*args, **kwargs)
def LoadFromStream(*args, **kwargs):
"""LoadFromStream(self, InputStream stream, String encoding=UTF8String) -> bool"""
return _xrc.XmlDocument_LoadFromStream(*args, **kwargs)
def Save(*args, **kwargs):
"""Save(self, String filename) -> bool"""
return _xrc.XmlDocument_Save(*args, **kwargs)
def SaveToStream(*args, **kwargs):
"""SaveToStream(self, OutputStream stream) -> bool"""
return _xrc.XmlDocument_SaveToStream(*args, **kwargs)
def IsOk(*args, **kwargs):
"""IsOk(self) -> bool"""
return _xrc.XmlDocument_IsOk(*args, **kwargs)
def GetRoot(*args, **kwargs):
"""GetRoot(self) -> XmlNode"""
return _xrc.XmlDocument_GetRoot(*args, **kwargs)
def GetVersion(*args, **kwargs):
"""GetVersion(self) -> String"""
return _xrc.XmlDocument_GetVersion(*args, **kwargs)
def GetFileEncoding(*args, **kwargs):
"""GetFileEncoding(self) -> String"""
return _xrc.XmlDocument_GetFileEncoding(*args, **kwargs)
def SetRoot(*args, **kwargs):
"""SetRoot(self, XmlNode node)"""
return _xrc.XmlDocument_SetRoot(*args, **kwargs)
def SetVersion(*args, **kwargs):
"""SetVersion(self, String version)"""
return _xrc.XmlDocument_SetVersion(*args, **kwargs)
def SetFileEncoding(*args, **kwargs):
"""SetFileEncoding(self, String encoding)"""
return _xrc.XmlDocument_SetFileEncoding(*args, **kwargs)
class XmlDocumentPtr(XmlDocument):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = XmlDocument
_xrc.XmlDocument_swigregister(XmlDocumentPtr)
def XmlDocumentFromStream(*args, **kwargs):
"""XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -> XmlDocument"""
val = _xrc.new_XmlDocumentFromStream(*args, **kwargs)
val.thisown = 1
return val
def EmptyXmlDocument(*args, **kwargs):
"""EmptyXmlDocument() -> XmlDocument"""
val = _xrc.new_EmptyXmlDocument(*args, **kwargs)
val.thisown = 1
return val
#---------------------------------------------------------------------------
class XmlResourceHandler(_core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self) -> XmlResourceHandler"""
newobj = _xrc.new_XmlResourceHandler(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setCallbackInfo(self, XmlResourceHandler)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _xrc.XmlResourceHandler__setCallbackInfo(*args, **kwargs)
def CreateResource(*args, **kwargs):
"""CreateResource(self, XmlNode node, Object parent, Object instance) -> Object"""
return _xrc.XmlResourceHandler_CreateResource(*args, **kwargs)
def SetParentResource(*args, **kwargs):
"""SetParentResource(self, XmlResource res)"""
return _xrc.XmlResourceHandler_SetParentResource(*args, **kwargs)
def GetResource(*args, **kwargs):
"""GetResource(self) -> XmlResource"""
return _xrc.XmlResourceHandler_GetResource(*args, **kwargs)
def GetNode(*args, **kwargs):
"""GetNode(self) -> XmlNode"""
return _xrc.XmlResourceHandler_GetNode(*args, **kwargs)
def GetClass(*args, **kwargs):
"""GetClass(self) -> String"""
return _xrc.XmlResourceHandler_GetClass(*args, **kwargs)
def GetParent(*args, **kwargs):
"""GetParent(self) -> Object"""
return _xrc.XmlResourceHandler_GetParent(*args, **kwargs)
def GetInstance(*args, **kwargs):
"""GetInstance(self) -> Object"""
return _xrc.XmlResourceHandler_GetInstance(*args, **kwargs)
def GetParentAsWindow(*args, **kwargs):
"""GetParentAsWindow(self) -> Window"""
return _xrc.XmlResourceHandler_GetParentAsWindow(*args, **kwargs)
def GetInstanceAsWindow(*args, **kwargs):
"""GetInstanceAsWindow(self) -> Window"""
return _xrc.XmlResourceHandler_GetInstanceAsWindow(*args, **kwargs)
def IsOfClass(*args, **kwargs):
"""IsOfClass(self, XmlNode node, String classname) -> bool"""
return _xrc.XmlResourceHandler_IsOfClass(*args, **kwargs)
def GetNodeContent(*args, **kwargs):
"""GetNodeContent(self, XmlNode node) -> String"""
return _xrc.XmlResourceHandler_GetNodeContent(*args, **kwargs)
def HasParam(*args, **kwargs):
"""HasParam(self, String param) -> bool"""
return _xrc.XmlResourceHandler_HasParam(*args, **kwargs)
def GetParamNode(*args, **kwargs):
"""GetParamNode(self, String param) -> XmlNode"""
return _xrc.XmlResourceHandler_GetParamNode(*args, **kwargs)
def GetParamValue(*args, **kwargs):
"""GetParamValue(self, String param) -> String"""
return _xrc.XmlResourceHandler_GetParamValue(*args, **kwargs)
def AddStyle(*args, **kwargs):
"""AddStyle(self, String name, int value)"""
return _xrc.XmlResourceHandler_AddStyle(*args, **kwargs)
def AddWindowStyles(*args, **kwargs):
"""AddWindowStyles(self)"""
return _xrc.XmlResourceHandler_AddWindowStyles(*args, **kwargs)
def GetStyle(*args, **kwargs):
"""GetStyle(self, String param=StyleString, int defaults=0) -> int"""
return _xrc.XmlResourceHandler_GetStyle(*args, **kwargs)
def GetText(*args, **kwargs):
"""GetText(self, String param, bool translate=True) -> String"""
return _xrc.XmlResourceHandler_GetText(*args, **kwargs)
def GetID(*args, **kwargs):
"""GetID(self) -> int"""
return _xrc.XmlResourceHandler_GetID(*args, **kwargs)
def GetName(*args, **kwargs):
"""GetName(self) -> String"""
return _xrc.XmlResourceHandler_GetName(*args, **kwargs)
def GetBool(*args, **kwargs):
"""GetBool(self, String param, bool defaultv=False) -> bool"""
return _xrc.XmlResourceHandler_GetBool(*args, **kwargs)
def GetLong(*args, **kwargs):
"""GetLong(self, String param, long defaultv=0) -> long"""
return _xrc.XmlResourceHandler_GetLong(*args, **kwargs)
def GetColour(*args, **kwargs):
"""GetColour(self, String param) -> Colour"""
return _xrc.XmlResourceHandler_GetColour(*args, **kwargs)
def GetSize(*args, **kwargs):
"""GetSize(self, String param=SizeString) -> Size"""
return _xrc.XmlResourceHandler_GetSize(*args, **kwargs)
def GetPosition(*args, **kwargs):
"""GetPosition(self, String param=PosString) -> Point"""
return _xrc.XmlResourceHandler_GetPosition(*args, **kwargs)
def GetDimension(*args, **kwargs):
"""GetDimension(self, String param, int defaultv=0) -> int"""
return _xrc.XmlResourceHandler_GetDimension(*args, **kwargs)
def GetBitmap(*args, **kwargs):
"""
GetBitmap(self, String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER,
Size size=DefaultSize) -> Bitmap
"""
return _xrc.XmlResourceHandler_GetBitmap(*args, **kwargs)
def GetIcon(*args, **kwargs):
"""
GetIcon(self, String param=IconString, wxArtClient defaultArtClient=wxART_OTHER,
Size size=DefaultSize) -> Icon
"""
return _xrc.XmlResourceHandler_GetIcon(*args, **kwargs)
def GetFont(*args, **kwargs):
"""GetFont(self, String param=FontString) -> Font"""
return _xrc.XmlResourceHandler_GetFont(*args, **kwargs)
def SetupWindow(*args, **kwargs):
"""SetupWindow(self, Window wnd)"""
return _xrc.XmlResourceHandler_SetupWindow(*args, **kwargs)
def CreateChildren(*args, **kwargs):
"""CreateChildren(self, Object parent, bool this_hnd_only=False)"""
return _xrc.XmlResourceHandler_CreateChildren(*args, **kwargs)
def CreateChildrenPrivately(*args, **kwargs):
"""CreateChildrenPrivately(self, Object parent, XmlNode rootnode=None)"""
return _xrc.XmlResourceHandler_CreateChildrenPrivately(*args, **kwargs)
def CreateResFromNode(*args, **kwargs):
"""CreateResFromNode(self, XmlNode node, Object parent, Object instance=None) -> Object"""
return _xrc.XmlResourceHandler_CreateResFromNode(*args, **kwargs)
def GetCurFileSystem(*args, **kwargs):
"""GetCurFileSystem(self) -> FileSystem"""
return _xrc.XmlResourceHandler_GetCurFileSystem(*args, **kwargs)
class XmlResourceHandlerPtr(XmlResourceHandler):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = XmlResourceHandler
_xrc.XmlResourceHandler_swigregister(XmlResourceHandlerPtr)
#----------------------------------------------------------------------------
# The global was removed in favor of static accessor functions. This is for
# backwards compatibility:
TheXmlResource = XmlResource_Get()
#----------------------------------------------------------------------------
# Create a factory for handling the subclass property of the object tag.
def _my_import(name):
mod = __import__(name)
components = name.split('.')
for comp in components[1:]:
mod = getattr(mod, comp)
return mod
class XmlSubclassFactory_Python(XmlSubclassFactory):
def __init__(self):
XmlSubclassFactory.__init__(self)
def Create(self, className):
assert className.find('.') != -1, "Module name must be specified!"
mname = className[:className.rfind('.')]
cname = className[className.rfind('.')+1:]
module = _my_import(mname)
klass = getattr(module, cname)
inst = klass()
return inst
XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
#----------------------------------------------------------------------------

File diff suppressed because one or more lines are too long