2 * FILE : ./oglcanvas.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initoglcanvasc
54 #define SWIG_name "oglcanvasc"
57 #include "oglhelpers.h"
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
109 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
110 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
111 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
112 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
113 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
114 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
115 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
119 #define new_wxDiagram() (new wxDiagram())
120 static PyObject
*_wrap_new_wxDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
121 PyObject
* _resultobj
;
123 char *_kwnames
[] = { NULL
};
127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDiagram",_kwnames
))
130 wxPy_BEGIN_ALLOW_THREADS
;
131 _result
= (wxDiagram
*)new_wxDiagram();
133 wxPy_END_ALLOW_THREADS
;
135 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDiagram_p");
136 _resultobj
= Py_BuildValue("s",_ptemp
);
139 _resultobj
= Py_None
;
144 #define delete_wxDiagram(_swigobj) (delete _swigobj)
145 static PyObject
*_wrap_delete_wxDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
146 PyObject
* _resultobj
;
148 PyObject
* _argo0
= 0;
149 char *_kwnames
[] = { "self", NULL
};
152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDiagram",_kwnames
,&_argo0
))
155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDiagram. Expected _wxDiagram_p.");
162 wxPy_BEGIN_ALLOW_THREADS
;
163 delete_wxDiagram(_arg0
);
165 wxPy_END_ALLOW_THREADS
;
166 } Py_INCREF(Py_None
);
167 _resultobj
= Py_None
;
171 #define wxDiagram_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
172 static PyObject
*_wrap_wxDiagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
173 PyObject
* _resultobj
;
176 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
177 PyObject
* _argo0
= 0;
178 PyObject
* _argo1
= 0;
179 PyObject
* _argo2
= 0;
180 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDiagram_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_AddShape. Expected _wxDiagram_p.");
193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_AddShape. Expected _wxPyShape_p.");
200 if (_argo2
== Py_None
) { _arg2
= NULL
; }
201 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDiagram_AddShape. Expected _wxPyShape_p.");
207 wxPy_BEGIN_ALLOW_THREADS
;
208 wxDiagram_AddShape(_arg0
,_arg1
,_arg2
);
210 wxPy_END_ALLOW_THREADS
;
211 } Py_INCREF(Py_None
);
212 _resultobj
= Py_None
;
216 #define wxDiagram_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
217 static PyObject
*_wrap_wxDiagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
218 PyObject
* _resultobj
;
221 PyObject
* _argo0
= 0;
222 PyObject
* _argo1
= 0;
223 char *_kwnames
[] = { "self","dc", NULL
};
226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_Clear",_kwnames
,&_argo0
,&_argo1
))
229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Clear. Expected _wxDiagram_p.");
236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Clear. Expected _wxDC_p.");
243 wxPy_BEGIN_ALLOW_THREADS
;
244 wxDiagram_Clear(_arg0
,*_arg1
);
246 wxPy_END_ALLOW_THREADS
;
247 } Py_INCREF(Py_None
);
248 _resultobj
= Py_None
;
252 #define wxDiagram_DeleteAllShapes(_swigobj) (_swigobj->DeleteAllShapes())
253 static PyObject
*_wrap_wxDiagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
254 PyObject
* _resultobj
;
256 PyObject
* _argo0
= 0;
257 char *_kwnames
[] = { "self", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_DeleteAllShapes",_kwnames
,&_argo0
))
263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_DeleteAllShapes. Expected _wxDiagram_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 wxDiagram_DeleteAllShapes(_arg0
);
273 wxPy_END_ALLOW_THREADS
;
274 } Py_INCREF(Py_None
);
275 _resultobj
= Py_None
;
279 #define wxDiagram_DrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
280 static PyObject
*_wrap_wxDiagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
281 PyObject
* _resultobj
;
288 PyObject
* _argo0
= 0;
289 PyObject
* _argo1
= 0;
290 char *_kwnames
[] = { "self","dc","x1","y1","x2","y2", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxDiagram_DrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_DrawOutline. Expected _wxDiagram_p.");
303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_DrawOutline. Expected _wxDC_p.");
310 wxPy_BEGIN_ALLOW_THREADS
;
311 wxDiagram_DrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
313 wxPy_END_ALLOW_THREADS
;
314 } Py_INCREF(Py_None
);
315 _resultobj
= Py_None
;
319 #define wxDiagram_FindShape(_swigobj,_swigarg0) (_swigobj->FindShape(_swigarg0))
320 static PyObject
*_wrap_wxDiagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
325 PyObject
* _argo0
= 0;
326 char *_kwnames
[] = { "self","id", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDiagram_FindShape",_kwnames
,&_argo0
,&_arg1
))
333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_FindShape. Expected _wxDiagram_p.");
340 wxPy_BEGIN_ALLOW_THREADS
;
341 _result
= (wxPyShape
*)wxDiagram_FindShape(_arg0
,_arg1
);
343 wxPy_END_ALLOW_THREADS
;
345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
346 _resultobj
= Py_BuildValue("s",_ptemp
);
349 _resultobj
= Py_None
;
354 #define wxDiagram_GetCanvas(_swigobj) (_swigobj->GetCanvas())
355 static PyObject
*_wrap_wxDiagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
357 wxPyShapeCanvas
* _result
;
359 PyObject
* _argo0
= 0;
360 char *_kwnames
[] = { "self", NULL
};
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetCanvas",_kwnames
,&_argo0
))
367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetCanvas. Expected _wxDiagram_p.");
374 wxPy_BEGIN_ALLOW_THREADS
;
375 _result
= (wxPyShapeCanvas
*)wxDiagram_GetCanvas(_arg0
);
377 wxPy_END_ALLOW_THREADS
;
379 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
380 _resultobj
= Py_BuildValue("s",_ptemp
);
383 _resultobj
= Py_None
;
388 #define wxDiagram_GetCount(_swigobj) (_swigobj->GetCount())
389 static PyObject
*_wrap_wxDiagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
390 PyObject
* _resultobj
;
393 PyObject
* _argo0
= 0;
394 char *_kwnames
[] = { "self", NULL
};
397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetCount",_kwnames
,&_argo0
))
400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetCount. Expected _wxDiagram_p.");
407 wxPy_BEGIN_ALLOW_THREADS
;
408 _result
= (int )wxDiagram_GetCount(_arg0
);
410 wxPy_END_ALLOW_THREADS
;
411 } _resultobj
= Py_BuildValue("i",_result
);
415 #define wxDiagram_GetGridSpacing(_swigobj) (_swigobj->GetGridSpacing())
416 static PyObject
*_wrap_wxDiagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
417 PyObject
* _resultobj
;
420 PyObject
* _argo0
= 0;
421 char *_kwnames
[] = { "self", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetGridSpacing",_kwnames
,&_argo0
))
427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetGridSpacing. Expected _wxDiagram_p.");
434 wxPy_BEGIN_ALLOW_THREADS
;
435 _result
= (double )wxDiagram_GetGridSpacing(_arg0
);
437 wxPy_END_ALLOW_THREADS
;
438 } _resultobj
= Py_BuildValue("d",_result
);
442 #define wxDiagram_GetMouseTolerance(_swigobj) (_swigobj->GetMouseTolerance())
443 static PyObject
*_wrap_wxDiagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
444 PyObject
* _resultobj
;
447 PyObject
* _argo0
= 0;
448 char *_kwnames
[] = { "self", NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetMouseTolerance",_kwnames
,&_argo0
))
454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetMouseTolerance. Expected _wxDiagram_p.");
461 wxPy_BEGIN_ALLOW_THREADS
;
462 _result
= (int )wxDiagram_GetMouseTolerance(_arg0
);
464 wxPy_END_ALLOW_THREADS
;
465 } _resultobj
= Py_BuildValue("i",_result
);
469 static PyObject
* wxDiagram_GetShapeList(wxDiagram
*self
) {
470 wxList
* list
= self
->GetShapeList();
471 return wxPy_ConvertList(list
, "wxPyShape");
473 static PyObject
*_wrap_wxDiagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
477 PyObject
* _argo0
= 0;
478 char *_kwnames
[] = { "self", NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetShapeList",_kwnames
,&_argo0
))
484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetShapeList. Expected _wxDiagram_p.");
491 wxPy_BEGIN_ALLOW_THREADS
;
492 _result
= (PyObject
*)wxDiagram_GetShapeList(_arg0
);
494 wxPy_END_ALLOW_THREADS
;
496 _resultobj
= _result
;
501 #define wxDiagram_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
502 static PyObject
*_wrap_wxDiagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 PyObject
* _resultobj
;
506 PyObject
* _argo0
= 0;
507 char *_kwnames
[] = { "self", NULL
};
510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetQuickEditMode",_kwnames
,&_argo0
))
513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetQuickEditMode. Expected _wxDiagram_p.");
520 wxPy_BEGIN_ALLOW_THREADS
;
521 _result
= (bool )wxDiagram_GetQuickEditMode(_arg0
);
523 wxPy_END_ALLOW_THREADS
;
524 } _resultobj
= Py_BuildValue("i",_result
);
528 #define wxDiagram_GetSnapToGrid(_swigobj) (_swigobj->GetSnapToGrid())
529 static PyObject
*_wrap_wxDiagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
530 PyObject
* _resultobj
;
533 PyObject
* _argo0
= 0;
534 char *_kwnames
[] = { "self", NULL
};
537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetSnapToGrid",_kwnames
,&_argo0
))
540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetSnapToGrid. Expected _wxDiagram_p.");
547 wxPy_BEGIN_ALLOW_THREADS
;
548 _result
= (bool )wxDiagram_GetSnapToGrid(_arg0
);
550 wxPy_END_ALLOW_THREADS
;
551 } _resultobj
= Py_BuildValue("i",_result
);
555 #define wxDiagram_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
556 static PyObject
*_wrap_wxDiagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 PyObject
* _resultobj
;
560 PyObject
* _argo0
= 0;
561 PyObject
* _argo1
= 0;
562 char *_kwnames
[] = { "self","shape", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_InsertShape",_kwnames
,&_argo0
,&_argo1
))
568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_InsertShape. Expected _wxDiagram_p.");
575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_InsertShape. Expected _wxPyShape_p.");
582 wxPy_BEGIN_ALLOW_THREADS
;
583 wxDiagram_InsertShape(_arg0
,_arg1
);
585 wxPy_END_ALLOW_THREADS
;
586 } Py_INCREF(Py_None
);
587 _resultobj
= Py_None
;
591 #define wxDiagram_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
592 static PyObject
*_wrap_wxDiagram_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
597 PyObject
* _argo0
= 0;
598 PyObject
* _obj1
= 0;
599 char *_kwnames
[] = { "self","filename", NULL
};
602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_LoadFile",_kwnames
,&_argo0
,&_obj1
))
605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_LoadFile. Expected _wxDiagram_p.");
612 if (!PyString_Check(_obj1
)) {
613 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
616 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
619 wxPy_BEGIN_ALLOW_THREADS
;
620 _result
= (bool )wxDiagram_LoadFile(_arg0
,*_arg1
);
622 wxPy_END_ALLOW_THREADS
;
623 } _resultobj
= Py_BuildValue("i",_result
);
631 #define wxDiagram_ReadContainerGeometry(_swigobj,_swigarg0) (_swigobj->ReadContainerGeometry(_swigarg0))
632 static PyObject
*_wrap_wxDiagram_ReadContainerGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
635 wxExprDatabase
* _arg1
;
636 PyObject
* _argo0
= 0;
637 PyObject
* _argo1
= 0;
638 char *_kwnames
[] = { "self","database", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadContainerGeometry",_kwnames
,&_argo0
,&_argo1
))
644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadContainerGeometry. Expected _wxDiagram_p.");
651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadContainerGeometry. Expected _wxExprDatabase_p.");
658 wxPy_BEGIN_ALLOW_THREADS
;
659 wxDiagram_ReadContainerGeometry(_arg0
,*_arg1
);
661 wxPy_END_ALLOW_THREADS
;
662 } Py_INCREF(Py_None
);
663 _resultobj
= Py_None
;
667 #define wxDiagram_ReadLines(_swigobj,_swigarg0) (_swigobj->ReadLines(_swigarg0))
668 static PyObject
*_wrap_wxDiagram_ReadLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
669 PyObject
* _resultobj
;
671 wxExprDatabase
* _arg1
;
672 PyObject
* _argo0
= 0;
673 PyObject
* _argo1
= 0;
674 char *_kwnames
[] = { "self","database", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadLines",_kwnames
,&_argo0
,&_argo1
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadLines. Expected _wxDiagram_p.");
687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadLines. Expected _wxExprDatabase_p.");
694 wxPy_BEGIN_ALLOW_THREADS
;
695 wxDiagram_ReadLines(_arg0
,*_arg1
);
697 wxPy_END_ALLOW_THREADS
;
698 } Py_INCREF(Py_None
);
699 _resultobj
= Py_None
;
703 #define wxDiagram_ReadNodes(_swigobj,_swigarg0) (_swigobj->ReadNodes(_swigarg0))
704 static PyObject
*_wrap_wxDiagram_ReadNodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
705 PyObject
* _resultobj
;
707 wxExprDatabase
* _arg1
;
708 PyObject
* _argo0
= 0;
709 PyObject
* _argo1
= 0;
710 char *_kwnames
[] = { "self","database", NULL
};
713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadNodes",_kwnames
,&_argo0
,&_argo1
))
716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadNodes. Expected _wxDiagram_p.");
723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadNodes. Expected _wxExprDatabase_p.");
730 wxPy_BEGIN_ALLOW_THREADS
;
731 wxDiagram_ReadNodes(_arg0
,*_arg1
);
733 wxPy_END_ALLOW_THREADS
;
734 } Py_INCREF(Py_None
);
735 _resultobj
= Py_None
;
739 #define wxDiagram_RecentreAll(_swigobj,_swigarg0) (_swigobj->RecentreAll(_swigarg0))
740 static PyObject
*_wrap_wxDiagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
741 PyObject
* _resultobj
;
744 PyObject
* _argo0
= 0;
745 PyObject
* _argo1
= 0;
746 char *_kwnames
[] = { "self","dc", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_RecentreAll",_kwnames
,&_argo0
,&_argo1
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RecentreAll. Expected _wxDiagram_p.");
759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_RecentreAll. Expected _wxDC_p.");
766 wxPy_BEGIN_ALLOW_THREADS
;
767 wxDiagram_RecentreAll(_arg0
,*_arg1
);
769 wxPy_END_ALLOW_THREADS
;
770 } Py_INCREF(Py_None
);
771 _resultobj
= Py_None
;
775 #define wxDiagram_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
776 static PyObject
*_wrap_wxDiagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
780 PyObject
* _argo0
= 0;
781 PyObject
* _argo1
= 0;
782 char *_kwnames
[] = { "self","dc", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_Redraw",_kwnames
,&_argo0
,&_argo1
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Redraw. Expected _wxDiagram_p.");
795 if (_argo1
== Py_None
) { _arg1
= NULL
; }
796 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Redraw. Expected _wxDC_p.");
802 wxPy_BEGIN_ALLOW_THREADS
;
803 wxDiagram_Redraw(_arg0
,*_arg1
);
805 wxPy_END_ALLOW_THREADS
;
806 } Py_INCREF(Py_None
);
807 _resultobj
= Py_None
;
811 #define wxDiagram_RemoveAllShapes(_swigobj) (_swigobj->RemoveAllShapes())
812 static PyObject
*_wrap_wxDiagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
815 PyObject
* _argo0
= 0;
816 char *_kwnames
[] = { "self", NULL
};
819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_RemoveAllShapes",_kwnames
,&_argo0
))
822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RemoveAllShapes. Expected _wxDiagram_p.");
829 wxPy_BEGIN_ALLOW_THREADS
;
830 wxDiagram_RemoveAllShapes(_arg0
);
832 wxPy_END_ALLOW_THREADS
;
833 } Py_INCREF(Py_None
);
834 _resultobj
= Py_None
;
838 #define wxDiagram_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
839 static PyObject
*_wrap_wxDiagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
843 PyObject
* _argo0
= 0;
844 PyObject
* _argo1
= 0;
845 char *_kwnames
[] = { "self","shape", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RemoveShape. Expected _wxDiagram_p.");
858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_RemoveShape. Expected _wxPyShape_p.");
865 wxPy_BEGIN_ALLOW_THREADS
;
866 wxDiagram_RemoveShape(_arg0
,_arg1
);
868 wxPy_END_ALLOW_THREADS
;
869 } Py_INCREF(Py_None
);
870 _resultobj
= Py_None
;
874 #define wxDiagram_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
875 static PyObject
*_wrap_wxDiagram_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
880 PyObject
* _argo0
= 0;
881 PyObject
* _obj1
= 0;
882 char *_kwnames
[] = { "self","filename", NULL
};
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_SaveFile",_kwnames
,&_argo0
,&_obj1
))
888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SaveFile. Expected _wxDiagram_p.");
895 if (!PyString_Check(_obj1
)) {
896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
899 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
902 wxPy_BEGIN_ALLOW_THREADS
;
903 _result
= (bool )wxDiagram_SaveFile(_arg0
,*_arg1
);
905 wxPy_END_ALLOW_THREADS
;
906 } _resultobj
= Py_BuildValue("i",_result
);
914 #define wxDiagram_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
915 static PyObject
*_wrap_wxDiagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
918 wxPyShapeCanvas
* _arg1
;
919 PyObject
* _argo0
= 0;
920 PyObject
* _argo1
= 0;
921 char *_kwnames
[] = { "self","canvas", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetCanvas. Expected _wxDiagram_p.");
934 if (_argo1
== Py_None
) { _arg1
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_SetCanvas. Expected _wxPyShapeCanvas_p.");
941 wxPy_BEGIN_ALLOW_THREADS
;
942 wxDiagram_SetCanvas(_arg0
,_arg1
);
944 wxPy_END_ALLOW_THREADS
;
945 } Py_INCREF(Py_None
);
946 _resultobj
= Py_None
;
950 #define wxDiagram_SetGridSpacing(_swigobj,_swigarg0) (_swigobj->SetGridSpacing(_swigarg0))
951 static PyObject
*_wrap_wxDiagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
955 PyObject
* _argo0
= 0;
956 char *_kwnames
[] = { "self","spacing", NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDiagram_SetGridSpacing",_kwnames
,&_argo0
,&_arg1
))
962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetGridSpacing. Expected _wxDiagram_p.");
969 wxPy_BEGIN_ALLOW_THREADS
;
970 wxDiagram_SetGridSpacing(_arg0
,_arg1
);
972 wxPy_END_ALLOW_THREADS
;
973 } Py_INCREF(Py_None
);
974 _resultobj
= Py_None
;
978 #define wxDiagram_SetMouseTolerance(_swigobj,_swigarg0) (_swigobj->SetMouseTolerance(_swigarg0))
979 static PyObject
*_wrap_wxDiagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
983 PyObject
* _argo0
= 0;
984 char *_kwnames
[] = { "self","tolerance", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetMouseTolerance",_kwnames
,&_argo0
,&_arg1
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetMouseTolerance. Expected _wxDiagram_p.");
997 wxPy_BEGIN_ALLOW_THREADS
;
998 wxDiagram_SetMouseTolerance(_arg0
,_arg1
);
1000 wxPy_END_ALLOW_THREADS
;
1001 } Py_INCREF(Py_None
);
1002 _resultobj
= Py_None
;
1006 #define wxDiagram_SetQuickEditMode(_swigobj,_swigarg0) (_swigobj->SetQuickEditMode(_swigarg0))
1007 static PyObject
*_wrap_wxDiagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1011 PyObject
* _argo0
= 0;
1013 char *_kwnames
[] = { "self","mode", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetQuickEditMode",_kwnames
,&_argo0
,&tempbool1
))
1019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetQuickEditMode. Expected _wxDiagram_p.");
1025 _arg1
= (bool ) tempbool1
;
1027 wxPy_BEGIN_ALLOW_THREADS
;
1028 wxDiagram_SetQuickEditMode(_arg0
,_arg1
);
1030 wxPy_END_ALLOW_THREADS
;
1031 } Py_INCREF(Py_None
);
1032 _resultobj
= Py_None
;
1036 #define wxDiagram_SetSnapToGrid(_swigobj,_swigarg0) (_swigobj->SetSnapToGrid(_swigarg0))
1037 static PyObject
*_wrap_wxDiagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
* _resultobj
;
1041 PyObject
* _argo0
= 0;
1043 char *_kwnames
[] = { "self","snap", NULL
};
1046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetSnapToGrid",_kwnames
,&_argo0
,&tempbool1
))
1049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetSnapToGrid. Expected _wxDiagram_p.");
1055 _arg1
= (bool ) tempbool1
;
1057 wxPy_BEGIN_ALLOW_THREADS
;
1058 wxDiagram_SetSnapToGrid(_arg0
,_arg1
);
1060 wxPy_END_ALLOW_THREADS
;
1061 } Py_INCREF(Py_None
);
1062 _resultobj
= Py_None
;
1066 #define wxDiagram_ShowAll(_swigobj,_swigarg0) (_swigobj->ShowAll(_swigarg0))
1067 static PyObject
*_wrap_wxDiagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1071 PyObject
* _argo0
= 0;
1073 char *_kwnames
[] = { "self","show", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_ShowAll",_kwnames
,&_argo0
,&tempbool1
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ShowAll. Expected _wxDiagram_p.");
1085 _arg1
= (bool ) tempbool1
;
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 wxDiagram_ShowAll(_arg0
,_arg1
);
1090 wxPy_END_ALLOW_THREADS
;
1091 } Py_INCREF(Py_None
);
1092 _resultobj
= Py_None
;
1096 #define wxDiagram_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1097 static PyObject
*_wrap_wxDiagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1102 PyObject
* _argo0
= 0;
1103 PyObject
* _argo1
= 0;
1104 PyObject
* _argo2
= 0;
1105 char *_kwnames
[] = { "self","x","y", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDiagram_Snap",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Snap. Expected _wxDiagram_p.");
1118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Snap. Expected _double_p.");
1125 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDiagram_Snap. Expected _double_p.");
1132 wxPy_BEGIN_ALLOW_THREADS
;
1133 wxDiagram_Snap(_arg0
,_arg1
,_arg2
);
1135 wxPy_END_ALLOW_THREADS
;
1136 } Py_INCREF(Py_None
);
1137 _resultobj
= Py_None
;
1141 static void *SwigwxPyShapeCanvasTowxScrolledWindow(void *ptr
) {
1142 wxPyShapeCanvas
*src
;
1143 wxScrolledWindow
*dest
;
1144 src
= (wxPyShapeCanvas
*) ptr
;
1145 dest
= (wxScrolledWindow
*) src
;
1146 return (void *) dest
;
1149 static void *SwigwxPyShapeCanvasTowxPanel(void *ptr
) {
1150 wxPyShapeCanvas
*src
;
1152 src
= (wxPyShapeCanvas
*) ptr
;
1153 dest
= (wxPanel
*) src
;
1154 return (void *) dest
;
1157 static void *SwigwxPyShapeCanvasTowxWindow(void *ptr
) {
1158 wxPyShapeCanvas
*src
;
1160 src
= (wxPyShapeCanvas
*) ptr
;
1161 dest
= (wxWindow
*) src
;
1162 return (void *) dest
;
1165 static void *SwigwxPyShapeCanvasTowxEvtHandler(void *ptr
) {
1166 wxPyShapeCanvas
*src
;
1168 src
= (wxPyShapeCanvas
*) ptr
;
1169 dest
= (wxEvtHandler
*) src
;
1170 return (void *) dest
;
1173 #define new_wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1174 static PyObject
*_wrap_new_wxPyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1176 wxPyShapeCanvas
* _result
;
1177 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1178 wxWindowID _arg1
= (wxWindowID
) -1;
1179 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1180 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1181 long _arg4
= (long ) wxBORDER
;
1182 PyObject
* _argo0
= 0;
1184 PyObject
* _obj2
= 0;
1186 PyObject
* _obj3
= 0;
1187 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOl:new_wxPyShapeCanvas",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeCanvas. Expected _wxWindow_p.");
1203 if (! wxPoint_helper(_obj2
, &_arg2
))
1209 if (! wxSize_helper(_obj3
, &_arg3
))
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 _result
= (wxPyShapeCanvas
*)new_wxPyShapeCanvas(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1216 wxPy_END_ALLOW_THREADS
;
1218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
1219 _resultobj
= Py_BuildValue("s",_ptemp
);
1222 _resultobj
= Py_None
;
1227 #define wxPyShapeCanvas__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1228 static PyObject
*_wrap_wxPyShapeCanvas__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1230 wxPyShapeCanvas
* _arg0
;
1232 PyObject
* _argo0
= 0;
1233 PyObject
* _obj1
= 0;
1234 char *_kwnames
[] = { "self","self", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas__setSelf",_kwnames
,&_argo0
,&_obj1
))
1240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas__setSelf. Expected _wxPyShapeCanvas_p.");
1250 wxPy_BEGIN_ALLOW_THREADS
;
1251 wxPyShapeCanvas__setSelf(_arg0
,_arg1
);
1253 wxPy_END_ALLOW_THREADS
;
1254 } Py_INCREF(Py_None
);
1255 _resultobj
= Py_None
;
1259 #define wxPyShapeCanvas_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
1260 static PyObject
*_wrap_wxPyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1262 wxPyShapeCanvas
* _arg0
;
1264 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
1265 PyObject
* _argo0
= 0;
1266 PyObject
* _argo1
= 0;
1267 PyObject
* _argo2
= 0;
1268 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShapeCanvas_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_AddShape. Expected _wxPyShapeCanvas_p.");
1281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1288 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1289 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1295 wxPy_BEGIN_ALLOW_THREADS
;
1296 wxPyShapeCanvas_AddShape(_arg0
,_arg1
,_arg2
);
1298 wxPy_END_ALLOW_THREADS
;
1299 } Py_INCREF(Py_None
);
1300 _resultobj
= Py_None
;
1304 #define wxPyShapeCanvas_FindShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1305 static PyObject
*_wrap_wxPyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
* _resultobj
;
1307 wxPyShape
* _result
;
1308 wxPyShapeCanvas
* _arg0
;
1312 wxClassInfo
* _arg4
= (wxClassInfo
*) NULL
;
1313 wxPyShape
* _arg5
= (wxPyShape
*) NULL
;
1314 PyObject
* _argo0
= 0;
1315 PyObject
* _argo3
= 0;
1316 PyObject
* _argo4
= 0;
1317 PyObject
* _argo5
= 0;
1318 char *_kwnames
[] = { "self","x1","y","attachment","info","notImage", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OddO|OO:wxPyShapeCanvas_FindShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_argo5
))
1325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindShape. Expected _wxPyShapeCanvas_p.");
1332 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShapeCanvas_FindShape. Expected _int_p.");
1339 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxClassInfo_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPyShapeCanvas_FindShape. Expected _wxClassInfo_p.");
1346 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1347 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyShape_p")) {
1348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShapeCanvas_FindShape. Expected _wxPyShape_p.");
1353 wxPy_BEGIN_ALLOW_THREADS
;
1354 _result
= (wxPyShape
*)wxPyShapeCanvas_FindShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1356 wxPy_END_ALLOW_THREADS
;
1358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1359 _resultobj
= Py_BuildValue("s",_ptemp
);
1362 _resultobj
= Py_None
;
1367 #define wxPyShapeCanvas_FindFirstSensitiveShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindFirstSensitiveShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1368 static PyObject
*_wrap_wxPyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1370 wxPyShape
* _result
;
1371 wxPyShapeCanvas
* _arg0
;
1376 PyObject
* _argo0
= 0;
1377 PyObject
* _argo3
= 0;
1378 char *_kwnames
[] = { "self","x1","y","attachment","op", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OddOi:wxPyShapeCanvas_FindFirstSensitiveShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindFirstSensitiveShape. Expected _wxPyShapeCanvas_p.");
1392 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1393 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
1394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShapeCanvas_FindFirstSensitiveShape. Expected _int_p.");
1399 wxPy_BEGIN_ALLOW_THREADS
;
1400 _result
= (wxPyShape
*)wxPyShapeCanvas_FindFirstSensitiveShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1402 wxPy_END_ALLOW_THREADS
;
1404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1405 _resultobj
= Py_BuildValue("s",_ptemp
);
1408 _resultobj
= Py_None
;
1413 #define wxPyShapeCanvas_GetDiagram(_swigobj) (_swigobj->GetDiagram())
1414 static PyObject
*_wrap_wxPyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1416 wxDiagram
* _result
;
1417 wxPyShapeCanvas
* _arg0
;
1418 PyObject
* _argo0
= 0;
1419 char *_kwnames
[] = { "self", NULL
};
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetDiagram",_kwnames
,&_argo0
))
1426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetDiagram. Expected _wxPyShapeCanvas_p.");
1433 wxPy_BEGIN_ALLOW_THREADS
;
1434 _result
= (wxDiagram
*)wxPyShapeCanvas_GetDiagram(_arg0
);
1436 wxPy_END_ALLOW_THREADS
;
1438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDiagram_p");
1439 _resultobj
= Py_BuildValue("s",_ptemp
);
1442 _resultobj
= Py_None
;
1447 #define wxPyShapeCanvas_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
1448 static PyObject
*_wrap_wxPyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1451 wxPyShapeCanvas
* _arg0
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetQuickEditMode",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetQuickEditMode. Expected _wxPyShapeCanvas_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 _result
= (bool )wxPyShapeCanvas_GetQuickEditMode(_arg0
);
1469 wxPy_END_ALLOW_THREADS
;
1470 } _resultobj
= Py_BuildValue("i",_result
);
1474 #define wxPyShapeCanvas_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
1475 static PyObject
*_wrap_wxPyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1477 wxPyShapeCanvas
* _arg0
;
1479 PyObject
* _argo0
= 0;
1480 PyObject
* _argo1
= 0;
1481 char *_kwnames
[] = { "self","shape", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_InsertShape",_kwnames
,&_argo0
,&_argo1
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_InsertShape. Expected _wxPyShapeCanvas_p.");
1494 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_InsertShape. Expected _wxPyShape_p.");
1501 wxPy_BEGIN_ALLOW_THREADS
;
1502 wxPyShapeCanvas_InsertShape(_arg0
,_arg1
);
1504 wxPy_END_ALLOW_THREADS
;
1505 } Py_INCREF(Py_None
);
1506 _resultobj
= Py_None
;
1510 #define wxPyShapeCanvas_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2))
1511 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1513 wxPyShapeCanvas
* _arg0
;
1516 int _arg3
= (int ) 0;
1517 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragLeft. Expected _wxPyShapeCanvas_p.");
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 wxPyShapeCanvas_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1534 wxPy_END_ALLOW_THREADS
;
1535 } Py_INCREF(Py_None
);
1536 _resultobj
= Py_None
;
1540 #define wxPyShapeCanvas_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2))
1541 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1543 wxPyShapeCanvas
* _arg0
;
1546 int _arg3
= (int ) 0;
1547 PyObject
* _argo0
= 0;
1548 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragRight. Expected _wxPyShapeCanvas_p.");
1561 wxPy_BEGIN_ALLOW_THREADS
;
1562 wxPyShapeCanvas_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1564 wxPy_END_ALLOW_THREADS
;
1565 } Py_INCREF(Py_None
);
1566 _resultobj
= Py_None
;
1570 #define wxPyShapeCanvas_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2))
1571 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1573 wxPyShapeCanvas
* _arg0
;
1576 int _arg3
= (int ) 0;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragLeft. Expected _wxPyShapeCanvas_p.");
1591 wxPy_BEGIN_ALLOW_THREADS
;
1592 wxPyShapeCanvas_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1594 wxPy_END_ALLOW_THREADS
;
1595 } Py_INCREF(Py_None
);
1596 _resultobj
= Py_None
;
1600 #define wxPyShapeCanvas_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2))
1601 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1603 wxPyShapeCanvas
* _arg0
;
1606 int _arg3
= (int ) 0;
1607 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragRight. Expected _wxPyShapeCanvas_p.");
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 wxPyShapeCanvas_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1624 wxPy_END_ALLOW_THREADS
;
1625 } Py_INCREF(Py_None
);
1626 _resultobj
= Py_None
;
1630 #define wxPyShapeCanvas_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1631 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1633 wxPyShapeCanvas
* _arg0
;
1637 int _arg4
= (int ) 0;
1638 PyObject
* _argo0
= 0;
1640 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragLeft. Expected _wxPyShapeCanvas_p.");
1652 _arg1
= (bool ) tempbool1
;
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 wxPyShapeCanvas_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1657 wxPy_END_ALLOW_THREADS
;
1658 } Py_INCREF(Py_None
);
1659 _resultobj
= Py_None
;
1663 #define wxPyShapeCanvas_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1664 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1666 wxPyShapeCanvas
* _arg0
;
1670 int _arg4
= (int ) 0;
1671 PyObject
* _argo0
= 0;
1673 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragRight. Expected _wxPyShapeCanvas_p.");
1685 _arg1
= (bool ) tempbool1
;
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 wxPyShapeCanvas_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1690 wxPy_END_ALLOW_THREADS
;
1691 } Py_INCREF(Py_None
);
1692 _resultobj
= Py_None
;
1696 #define wxPyShapeCanvas_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2))
1697 static PyObject
*_wrap_wxPyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1699 wxPyShapeCanvas
* _arg0
;
1702 int _arg3
= (int ) 0;
1703 PyObject
* _argo0
= 0;
1704 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnLeftClick. Expected _wxPyShapeCanvas_p.");
1717 wxPy_BEGIN_ALLOW_THREADS
;
1718 wxPyShapeCanvas_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
);
1720 wxPy_END_ALLOW_THREADS
;
1721 } Py_INCREF(Py_None
);
1722 _resultobj
= Py_None
;
1726 #define wxPyShapeCanvas_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2))
1727 static PyObject
*_wrap_wxPyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
* _resultobj
;
1729 wxPyShapeCanvas
* _arg0
;
1732 int _arg3
= (int ) 0;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnRightClick. Expected _wxPyShapeCanvas_p.");
1747 wxPy_BEGIN_ALLOW_THREADS
;
1748 wxPyShapeCanvas_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
);
1750 wxPy_END_ALLOW_THREADS
;
1751 } Py_INCREF(Py_None
);
1752 _resultobj
= Py_None
;
1756 #define wxPyShapeCanvas_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
1757 static PyObject
*_wrap_wxPyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1759 wxPyShapeCanvas
* _arg0
;
1761 PyObject
* _argo0
= 0;
1762 PyObject
* _argo1
= 0;
1763 char *_kwnames
[] = { "self","dc", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_Redraw",_kwnames
,&_argo0
,&_argo1
))
1769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Redraw. Expected _wxPyShapeCanvas_p.");
1776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_Redraw. Expected _wxDC_p.");
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 wxPyShapeCanvas_Redraw(_arg0
,*_arg1
);
1786 wxPy_END_ALLOW_THREADS
;
1787 } Py_INCREF(Py_None
);
1788 _resultobj
= Py_None
;
1792 #define wxPyShapeCanvas_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
1793 static PyObject
*_wrap_wxPyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1795 wxPyShapeCanvas
* _arg0
;
1797 PyObject
* _argo0
= 0;
1798 PyObject
* _argo1
= 0;
1799 char *_kwnames
[] = { "self","shape", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShapeCanvas_p.");
1812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShape_p.");
1819 wxPy_BEGIN_ALLOW_THREADS
;
1820 wxPyShapeCanvas_RemoveShape(_arg0
,_arg1
);
1822 wxPy_END_ALLOW_THREADS
;
1823 } Py_INCREF(Py_None
);
1824 _resultobj
= Py_None
;
1828 #define wxPyShapeCanvas_SetDiagram(_swigobj,_swigarg0) (_swigobj->SetDiagram(_swigarg0))
1829 static PyObject
*_wrap_wxPyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
* _resultobj
;
1831 wxPyShapeCanvas
* _arg0
;
1833 PyObject
* _argo0
= 0;
1834 PyObject
* _argo1
= 0;
1835 char *_kwnames
[] = { "self","diagram", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_SetDiagram",_kwnames
,&_argo0
,&_argo1
))
1841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_SetDiagram. Expected _wxPyShapeCanvas_p.");
1848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDiagram_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_SetDiagram. Expected _wxDiagram_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 wxPyShapeCanvas_SetDiagram(_arg0
,_arg1
);
1858 wxPy_END_ALLOW_THREADS
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1864 #define wxPyShapeCanvas_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1865 static PyObject
*_wrap_wxPyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1867 wxPyShapeCanvas
* _arg0
;
1870 PyObject
* _argo0
= 0;
1871 PyObject
* _argo1
= 0;
1872 PyObject
* _argo2
= 0;
1873 char *_kwnames
[] = { "self","x","y", NULL
};
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeCanvas_Snap",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Snap. Expected _wxPyShapeCanvas_p.");
1886 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_Snap. Expected _double_p.");
1893 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShapeCanvas_Snap. Expected _double_p.");
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 wxPyShapeCanvas_Snap(_arg0
,_arg1
,_arg2
);
1903 wxPy_END_ALLOW_THREADS
;
1904 } Py_INCREF(Py_None
);
1905 _resultobj
= Py_None
;
1909 static PyMethodDef oglcanvascMethods
[] = {
1910 { "wxPyShapeCanvas_Snap", (PyCFunction
) _wrap_wxPyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1911 { "wxPyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1912 { "wxPyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1913 { "wxPyShapeCanvas_Redraw", (PyCFunction
) _wrap_wxPyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1914 { "wxPyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
1915 { "wxPyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
1916 { "wxPyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1917 { "wxPyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1918 { "wxPyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1919 { "wxPyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1920 { "wxPyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1921 { "wxPyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1922 { "wxPyShapeCanvas_InsertShape", (PyCFunction
) _wrap_wxPyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1923 { "wxPyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_wxPyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1924 { "wxPyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1925 { "wxPyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
1926 { "wxPyShapeCanvas_FindShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1927 { "wxPyShapeCanvas_AddShape", (PyCFunction
) _wrap_wxPyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1928 { "wxPyShapeCanvas__setSelf", (PyCFunction
) _wrap_wxPyShapeCanvas__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
1929 { "new_wxPyShapeCanvas", (PyCFunction
) _wrap_new_wxPyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1930 { "wxDiagram_Snap", (PyCFunction
) _wrap_wxDiagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1931 { "wxDiagram_ShowAll", (PyCFunction
) _wrap_wxDiagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
1932 { "wxDiagram_SetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1933 { "wxDiagram_SetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1934 { "wxDiagram_SetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1935 { "wxDiagram_SetGridSpacing", (PyCFunction
) _wrap_wxDiagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1936 { "wxDiagram_SetCanvas", (PyCFunction
) _wrap_wxDiagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1937 { "wxDiagram_SaveFile", (PyCFunction
) _wrap_wxDiagram_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
1938 { "wxDiagram_RemoveShape", (PyCFunction
) _wrap_wxDiagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1939 { "wxDiagram_RemoveAllShapes", (PyCFunction
) _wrap_wxDiagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1940 { "wxDiagram_Redraw", (PyCFunction
) _wrap_wxDiagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1941 { "wxDiagram_RecentreAll", (PyCFunction
) _wrap_wxDiagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
1942 { "wxDiagram_ReadNodes", (PyCFunction
) _wrap_wxDiagram_ReadNodes
, METH_VARARGS
| METH_KEYWORDS
},
1943 { "wxDiagram_ReadLines", (PyCFunction
) _wrap_wxDiagram_ReadLines
, METH_VARARGS
| METH_KEYWORDS
},
1944 { "wxDiagram_ReadContainerGeometry", (PyCFunction
) _wrap_wxDiagram_ReadContainerGeometry
, METH_VARARGS
| METH_KEYWORDS
},
1945 { "wxDiagram_LoadFile", (PyCFunction
) _wrap_wxDiagram_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
1946 { "wxDiagram_InsertShape", (PyCFunction
) _wrap_wxDiagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1947 { "wxDiagram_GetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1948 { "wxDiagram_GetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1949 { "wxDiagram_GetShapeList", (PyCFunction
) _wrap_wxDiagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
1950 { "wxDiagram_GetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1951 { "wxDiagram_GetGridSpacing", (PyCFunction
) _wrap_wxDiagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1952 { "wxDiagram_GetCount", (PyCFunction
) _wrap_wxDiagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
1953 { "wxDiagram_GetCanvas", (PyCFunction
) _wrap_wxDiagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1954 { "wxDiagram_FindShape", (PyCFunction
) _wrap_wxDiagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1955 { "wxDiagram_DrawOutline", (PyCFunction
) _wrap_wxDiagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
1956 { "wxDiagram_DeleteAllShapes", (PyCFunction
) _wrap_wxDiagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1957 { "wxDiagram_Clear", (PyCFunction
) _wrap_wxDiagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
1958 { "wxDiagram_AddShape", (PyCFunction
) _wrap_wxDiagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1959 { "delete_wxDiagram", (PyCFunction
) _wrap_delete_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1960 { "new_wxDiagram", (PyCFunction
) _wrap_new_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1967 * This table is used by the pointer type-checker
1969 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1970 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1971 { "_wxEvent","_class_wxEvent",0},
1972 { "_class_wxActivateEvent","_wxActivateEvent",0},
1973 { "_signed_long","_long",0},
1974 { "_wxMenuEvent","_class_wxMenuEvent",0},
1975 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
1976 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1977 { "_wxBMPHandler","_class_wxBMPHandler",0},
1978 { "_wxImage","_class_wxImage",0},
1979 { "_wxPrintQuality","_int",0},
1980 { "_wxPrintQuality","_signed_int",0},
1981 { "_wxPrintQuality","_unsigned_int",0},
1982 { "_wxPrintQuality","_wxWindowID",0},
1983 { "_wxPrintQuality","_uint",0},
1984 { "_wxPrintQuality","_EBool",0},
1985 { "_wxPrintQuality","_size_t",0},
1986 { "_wxFontData","_class_wxFontData",0},
1987 { "___wxPyCleanup","_class___wxPyCleanup",0},
1988 { "_class_wxRegionIterator","_wxRegionIterator",0},
1989 { "_class_wxMenuBar","_wxMenuBar",0},
1990 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
1991 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
1992 { "_class_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
1993 { "_class_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
1994 { "_class_wxEvtHandler","_wxEvtHandler",0},
1995 { "_wxPaintEvent","_class_wxPaintEvent",0},
1996 { "_wxGIFHandler","_class_wxGIFHandler",0},
1997 { "_wxPySizer","_class_wxPySizer",0},
1998 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1999 { "_wxCursor","_class_wxCursor",0},
2000 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2001 { "_wxImageHandler","_class_wxImageHandler",0},
2002 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
2003 { "_wxMask","_class_wxMask",0},
2004 { "_wxToolTip","_class_wxToolTip",0},
2005 { "_wxGrid","_class_wxGrid",0},
2006 { "_wxPNGHandler","_class_wxPNGHandler",0},
2007 { "_class_wxColourData","_wxColourData",0},
2008 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
2009 { "_wxPrinter","_class_wxPrinter",0},
2010 { "_wxPen","_class_wxPen",0},
2011 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2012 { "_byte","_unsigned_char",0},
2013 { "_wxStaticBox","_class_wxStaticBox",0},
2014 { "_wxChoice","_class_wxChoice",0},
2015 { "_wxSlider","_class_wxSlider",0},
2016 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
2017 { "_wxPyPrintout","_class_wxPyPrintout",0},
2018 { "_wxShapeRegion","_class_wxShapeRegion",0},
2019 { "_long","_wxDash",0},
2020 { "_long","_unsigned_long",0},
2021 { "_long","_signed_long",0},
2022 { "_wxImageList","_class_wxImageList",0},
2023 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2024 { "_wxBitmapButton","_class_wxBitmapButton",0},
2025 { "_wxSashWindow","_class_wxSashWindow",0},
2026 { "_class_wxSizer","_wxSizer",0},
2027 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
2028 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2029 { "_class_wxGauge","_wxGauge",0},
2030 { "_class_wxSashEvent","_wxSashEvent",0},
2031 { "_wxDC","_class_wxDC",0},
2032 { "_wxSizerItem","_class_wxSizerItem",0},
2033 { "_wxListEvent","_class_wxListEvent",0},
2034 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
2035 { "_wxProgressDialog","_class_wxProgressDialog",0},
2036 { "_class_wxBMPHandler","_wxBMPHandler",0},
2037 { "_wxPrintPreview","_class_wxPrintPreview",0},
2038 { "_wxSpinEvent","_class_wxSpinEvent",0},
2039 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
2040 { "_size_t","_wxPrintQuality",0},
2041 { "_size_t","_unsigned_int",0},
2042 { "_size_t","_int",0},
2043 { "_size_t","_wxWindowID",0},
2044 { "_size_t","_uint",0},
2045 { "_class_wxRealPoint","_wxRealPoint",0},
2046 { "_wxPrinterDC","_class_wxPrinterDC",0},
2047 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
2048 { "_class_wxMenuItem","_wxMenuItem",0},
2049 { "_class_wxPaintEvent","_wxPaintEvent",0},
2050 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2051 { "_class_wxStatusBar","_wxStatusBar",0},
2052 { "_class_wxGIFHandler","_wxGIFHandler",0},
2053 { "_class_wxPySizer","_wxPySizer",0},
2054 { "_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2055 { "_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2056 { "_wxPanel","_class_wxPanel",0},
2057 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2058 { "_wxCheckBox","_class_wxCheckBox",0},
2059 { "_wxPyEvent","_class_wxPyEvent",0},
2060 { "_wxTextCtrl","_class_wxTextCtrl",0},
2061 { "_class_wxMask","_wxMask",0},
2062 { "_class_wxToolTip","_wxToolTip",0},
2063 { "_class_wxKeyEvent","_wxKeyEvent",0},
2064 { "_class_wxGrid","_wxGrid",0},
2065 { "_class_wxPNGHandler","_wxPNGHandler",0},
2066 { "_wxColour","_class_wxColour",0},
2067 { "_class_wxDialog","_wxDialog",0},
2068 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
2069 { "_class_wxPrinter","_wxPrinter",0},
2070 { "_wxIdleEvent","_class_wxIdleEvent",0},
2071 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2072 { "_wxToolBar","_class_wxToolBar",0},
2073 { "_wxCaret","_class_wxCaret",0},
2074 { "_wxStaticLine","_class_wxStaticLine",0},
2075 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
2076 { "_wxBrush","_class_wxBrush",0},
2077 { "_wxMiniFrame","_class_wxMiniFrame",0},
2078 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
2079 { "_class_wxPyPrintout","_wxPyPrintout",0},
2080 { "_class_wxSashWindow","_wxSashWindow",0},
2081 { "_wxShowEvent","_class_wxShowEvent",0},
2082 { "_uint","_wxPrintQuality",0},
2083 { "_uint","_size_t",0},
2084 { "_uint","_unsigned_int",0},
2085 { "_uint","_int",0},
2086 { "_uint","_wxWindowID",0},
2087 { "_wxPyValidator","_class_wxPyValidator",0},
2088 { "_class_wxEvent","_wxEvent",0},
2089 { "_wxCheckListBox","_class_wxCheckListBox",0},
2090 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
2091 { "_wxGridEvent","_class_wxGridEvent",0},
2092 { "_wxRect","_class_wxRect",0},
2093 { "_wxCommandEvent","_class_wxCommandEvent",0},
2094 { "_wxPyShapeCanvas","_class_wxPyShapeCanvas",0},
2095 { "_wxSizeEvent","_class_wxSizeEvent",0},
2096 { "_class_wxImage","_wxImage",0},
2097 { "_wxPoint","_class_wxPoint",0},
2098 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
2099 { "_class_wxButton","_wxButton",0},
2100 { "_wxRadioBox","_class_wxRadioBox",0},
2101 { "_class_wxFontData","_wxFontData",0},
2102 { "_wxBoxSizer","_class_wxBoxSizer",0},
2103 { "_class___wxPyCleanup","___wxPyCleanup",0},
2104 { "_wxBitmap","_class_wxBitmap",0},
2105 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
2106 { "_wxPrintDialog","_class_wxPrintDialog",0},
2107 { "_wxPyTimer","_class_wxPyTimer",0},
2108 { "_wxWindowDC","_class_wxWindowDC",0},
2109 { "_wxScrollBar","_class_wxScrollBar",0},
2110 { "_wxSpinButton","_class_wxSpinButton",0},
2111 { "_wxToolBarTool","_class_wxToolBarTool",0},
2112 { "_wxColourDialog","_class_wxColourDialog",0},
2113 { "_wxPrintData","_class_wxPrintData",0},
2114 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2115 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2116 { "_wxMessageDialog","_class_wxMessageDialog",0},
2117 { "_class_wxValidator","_wxValidator",0},
2118 { "_class_wxPyEvent","_wxPyEvent",0},
2119 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
2120 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2121 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2122 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
2123 { "_wxListItem","_class_wxListItem",0},
2124 { "_class_wxToolBar","_wxToolBar",0},
2125 { "_class_wxStaticLine","_wxStaticLine",0},
2126 { "_wxScrollEvent","_class_wxScrollEvent",0},
2127 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
2128 { "_class_wxShapeRegion","_wxShapeRegion",0},
2129 { "_EBool","_wxPrintQuality",0},
2130 { "_EBool","_signed_int",0},
2131 { "_EBool","_int",0},
2132 { "_EBool","_wxWindowID",0},
2133 { "_class_wxRegion","_wxRegion",0},
2134 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2135 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
2136 { "_wxStaticText","_class_wxStaticText",0},
2137 { "_wxFont","_class_wxFont",0},
2138 { "_wxCloseEvent","_class_wxCloseEvent",0},
2139 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
2140 { "_wxNotebook","_class_wxNotebook",0},
2141 { "_unsigned_long","_wxDash",0},
2142 { "_unsigned_long","_long",0},
2143 { "_class_wxRect","_wxRect",0},
2144 { "_class_wxDC","_wxDC",0},
2145 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2146 { "_class_wxPyShapeCanvas","_wxPyShapeCanvas",0},
2147 { "_class_wxProgressDialog","_wxProgressDialog",0},
2148 { "_wxPyApp","_class_wxPyApp",0},
2149 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
2150 { "_class_wxTreeEvent","_wxTreeEvent",0},
2151 { "_class_wxDirDialog","_wxDirDialog",0},
2152 { "_class_wxPyTimer","_wxPyTimer",0},
2153 { "_wxFocusEvent","_class_wxFocusEvent",0},
2154 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2155 { "_class_wxSpinButton","_wxSpinButton",0},
2156 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2157 { "_class_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2158 { "_class_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2159 { "_class_wxPanel","_wxPanel",0},
2160 { "_class_wxCheckBox","_wxCheckBox",0},
2161 { "_wxComboBox","_class_wxComboBox",0},
2162 { "_wxRadioButton","_class_wxRadioButton",0},
2163 { "_class_wxMessageDialog","_wxMessageDialog",0},
2164 { "_signed_int","_wxPrintQuality",0},
2165 { "_signed_int","_EBool",0},
2166 { "_signed_int","_wxWindowID",0},
2167 { "_signed_int","_int",0},
2168 { "_class_wxTextCtrl","_wxTextCtrl",0},
2169 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2170 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2171 { "_wxMenu","_class_wxMenu",0},
2172 { "_class_wxMoveEvent","_wxMoveEvent",0},
2173 { "_wxListBox","_class_wxListBox",0},
2174 { "_wxScreenDC","_class_wxScreenDC",0},
2175 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
2176 { "_WXTYPE","_short",0},
2177 { "_WXTYPE","_signed_short",0},
2178 { "_WXTYPE","_unsigned_short",0},
2179 { "_wxFileDialog","_class_wxFileDialog",0},
2180 { "_class_wxCaret","_wxCaret",0},
2181 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
2182 { "_class_wxBrush","_wxBrush",0},
2183 { "_unsigned_short","_WXTYPE",0},
2184 { "_unsigned_short","_short",0},
2185 { "_class_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2186 { "_class_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2187 { "_class_wxWindow","_wxWindow",0},
2188 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
2189 { "_class_wxStaticText","_wxStaticText",0},
2190 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
2191 { "_class_wxFont","_wxFont",0},
2192 { "_class_wxPyValidator","_wxPyValidator",0},
2193 { "_class_wxCloseEvent","_wxCloseEvent",0},
2194 { "_wxSashEvent","_class_wxSashEvent",0},
2195 { "_class_wxMenuEvent","_wxMenuEvent",0},
2196 { "_wxClientDC","_class_wxClientDC",0},
2197 { "_wxMouseEvent","_class_wxMouseEvent",0},
2198 { "_wxListCtrl","_class_wxListCtrl",0},
2199 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
2200 { "_class_wxPoint","_wxPoint",0},
2201 { "_wxRealPoint","_class_wxRealPoint",0},
2202 { "_class_wxRadioBox","_wxRadioBox",0},
2203 { "_wxGridCell","_class_wxGridCell",0},
2204 { "_class_wxBoxSizer","_wxBoxSizer",0},
2205 { "_signed_short","_WXTYPE",0},
2206 { "_signed_short","_short",0},
2207 { "_wxMemoryDC","_class_wxMemoryDC",0},
2208 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
2209 { "_class_wxPrintDialog","_wxPrintDialog",0},
2210 { "_wxPaintDC","_class_wxPaintDC",0},
2211 { "_class_wxWindowDC","_wxWindowDC",0},
2212 { "_class_wxFocusEvent","_wxFocusEvent",0},
2213 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2214 { "_wxStatusBar","_class_wxStatusBar",0},
2215 { "_class_wxToolBarTool","_wxToolBarTool",0},
2216 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2217 { "_class_wxCursor","_wxCursor",0},
2218 { "_class_wxImageHandler","_wxImageHandler",0},
2219 { "_wxPyShape","_class_wxPyShape",0},
2220 { "_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2221 { "_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2222 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2223 { "_wxTreeItemId","_class_wxTreeItemId",0},
2224 { "_unsigned_char","_byte",0},
2225 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2226 { "_class_wxMenu","_wxMenu",0},
2227 { "_wxControl","_class_wxControl",0},
2228 { "_class_wxListBox","_wxListBox",0},
2229 { "_unsigned_int","_wxPrintQuality",0},
2230 { "_unsigned_int","_size_t",0},
2231 { "_unsigned_int","_uint",0},
2232 { "_unsigned_int","_wxWindowID",0},
2233 { "_unsigned_int","_int",0},
2234 { "_wxIcon","_class_wxIcon",0},
2235 { "_wxDialog","_class_wxDialog",0},
2236 { "_class_wxListItem","_wxListItem",0},
2237 { "_class_wxPen","_wxPen",0},
2238 { "_class_wxFileDialog","_wxFileDialog",0},
2239 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
2240 { "_short","_WXTYPE",0},
2241 { "_short","_unsigned_short",0},
2242 { "_short","_signed_short",0},
2243 { "_class_wxStaticBox","_wxStaticBox",0},
2244 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
2245 { "_class_wxScrollEvent","_wxScrollEvent",0},
2246 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2247 { "_class_wxChoice","_wxChoice",0},
2248 { "_class_wxSlider","_wxSlider",0},
2249 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
2250 { "_class_wxImageList","_wxImageList",0},
2251 { "_class_wxBitmapButton","_wxBitmapButton",0},
2252 { "_wxFrame","_class_wxFrame",0},
2253 { "_class_wxNotebook","_wxNotebook",0},
2254 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
2255 { "_wxWindowID","_wxPrintQuality",0},
2256 { "_wxWindowID","_size_t",0},
2257 { "_wxWindowID","_EBool",0},
2258 { "_wxWindowID","_uint",0},
2259 { "_wxWindowID","_int",0},
2260 { "_wxWindowID","_signed_int",0},
2261 { "_wxWindowID","_unsigned_int",0},
2262 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2263 { "_class_wxSizerItem","_wxSizerItem",0},
2264 { "_int","_wxPrintQuality",0},
2265 { "_int","_size_t",0},
2266 { "_int","_EBool",0},
2267 { "_int","_uint",0},
2268 { "_int","_wxWindowID",0},
2269 { "_int","_unsigned_int",0},
2270 { "_int","_signed_int",0},
2271 { "_class_wxMouseEvent","_wxMouseEvent",0},
2272 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2273 { "_class_wxListEvent","_wxListEvent",0},
2274 { "_class_wxPrintPreview","_wxPrintPreview",0},
2275 { "_class_wxSpinEvent","_wxSpinEvent",0},
2276 { "_wxButton","_class_wxButton",0},
2277 { "_class_wxPyApp","_wxPyApp",0},
2278 { "_wxSize","_class_wxSize",0},
2279 { "_wxRegionIterator","_class_wxRegionIterator",0},
2280 { "_class_wxPrinterDC","_wxPrinterDC",0},
2281 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
2282 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
2283 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
2284 { "_class_wxPaintDC","_wxPaintDC",0},
2285 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2286 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2287 { "_class_wxComboBox","_wxComboBox",0},
2288 { "_class_wxRadioButton","_wxRadioButton",0},
2289 { "_class_wxPyShape","_wxPyShape",0},
2290 { "_wxValidator","_class_wxValidator",0},
2291 { "_class_wxTreeItemId","_wxTreeItemId",0},
2292 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
2293 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2294 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2295 { "_class_wxControl","_wxControl",0},
2296 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2297 { "_class_wxIcon","_wxIcon",0},
2298 { "_class_wxColour","_wxColour",0},
2299 { "_class_wxScreenDC","_wxScreenDC",0},
2300 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
2301 { "_wxPalette","_class_wxPalette",0},
2302 { "_class_wxIdleEvent","_wxIdleEvent",0},
2303 { "_wxEraseEvent","_class_wxEraseEvent",0},
2304 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2305 { "_class_wxMiniFrame","_wxMiniFrame",0},
2306 { "_wxFontDialog","_class_wxFontDialog",0},
2307 { "_wxRegion","_class_wxRegion",0},
2308 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2309 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
2310 { "_wxSizer","_class_wxSizer",0},
2311 { "_class_wxShowEvent","_wxShowEvent",0},
2312 { "_wxDiagram","_class_wxDiagram",0},
2313 { "_wxActivateEvent","_class_wxActivateEvent",0},
2314 { "_wxGauge","_class_wxGauge",0},
2315 { "_class_wxCheckListBox","_wxCheckListBox",0},
2316 { "_class_wxGridEvent","_wxGridEvent",0},
2317 { "_class_wxCommandEvent","_wxCommandEvent",0},
2318 { "_class_wxClientDC","_wxClientDC",0},
2319 { "_class_wxSizeEvent","_wxSizeEvent",0},
2320 { "_class_wxListCtrl","_wxListCtrl",0},
2321 { "_class_wxGridCell","_wxGridCell",0},
2322 { "_class_wxSize","_wxSize",0},
2323 { "_class_wxBitmap","_wxBitmap",0},
2324 { "_class_wxMemoryDC","_wxMemoryDC",0},
2325 { "_wxMenuBar","_class_wxMenuBar",0},
2326 { "_wxTreeEvent","_class_wxTreeEvent",0},
2327 { "_wxDirDialog","_class_wxDirDialog",0},
2328 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
2329 { "_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2330 { "_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2331 { "_wxEvtHandler","_class_wxEvtHandler",0},
2332 { "_wxMenuItem","_class_wxMenuItem",0},
2333 { "_class_wxScrollBar","_wxScrollBar",0},
2334 { "_class_wxColourDialog","_wxColourDialog",0},
2335 { "_class_wxPrintData","_wxPrintData",0},
2336 { "_wxDash","_unsigned_long",0},
2337 { "_wxDash","_long",0},
2338 { "_class_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2339 { "_class_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2340 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2341 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
2342 { "_wxKeyEvent","_class_wxKeyEvent",0},
2343 { "_wxMoveEvent","_class_wxMoveEvent",0},
2344 { "_wxColourData","_class_wxColourData",0},
2345 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
2346 { "_class_wxPalette","_wxPalette",0},
2347 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
2348 { "_class_wxEraseEvent","_wxEraseEvent",0},
2349 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
2350 { "_class_wxFontDialog","_wxFontDialog",0},
2351 { "_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2352 { "_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2353 { "_wxWindow","_class_wxWindow",0},
2354 { "_class_wxFrame","_wxFrame",0},
2355 { "_class_wxDiagram","_wxDiagram",0},
2358 static PyObject
*SWIG_globals
;
2362 SWIGEXPORT(void) initoglcanvasc() {
2364 SWIG_globals
= SWIG_newvarlink();
2365 m
= Py_InitModule("oglcanvasc", oglcanvascMethods
);
2366 d
= PyModule_GetDict(m
);
2369 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2370 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);