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
);
107 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
108 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
109 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
110 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
111 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
114 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
120 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
121 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
122 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
123 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
124 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
125 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
126 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
130 #define new_wxDiagram() (new wxDiagram())
131 static PyObject
*_wrap_new_wxDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
134 char *_kwnames
[] = { NULL
};
138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDiagram",_kwnames
))
141 wxPy_BEGIN_ALLOW_THREADS
;
142 _result
= (wxDiagram
*)new_wxDiagram();
144 wxPy_END_ALLOW_THREADS
;
146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDiagram_p");
147 _resultobj
= Py_BuildValue("s",_ptemp
);
150 _resultobj
= Py_None
;
155 #define delete_wxDiagram(_swigobj) (delete _swigobj)
156 static PyObject
*_wrap_delete_wxDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
159 PyObject
* _argo0
= 0;
160 char *_kwnames
[] = { "self", NULL
};
163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDiagram",_kwnames
,&_argo0
))
166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDiagram. Expected _wxDiagram_p.");
173 wxPy_BEGIN_ALLOW_THREADS
;
174 delete_wxDiagram(_arg0
);
176 wxPy_END_ALLOW_THREADS
;
177 } Py_INCREF(Py_None
);
178 _resultobj
= Py_None
;
182 #define wxDiagram_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
183 static PyObject
*_wrap_wxDiagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
187 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
188 PyObject
* _argo0
= 0;
189 PyObject
* _argo1
= 0;
190 PyObject
* _argo2
= 0;
191 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDiagram_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_AddShape. Expected _wxDiagram_p.");
204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_AddShape. Expected _wxPyShape_p.");
211 if (_argo2
== Py_None
) { _arg2
= NULL
; }
212 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDiagram_AddShape. Expected _wxPyShape_p.");
218 wxPy_BEGIN_ALLOW_THREADS
;
219 wxDiagram_AddShape(_arg0
,_arg1
,_arg2
);
221 wxPy_END_ALLOW_THREADS
;
222 } Py_INCREF(Py_None
);
223 _resultobj
= Py_None
;
227 #define wxDiagram_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
228 static PyObject
*_wrap_wxDiagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
232 PyObject
* _argo0
= 0;
233 PyObject
* _argo1
= 0;
234 char *_kwnames
[] = { "self","dc", NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_Clear",_kwnames
,&_argo0
,&_argo1
))
240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Clear. Expected _wxDiagram_p.");
247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Clear. Expected _wxDC_p.");
254 wxPy_BEGIN_ALLOW_THREADS
;
255 wxDiagram_Clear(_arg0
,*_arg1
);
257 wxPy_END_ALLOW_THREADS
;
258 } Py_INCREF(Py_None
);
259 _resultobj
= Py_None
;
263 #define wxDiagram_DeleteAllShapes(_swigobj) (_swigobj->DeleteAllShapes())
264 static PyObject
*_wrap_wxDiagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
267 PyObject
* _argo0
= 0;
268 char *_kwnames
[] = { "self", NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_DeleteAllShapes",_kwnames
,&_argo0
))
274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_DeleteAllShapes. Expected _wxDiagram_p.");
281 wxPy_BEGIN_ALLOW_THREADS
;
282 wxDiagram_DeleteAllShapes(_arg0
);
284 wxPy_END_ALLOW_THREADS
;
285 } Py_INCREF(Py_None
);
286 _resultobj
= Py_None
;
290 #define wxDiagram_DrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
291 static PyObject
*_wrap_wxDiagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
292 PyObject
* _resultobj
;
299 PyObject
* _argo0
= 0;
300 PyObject
* _argo1
= 0;
301 char *_kwnames
[] = { "self","dc","x1","y1","x2","y2", NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxDiagram_DrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_DrawOutline. Expected _wxDiagram_p.");
314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_DrawOutline. Expected _wxDC_p.");
321 wxPy_BEGIN_ALLOW_THREADS
;
322 wxDiagram_DrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
324 wxPy_END_ALLOW_THREADS
;
325 } Py_INCREF(Py_None
);
326 _resultobj
= Py_None
;
330 #define wxDiagram_FindShape(_swigobj,_swigarg0) (_swigobj->FindShape(_swigarg0))
331 static PyObject
*_wrap_wxDiagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
336 PyObject
* _argo0
= 0;
337 char *_kwnames
[] = { "self","id", NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDiagram_FindShape",_kwnames
,&_argo0
,&_arg1
))
344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_FindShape. Expected _wxDiagram_p.");
351 wxPy_BEGIN_ALLOW_THREADS
;
352 _result
= (wxPyShape
*)wxDiagram_FindShape(_arg0
,_arg1
);
354 wxPy_END_ALLOW_THREADS
;
356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
357 _resultobj
= Py_BuildValue("s",_ptemp
);
360 _resultobj
= Py_None
;
365 #define wxDiagram_GetCanvas(_swigobj) (_swigobj->GetCanvas())
366 static PyObject
*_wrap_wxDiagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
368 wxPyShapeCanvas
* _result
;
370 PyObject
* _argo0
= 0;
371 char *_kwnames
[] = { "self", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetCanvas",_kwnames
,&_argo0
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetCanvas. Expected _wxDiagram_p.");
385 wxPy_BEGIN_ALLOW_THREADS
;
386 _result
= (wxPyShapeCanvas
*)wxDiagram_GetCanvas(_arg0
);
388 wxPy_END_ALLOW_THREADS
;
390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
391 _resultobj
= Py_BuildValue("s",_ptemp
);
394 _resultobj
= Py_None
;
399 #define wxDiagram_GetCount(_swigobj) (_swigobj->GetCount())
400 static PyObject
*_wrap_wxDiagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetCount",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetCount. Expected _wxDiagram_p.");
418 wxPy_BEGIN_ALLOW_THREADS
;
419 _result
= (int )wxDiagram_GetCount(_arg0
);
421 wxPy_END_ALLOW_THREADS
;
422 } _resultobj
= Py_BuildValue("i",_result
);
426 #define wxDiagram_GetGridSpacing(_swigobj) (_swigobj->GetGridSpacing())
427 static PyObject
*_wrap_wxDiagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
431 PyObject
* _argo0
= 0;
432 char *_kwnames
[] = { "self", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetGridSpacing",_kwnames
,&_argo0
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetGridSpacing. Expected _wxDiagram_p.");
445 wxPy_BEGIN_ALLOW_THREADS
;
446 _result
= (double )wxDiagram_GetGridSpacing(_arg0
);
448 wxPy_END_ALLOW_THREADS
;
449 } _resultobj
= Py_BuildValue("d",_result
);
453 #define wxDiagram_GetMouseTolerance(_swigobj) (_swigobj->GetMouseTolerance())
454 static PyObject
*_wrap_wxDiagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
455 PyObject
* _resultobj
;
458 PyObject
* _argo0
= 0;
459 char *_kwnames
[] = { "self", NULL
};
462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetMouseTolerance",_kwnames
,&_argo0
))
465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetMouseTolerance. Expected _wxDiagram_p.");
472 wxPy_BEGIN_ALLOW_THREADS
;
473 _result
= (int )wxDiagram_GetMouseTolerance(_arg0
);
475 wxPy_END_ALLOW_THREADS
;
476 } _resultobj
= Py_BuildValue("i",_result
);
480 static PyObject
* wxDiagram_GetShapeList(wxDiagram
*self
) {
481 wxList
* list
= self
->GetShapeList();
482 return wxPy_ConvertList(list
, "wxPyShape");
484 static PyObject
*_wrap_wxDiagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
488 PyObject
* _argo0
= 0;
489 char *_kwnames
[] = { "self", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetShapeList",_kwnames
,&_argo0
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetShapeList. Expected _wxDiagram_p.");
502 wxPy_BEGIN_ALLOW_THREADS
;
503 _result
= (PyObject
*)wxDiagram_GetShapeList(_arg0
);
505 wxPy_END_ALLOW_THREADS
;
507 _resultobj
= _result
;
512 #define wxDiagram_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
513 static PyObject
*_wrap_wxDiagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
517 PyObject
* _argo0
= 0;
518 char *_kwnames
[] = { "self", NULL
};
521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetQuickEditMode",_kwnames
,&_argo0
))
524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetQuickEditMode. Expected _wxDiagram_p.");
531 wxPy_BEGIN_ALLOW_THREADS
;
532 _result
= (bool )wxDiagram_GetQuickEditMode(_arg0
);
534 wxPy_END_ALLOW_THREADS
;
535 } _resultobj
= Py_BuildValue("i",_result
);
539 #define wxDiagram_GetSnapToGrid(_swigobj) (_swigobj->GetSnapToGrid())
540 static PyObject
*_wrap_wxDiagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetSnapToGrid",_kwnames
,&_argo0
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetSnapToGrid. Expected _wxDiagram_p.");
558 wxPy_BEGIN_ALLOW_THREADS
;
559 _result
= (bool )wxDiagram_GetSnapToGrid(_arg0
);
561 wxPy_END_ALLOW_THREADS
;
562 } _resultobj
= Py_BuildValue("i",_result
);
566 #define wxDiagram_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
567 static PyObject
*_wrap_wxDiagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
568 PyObject
* _resultobj
;
571 PyObject
* _argo0
= 0;
572 PyObject
* _argo1
= 0;
573 char *_kwnames
[] = { "self","shape", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_InsertShape",_kwnames
,&_argo0
,&_argo1
))
579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_InsertShape. Expected _wxDiagram_p.");
586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_InsertShape. Expected _wxPyShape_p.");
593 wxPy_BEGIN_ALLOW_THREADS
;
594 wxDiagram_InsertShape(_arg0
,_arg1
);
596 wxPy_END_ALLOW_THREADS
;
597 } Py_INCREF(Py_None
);
598 _resultobj
= Py_None
;
602 #define wxDiagram_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
603 static PyObject
*_wrap_wxDiagram_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
604 PyObject
* _resultobj
;
608 PyObject
* _argo0
= 0;
609 PyObject
* _obj1
= 0;
610 char *_kwnames
[] = { "self","filename", NULL
};
613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_LoadFile",_kwnames
,&_argo0
,&_obj1
))
616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_LoadFile. Expected _wxDiagram_p.");
623 if (!PyString_Check(_obj1
)) {
624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
627 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
630 wxPy_BEGIN_ALLOW_THREADS
;
631 _result
= (bool )wxDiagram_LoadFile(_arg0
,*_arg1
);
633 wxPy_END_ALLOW_THREADS
;
634 } _resultobj
= Py_BuildValue("i",_result
);
642 #define wxDiagram_ReadContainerGeometry(_swigobj,_swigarg0) (_swigobj->ReadContainerGeometry(_swigarg0))
643 static PyObject
*_wrap_wxDiagram_ReadContainerGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
644 PyObject
* _resultobj
;
646 wxExprDatabase
* _arg1
;
647 PyObject
* _argo0
= 0;
648 PyObject
* _argo1
= 0;
649 char *_kwnames
[] = { "self","database", NULL
};
652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadContainerGeometry",_kwnames
,&_argo0
,&_argo1
))
655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadContainerGeometry. Expected _wxDiagram_p.");
662 if (_argo1
== Py_None
) { _arg1
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadContainerGeometry. Expected _wxExprDatabase_p.");
669 wxPy_BEGIN_ALLOW_THREADS
;
670 wxDiagram_ReadContainerGeometry(_arg0
,*_arg1
);
672 wxPy_END_ALLOW_THREADS
;
673 } Py_INCREF(Py_None
);
674 _resultobj
= Py_None
;
678 #define wxDiagram_ReadLines(_swigobj,_swigarg0) (_swigobj->ReadLines(_swigarg0))
679 static PyObject
*_wrap_wxDiagram_ReadLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
682 wxExprDatabase
* _arg1
;
683 PyObject
* _argo0
= 0;
684 PyObject
* _argo1
= 0;
685 char *_kwnames
[] = { "self","database", NULL
};
688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadLines",_kwnames
,&_argo0
,&_argo1
))
691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadLines. Expected _wxDiagram_p.");
698 if (_argo1
== Py_None
) { _arg1
= NULL
; }
699 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadLines. Expected _wxExprDatabase_p.");
705 wxPy_BEGIN_ALLOW_THREADS
;
706 wxDiagram_ReadLines(_arg0
,*_arg1
);
708 wxPy_END_ALLOW_THREADS
;
709 } Py_INCREF(Py_None
);
710 _resultobj
= Py_None
;
714 #define wxDiagram_ReadNodes(_swigobj,_swigarg0) (_swigobj->ReadNodes(_swigarg0))
715 static PyObject
*_wrap_wxDiagram_ReadNodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
716 PyObject
* _resultobj
;
718 wxExprDatabase
* _arg1
;
719 PyObject
* _argo0
= 0;
720 PyObject
* _argo1
= 0;
721 char *_kwnames
[] = { "self","database", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadNodes",_kwnames
,&_argo0
,&_argo1
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadNodes. Expected _wxDiagram_p.");
734 if (_argo1
== Py_None
) { _arg1
= NULL
; }
735 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadNodes. Expected _wxExprDatabase_p.");
741 wxPy_BEGIN_ALLOW_THREADS
;
742 wxDiagram_ReadNodes(_arg0
,*_arg1
);
744 wxPy_END_ALLOW_THREADS
;
745 } Py_INCREF(Py_None
);
746 _resultobj
= Py_None
;
750 #define wxDiagram_RecentreAll(_swigobj,_swigarg0) (_swigobj->RecentreAll(_swigarg0))
751 static PyObject
*_wrap_wxDiagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
755 PyObject
* _argo0
= 0;
756 PyObject
* _argo1
= 0;
757 char *_kwnames
[] = { "self","dc", NULL
};
760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_RecentreAll",_kwnames
,&_argo0
,&_argo1
))
763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RecentreAll. Expected _wxDiagram_p.");
770 if (_argo1
== Py_None
) { _arg1
= NULL
; }
771 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_RecentreAll. Expected _wxDC_p.");
777 wxPy_BEGIN_ALLOW_THREADS
;
778 wxDiagram_RecentreAll(_arg0
,*_arg1
);
780 wxPy_END_ALLOW_THREADS
;
781 } Py_INCREF(Py_None
);
782 _resultobj
= Py_None
;
786 #define wxDiagram_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
787 static PyObject
*_wrap_wxDiagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
791 PyObject
* _argo0
= 0;
792 PyObject
* _argo1
= 0;
793 char *_kwnames
[] = { "self","dc", NULL
};
796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_Redraw",_kwnames
,&_argo0
,&_argo1
))
799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Redraw. Expected _wxDiagram_p.");
806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Redraw. Expected _wxDC_p.");
813 wxPy_BEGIN_ALLOW_THREADS
;
814 wxDiagram_Redraw(_arg0
,*_arg1
);
816 wxPy_END_ALLOW_THREADS
;
817 } Py_INCREF(Py_None
);
818 _resultobj
= Py_None
;
822 #define wxDiagram_RemoveAllShapes(_swigobj) (_swigobj->RemoveAllShapes())
823 static PyObject
*_wrap_wxDiagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
826 PyObject
* _argo0
= 0;
827 char *_kwnames
[] = { "self", NULL
};
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_RemoveAllShapes",_kwnames
,&_argo0
))
833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RemoveAllShapes. Expected _wxDiagram_p.");
840 wxPy_BEGIN_ALLOW_THREADS
;
841 wxDiagram_RemoveAllShapes(_arg0
);
843 wxPy_END_ALLOW_THREADS
;
844 } Py_INCREF(Py_None
);
845 _resultobj
= Py_None
;
849 #define wxDiagram_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
850 static PyObject
*_wrap_wxDiagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
851 PyObject
* _resultobj
;
854 PyObject
* _argo0
= 0;
855 PyObject
* _argo1
= 0;
856 char *_kwnames
[] = { "self","shape", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RemoveShape. Expected _wxDiagram_p.");
869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_RemoveShape. Expected _wxPyShape_p.");
876 wxPy_BEGIN_ALLOW_THREADS
;
877 wxDiagram_RemoveShape(_arg0
,_arg1
);
879 wxPy_END_ALLOW_THREADS
;
880 } Py_INCREF(Py_None
);
881 _resultobj
= Py_None
;
885 #define wxDiagram_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
886 static PyObject
*_wrap_wxDiagram_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
891 PyObject
* _argo0
= 0;
892 PyObject
* _obj1
= 0;
893 char *_kwnames
[] = { "self","filename", NULL
};
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_SaveFile",_kwnames
,&_argo0
,&_obj1
))
899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SaveFile. Expected _wxDiagram_p.");
906 if (!PyString_Check(_obj1
)) {
907 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
910 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
913 wxPy_BEGIN_ALLOW_THREADS
;
914 _result
= (bool )wxDiagram_SaveFile(_arg0
,*_arg1
);
916 wxPy_END_ALLOW_THREADS
;
917 } _resultobj
= Py_BuildValue("i",_result
);
925 #define wxDiagram_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
926 static PyObject
*_wrap_wxDiagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
929 wxPyShapeCanvas
* _arg1
;
930 PyObject
* _argo0
= 0;
931 PyObject
* _argo1
= 0;
932 char *_kwnames
[] = { "self","canvas", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetCanvas. Expected _wxDiagram_p.");
945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_SetCanvas. Expected _wxPyShapeCanvas_p.");
952 wxPy_BEGIN_ALLOW_THREADS
;
953 wxDiagram_SetCanvas(_arg0
,_arg1
);
955 wxPy_END_ALLOW_THREADS
;
956 } Py_INCREF(Py_None
);
957 _resultobj
= Py_None
;
961 #define wxDiagram_SetGridSpacing(_swigobj,_swigarg0) (_swigobj->SetGridSpacing(_swigarg0))
962 static PyObject
*_wrap_wxDiagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
966 PyObject
* _argo0
= 0;
967 char *_kwnames
[] = { "self","spacing", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDiagram_SetGridSpacing",_kwnames
,&_argo0
,&_arg1
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetGridSpacing. Expected _wxDiagram_p.");
980 wxPy_BEGIN_ALLOW_THREADS
;
981 wxDiagram_SetGridSpacing(_arg0
,_arg1
);
983 wxPy_END_ALLOW_THREADS
;
984 } Py_INCREF(Py_None
);
985 _resultobj
= Py_None
;
989 #define wxDiagram_SetMouseTolerance(_swigobj,_swigarg0) (_swigobj->SetMouseTolerance(_swigarg0))
990 static PyObject
*_wrap_wxDiagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "self","tolerance", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetMouseTolerance",_kwnames
,&_argo0
,&_arg1
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetMouseTolerance. Expected _wxDiagram_p.");
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 wxDiagram_SetMouseTolerance(_arg0
,_arg1
);
1011 wxPy_END_ALLOW_THREADS
;
1012 } Py_INCREF(Py_None
);
1013 _resultobj
= Py_None
;
1017 #define wxDiagram_SetQuickEditMode(_swigobj,_swigarg0) (_swigobj->SetQuickEditMode(_swigarg0))
1018 static PyObject
*_wrap_wxDiagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1022 PyObject
* _argo0
= 0;
1024 char *_kwnames
[] = { "self","mode", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetQuickEditMode",_kwnames
,&_argo0
,&tempbool1
))
1030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetQuickEditMode. Expected _wxDiagram_p.");
1036 _arg1
= (bool ) tempbool1
;
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 wxDiagram_SetQuickEditMode(_arg0
,_arg1
);
1041 wxPy_END_ALLOW_THREADS
;
1042 } Py_INCREF(Py_None
);
1043 _resultobj
= Py_None
;
1047 #define wxDiagram_SetSnapToGrid(_swigobj,_swigarg0) (_swigobj->SetSnapToGrid(_swigarg0))
1048 static PyObject
*_wrap_wxDiagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1052 PyObject
* _argo0
= 0;
1054 char *_kwnames
[] = { "self","snap", NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetSnapToGrid",_kwnames
,&_argo0
,&tempbool1
))
1060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetSnapToGrid. Expected _wxDiagram_p.");
1066 _arg1
= (bool ) tempbool1
;
1068 wxPy_BEGIN_ALLOW_THREADS
;
1069 wxDiagram_SetSnapToGrid(_arg0
,_arg1
);
1071 wxPy_END_ALLOW_THREADS
;
1072 } Py_INCREF(Py_None
);
1073 _resultobj
= Py_None
;
1077 #define wxDiagram_ShowAll(_swigobj,_swigarg0) (_swigobj->ShowAll(_swigarg0))
1078 static PyObject
*_wrap_wxDiagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
* _resultobj
;
1082 PyObject
* _argo0
= 0;
1084 char *_kwnames
[] = { "self","show", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_ShowAll",_kwnames
,&_argo0
,&tempbool1
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ShowAll. Expected _wxDiagram_p.");
1096 _arg1
= (bool ) tempbool1
;
1098 wxPy_BEGIN_ALLOW_THREADS
;
1099 wxDiagram_ShowAll(_arg0
,_arg1
);
1101 wxPy_END_ALLOW_THREADS
;
1102 } Py_INCREF(Py_None
);
1103 _resultobj
= Py_None
;
1107 #define wxDiagram_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1108 static PyObject
*_wrap_wxDiagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1113 PyObject
* _argo0
= 0;
1114 PyObject
* _argo1
= 0;
1115 PyObject
* _argo2
= 0;
1116 char *_kwnames
[] = { "self","x","y", NULL
};
1119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDiagram_Snap",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Snap. Expected _wxDiagram_p.");
1129 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Snap. Expected _double_p.");
1136 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDiagram_Snap. Expected _double_p.");
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 wxDiagram_Snap(_arg0
,_arg1
,_arg2
);
1146 wxPy_END_ALLOW_THREADS
;
1147 } Py_INCREF(Py_None
);
1148 _resultobj
= Py_None
;
1152 static void *SwigwxPyShapeCanvasTowxScrolledWindow(void *ptr
) {
1153 wxPyShapeCanvas
*src
;
1154 wxScrolledWindow
*dest
;
1155 src
= (wxPyShapeCanvas
*) ptr
;
1156 dest
= (wxScrolledWindow
*) src
;
1157 return (void *) dest
;
1160 static void *SwigwxPyShapeCanvasTowxPanel(void *ptr
) {
1161 wxPyShapeCanvas
*src
;
1163 src
= (wxPyShapeCanvas
*) ptr
;
1164 dest
= (wxPanel
*) src
;
1165 return (void *) dest
;
1168 static void *SwigwxPyShapeCanvasTowxWindow(void *ptr
) {
1169 wxPyShapeCanvas
*src
;
1171 src
= (wxPyShapeCanvas
*) ptr
;
1172 dest
= (wxWindow
*) src
;
1173 return (void *) dest
;
1176 static void *SwigwxPyShapeCanvasTowxEvtHandler(void *ptr
) {
1177 wxPyShapeCanvas
*src
;
1179 src
= (wxPyShapeCanvas
*) ptr
;
1180 dest
= (wxEvtHandler
*) src
;
1181 return (void *) dest
;
1184 #define new_wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1185 static PyObject
*_wrap_new_wxPyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1187 wxPyShapeCanvas
* _result
;
1188 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1189 wxWindowID _arg1
= (wxWindowID
) -1;
1190 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1191 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1192 long _arg4
= (long ) wxBORDER
;
1193 PyObject
* _argo0
= 0;
1194 PyObject
* _argo2
= 0;
1195 PyObject
* _argo3
= 0;
1196 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOl:new_wxPyShapeCanvas",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
))
1203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeCanvas. Expected _wxWindow_p.");
1210 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1211 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPyShapeCanvas. Expected _wxPoint_p.");
1217 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxPyShapeCanvas. Expected _wxSize_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= (wxPyShapeCanvas
*)new_wxPyShapeCanvas(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1227 wxPy_END_ALLOW_THREADS
;
1229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
1230 _resultobj
= Py_BuildValue("s",_ptemp
);
1233 _resultobj
= Py_None
;
1238 #define wxPyShapeCanvas__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1239 static PyObject
*_wrap_wxPyShapeCanvas__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1241 wxPyShapeCanvas
* _arg0
;
1243 PyObject
* _argo0
= 0;
1244 PyObject
* _obj1
= 0;
1245 char *_kwnames
[] = { "self","self", NULL
};
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas__setSelf",_kwnames
,&_argo0
,&_obj1
))
1251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas__setSelf. Expected _wxPyShapeCanvas_p.");
1261 wxPy_BEGIN_ALLOW_THREADS
;
1262 wxPyShapeCanvas__setSelf(_arg0
,_arg1
);
1264 wxPy_END_ALLOW_THREADS
;
1265 } Py_INCREF(Py_None
);
1266 _resultobj
= Py_None
;
1270 #define wxPyShapeCanvas_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
1271 static PyObject
*_wrap_wxPyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxPyShapeCanvas
* _arg0
;
1275 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
1276 PyObject
* _argo0
= 0;
1277 PyObject
* _argo1
= 0;
1278 PyObject
* _argo2
= 0;
1279 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShapeCanvas_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_AddShape. Expected _wxPyShapeCanvas_p.");
1292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1299 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 wxPyShapeCanvas_AddShape(_arg0
,_arg1
,_arg2
);
1309 wxPy_END_ALLOW_THREADS
;
1310 } Py_INCREF(Py_None
);
1311 _resultobj
= Py_None
;
1315 #define wxPyShapeCanvas_FindShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1316 static PyObject
*_wrap_wxPyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1318 wxPyShape
* _result
;
1319 wxPyShapeCanvas
* _arg0
;
1323 wxClassInfo
* _arg4
= (wxClassInfo
*) NULL
;
1324 wxPyShape
* _arg5
= (wxPyShape
*) NULL
;
1325 PyObject
* _argo0
= 0;
1326 PyObject
* _argo3
= 0;
1327 PyObject
* _argo4
= 0;
1328 PyObject
* _argo5
= 0;
1329 char *_kwnames
[] = { "self","x1","y","attachment","info","notImage", NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OddO|OO:wxPyShapeCanvas_FindShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_argo5
))
1336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindShape. Expected _wxPyShapeCanvas_p.");
1343 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShapeCanvas_FindShape. Expected _int_p.");
1350 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxClassInfo_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPyShapeCanvas_FindShape. Expected _wxClassInfo_p.");
1357 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1358 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyShape_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShapeCanvas_FindShape. Expected _wxPyShape_p.");
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 _result
= (wxPyShape
*)wxPyShapeCanvas_FindShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1367 wxPy_END_ALLOW_THREADS
;
1369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1370 _resultobj
= Py_BuildValue("s",_ptemp
);
1373 _resultobj
= Py_None
;
1378 #define wxPyShapeCanvas_FindFirstSensitiveShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindFirstSensitiveShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1379 static PyObject
*_wrap_wxPyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1381 wxPyShape
* _result
;
1382 wxPyShapeCanvas
* _arg0
;
1387 PyObject
* _argo0
= 0;
1388 PyObject
* _argo3
= 0;
1389 char *_kwnames
[] = { "self","x1","y","attachment","op", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OddOi:wxPyShapeCanvas_FindFirstSensitiveShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
1396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindFirstSensitiveShape. Expected _wxPyShapeCanvas_p.");
1403 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPyShapeCanvas_FindFirstSensitiveShape. Expected _int_p.");
1410 wxPy_BEGIN_ALLOW_THREADS
;
1411 _result
= (wxPyShape
*)wxPyShapeCanvas_FindFirstSensitiveShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1413 wxPy_END_ALLOW_THREADS
;
1415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1416 _resultobj
= Py_BuildValue("s",_ptemp
);
1419 _resultobj
= Py_None
;
1424 #define wxPyShapeCanvas_GetDiagram(_swigobj) (_swigobj->GetDiagram())
1425 static PyObject
*_wrap_wxPyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
* _resultobj
;
1427 wxDiagram
* _result
;
1428 wxPyShapeCanvas
* _arg0
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "self", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetDiagram",_kwnames
,&_argo0
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetDiagram. Expected _wxPyShapeCanvas_p.");
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 _result
= (wxDiagram
*)wxPyShapeCanvas_GetDiagram(_arg0
);
1447 wxPy_END_ALLOW_THREADS
;
1449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDiagram_p");
1450 _resultobj
= Py_BuildValue("s",_ptemp
);
1453 _resultobj
= Py_None
;
1458 #define wxPyShapeCanvas_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
1459 static PyObject
*_wrap_wxPyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1462 wxPyShapeCanvas
* _arg0
;
1463 PyObject
* _argo0
= 0;
1464 char *_kwnames
[] = { "self", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetQuickEditMode",_kwnames
,&_argo0
))
1470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetQuickEditMode. Expected _wxPyShapeCanvas_p.");
1477 wxPy_BEGIN_ALLOW_THREADS
;
1478 _result
= (bool )wxPyShapeCanvas_GetQuickEditMode(_arg0
);
1480 wxPy_END_ALLOW_THREADS
;
1481 } _resultobj
= Py_BuildValue("i",_result
);
1485 #define wxPyShapeCanvas_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
1486 static PyObject
*_wrap_wxPyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
* _resultobj
;
1488 wxPyShapeCanvas
* _arg0
;
1490 PyObject
* _argo0
= 0;
1491 PyObject
* _argo1
= 0;
1492 char *_kwnames
[] = { "self","shape", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_InsertShape",_kwnames
,&_argo0
,&_argo1
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_InsertShape. Expected _wxPyShapeCanvas_p.");
1505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_InsertShape. Expected _wxPyShape_p.");
1512 wxPy_BEGIN_ALLOW_THREADS
;
1513 wxPyShapeCanvas_InsertShape(_arg0
,_arg1
);
1515 wxPy_END_ALLOW_THREADS
;
1516 } Py_INCREF(Py_None
);
1517 _resultobj
= Py_None
;
1521 #define wxPyShapeCanvas_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2))
1522 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1524 wxPyShapeCanvas
* _arg0
;
1527 int _arg3
= (int ) 0;
1528 PyObject
* _argo0
= 0;
1529 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragLeft. Expected _wxPyShapeCanvas_p.");
1542 wxPy_BEGIN_ALLOW_THREADS
;
1543 wxPyShapeCanvas_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1545 wxPy_END_ALLOW_THREADS
;
1546 } Py_INCREF(Py_None
);
1547 _resultobj
= Py_None
;
1551 #define wxPyShapeCanvas_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2))
1552 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1554 wxPyShapeCanvas
* _arg0
;
1557 int _arg3
= (int ) 0;
1558 PyObject
* _argo0
= 0;
1559 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragRight. Expected _wxPyShapeCanvas_p.");
1572 wxPy_BEGIN_ALLOW_THREADS
;
1573 wxPyShapeCanvas_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1575 wxPy_END_ALLOW_THREADS
;
1576 } Py_INCREF(Py_None
);
1577 _resultobj
= Py_None
;
1581 #define wxPyShapeCanvas_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2))
1582 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1584 wxPyShapeCanvas
* _arg0
;
1587 int _arg3
= (int ) 0;
1588 PyObject
* _argo0
= 0;
1589 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragLeft. Expected _wxPyShapeCanvas_p.");
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 wxPyShapeCanvas_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1605 wxPy_END_ALLOW_THREADS
;
1606 } Py_INCREF(Py_None
);
1607 _resultobj
= Py_None
;
1611 #define wxPyShapeCanvas_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2))
1612 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
* _resultobj
;
1614 wxPyShapeCanvas
* _arg0
;
1617 int _arg3
= (int ) 0;
1618 PyObject
* _argo0
= 0;
1619 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragRight. Expected _wxPyShapeCanvas_p.");
1632 wxPy_BEGIN_ALLOW_THREADS
;
1633 wxPyShapeCanvas_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1635 wxPy_END_ALLOW_THREADS
;
1636 } Py_INCREF(Py_None
);
1637 _resultobj
= Py_None
;
1641 #define wxPyShapeCanvas_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1642 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1644 wxPyShapeCanvas
* _arg0
;
1648 int _arg4
= (int ) 0;
1649 PyObject
* _argo0
= 0;
1651 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragLeft. Expected _wxPyShapeCanvas_p.");
1663 _arg1
= (bool ) tempbool1
;
1665 wxPy_BEGIN_ALLOW_THREADS
;
1666 wxPyShapeCanvas_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1668 wxPy_END_ALLOW_THREADS
;
1669 } Py_INCREF(Py_None
);
1670 _resultobj
= Py_None
;
1674 #define wxPyShapeCanvas_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1675 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
* _resultobj
;
1677 wxPyShapeCanvas
* _arg0
;
1681 int _arg4
= (int ) 0;
1682 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragRight. Expected _wxPyShapeCanvas_p.");
1696 _arg1
= (bool ) tempbool1
;
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 wxPyShapeCanvas_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1701 wxPy_END_ALLOW_THREADS
;
1702 } Py_INCREF(Py_None
);
1703 _resultobj
= Py_None
;
1707 #define wxPyShapeCanvas_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2))
1708 static PyObject
*_wrap_wxPyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1710 wxPyShapeCanvas
* _arg0
;
1713 int _arg3
= (int ) 0;
1714 PyObject
* _argo0
= 0;
1715 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnLeftClick. Expected _wxPyShapeCanvas_p.");
1728 wxPy_BEGIN_ALLOW_THREADS
;
1729 wxPyShapeCanvas_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
);
1731 wxPy_END_ALLOW_THREADS
;
1732 } Py_INCREF(Py_None
);
1733 _resultobj
= Py_None
;
1737 #define wxPyShapeCanvas_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2))
1738 static PyObject
*_wrap_wxPyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1740 wxPyShapeCanvas
* _arg0
;
1743 int _arg3
= (int ) 0;
1744 PyObject
* _argo0
= 0;
1745 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnRightClick. Expected _wxPyShapeCanvas_p.");
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 wxPyShapeCanvas_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
);
1761 wxPy_END_ALLOW_THREADS
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 #define wxPyShapeCanvas_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
1768 static PyObject
*_wrap_wxPyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1770 wxPyShapeCanvas
* _arg0
;
1772 PyObject
* _argo0
= 0;
1773 PyObject
* _argo1
= 0;
1774 char *_kwnames
[] = { "self","dc", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_Redraw",_kwnames
,&_argo0
,&_argo1
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Redraw. Expected _wxPyShapeCanvas_p.");
1787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_Redraw. Expected _wxDC_p.");
1794 wxPy_BEGIN_ALLOW_THREADS
;
1795 wxPyShapeCanvas_Redraw(_arg0
,*_arg1
);
1797 wxPy_END_ALLOW_THREADS
;
1798 } Py_INCREF(Py_None
);
1799 _resultobj
= Py_None
;
1803 #define wxPyShapeCanvas_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
1804 static PyObject
*_wrap_wxPyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1806 wxPyShapeCanvas
* _arg0
;
1808 PyObject
* _argo0
= 0;
1809 PyObject
* _argo1
= 0;
1810 char *_kwnames
[] = { "self","shape", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShapeCanvas_p.");
1823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShape_p.");
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 wxPyShapeCanvas_RemoveShape(_arg0
,_arg1
);
1833 wxPy_END_ALLOW_THREADS
;
1834 } Py_INCREF(Py_None
);
1835 _resultobj
= Py_None
;
1839 #define wxPyShapeCanvas_SetDiagram(_swigobj,_swigarg0) (_swigobj->SetDiagram(_swigarg0))
1840 static PyObject
*_wrap_wxPyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
* _resultobj
;
1842 wxPyShapeCanvas
* _arg0
;
1844 PyObject
* _argo0
= 0;
1845 PyObject
* _argo1
= 0;
1846 char *_kwnames
[] = { "self","diagram", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_SetDiagram",_kwnames
,&_argo0
,&_argo1
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_SetDiagram. Expected _wxPyShapeCanvas_p.");
1859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDiagram_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_SetDiagram. Expected _wxDiagram_p.");
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 wxPyShapeCanvas_SetDiagram(_arg0
,_arg1
);
1869 wxPy_END_ALLOW_THREADS
;
1870 } Py_INCREF(Py_None
);
1871 _resultobj
= Py_None
;
1875 #define wxPyShapeCanvas_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1876 static PyObject
*_wrap_wxPyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1878 wxPyShapeCanvas
* _arg0
;
1881 PyObject
* _argo0
= 0;
1882 PyObject
* _argo1
= 0;
1883 PyObject
* _argo2
= 0;
1884 char *_kwnames
[] = { "self","x","y", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeCanvas_Snap",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Snap. Expected _wxPyShapeCanvas_p.");
1897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_double_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_Snap. Expected _double_p.");
1904 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1905 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_double_p")) {
1906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShapeCanvas_Snap. Expected _double_p.");
1911 wxPy_BEGIN_ALLOW_THREADS
;
1912 wxPyShapeCanvas_Snap(_arg0
,_arg1
,_arg2
);
1914 wxPy_END_ALLOW_THREADS
;
1915 } Py_INCREF(Py_None
);
1916 _resultobj
= Py_None
;
1920 static PyMethodDef oglcanvascMethods
[] = {
1921 { "wxPyShapeCanvas_Snap", (PyCFunction
) _wrap_wxPyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1922 { "wxPyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1923 { "wxPyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1924 { "wxPyShapeCanvas_Redraw", (PyCFunction
) _wrap_wxPyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1925 { "wxPyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
1926 { "wxPyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
1927 { "wxPyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1928 { "wxPyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1929 { "wxPyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1930 { "wxPyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1931 { "wxPyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1932 { "wxPyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1933 { "wxPyShapeCanvas_InsertShape", (PyCFunction
) _wrap_wxPyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1934 { "wxPyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_wxPyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1935 { "wxPyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1936 { "wxPyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
1937 { "wxPyShapeCanvas_FindShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1938 { "wxPyShapeCanvas_AddShape", (PyCFunction
) _wrap_wxPyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1939 { "wxPyShapeCanvas__setSelf", (PyCFunction
) _wrap_wxPyShapeCanvas__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
1940 { "new_wxPyShapeCanvas", (PyCFunction
) _wrap_new_wxPyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1941 { "wxDiagram_Snap", (PyCFunction
) _wrap_wxDiagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1942 { "wxDiagram_ShowAll", (PyCFunction
) _wrap_wxDiagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
1943 { "wxDiagram_SetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1944 { "wxDiagram_SetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1945 { "wxDiagram_SetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1946 { "wxDiagram_SetGridSpacing", (PyCFunction
) _wrap_wxDiagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1947 { "wxDiagram_SetCanvas", (PyCFunction
) _wrap_wxDiagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1948 { "wxDiagram_SaveFile", (PyCFunction
) _wrap_wxDiagram_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
1949 { "wxDiagram_RemoveShape", (PyCFunction
) _wrap_wxDiagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1950 { "wxDiagram_RemoveAllShapes", (PyCFunction
) _wrap_wxDiagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1951 { "wxDiagram_Redraw", (PyCFunction
) _wrap_wxDiagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1952 { "wxDiagram_RecentreAll", (PyCFunction
) _wrap_wxDiagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
1953 { "wxDiagram_ReadNodes", (PyCFunction
) _wrap_wxDiagram_ReadNodes
, METH_VARARGS
| METH_KEYWORDS
},
1954 { "wxDiagram_ReadLines", (PyCFunction
) _wrap_wxDiagram_ReadLines
, METH_VARARGS
| METH_KEYWORDS
},
1955 { "wxDiagram_ReadContainerGeometry", (PyCFunction
) _wrap_wxDiagram_ReadContainerGeometry
, METH_VARARGS
| METH_KEYWORDS
},
1956 { "wxDiagram_LoadFile", (PyCFunction
) _wrap_wxDiagram_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
1957 { "wxDiagram_InsertShape", (PyCFunction
) _wrap_wxDiagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1958 { "wxDiagram_GetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1959 { "wxDiagram_GetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1960 { "wxDiagram_GetShapeList", (PyCFunction
) _wrap_wxDiagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
1961 { "wxDiagram_GetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1962 { "wxDiagram_GetGridSpacing", (PyCFunction
) _wrap_wxDiagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1963 { "wxDiagram_GetCount", (PyCFunction
) _wrap_wxDiagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
1964 { "wxDiagram_GetCanvas", (PyCFunction
) _wrap_wxDiagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1965 { "wxDiagram_FindShape", (PyCFunction
) _wrap_wxDiagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1966 { "wxDiagram_DrawOutline", (PyCFunction
) _wrap_wxDiagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
1967 { "wxDiagram_DeleteAllShapes", (PyCFunction
) _wrap_wxDiagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1968 { "wxDiagram_Clear", (PyCFunction
) _wrap_wxDiagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
1969 { "wxDiagram_AddShape", (PyCFunction
) _wrap_wxDiagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1970 { "delete_wxDiagram", (PyCFunction
) _wrap_delete_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1971 { "new_wxDiagram", (PyCFunction
) _wrap_new_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1978 * This table is used by the pointer type-checker
1980 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1981 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1982 { "_wxEvent","_class_wxEvent",0},
1983 { "_class_wxActivateEvent","_wxActivateEvent",0},
1984 { "_signed_long","_long",0},
1985 { "_wxMenuEvent","_class_wxMenuEvent",0},
1986 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
1987 { "_wxBMPHandler","_class_wxBMPHandler",0},
1988 { "_wxImage","_class_wxImage",0},
1989 { "_wxPrintQuality","_int",0},
1990 { "_wxPrintQuality","_signed_int",0},
1991 { "_wxPrintQuality","_unsigned_int",0},
1992 { "_wxPrintQuality","_wxWindowID",0},
1993 { "_wxPrintQuality","_uint",0},
1994 { "_wxPrintQuality","_EBool",0},
1995 { "_wxPrintQuality","_size_t",0},
1996 { "_wxFontData","_class_wxFontData",0},
1997 { "___wxPyCleanup","_class___wxPyCleanup",0},
1998 { "_class_wxRegionIterator","_wxRegionIterator",0},
1999 { "_class_wxMenuBar","_wxMenuBar",0},
2000 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
2001 { "_class_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2002 { "_class_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2003 { "_class_wxEvtHandler","_wxEvtHandler",0},
2004 { "_wxPaintEvent","_class_wxPaintEvent",0},
2005 { "_wxGIFHandler","_class_wxGIFHandler",0},
2006 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2007 { "_wxCursor","_class_wxCursor",0},
2008 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2009 { "_wxImageHandler","_class_wxImageHandler",0},
2010 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
2011 { "_wxMask","_class_wxMask",0},
2012 { "_wxToolTip","_class_wxToolTip",0},
2013 { "_wxGrid","_class_wxGrid",0},
2014 { "_wxPNGHandler","_class_wxPNGHandler",0},
2015 { "_class_wxColourData","_wxColourData",0},
2016 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
2017 { "_wxPrinter","_class_wxPrinter",0},
2018 { "_wxPen","_class_wxPen",0},
2019 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2020 { "_byte","_unsigned_char",0},
2021 { "_wxStaticBox","_class_wxStaticBox",0},
2022 { "_wxChoice","_class_wxChoice",0},
2023 { "_wxSlider","_class_wxSlider",0},
2024 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
2025 { "_wxPyPrintout","_class_wxPyPrintout",0},
2026 { "_wxShapeRegion","_class_wxShapeRegion",0},
2027 { "_long","_wxDash",0},
2028 { "_long","_unsigned_long",0},
2029 { "_long","_signed_long",0},
2030 { "_wxImageList","_class_wxImageList",0},
2031 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2032 { "_wxBitmapButton","_class_wxBitmapButton",0},
2033 { "_wxSashWindow","_class_wxSashWindow",0},
2034 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
2035 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2036 { "_class_wxGauge","_wxGauge",0},
2037 { "_class_wxSashEvent","_wxSashEvent",0},
2038 { "_wxDC","_class_wxDC",0},
2039 { "_wxListEvent","_class_wxListEvent",0},
2040 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
2041 { "_wxProgressDialog","_class_wxProgressDialog",0},
2042 { "_class_wxBMPHandler","_wxBMPHandler",0},
2043 { "_wxPrintPreview","_class_wxPrintPreview",0},
2044 { "_wxSpinEvent","_class_wxSpinEvent",0},
2045 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
2046 { "_size_t","_wxPrintQuality",0},
2047 { "_size_t","_unsigned_int",0},
2048 { "_size_t","_int",0},
2049 { "_size_t","_wxWindowID",0},
2050 { "_size_t","_uint",0},
2051 { "_class_wxRealPoint","_wxRealPoint",0},
2052 { "_wxPrinterDC","_class_wxPrinterDC",0},
2053 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
2054 { "_class_wxMenuItem","_wxMenuItem",0},
2055 { "_class_wxPaintEvent","_wxPaintEvent",0},
2056 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2057 { "_class_wxStatusBar","_wxStatusBar",0},
2058 { "_class_wxGIFHandler","_wxGIFHandler",0},
2059 { "_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2060 { "_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2061 { "_wxPanel","_class_wxPanel",0},
2062 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2063 { "_wxCheckBox","_class_wxCheckBox",0},
2064 { "_wxPyEvent","_class_wxPyEvent",0},
2065 { "_wxTextCtrl","_class_wxTextCtrl",0},
2066 { "_class_wxMask","_wxMask",0},
2067 { "_class_wxToolTip","_wxToolTip",0},
2068 { "_class_wxKeyEvent","_wxKeyEvent",0},
2069 { "_class_wxGrid","_wxGrid",0},
2070 { "_class_wxPNGHandler","_wxPNGHandler",0},
2071 { "_wxColour","_class_wxColour",0},
2072 { "_class_wxDialog","_wxDialog",0},
2073 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
2074 { "_class_wxPrinter","_wxPrinter",0},
2075 { "_wxIdleEvent","_class_wxIdleEvent",0},
2076 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2077 { "_wxToolBar","_class_wxToolBar",0},
2078 { "_wxStaticLine","_class_wxStaticLine",0},
2079 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
2080 { "_wxBrush","_class_wxBrush",0},
2081 { "_wxMiniFrame","_class_wxMiniFrame",0},
2082 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
2083 { "_class_wxPyPrintout","_wxPyPrintout",0},
2084 { "_class_wxSashWindow","_wxSashWindow",0},
2085 { "_wxShowEvent","_class_wxShowEvent",0},
2086 { "_uint","_wxPrintQuality",0},
2087 { "_uint","_size_t",0},
2088 { "_uint","_unsigned_int",0},
2089 { "_uint","_int",0},
2090 { "_uint","_wxWindowID",0},
2091 { "_class_wxEvent","_wxEvent",0},
2092 { "_wxCheckListBox","_class_wxCheckListBox",0},
2093 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
2094 { "_wxGridEvent","_class_wxGridEvent",0},
2095 { "_wxRect","_class_wxRect",0},
2096 { "_wxCommandEvent","_class_wxCommandEvent",0},
2097 { "_wxPyShapeCanvas","_class_wxPyShapeCanvas",0},
2098 { "_wxSizeEvent","_class_wxSizeEvent",0},
2099 { "_class_wxImage","_wxImage",0},
2100 { "_wxPoint","_class_wxPoint",0},
2101 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
2102 { "_class_wxButton","_wxButton",0},
2103 { "_wxRadioBox","_class_wxRadioBox",0},
2104 { "_class_wxFontData","_wxFontData",0},
2105 { "_class___wxPyCleanup","___wxPyCleanup",0},
2106 { "_wxBitmap","_class_wxBitmap",0},
2107 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
2108 { "_wxPrintDialog","_class_wxPrintDialog",0},
2109 { "_wxPyTimer","_class_wxPyTimer",0},
2110 { "_wxWindowDC","_class_wxWindowDC",0},
2111 { "_wxScrollBar","_class_wxScrollBar",0},
2112 { "_wxSpinButton","_class_wxSpinButton",0},
2113 { "_wxToolBarTool","_class_wxToolBarTool",0},
2114 { "_wxColourDialog","_class_wxColourDialog",0},
2115 { "_wxPrintData","_class_wxPrintData",0},
2116 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2117 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2118 { "_wxMessageDialog","_class_wxMessageDialog",0},
2119 { "_class_wxPyEvent","_wxPyEvent",0},
2120 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
2121 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2122 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2123 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
2124 { "_wxListItem","_class_wxListItem",0},
2125 { "_class_wxToolBar","_wxToolBar",0},
2126 { "_class_wxStaticLine","_wxStaticLine",0},
2127 { "_wxScrollEvent","_class_wxScrollEvent",0},
2128 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
2129 { "_class_wxShapeRegion","_wxShapeRegion",0},
2130 { "_EBool","_wxPrintQuality",0},
2131 { "_EBool","_signed_int",0},
2132 { "_EBool","_int",0},
2133 { "_EBool","_wxWindowID",0},
2134 { "_class_wxRegion","_wxRegion",0},
2135 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2136 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
2137 { "_wxStaticText","_class_wxStaticText",0},
2138 { "_wxFont","_class_wxFont",0},
2139 { "_wxCloseEvent","_class_wxCloseEvent",0},
2140 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
2141 { "_wxNotebook","_class_wxNotebook",0},
2142 { "_unsigned_long","_wxDash",0},
2143 { "_unsigned_long","_long",0},
2144 { "_class_wxRect","_wxRect",0},
2145 { "_class_wxDC","_wxDC",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_wxMDIClientWindow","_wxMDIClientWindow",0},
2181 { "_class_wxBrush","_wxBrush",0},
2182 { "_unsigned_short","_WXTYPE",0},
2183 { "_unsigned_short","_short",0},
2184 { "_class_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2185 { "_class_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2186 { "_class_wxWindow","_wxWindow",0},
2187 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
2188 { "_class_wxStaticText","_wxStaticText",0},
2189 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
2190 { "_class_wxFont","_wxFont",0},
2191 { "_class_wxCloseEvent","_wxCloseEvent",0},
2192 { "_wxSashEvent","_class_wxSashEvent",0},
2193 { "_class_wxMenuEvent","_wxMenuEvent",0},
2194 { "_wxClientDC","_class_wxClientDC",0},
2195 { "_wxMouseEvent","_class_wxMouseEvent",0},
2196 { "_wxListCtrl","_class_wxListCtrl",0},
2197 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
2198 { "_class_wxPoint","_wxPoint",0},
2199 { "_wxRealPoint","_class_wxRealPoint",0},
2200 { "_class_wxRadioBox","_wxRadioBox",0},
2201 { "_wxGridCell","_class_wxGridCell",0},
2202 { "_signed_short","_WXTYPE",0},
2203 { "_signed_short","_short",0},
2204 { "_wxMemoryDC","_class_wxMemoryDC",0},
2205 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
2206 { "_class_wxPrintDialog","_wxPrintDialog",0},
2207 { "_wxPaintDC","_class_wxPaintDC",0},
2208 { "_class_wxWindowDC","_wxWindowDC",0},
2209 { "_class_wxFocusEvent","_wxFocusEvent",0},
2210 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2211 { "_wxStatusBar","_class_wxStatusBar",0},
2212 { "_class_wxToolBarTool","_wxToolBarTool",0},
2213 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2214 { "_class_wxCursor","_wxCursor",0},
2215 { "_class_wxImageHandler","_wxImageHandler",0},
2216 { "_wxPyShape","_class_wxPyShape",0},
2217 { "_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2218 { "_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2219 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2220 { "_wxTreeItemId","_class_wxTreeItemId",0},
2221 { "_unsigned_char","_byte",0},
2222 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2223 { "_class_wxMenu","_wxMenu",0},
2224 { "_wxControl","_class_wxControl",0},
2225 { "_class_wxListBox","_wxListBox",0},
2226 { "_unsigned_int","_wxPrintQuality",0},
2227 { "_unsigned_int","_size_t",0},
2228 { "_unsigned_int","_uint",0},
2229 { "_unsigned_int","_wxWindowID",0},
2230 { "_unsigned_int","_int",0},
2231 { "_wxIcon","_class_wxIcon",0},
2232 { "_wxDialog","_class_wxDialog",0},
2233 { "_class_wxListItem","_wxListItem",0},
2234 { "_class_wxPen","_wxPen",0},
2235 { "_class_wxFileDialog","_wxFileDialog",0},
2236 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
2237 { "_short","_WXTYPE",0},
2238 { "_short","_unsigned_short",0},
2239 { "_short","_signed_short",0},
2240 { "_class_wxStaticBox","_wxStaticBox",0},
2241 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
2242 { "_class_wxScrollEvent","_wxScrollEvent",0},
2243 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2244 { "_class_wxChoice","_wxChoice",0},
2245 { "_class_wxSlider","_wxSlider",0},
2246 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
2247 { "_class_wxImageList","_wxImageList",0},
2248 { "_class_wxBitmapButton","_wxBitmapButton",0},
2249 { "_wxFrame","_class_wxFrame",0},
2250 { "_class_wxNotebook","_wxNotebook",0},
2251 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
2252 { "_wxWindowID","_wxPrintQuality",0},
2253 { "_wxWindowID","_size_t",0},
2254 { "_wxWindowID","_EBool",0},
2255 { "_wxWindowID","_uint",0},
2256 { "_wxWindowID","_int",0},
2257 { "_wxWindowID","_signed_int",0},
2258 { "_wxWindowID","_unsigned_int",0},
2259 { "_int","_wxPrintQuality",0},
2260 { "_int","_size_t",0},
2261 { "_int","_EBool",0},
2262 { "_int","_uint",0},
2263 { "_int","_wxWindowID",0},
2264 { "_int","_unsigned_int",0},
2265 { "_int","_signed_int",0},
2266 { "_class_wxMouseEvent","_wxMouseEvent",0},
2267 { "_class_wxListEvent","_wxListEvent",0},
2268 { "_class_wxPrintPreview","_wxPrintPreview",0},
2269 { "_class_wxSpinEvent","_wxSpinEvent",0},
2270 { "_wxButton","_class_wxButton",0},
2271 { "_class_wxPyApp","_wxPyApp",0},
2272 { "_wxSize","_class_wxSize",0},
2273 { "_wxRegionIterator","_class_wxRegionIterator",0},
2274 { "_class_wxPrinterDC","_wxPrinterDC",0},
2275 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
2276 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
2277 { "_class_wxPaintDC","_wxPaintDC",0},
2278 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2279 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2280 { "_class_wxComboBox","_wxComboBox",0},
2281 { "_class_wxRadioButton","_wxRadioButton",0},
2282 { "_class_wxPyShape","_wxPyShape",0},
2283 { "_class_wxTreeItemId","_wxTreeItemId",0},
2284 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
2285 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2286 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2287 { "_class_wxControl","_wxControl",0},
2288 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2289 { "_class_wxIcon","_wxIcon",0},
2290 { "_class_wxColour","_wxColour",0},
2291 { "_class_wxScreenDC","_wxScreenDC",0},
2292 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
2293 { "_wxPalette","_class_wxPalette",0},
2294 { "_class_wxIdleEvent","_wxIdleEvent",0},
2295 { "_wxEraseEvent","_class_wxEraseEvent",0},
2296 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2297 { "_class_wxMiniFrame","_wxMiniFrame",0},
2298 { "_wxFontDialog","_class_wxFontDialog",0},
2299 { "_wxRegion","_class_wxRegion",0},
2300 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2301 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
2302 { "_class_wxShowEvent","_wxShowEvent",0},
2303 { "_wxDiagram","_class_wxDiagram",0},
2304 { "_wxActivateEvent","_class_wxActivateEvent",0},
2305 { "_wxGauge","_class_wxGauge",0},
2306 { "_class_wxCheckListBox","_wxCheckListBox",0},
2307 { "_class_wxGridEvent","_wxGridEvent",0},
2308 { "_class_wxCommandEvent","_wxCommandEvent",0},
2309 { "_class_wxClientDC","_wxClientDC",0},
2310 { "_class_wxSizeEvent","_wxSizeEvent",0},
2311 { "_class_wxListCtrl","_wxListCtrl",0},
2312 { "_class_wxGridCell","_wxGridCell",0},
2313 { "_class_wxSize","_wxSize",0},
2314 { "_class_wxBitmap","_wxBitmap",0},
2315 { "_class_wxMemoryDC","_wxMemoryDC",0},
2316 { "_wxMenuBar","_class_wxMenuBar",0},
2317 { "_wxTreeEvent","_class_wxTreeEvent",0},
2318 { "_wxDirDialog","_class_wxDirDialog",0},
2319 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
2320 { "_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2321 { "_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2322 { "_wxEvtHandler","_class_wxEvtHandler",0},
2323 { "_wxMenuItem","_class_wxMenuItem",0},
2324 { "_class_wxScrollBar","_wxScrollBar",0},
2325 { "_class_wxColourDialog","_wxColourDialog",0},
2326 { "_class_wxPrintData","_wxPrintData",0},
2327 { "_wxDash","_unsigned_long",0},
2328 { "_wxDash","_long",0},
2329 { "_class_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2330 { "_class_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2331 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2332 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
2333 { "_wxKeyEvent","_class_wxKeyEvent",0},
2334 { "_wxMoveEvent","_class_wxMoveEvent",0},
2335 { "_wxColourData","_class_wxColourData",0},
2336 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
2337 { "_class_wxPalette","_wxPalette",0},
2338 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
2339 { "_class_wxEraseEvent","_wxEraseEvent",0},
2340 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
2341 { "_class_wxFontDialog","_wxFontDialog",0},
2342 { "_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2343 { "_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2344 { "_wxWindow","_class_wxWindow",0},
2345 { "_class_wxFrame","_wxFrame",0},
2346 { "_class_wxDiagram","_wxDiagram",0},
2349 static PyObject
*SWIG_globals
;
2353 SWIGEXPORT(void) initoglcanvasc() {
2355 SWIG_globals
= SWIG_newvarlink();
2356 m
= Py_InitModule("oglcanvasc", oglcanvascMethods
);
2357 d
= PyModule_GetDict(m
);
2360 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2361 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);