2 * FILE : contrib/ogl/oglcanvas.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initoglcanvasc
56 #define SWIG_name "oglcanvasc"
59 #include "oglhelpers.h"
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
89 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
90 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
91 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
92 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
93 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
94 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
95 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
99 static void *SwigwxDiagramTowxObject(void *ptr
) {
102 src
= (wxDiagram
*) ptr
;
103 dest
= (wxObject
*) src
;
104 return (void *) dest
;
107 #define new_wxDiagram() (new wxDiagram())
108 static PyObject
*_wrap_new_wxDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
109 PyObject
* _resultobj
;
111 char *_kwnames
[] = { NULL
};
115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDiagram",_kwnames
))
118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
119 _result
= (wxDiagram
*)new_wxDiagram();
121 wxPyEndAllowThreads(__tstate
);
122 if (PyErr_Occurred()) return NULL
;
124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDiagram_p");
125 _resultobj
= Py_BuildValue("s",_ptemp
);
128 _resultobj
= Py_None
;
133 #define wxDiagram_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
134 static PyObject
*_wrap_wxDiagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
135 PyObject
* _resultobj
;
138 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
139 PyObject
* _argo0
= 0;
140 PyObject
* _argo1
= 0;
141 PyObject
* _argo2
= 0;
142 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDiagram_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_AddShape. Expected _wxDiagram_p.");
155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_AddShape. Expected _wxPyShape_p.");
162 if (_argo2
== Py_None
) { _arg2
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDiagram_AddShape. Expected _wxPyShape_p.");
169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
170 wxDiagram_AddShape(_arg0
,_arg1
,_arg2
);
172 wxPyEndAllowThreads(__tstate
);
173 if (PyErr_Occurred()) return NULL
;
174 } Py_INCREF(Py_None
);
175 _resultobj
= Py_None
;
179 #define wxDiagram_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
180 static PyObject
*_wrap_wxDiagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
184 PyObject
* _argo0
= 0;
185 PyObject
* _argo1
= 0;
186 char *_kwnames
[] = { "self","dc", NULL
};
189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_Clear",_kwnames
,&_argo0
,&_argo1
))
192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Clear. Expected _wxDiagram_p.");
199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Clear. Expected _wxDC_p.");
206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
207 wxDiagram_Clear(_arg0
,*_arg1
);
209 wxPyEndAllowThreads(__tstate
);
210 if (PyErr_Occurred()) return NULL
;
211 } Py_INCREF(Py_None
);
212 _resultobj
= Py_None
;
216 #define wxDiagram_DeleteAllShapes(_swigobj) (_swigobj->DeleteAllShapes())
217 static PyObject
*_wrap_wxDiagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
218 PyObject
* _resultobj
;
220 PyObject
* _argo0
= 0;
221 char *_kwnames
[] = { "self", NULL
};
224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_DeleteAllShapes",_kwnames
,&_argo0
))
227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_DeleteAllShapes. Expected _wxDiagram_p.");
234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
235 wxDiagram_DeleteAllShapes(_arg0
);
237 wxPyEndAllowThreads(__tstate
);
238 if (PyErr_Occurred()) return NULL
;
239 } Py_INCREF(Py_None
);
240 _resultobj
= Py_None
;
244 #define wxDiagram_DrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
245 static PyObject
*_wrap_wxDiagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
246 PyObject
* _resultobj
;
253 PyObject
* _argo0
= 0;
254 PyObject
* _argo1
= 0;
255 char *_kwnames
[] = { "self","dc","x1","y1","x2","y2", NULL
};
258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxDiagram_DrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_DrawOutline. Expected _wxDiagram_p.");
268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_DrawOutline. Expected _wxDC_p.");
275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
276 wxDiagram_DrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
278 wxPyEndAllowThreads(__tstate
);
279 if (PyErr_Occurred()) return NULL
;
280 } Py_INCREF(Py_None
);
281 _resultobj
= Py_None
;
285 #define wxDiagram_FindShape(_swigobj,_swigarg0) (_swigobj->FindShape(_swigarg0))
286 static PyObject
*_wrap_wxDiagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
291 PyObject
* _argo0
= 0;
292 char *_kwnames
[] = { "self","id", NULL
};
295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDiagram_FindShape",_kwnames
,&_argo0
,&_arg1
))
298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_FindShape. Expected _wxDiagram_p.");
305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
306 _result
= (wxPyShape
*)wxDiagram_FindShape(_arg0
,_arg1
);
308 wxPyEndAllowThreads(__tstate
);
309 if (PyErr_Occurred()) return NULL
;
310 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
314 #define wxDiagram_GetCanvas(_swigobj) (_swigobj->GetCanvas())
315 static PyObject
*_wrap_wxDiagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
316 PyObject
* _resultobj
;
317 wxPyShapeCanvas
* _result
;
319 PyObject
* _argo0
= 0;
320 char *_kwnames
[] = { "self", NULL
};
323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetCanvas",_kwnames
,&_argo0
))
326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetCanvas. Expected _wxDiagram_p.");
333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
334 _result
= (wxPyShapeCanvas
*)wxDiagram_GetCanvas(_arg0
);
336 wxPyEndAllowThreads(__tstate
);
337 if (PyErr_Occurred()) return NULL
;
338 }{ _resultobj
= wxPyMake_wxObject(_result
); }
342 #define wxDiagram_GetCount(_swigobj) (_swigobj->GetCount())
343 static PyObject
*_wrap_wxDiagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
344 PyObject
* _resultobj
;
347 PyObject
* _argo0
= 0;
348 char *_kwnames
[] = { "self", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetCount",_kwnames
,&_argo0
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetCount. Expected _wxDiagram_p.");
361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
362 _result
= (int )wxDiagram_GetCount(_arg0
);
364 wxPyEndAllowThreads(__tstate
);
365 if (PyErr_Occurred()) return NULL
;
366 } _resultobj
= Py_BuildValue("i",_result
);
370 #define wxDiagram_GetGridSpacing(_swigobj) (_swigobj->GetGridSpacing())
371 static PyObject
*_wrap_wxDiagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 PyObject
* _resultobj
;
375 PyObject
* _argo0
= 0;
376 char *_kwnames
[] = { "self", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetGridSpacing",_kwnames
,&_argo0
))
382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetGridSpacing. Expected _wxDiagram_p.");
389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
390 _result
= (double )wxDiagram_GetGridSpacing(_arg0
);
392 wxPyEndAllowThreads(__tstate
);
393 if (PyErr_Occurred()) return NULL
;
394 } _resultobj
= Py_BuildValue("d",_result
);
398 #define wxDiagram_GetMouseTolerance(_swigobj) (_swigobj->GetMouseTolerance())
399 static PyObject
*_wrap_wxDiagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
403 PyObject
* _argo0
= 0;
404 char *_kwnames
[] = { "self", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetMouseTolerance",_kwnames
,&_argo0
))
410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetMouseTolerance. Expected _wxDiagram_p.");
417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
418 _result
= (int )wxDiagram_GetMouseTolerance(_arg0
);
420 wxPyEndAllowThreads(__tstate
);
421 if (PyErr_Occurred()) return NULL
;
422 } _resultobj
= Py_BuildValue("i",_result
);
426 static PyObject
* wxDiagram_GetShapeList(wxDiagram
*self
) {
427 wxList
* list
= self
->GetShapeList();
428 return wxPy_ConvertShapeList(list
, "wxPyShape");
430 static PyObject
*_wrap_wxDiagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
431 PyObject
* _resultobj
;
434 PyObject
* _argo0
= 0;
435 char *_kwnames
[] = { "self", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetShapeList",_kwnames
,&_argo0
))
441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetShapeList. Expected _wxDiagram_p.");
448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
449 _result
= (PyObject
*)wxDiagram_GetShapeList(_arg0
);
451 wxPyEndAllowThreads(__tstate
);
452 if (PyErr_Occurred()) return NULL
;
454 _resultobj
= _result
;
459 #define wxDiagram_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
460 static PyObject
*_wrap_wxDiagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
464 PyObject
* _argo0
= 0;
465 char *_kwnames
[] = { "self", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetQuickEditMode",_kwnames
,&_argo0
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetQuickEditMode. Expected _wxDiagram_p.");
478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
479 _result
= (bool )wxDiagram_GetQuickEditMode(_arg0
);
481 wxPyEndAllowThreads(__tstate
);
482 if (PyErr_Occurred()) return NULL
;
483 } _resultobj
= Py_BuildValue("i",_result
);
487 #define wxDiagram_GetSnapToGrid(_swigobj) (_swigobj->GetSnapToGrid())
488 static PyObject
*_wrap_wxDiagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self", NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetSnapToGrid",_kwnames
,&_argo0
))
499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetSnapToGrid. Expected _wxDiagram_p.");
506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
507 _result
= (bool )wxDiagram_GetSnapToGrid(_arg0
);
509 wxPyEndAllowThreads(__tstate
);
510 if (PyErr_Occurred()) return NULL
;
511 } _resultobj
= Py_BuildValue("i",_result
);
515 #define wxDiagram_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
516 static PyObject
*_wrap_wxDiagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
520 PyObject
* _argo0
= 0;
521 PyObject
* _argo1
= 0;
522 char *_kwnames
[] = { "self","shape", NULL
};
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_InsertShape",_kwnames
,&_argo0
,&_argo1
))
528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_InsertShape. Expected _wxDiagram_p.");
535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_InsertShape. Expected _wxPyShape_p.");
542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
543 wxDiagram_InsertShape(_arg0
,_arg1
);
545 wxPyEndAllowThreads(__tstate
);
546 if (PyErr_Occurred()) return NULL
;
547 } Py_INCREF(Py_None
);
548 _resultobj
= Py_None
;
552 #define wxDiagram_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
553 static PyObject
*_wrap_wxDiagram_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
558 PyObject
* _argo0
= 0;
559 PyObject
* _obj1
= 0;
560 char *_kwnames
[] = { "self","filename", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_LoadFile",_kwnames
,&_argo0
,&_obj1
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_LoadFile. Expected _wxDiagram_p.");
573 _arg1
= wxString_in_helper(_obj1
);
578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
579 _result
= (bool )wxDiagram_LoadFile(_arg0
,*_arg1
);
581 wxPyEndAllowThreads(__tstate
);
582 if (PyErr_Occurred()) return NULL
;
583 } _resultobj
= Py_BuildValue("i",_result
);
591 #define wxDiagram_ReadContainerGeometry(_swigobj,_swigarg0) (_swigobj->ReadContainerGeometry(_swigarg0))
592 static PyObject
*_wrap_wxDiagram_ReadContainerGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
595 wxExprDatabase
* _arg1
;
596 PyObject
* _argo0
= 0;
597 PyObject
* _argo1
= 0;
598 char *_kwnames
[] = { "self","database", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadContainerGeometry",_kwnames
,&_argo0
,&_argo1
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadContainerGeometry. Expected _wxDiagram_p.");
611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadContainerGeometry. Expected _wxExprDatabase_p.");
618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
619 wxDiagram_ReadContainerGeometry(_arg0
,*_arg1
);
621 wxPyEndAllowThreads(__tstate
);
622 if (PyErr_Occurred()) return NULL
;
623 } Py_INCREF(Py_None
);
624 _resultobj
= Py_None
;
628 #define wxDiagram_ReadLines(_swigobj,_swigarg0) (_swigobj->ReadLines(_swigarg0))
629 static PyObject
*_wrap_wxDiagram_ReadLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
632 wxExprDatabase
* _arg1
;
633 PyObject
* _argo0
= 0;
634 PyObject
* _argo1
= 0;
635 char *_kwnames
[] = { "self","database", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadLines",_kwnames
,&_argo0
,&_argo1
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadLines. Expected _wxDiagram_p.");
648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadLines. Expected _wxExprDatabase_p.");
655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
656 wxDiagram_ReadLines(_arg0
,*_arg1
);
658 wxPyEndAllowThreads(__tstate
);
659 if (PyErr_Occurred()) return NULL
;
660 } Py_INCREF(Py_None
);
661 _resultobj
= Py_None
;
665 #define wxDiagram_ReadNodes(_swigobj,_swigarg0) (_swigobj->ReadNodes(_swigarg0))
666 static PyObject
*_wrap_wxDiagram_ReadNodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
667 PyObject
* _resultobj
;
669 wxExprDatabase
* _arg1
;
670 PyObject
* _argo0
= 0;
671 PyObject
* _argo1
= 0;
672 char *_kwnames
[] = { "self","database", NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadNodes",_kwnames
,&_argo0
,&_argo1
))
678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadNodes. Expected _wxDiagram_p.");
685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadNodes. Expected _wxExprDatabase_p.");
692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
693 wxDiagram_ReadNodes(_arg0
,*_arg1
);
695 wxPyEndAllowThreads(__tstate
);
696 if (PyErr_Occurred()) return NULL
;
697 } Py_INCREF(Py_None
);
698 _resultobj
= Py_None
;
702 #define wxDiagram_RecentreAll(_swigobj,_swigarg0) (_swigobj->RecentreAll(_swigarg0))
703 static PyObject
*_wrap_wxDiagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
707 PyObject
* _argo0
= 0;
708 PyObject
* _argo1
= 0;
709 char *_kwnames
[] = { "self","dc", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_RecentreAll",_kwnames
,&_argo0
,&_argo1
))
715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RecentreAll. Expected _wxDiagram_p.");
722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_RecentreAll. Expected _wxDC_p.");
729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
730 wxDiagram_RecentreAll(_arg0
,*_arg1
);
732 wxPyEndAllowThreads(__tstate
);
733 if (PyErr_Occurred()) return NULL
;
734 } Py_INCREF(Py_None
);
735 _resultobj
= Py_None
;
739 #define wxDiagram_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
740 static PyObject
*_wrap_wxDiagram_Redraw(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_Redraw",_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_Redraw. 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_Redraw. Expected _wxDC_p.");
766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
767 wxDiagram_Redraw(_arg0
,*_arg1
);
769 wxPyEndAllowThreads(__tstate
);
770 if (PyErr_Occurred()) return NULL
;
771 } Py_INCREF(Py_None
);
772 _resultobj
= Py_None
;
776 #define wxDiagram_RemoveAllShapes(_swigobj) (_swigobj->RemoveAllShapes())
777 static PyObject
*_wrap_wxDiagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
780 PyObject
* _argo0
= 0;
781 char *_kwnames
[] = { "self", NULL
};
784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_RemoveAllShapes",_kwnames
,&_argo0
))
787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RemoveAllShapes. Expected _wxDiagram_p.");
794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
795 wxDiagram_RemoveAllShapes(_arg0
);
797 wxPyEndAllowThreads(__tstate
);
798 if (PyErr_Occurred()) return NULL
;
799 } Py_INCREF(Py_None
);
800 _resultobj
= Py_None
;
804 #define wxDiagram_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
805 static PyObject
*_wrap_wxDiagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
809 PyObject
* _argo0
= 0;
810 PyObject
* _argo1
= 0;
811 char *_kwnames
[] = { "self","shape", NULL
};
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RemoveShape. Expected _wxDiagram_p.");
824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_RemoveShape. Expected _wxPyShape_p.");
831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
832 wxDiagram_RemoveShape(_arg0
,_arg1
);
834 wxPyEndAllowThreads(__tstate
);
835 if (PyErr_Occurred()) return NULL
;
836 } Py_INCREF(Py_None
);
837 _resultobj
= Py_None
;
841 #define wxDiagram_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
842 static PyObject
*_wrap_wxDiagram_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 PyObject
* _resultobj
;
847 PyObject
* _argo0
= 0;
848 PyObject
* _obj1
= 0;
849 char *_kwnames
[] = { "self","filename", NULL
};
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_SaveFile",_kwnames
,&_argo0
,&_obj1
))
855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SaveFile. Expected _wxDiagram_p.");
862 _arg1
= wxString_in_helper(_obj1
);
867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
868 _result
= (bool )wxDiagram_SaveFile(_arg0
,*_arg1
);
870 wxPyEndAllowThreads(__tstate
);
871 if (PyErr_Occurred()) return NULL
;
872 } _resultobj
= Py_BuildValue("i",_result
);
880 #define wxDiagram_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
881 static PyObject
*_wrap_wxDiagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 PyObject
* _resultobj
;
884 wxPyShapeCanvas
* _arg1
;
885 PyObject
* _argo0
= 0;
886 PyObject
* _argo1
= 0;
887 char *_kwnames
[] = { "self","canvas", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetCanvas. Expected _wxDiagram_p.");
900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_SetCanvas. Expected _wxPyShapeCanvas_p.");
907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
908 wxDiagram_SetCanvas(_arg0
,_arg1
);
910 wxPyEndAllowThreads(__tstate
);
911 if (PyErr_Occurred()) return NULL
;
912 } Py_INCREF(Py_None
);
913 _resultobj
= Py_None
;
917 #define wxDiagram_SetGridSpacing(_swigobj,_swigarg0) (_swigobj->SetGridSpacing(_swigarg0))
918 static PyObject
*_wrap_wxDiagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 PyObject
* _resultobj
;
922 PyObject
* _argo0
= 0;
923 char *_kwnames
[] = { "self","spacing", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDiagram_SetGridSpacing",_kwnames
,&_argo0
,&_arg1
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetGridSpacing. Expected _wxDiagram_p.");
936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
937 wxDiagram_SetGridSpacing(_arg0
,_arg1
);
939 wxPyEndAllowThreads(__tstate
);
940 if (PyErr_Occurred()) return NULL
;
941 } Py_INCREF(Py_None
);
942 _resultobj
= Py_None
;
946 #define wxDiagram_SetMouseTolerance(_swigobj,_swigarg0) (_swigobj->SetMouseTolerance(_swigarg0))
947 static PyObject
*_wrap_wxDiagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self","tolerance", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetMouseTolerance",_kwnames
,&_argo0
,&_arg1
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetMouseTolerance. Expected _wxDiagram_p.");
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 wxDiagram_SetMouseTolerance(_arg0
,_arg1
);
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) return NULL
;
970 } Py_INCREF(Py_None
);
971 _resultobj
= Py_None
;
975 #define wxDiagram_SetQuickEditMode(_swigobj,_swigarg0) (_swigobj->SetQuickEditMode(_swigarg0))
976 static PyObject
*_wrap_wxDiagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
980 PyObject
* _argo0
= 0;
982 char *_kwnames
[] = { "self","mode", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetQuickEditMode",_kwnames
,&_argo0
,&tempbool1
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetQuickEditMode. Expected _wxDiagram_p.");
994 _arg1
= (bool ) tempbool1
;
996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
997 wxDiagram_SetQuickEditMode(_arg0
,_arg1
);
999 wxPyEndAllowThreads(__tstate
);
1000 if (PyErr_Occurred()) return NULL
;
1001 } Py_INCREF(Py_None
);
1002 _resultobj
= Py_None
;
1006 #define wxDiagram_SetSnapToGrid(_swigobj,_swigarg0) (_swigobj->SetSnapToGrid(_swigarg0))
1007 static PyObject
*_wrap_wxDiagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1011 PyObject
* _argo0
= 0;
1013 char *_kwnames
[] = { "self","snap", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetSnapToGrid",_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_SetSnapToGrid. Expected _wxDiagram_p.");
1025 _arg1
= (bool ) tempbool1
;
1027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1028 wxDiagram_SetSnapToGrid(_arg0
,_arg1
);
1030 wxPyEndAllowThreads(__tstate
);
1031 if (PyErr_Occurred()) return NULL
;
1032 } Py_INCREF(Py_None
);
1033 _resultobj
= Py_None
;
1037 #define wxDiagram_ShowAll(_swigobj,_swigarg0) (_swigobj->ShowAll(_swigarg0))
1038 static PyObject
*_wrap_wxDiagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1042 PyObject
* _argo0
= 0;
1044 char *_kwnames
[] = { "self","show", NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_ShowAll",_kwnames
,&_argo0
,&tempbool1
))
1050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ShowAll. Expected _wxDiagram_p.");
1056 _arg1
= (bool ) tempbool1
;
1058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1059 wxDiagram_ShowAll(_arg0
,_arg1
);
1061 wxPyEndAllowThreads(__tstate
);
1062 if (PyErr_Occurred()) return NULL
;
1063 } Py_INCREF(Py_None
);
1064 _resultobj
= Py_None
;
1068 #define wxDiagram_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1069 static PyObject
*_wrap_wxDiagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1074 PyObject
* _argo0
= 0;
1076 PyObject
* _obj1
= 0;
1078 PyObject
* _obj2
= 0;
1079 char *_kwnames
[] = { "self","INOUT","INOUT", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDiagram_Snap",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Snap. Expected _wxDiagram_p.");
1092 temp
= PyFloat_AsDouble(_obj1
);
1096 temp0
= PyFloat_AsDouble(_obj2
);
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 wxDiagram_Snap(_arg0
,_arg1
,_arg2
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1105 } Py_INCREF(Py_None
);
1106 _resultobj
= Py_None
;
1109 o
= PyFloat_FromDouble((double) (*_arg1
));
1110 _resultobj
= t_output_helper(_resultobj
, o
);
1114 o
= PyFloat_FromDouble((double) (*_arg2
));
1115 _resultobj
= t_output_helper(_resultobj
, o
);
1120 static void *SwigwxPyShapeCanvasTowxScrolledWindow(void *ptr
) {
1121 wxPyShapeCanvas
*src
;
1122 wxScrolledWindow
*dest
;
1123 src
= (wxPyShapeCanvas
*) ptr
;
1124 dest
= (wxScrolledWindow
*) src
;
1125 return (void *) dest
;
1128 static void *SwigwxPyShapeCanvasTowxPanel(void *ptr
) {
1129 wxPyShapeCanvas
*src
;
1131 src
= (wxPyShapeCanvas
*) ptr
;
1132 dest
= (wxPanel
*) src
;
1133 return (void *) dest
;
1136 static void *SwigwxPyShapeCanvasTowxWindow(void *ptr
) {
1137 wxPyShapeCanvas
*src
;
1139 src
= (wxPyShapeCanvas
*) ptr
;
1140 dest
= (wxWindow
*) src
;
1141 return (void *) dest
;
1144 static void *SwigwxPyShapeCanvasTowxEvtHandler(void *ptr
) {
1145 wxPyShapeCanvas
*src
;
1147 src
= (wxPyShapeCanvas
*) ptr
;
1148 dest
= (wxEvtHandler
*) src
;
1149 return (void *) dest
;
1152 static void *SwigwxPyShapeCanvasTowxObject(void *ptr
) {
1153 wxPyShapeCanvas
*src
;
1155 src
= (wxPyShapeCanvas
*) ptr
;
1156 dest
= (wxObject
*) src
;
1157 return (void *) dest
;
1160 #define new_wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1161 static PyObject
*_wrap_new_wxPyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
* _resultobj
;
1163 wxPyShapeCanvas
* _result
;
1164 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1165 wxWindowID _arg1
= (wxWindowID
) -1;
1166 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1167 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1168 long _arg4
= (long ) wxBORDER
;
1169 PyObject
* _argo0
= 0;
1171 PyObject
* _obj2
= 0;
1173 PyObject
* _obj3
= 0;
1174 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOl:new_wxPyShapeCanvas",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeCanvas. Expected _wxWindow_p.");
1190 if (! wxPoint_helper(_obj2
, &_arg2
))
1196 if (! wxSize_helper(_obj3
, &_arg3
))
1200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1201 _result
= (wxPyShapeCanvas
*)new_wxPyShapeCanvas(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1203 wxPyEndAllowThreads(__tstate
);
1204 if (PyErr_Occurred()) return NULL
;
1206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
1207 _resultobj
= Py_BuildValue("s",_ptemp
);
1210 _resultobj
= Py_None
;
1215 #define wxPyShapeCanvas__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1216 static PyObject
*_wrap_wxPyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1218 wxPyShapeCanvas
* _arg0
;
1221 PyObject
* _argo0
= 0;
1222 PyObject
* _obj1
= 0;
1223 PyObject
* _obj2
= 0;
1224 char *_kwnames
[] = { "self","self","_class", NULL
};
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeCanvas__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas__setCallbackInfo. Expected _wxPyShapeCanvas_p.");
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 wxPyShapeCanvas__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) return NULL
;
1248 } Py_INCREF(Py_None
);
1249 _resultobj
= Py_None
;
1253 #define wxPyShapeCanvas_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
1254 static PyObject
*_wrap_wxPyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1256 wxPyShapeCanvas
* _arg0
;
1258 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
1259 PyObject
* _argo0
= 0;
1260 PyObject
* _argo1
= 0;
1261 PyObject
* _argo2
= 0;
1262 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShapeCanvas_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_AddShape. Expected _wxPyShapeCanvas_p.");
1275 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1276 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1282 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 wxPyShapeCanvas_AddShape(_arg0
,_arg1
,_arg2
);
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) return NULL
;
1294 } Py_INCREF(Py_None
);
1295 _resultobj
= Py_None
;
1299 #define wxPyShapeCanvas_FindShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1300 static PyObject
*_wrap_wxPyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1302 wxPyShape
* _result
;
1303 wxPyShapeCanvas
* _arg0
;
1308 wxClassInfo
* _arg4
= (wxClassInfo
*) NULL
;
1309 wxPyShape
* _arg5
= (wxPyShape
*) NULL
;
1310 PyObject
* _argo0
= 0;
1311 PyObject
* _argo4
= 0;
1312 PyObject
* _argo5
= 0;
1313 char *_kwnames
[] = { "self","x1","y","info","notImage", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|OO:wxPyShapeCanvas_FindShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo4
,&_argo5
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindShape. Expected _wxPyShapeCanvas_p.");
1329 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1330 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxClassInfo_p")) {
1331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPyShapeCanvas_FindShape. Expected _wxClassInfo_p.");
1336 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyShape_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShapeCanvas_FindShape. Expected _wxPyShape_p.");
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 _result
= (wxPyShape
*)wxPyShapeCanvas_FindShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) return NULL
;
1348 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1351 o
= PyInt_FromLong((long) (*_arg3
));
1352 _resultobj
= t_output_helper(_resultobj
, o
);
1357 #define wxPyShapeCanvas_FindFirstSensitiveShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindFirstSensitiveShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1358 static PyObject
*_wrap_wxPyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
* _resultobj
;
1360 wxPyShape
* _result
;
1361 wxPyShapeCanvas
* _arg0
;
1367 PyObject
* _argo0
= 0;
1368 char *_kwnames
[] = { "self","x1","y","op", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddi:wxPyShapeCanvas_FindFirstSensitiveShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg4
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindFirstSensitiveShape. Expected _wxPyShapeCanvas_p.");
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 _result
= (wxPyShape
*)wxPyShapeCanvas_FindFirstSensitiveShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) return NULL
;
1389 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
1392 o
= PyInt_FromLong((long) (*_arg3
));
1393 _resultobj
= t_output_helper(_resultobj
, o
);
1398 #define wxPyShapeCanvas_GetDiagram(_swigobj) (_swigobj->GetDiagram())
1399 static PyObject
*_wrap_wxPyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1401 wxDiagram
* _result
;
1402 wxPyShapeCanvas
* _arg0
;
1403 PyObject
* _argo0
= 0;
1404 char *_kwnames
[] = { "self", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetDiagram",_kwnames
,&_argo0
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetDiagram. Expected _wxPyShapeCanvas_p.");
1417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1418 _result
= (wxDiagram
*)wxPyShapeCanvas_GetDiagram(_arg0
);
1420 wxPyEndAllowThreads(__tstate
);
1421 if (PyErr_Occurred()) return NULL
;
1422 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1426 #define wxPyShapeCanvas_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
1427 static PyObject
*_wrap_wxPyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1430 wxPyShapeCanvas
* _arg0
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetQuickEditMode",_kwnames
,&_argo0
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetQuickEditMode. Expected _wxPyShapeCanvas_p.");
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 _result
= (bool )wxPyShapeCanvas_GetQuickEditMode(_arg0
);
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) return NULL
;
1450 } _resultobj
= Py_BuildValue("i",_result
);
1454 #define wxPyShapeCanvas_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
1455 static PyObject
*_wrap_wxPyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
* _resultobj
;
1457 wxPyShapeCanvas
* _arg0
;
1459 PyObject
* _argo0
= 0;
1460 PyObject
* _argo1
= 0;
1461 char *_kwnames
[] = { "self","shape", NULL
};
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_InsertShape",_kwnames
,&_argo0
,&_argo1
))
1467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_InsertShape. Expected _wxPyShapeCanvas_p.");
1474 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_InsertShape. Expected _wxPyShape_p.");
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 wxPyShapeCanvas_InsertShape(_arg0
,_arg1
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) return NULL
;
1486 } Py_INCREF(Py_None
);
1487 _resultobj
= Py_None
;
1491 #define wxPyShapeCanvas_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2))
1492 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1494 wxPyShapeCanvas
* _arg0
;
1497 int _arg3
= (int ) 0;
1498 PyObject
* _argo0
= 0;
1499 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragLeft. Expected _wxPyShapeCanvas_p.");
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 wxPyShapeCanvas_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 } Py_INCREF(Py_None
);
1518 _resultobj
= Py_None
;
1522 #define wxPyShapeCanvas_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2))
1523 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1525 wxPyShapeCanvas
* _arg0
;
1528 int _arg3
= (int ) 0;
1529 PyObject
* _argo0
= 0;
1530 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragRight. Expected _wxPyShapeCanvas_p.");
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 wxPyShapeCanvas_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) return NULL
;
1548 } Py_INCREF(Py_None
);
1549 _resultobj
= Py_None
;
1553 #define wxPyShapeCanvas_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2))
1554 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1556 wxPyShapeCanvas
* _arg0
;
1559 int _arg3
= (int ) 0;
1560 PyObject
* _argo0
= 0;
1561 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragLeft. Expected _wxPyShapeCanvas_p.");
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 wxPyShapeCanvas_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1579 } Py_INCREF(Py_None
);
1580 _resultobj
= Py_None
;
1584 #define wxPyShapeCanvas_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2))
1585 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1587 wxPyShapeCanvas
* _arg0
;
1590 int _arg3
= (int ) 0;
1591 PyObject
* _argo0
= 0;
1592 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragRight. Expected _wxPyShapeCanvas_p.");
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1606 wxPyShapeCanvas_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) return NULL
;
1610 } Py_INCREF(Py_None
);
1611 _resultobj
= Py_None
;
1615 #define wxPyShapeCanvas_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1616 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1618 wxPyShapeCanvas
* _arg0
;
1622 int _arg4
= (int ) 0;
1623 PyObject
* _argo0
= 0;
1625 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragLeft. Expected _wxPyShapeCanvas_p.");
1637 _arg1
= (bool ) tempbool1
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 wxPyShapeCanvas_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) return NULL
;
1644 } Py_INCREF(Py_None
);
1645 _resultobj
= Py_None
;
1649 #define wxPyShapeCanvas_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1650 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1652 wxPyShapeCanvas
* _arg0
;
1656 int _arg4
= (int ) 0;
1657 PyObject
* _argo0
= 0;
1659 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragRight. Expected _wxPyShapeCanvas_p.");
1671 _arg1
= (bool ) tempbool1
;
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 wxPyShapeCanvas_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) return NULL
;
1678 } Py_INCREF(Py_None
);
1679 _resultobj
= Py_None
;
1683 #define wxPyShapeCanvas_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2))
1684 static PyObject
*_wrap_wxPyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1686 wxPyShapeCanvas
* _arg0
;
1689 int _arg3
= (int ) 0;
1690 PyObject
* _argo0
= 0;
1691 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnLeftClick. Expected _wxPyShapeCanvas_p.");
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 wxPyShapeCanvas_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) return NULL
;
1709 } Py_INCREF(Py_None
);
1710 _resultobj
= Py_None
;
1714 #define wxPyShapeCanvas_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2))
1715 static PyObject
*_wrap_wxPyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1717 wxPyShapeCanvas
* _arg0
;
1720 int _arg3
= (int ) 0;
1721 PyObject
* _argo0
= 0;
1722 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnRightClick. Expected _wxPyShapeCanvas_p.");
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1736 wxPyShapeCanvas_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
);
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) return NULL
;
1740 } Py_INCREF(Py_None
);
1741 _resultobj
= Py_None
;
1745 #define wxPyShapeCanvas_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
1746 static PyObject
*_wrap_wxPyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
* _resultobj
;
1748 wxPyShapeCanvas
* _arg0
;
1750 PyObject
* _argo0
= 0;
1751 PyObject
* _argo1
= 0;
1752 char *_kwnames
[] = { "self","dc", NULL
};
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_Redraw",_kwnames
,&_argo0
,&_argo1
))
1758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Redraw. Expected _wxPyShapeCanvas_p.");
1765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_Redraw. Expected _wxDC_p.");
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 wxPyShapeCanvas_Redraw(_arg0
,*_arg1
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) return NULL
;
1777 } Py_INCREF(Py_None
);
1778 _resultobj
= Py_None
;
1782 #define wxPyShapeCanvas_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
1783 static PyObject
*_wrap_wxPyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1785 wxPyShapeCanvas
* _arg0
;
1787 PyObject
* _argo0
= 0;
1788 PyObject
* _argo1
= 0;
1789 char *_kwnames
[] = { "self","shape", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShapeCanvas_p.");
1802 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1803 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShape_p.");
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 wxPyShapeCanvas_RemoveShape(_arg0
,_arg1
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) return NULL
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 #define wxPyShapeCanvas_SetDiagram(_swigobj,_swigarg0) (_swigobj->SetDiagram(_swigarg0))
1820 static PyObject
*_wrap_wxPyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1822 wxPyShapeCanvas
* _arg0
;
1824 PyObject
* _argo0
= 0;
1825 PyObject
* _argo1
= 0;
1826 char *_kwnames
[] = { "self","diagram", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_SetDiagram",_kwnames
,&_argo0
,&_argo1
))
1832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_SetDiagram. Expected _wxPyShapeCanvas_p.");
1839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDiagram_p")) {
1841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_SetDiagram. Expected _wxDiagram_p.");
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 wxPyShapeCanvas_SetDiagram(_arg0
,_arg1
);
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) return NULL
;
1851 } Py_INCREF(Py_None
);
1852 _resultobj
= Py_None
;
1856 #define wxPyShapeCanvas_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1857 static PyObject
*_wrap_wxPyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
* _resultobj
;
1859 wxPyShapeCanvas
* _arg0
;
1862 PyObject
* _argo0
= 0;
1864 PyObject
* _obj1
= 0;
1866 PyObject
* _obj2
= 0;
1867 char *_kwnames
[] = { "self","INOUT","INOUT", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeCanvas_Snap",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Snap. Expected _wxPyShapeCanvas_p.");
1880 temp
= PyFloat_AsDouble(_obj1
);
1884 temp0
= PyFloat_AsDouble(_obj2
);
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 wxPyShapeCanvas_Snap(_arg0
,_arg1
,_arg2
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) return NULL
;
1893 } Py_INCREF(Py_None
);
1894 _resultobj
= Py_None
;
1897 o
= PyFloat_FromDouble((double) (*_arg1
));
1898 _resultobj
= t_output_helper(_resultobj
, o
);
1902 o
= PyFloat_FromDouble((double) (*_arg2
));
1903 _resultobj
= t_output_helper(_resultobj
, o
);
1908 static PyMethodDef oglcanvascMethods
[] = {
1909 { "wxPyShapeCanvas_Snap", (PyCFunction
) _wrap_wxPyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1910 { "wxPyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1911 { "wxPyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1912 { "wxPyShapeCanvas_Redraw", (PyCFunction
) _wrap_wxPyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1913 { "wxPyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
1914 { "wxPyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
1915 { "wxPyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1916 { "wxPyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1917 { "wxPyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1918 { "wxPyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1919 { "wxPyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1920 { "wxPyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1921 { "wxPyShapeCanvas_InsertShape", (PyCFunction
) _wrap_wxPyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1922 { "wxPyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_wxPyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1923 { "wxPyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1924 { "wxPyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
1925 { "wxPyShapeCanvas_FindShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1926 { "wxPyShapeCanvas_AddShape", (PyCFunction
) _wrap_wxPyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1927 { "wxPyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_wxPyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
1928 { "new_wxPyShapeCanvas", (PyCFunction
) _wrap_new_wxPyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1929 { "wxDiagram_Snap", (PyCFunction
) _wrap_wxDiagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1930 { "wxDiagram_ShowAll", (PyCFunction
) _wrap_wxDiagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
1931 { "wxDiagram_SetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1932 { "wxDiagram_SetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1933 { "wxDiagram_SetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1934 { "wxDiagram_SetGridSpacing", (PyCFunction
) _wrap_wxDiagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1935 { "wxDiagram_SetCanvas", (PyCFunction
) _wrap_wxDiagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1936 { "wxDiagram_SaveFile", (PyCFunction
) _wrap_wxDiagram_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
1937 { "wxDiagram_RemoveShape", (PyCFunction
) _wrap_wxDiagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1938 { "wxDiagram_RemoveAllShapes", (PyCFunction
) _wrap_wxDiagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1939 { "wxDiagram_Redraw", (PyCFunction
) _wrap_wxDiagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1940 { "wxDiagram_RecentreAll", (PyCFunction
) _wrap_wxDiagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
1941 { "wxDiagram_ReadNodes", (PyCFunction
) _wrap_wxDiagram_ReadNodes
, METH_VARARGS
| METH_KEYWORDS
},
1942 { "wxDiagram_ReadLines", (PyCFunction
) _wrap_wxDiagram_ReadLines
, METH_VARARGS
| METH_KEYWORDS
},
1943 { "wxDiagram_ReadContainerGeometry", (PyCFunction
) _wrap_wxDiagram_ReadContainerGeometry
, METH_VARARGS
| METH_KEYWORDS
},
1944 { "wxDiagram_LoadFile", (PyCFunction
) _wrap_wxDiagram_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
1945 { "wxDiagram_InsertShape", (PyCFunction
) _wrap_wxDiagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1946 { "wxDiagram_GetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1947 { "wxDiagram_GetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1948 { "wxDiagram_GetShapeList", (PyCFunction
) _wrap_wxDiagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
1949 { "wxDiagram_GetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1950 { "wxDiagram_GetGridSpacing", (PyCFunction
) _wrap_wxDiagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1951 { "wxDiagram_GetCount", (PyCFunction
) _wrap_wxDiagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
1952 { "wxDiagram_GetCanvas", (PyCFunction
) _wrap_wxDiagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1953 { "wxDiagram_FindShape", (PyCFunction
) _wrap_wxDiagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1954 { "wxDiagram_DrawOutline", (PyCFunction
) _wrap_wxDiagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
1955 { "wxDiagram_DeleteAllShapes", (PyCFunction
) _wrap_wxDiagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1956 { "wxDiagram_Clear", (PyCFunction
) _wrap_wxDiagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
1957 { "wxDiagram_AddShape", (PyCFunction
) _wrap_wxDiagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1958 { "new_wxDiagram", (PyCFunction
) _wrap_new_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1965 * This table is used by the pointer type-checker
1967 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1968 { "_signed_long","_long",0},
1969 { "_wxPrintQuality","_wxCoord",0},
1970 { "_wxPrintQuality","_int",0},
1971 { "_wxPrintQuality","_signed_int",0},
1972 { "_wxPrintQuality","_unsigned_int",0},
1973 { "_wxPrintQuality","_wxWindowID",0},
1974 { "_wxPrintQuality","_uint",0},
1975 { "_wxPrintQuality","_EBool",0},
1976 { "_wxPrintQuality","_size_t",0},
1977 { "_wxPrintQuality","_time_t",0},
1978 { "_byte","_unsigned_char",0},
1979 { "_long","_unsigned_long",0},
1980 { "_long","_signed_long",0},
1981 { "_size_t","_wxCoord",0},
1982 { "_size_t","_wxPrintQuality",0},
1983 { "_size_t","_time_t",0},
1984 { "_size_t","_unsigned_int",0},
1985 { "_size_t","_int",0},
1986 { "_size_t","_wxWindowID",0},
1987 { "_size_t","_uint",0},
1988 { "_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
1989 { "_uint","_wxCoord",0},
1990 { "_uint","_wxPrintQuality",0},
1991 { "_uint","_time_t",0},
1992 { "_uint","_size_t",0},
1993 { "_uint","_unsigned_int",0},
1994 { "_uint","_int",0},
1995 { "_uint","_wxWindowID",0},
1996 { "_wxChar","_char",0},
1997 { "_char","_wxChar",0},
1998 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1999 { "_EBool","_wxCoord",0},
2000 { "_EBool","_wxPrintQuality",0},
2001 { "_EBool","_signed_int",0},
2002 { "_EBool","_int",0},
2003 { "_EBool","_wxWindowID",0},
2004 { "_unsigned_long","_long",0},
2005 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2006 { "_signed_int","_wxCoord",0},
2007 { "_signed_int","_wxPrintQuality",0},
2008 { "_signed_int","_EBool",0},
2009 { "_signed_int","_wxWindowID",0},
2010 { "_signed_int","_int",0},
2011 { "_WXTYPE","_wxDateTime_t",0},
2012 { "_WXTYPE","_short",0},
2013 { "_WXTYPE","_signed_short",0},
2014 { "_WXTYPE","_unsigned_short",0},
2015 { "_unsigned_short","_wxDateTime_t",0},
2016 { "_unsigned_short","_WXTYPE",0},
2017 { "_unsigned_short","_short",0},
2018 { "_wxObject","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxObject
},
2019 { "_wxObject","_wxDiagram",SwigwxDiagramTowxObject
},
2020 { "_signed_short","_WXTYPE",0},
2021 { "_signed_short","_short",0},
2022 { "_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2023 { "_unsigned_char","_byte",0},
2024 { "_unsigned_int","_wxCoord",0},
2025 { "_unsigned_int","_wxPrintQuality",0},
2026 { "_unsigned_int","_time_t",0},
2027 { "_unsigned_int","_size_t",0},
2028 { "_unsigned_int","_uint",0},
2029 { "_unsigned_int","_wxWindowID",0},
2030 { "_unsigned_int","_int",0},
2031 { "_short","_wxDateTime_t",0},
2032 { "_short","_WXTYPE",0},
2033 { "_short","_unsigned_short",0},
2034 { "_short","_signed_short",0},
2035 { "_wxWindowID","_wxCoord",0},
2036 { "_wxWindowID","_wxPrintQuality",0},
2037 { "_wxWindowID","_time_t",0},
2038 { "_wxWindowID","_size_t",0},
2039 { "_wxWindowID","_EBool",0},
2040 { "_wxWindowID","_uint",0},
2041 { "_wxWindowID","_int",0},
2042 { "_wxWindowID","_signed_int",0},
2043 { "_wxWindowID","_unsigned_int",0},
2044 { "_int","_wxCoord",0},
2045 { "_int","_wxPrintQuality",0},
2046 { "_int","_time_t",0},
2047 { "_int","_size_t",0},
2048 { "_int","_EBool",0},
2049 { "_int","_uint",0},
2050 { "_int","_wxWindowID",0},
2051 { "_int","_unsigned_int",0},
2052 { "_int","_signed_int",0},
2053 { "_wxDateTime_t","_unsigned_short",0},
2054 { "_wxDateTime_t","_short",0},
2055 { "_wxDateTime_t","_WXTYPE",0},
2056 { "_time_t","_wxCoord",0},
2057 { "_time_t","_wxPrintQuality",0},
2058 { "_time_t","_unsigned_int",0},
2059 { "_time_t","_int",0},
2060 { "_time_t","_wxWindowID",0},
2061 { "_time_t","_uint",0},
2062 { "_time_t","_size_t",0},
2063 { "_wxCoord","_int",0},
2064 { "_wxCoord","_signed_int",0},
2065 { "_wxCoord","_unsigned_int",0},
2066 { "_wxCoord","_wxWindowID",0},
2067 { "_wxCoord","_uint",0},
2068 { "_wxCoord","_EBool",0},
2069 { "_wxCoord","_size_t",0},
2070 { "_wxCoord","_time_t",0},
2071 { "_wxCoord","_wxPrintQuality",0},
2072 { "_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2073 { "_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2076 static PyObject
*SWIG_globals
;
2080 SWIGEXPORT(void) initoglcanvasc() {
2082 SWIG_globals
= SWIG_newvarlink();
2083 m
= Py_InitModule("oglcanvasc", oglcanvascMethods
);
2084 d
= PyModule_GetDict(m
);
2087 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2088 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);