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
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
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 static char* wxStringErrorMsg
= "string type is required for parameter";
107 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
108 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
109 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
110 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
111 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
112 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
113 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
114 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
118 #define new_wxDiagram() (new wxDiagram())
119 static PyObject
*_wrap_new_wxDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
120 PyObject
* _resultobj
;
122 char *_kwnames
[] = { NULL
};
126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDiagram",_kwnames
))
129 wxPy_BEGIN_ALLOW_THREADS
;
130 _result
= (wxDiagram
*)new_wxDiagram();
132 wxPy_END_ALLOW_THREADS
;
134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDiagram_p");
135 _resultobj
= Py_BuildValue("s",_ptemp
);
138 _resultobj
= Py_None
;
143 #define delete_wxDiagram(_swigobj) (delete _swigobj)
144 static PyObject
*_wrap_delete_wxDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
145 PyObject
* _resultobj
;
147 PyObject
* _argo0
= 0;
148 char *_kwnames
[] = { "self", NULL
};
151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDiagram",_kwnames
,&_argo0
))
154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDiagram. Expected _wxDiagram_p.");
161 wxPy_BEGIN_ALLOW_THREADS
;
162 delete_wxDiagram(_arg0
);
164 wxPy_END_ALLOW_THREADS
;
165 } Py_INCREF(Py_None
);
166 _resultobj
= Py_None
;
170 #define wxDiagram_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
171 static PyObject
*_wrap_wxDiagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
172 PyObject
* _resultobj
;
175 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
176 PyObject
* _argo0
= 0;
177 PyObject
* _argo1
= 0;
178 PyObject
* _argo2
= 0;
179 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDiagram_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_AddShape. Expected _wxDiagram_p.");
192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_AddShape. Expected _wxPyShape_p.");
199 if (_argo2
== Py_None
) { _arg2
= NULL
; }
200 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDiagram_AddShape. Expected _wxPyShape_p.");
206 wxPy_BEGIN_ALLOW_THREADS
;
207 wxDiagram_AddShape(_arg0
,_arg1
,_arg2
);
209 wxPy_END_ALLOW_THREADS
;
210 } Py_INCREF(Py_None
);
211 _resultobj
= Py_None
;
215 #define wxDiagram_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
216 static PyObject
*_wrap_wxDiagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
220 PyObject
* _argo0
= 0;
221 PyObject
* _argo1
= 0;
222 char *_kwnames
[] = { "self","dc", NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_Clear",_kwnames
,&_argo0
,&_argo1
))
228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Clear. Expected _wxDiagram_p.");
235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Clear. Expected _wxDC_p.");
242 wxPy_BEGIN_ALLOW_THREADS
;
243 wxDiagram_Clear(_arg0
,*_arg1
);
245 wxPy_END_ALLOW_THREADS
;
246 } Py_INCREF(Py_None
);
247 _resultobj
= Py_None
;
251 #define wxDiagram_DeleteAllShapes(_swigobj) (_swigobj->DeleteAllShapes())
252 static PyObject
*_wrap_wxDiagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
255 PyObject
* _argo0
= 0;
256 char *_kwnames
[] = { "self", NULL
};
259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_DeleteAllShapes",_kwnames
,&_argo0
))
262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_DeleteAllShapes. Expected _wxDiagram_p.");
269 wxPy_BEGIN_ALLOW_THREADS
;
270 wxDiagram_DeleteAllShapes(_arg0
);
272 wxPy_END_ALLOW_THREADS
;
273 } Py_INCREF(Py_None
);
274 _resultobj
= Py_None
;
278 #define wxDiagram_DrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
279 static PyObject
*_wrap_wxDiagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
287 PyObject
* _argo0
= 0;
288 PyObject
* _argo1
= 0;
289 char *_kwnames
[] = { "self","dc","x1","y1","x2","y2", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxDiagram_DrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_DrawOutline. Expected _wxDiagram_p.");
302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_DrawOutline. Expected _wxDC_p.");
309 wxPy_BEGIN_ALLOW_THREADS
;
310 wxDiagram_DrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
312 wxPy_END_ALLOW_THREADS
;
313 } Py_INCREF(Py_None
);
314 _resultobj
= Py_None
;
318 #define wxDiagram_FindShape(_swigobj,_swigarg0) (_swigobj->FindShape(_swigarg0))
319 static PyObject
*_wrap_wxDiagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
320 PyObject
* _resultobj
;
324 PyObject
* _argo0
= 0;
325 char *_kwnames
[] = { "self","id", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDiagram_FindShape",_kwnames
,&_argo0
,&_arg1
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_FindShape. Expected _wxDiagram_p.");
339 wxPy_BEGIN_ALLOW_THREADS
;
340 _result
= (wxPyShape
*)wxDiagram_FindShape(_arg0
,_arg1
);
342 wxPy_END_ALLOW_THREADS
;
344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
345 _resultobj
= Py_BuildValue("s",_ptemp
);
348 _resultobj
= Py_None
;
353 #define wxDiagram_GetCanvas(_swigobj) (_swigobj->GetCanvas())
354 static PyObject
*_wrap_wxDiagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
356 wxPyShapeCanvas
* _result
;
358 PyObject
* _argo0
= 0;
359 char *_kwnames
[] = { "self", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetCanvas",_kwnames
,&_argo0
))
366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetCanvas. Expected _wxDiagram_p.");
373 wxPy_BEGIN_ALLOW_THREADS
;
374 _result
= (wxPyShapeCanvas
*)wxDiagram_GetCanvas(_arg0
);
376 wxPy_END_ALLOW_THREADS
;
378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
379 _resultobj
= Py_BuildValue("s",_ptemp
);
382 _resultobj
= Py_None
;
387 #define wxDiagram_GetCount(_swigobj) (_swigobj->GetCount())
388 static PyObject
*_wrap_wxDiagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
389 PyObject
* _resultobj
;
392 PyObject
* _argo0
= 0;
393 char *_kwnames
[] = { "self", NULL
};
396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetCount",_kwnames
,&_argo0
))
399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetCount. Expected _wxDiagram_p.");
406 wxPy_BEGIN_ALLOW_THREADS
;
407 _result
= (int )wxDiagram_GetCount(_arg0
);
409 wxPy_END_ALLOW_THREADS
;
410 } _resultobj
= Py_BuildValue("i",_result
);
414 #define wxDiagram_GetGridSpacing(_swigobj) (_swigobj->GetGridSpacing())
415 static PyObject
*_wrap_wxDiagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
419 PyObject
* _argo0
= 0;
420 char *_kwnames
[] = { "self", NULL
};
423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetGridSpacing",_kwnames
,&_argo0
))
426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetGridSpacing. Expected _wxDiagram_p.");
433 wxPy_BEGIN_ALLOW_THREADS
;
434 _result
= (double )wxDiagram_GetGridSpacing(_arg0
);
436 wxPy_END_ALLOW_THREADS
;
437 } _resultobj
= Py_BuildValue("d",_result
);
441 #define wxDiagram_GetMouseTolerance(_swigobj) (_swigobj->GetMouseTolerance())
442 static PyObject
*_wrap_wxDiagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
446 PyObject
* _argo0
= 0;
447 char *_kwnames
[] = { "self", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetMouseTolerance",_kwnames
,&_argo0
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetMouseTolerance. Expected _wxDiagram_p.");
460 wxPy_BEGIN_ALLOW_THREADS
;
461 _result
= (int )wxDiagram_GetMouseTolerance(_arg0
);
463 wxPy_END_ALLOW_THREADS
;
464 } _resultobj
= Py_BuildValue("i",_result
);
468 static PyObject
* wxDiagram_GetShapeList(wxDiagram
*self
) {
469 wxList
* list
= self
->GetShapeList();
470 return wxPy_ConvertList(list
, "wxPyShape");
472 static PyObject
*_wrap_wxDiagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
473 PyObject
* _resultobj
;
476 PyObject
* _argo0
= 0;
477 char *_kwnames
[] = { "self", NULL
};
480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetShapeList",_kwnames
,&_argo0
))
483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetShapeList. Expected _wxDiagram_p.");
490 wxPy_BEGIN_ALLOW_THREADS
;
491 _result
= (PyObject
*)wxDiagram_GetShapeList(_arg0
);
493 wxPy_END_ALLOW_THREADS
;
495 _resultobj
= _result
;
500 #define wxDiagram_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
501 static PyObject
*_wrap_wxDiagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
502 PyObject
* _resultobj
;
505 PyObject
* _argo0
= 0;
506 char *_kwnames
[] = { "self", NULL
};
509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetQuickEditMode",_kwnames
,&_argo0
))
512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetQuickEditMode. Expected _wxDiagram_p.");
519 wxPy_BEGIN_ALLOW_THREADS
;
520 _result
= (bool )wxDiagram_GetQuickEditMode(_arg0
);
522 wxPy_END_ALLOW_THREADS
;
523 } _resultobj
= Py_BuildValue("i",_result
);
527 #define wxDiagram_GetSnapToGrid(_swigobj) (_swigobj->GetSnapToGrid())
528 static PyObject
*_wrap_wxDiagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
532 PyObject
* _argo0
= 0;
533 char *_kwnames
[] = { "self", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetSnapToGrid",_kwnames
,&_argo0
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetSnapToGrid. Expected _wxDiagram_p.");
546 wxPy_BEGIN_ALLOW_THREADS
;
547 _result
= (bool )wxDiagram_GetSnapToGrid(_arg0
);
549 wxPy_END_ALLOW_THREADS
;
550 } _resultobj
= Py_BuildValue("i",_result
);
554 #define wxDiagram_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
555 static PyObject
*_wrap_wxDiagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
559 PyObject
* _argo0
= 0;
560 PyObject
* _argo1
= 0;
561 char *_kwnames
[] = { "self","shape", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_InsertShape",_kwnames
,&_argo0
,&_argo1
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_InsertShape. Expected _wxDiagram_p.");
574 if (_argo1
== Py_None
) { _arg1
= NULL
; }
575 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_InsertShape. Expected _wxPyShape_p.");
581 wxPy_BEGIN_ALLOW_THREADS
;
582 wxDiagram_InsertShape(_arg0
,_arg1
);
584 wxPy_END_ALLOW_THREADS
;
585 } Py_INCREF(Py_None
);
586 _resultobj
= Py_None
;
590 #define wxDiagram_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
591 static PyObject
*_wrap_wxDiagram_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
596 PyObject
* _argo0
= 0;
597 PyObject
* _obj1
= 0;
598 char *_kwnames
[] = { "self","filename", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_LoadFile",_kwnames
,&_argo0
,&_obj1
))
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_LoadFile. Expected _wxDiagram_p.");
611 #if PYTHON_API_VERSION >= 1009
612 char* tmpPtr
; int tmpSize
;
613 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
614 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
617 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
619 _arg1
= new wxString(tmpPtr
, tmpSize
);
621 if (!PyString_Check(_obj1
)) {
622 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
625 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
629 wxPy_BEGIN_ALLOW_THREADS
;
630 _result
= (bool )wxDiagram_LoadFile(_arg0
,*_arg1
);
632 wxPy_END_ALLOW_THREADS
;
633 } _resultobj
= Py_BuildValue("i",_result
);
641 #define wxDiagram_ReadContainerGeometry(_swigobj,_swigarg0) (_swigobj->ReadContainerGeometry(_swigarg0))
642 static PyObject
*_wrap_wxDiagram_ReadContainerGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 PyObject
* _resultobj
;
645 wxExprDatabase
* _arg1
;
646 PyObject
* _argo0
= 0;
647 PyObject
* _argo1
= 0;
648 char *_kwnames
[] = { "self","database", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadContainerGeometry",_kwnames
,&_argo0
,&_argo1
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadContainerGeometry. Expected _wxDiagram_p.");
661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadContainerGeometry. Expected _wxExprDatabase_p.");
668 wxPy_BEGIN_ALLOW_THREADS
;
669 wxDiagram_ReadContainerGeometry(_arg0
,*_arg1
);
671 wxPy_END_ALLOW_THREADS
;
672 } Py_INCREF(Py_None
);
673 _resultobj
= Py_None
;
677 #define wxDiagram_ReadLines(_swigobj,_swigarg0) (_swigobj->ReadLines(_swigarg0))
678 static PyObject
*_wrap_wxDiagram_ReadLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
681 wxExprDatabase
* _arg1
;
682 PyObject
* _argo0
= 0;
683 PyObject
* _argo1
= 0;
684 char *_kwnames
[] = { "self","database", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadLines",_kwnames
,&_argo0
,&_argo1
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadLines. Expected _wxDiagram_p.");
697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadLines. Expected _wxExprDatabase_p.");
704 wxPy_BEGIN_ALLOW_THREADS
;
705 wxDiagram_ReadLines(_arg0
,*_arg1
);
707 wxPy_END_ALLOW_THREADS
;
708 } Py_INCREF(Py_None
);
709 _resultobj
= Py_None
;
713 #define wxDiagram_ReadNodes(_swigobj,_swigarg0) (_swigobj->ReadNodes(_swigarg0))
714 static PyObject
*_wrap_wxDiagram_ReadNodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
715 PyObject
* _resultobj
;
717 wxExprDatabase
* _arg1
;
718 PyObject
* _argo0
= 0;
719 PyObject
* _argo1
= 0;
720 char *_kwnames
[] = { "self","database", NULL
};
723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadNodes",_kwnames
,&_argo0
,&_argo1
))
726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadNodes. Expected _wxDiagram_p.");
733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadNodes. Expected _wxExprDatabase_p.");
740 wxPy_BEGIN_ALLOW_THREADS
;
741 wxDiagram_ReadNodes(_arg0
,*_arg1
);
743 wxPy_END_ALLOW_THREADS
;
744 } Py_INCREF(Py_None
);
745 _resultobj
= Py_None
;
749 #define wxDiagram_RecentreAll(_swigobj,_swigarg0) (_swigobj->RecentreAll(_swigarg0))
750 static PyObject
*_wrap_wxDiagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
751 PyObject
* _resultobj
;
754 PyObject
* _argo0
= 0;
755 PyObject
* _argo1
= 0;
756 char *_kwnames
[] = { "self","dc", NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_RecentreAll",_kwnames
,&_argo0
,&_argo1
))
762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RecentreAll. Expected _wxDiagram_p.");
769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_RecentreAll. Expected _wxDC_p.");
776 wxPy_BEGIN_ALLOW_THREADS
;
777 wxDiagram_RecentreAll(_arg0
,*_arg1
);
779 wxPy_END_ALLOW_THREADS
;
780 } Py_INCREF(Py_None
);
781 _resultobj
= Py_None
;
785 #define wxDiagram_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
786 static PyObject
*_wrap_wxDiagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
787 PyObject
* _resultobj
;
790 PyObject
* _argo0
= 0;
791 PyObject
* _argo1
= 0;
792 char *_kwnames
[] = { "self","dc", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_Redraw",_kwnames
,&_argo0
,&_argo1
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Redraw. Expected _wxDiagram_p.");
805 if (_argo1
== Py_None
) { _arg1
= NULL
; }
806 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Redraw. Expected _wxDC_p.");
812 wxPy_BEGIN_ALLOW_THREADS
;
813 wxDiagram_Redraw(_arg0
,*_arg1
);
815 wxPy_END_ALLOW_THREADS
;
816 } Py_INCREF(Py_None
);
817 _resultobj
= Py_None
;
821 #define wxDiagram_RemoveAllShapes(_swigobj) (_swigobj->RemoveAllShapes())
822 static PyObject
*_wrap_wxDiagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
825 PyObject
* _argo0
= 0;
826 char *_kwnames
[] = { "self", NULL
};
829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_RemoveAllShapes",_kwnames
,&_argo0
))
832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RemoveAllShapes. Expected _wxDiagram_p.");
839 wxPy_BEGIN_ALLOW_THREADS
;
840 wxDiagram_RemoveAllShapes(_arg0
);
842 wxPy_END_ALLOW_THREADS
;
843 } Py_INCREF(Py_None
);
844 _resultobj
= Py_None
;
848 #define wxDiagram_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
849 static PyObject
*_wrap_wxDiagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
850 PyObject
* _resultobj
;
853 PyObject
* _argo0
= 0;
854 PyObject
* _argo1
= 0;
855 char *_kwnames
[] = { "self","shape", NULL
};
858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RemoveShape. Expected _wxDiagram_p.");
868 if (_argo1
== Py_None
) { _arg1
= NULL
; }
869 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_RemoveShape. Expected _wxPyShape_p.");
875 wxPy_BEGIN_ALLOW_THREADS
;
876 wxDiagram_RemoveShape(_arg0
,_arg1
);
878 wxPy_END_ALLOW_THREADS
;
879 } Py_INCREF(Py_None
);
880 _resultobj
= Py_None
;
884 #define wxDiagram_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
885 static PyObject
*_wrap_wxDiagram_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
886 PyObject
* _resultobj
;
890 PyObject
* _argo0
= 0;
891 PyObject
* _obj1
= 0;
892 char *_kwnames
[] = { "self","filename", NULL
};
895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_SaveFile",_kwnames
,&_argo0
,&_obj1
))
898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SaveFile. Expected _wxDiagram_p.");
905 #if PYTHON_API_VERSION >= 1009
906 char* tmpPtr
; int tmpSize
;
907 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
908 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
911 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
913 _arg1
= new wxString(tmpPtr
, tmpSize
);
915 if (!PyString_Check(_obj1
)) {
916 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
919 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
923 wxPy_BEGIN_ALLOW_THREADS
;
924 _result
= (bool )wxDiagram_SaveFile(_arg0
,*_arg1
);
926 wxPy_END_ALLOW_THREADS
;
927 } _resultobj
= Py_BuildValue("i",_result
);
935 #define wxDiagram_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
936 static PyObject
*_wrap_wxDiagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
939 wxPyShapeCanvas
* _arg1
;
940 PyObject
* _argo0
= 0;
941 PyObject
* _argo1
= 0;
942 char *_kwnames
[] = { "self","canvas", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetCanvas. Expected _wxDiagram_p.");
955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_SetCanvas. Expected _wxPyShapeCanvas_p.");
962 wxPy_BEGIN_ALLOW_THREADS
;
963 wxDiagram_SetCanvas(_arg0
,_arg1
);
965 wxPy_END_ALLOW_THREADS
;
966 } Py_INCREF(Py_None
);
967 _resultobj
= Py_None
;
971 #define wxDiagram_SetGridSpacing(_swigobj,_swigarg0) (_swigobj->SetGridSpacing(_swigarg0))
972 static PyObject
*_wrap_wxDiagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* _resultobj
;
976 PyObject
* _argo0
= 0;
977 char *_kwnames
[] = { "self","spacing", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDiagram_SetGridSpacing",_kwnames
,&_argo0
,&_arg1
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetGridSpacing. Expected _wxDiagram_p.");
990 wxPy_BEGIN_ALLOW_THREADS
;
991 wxDiagram_SetGridSpacing(_arg0
,_arg1
);
993 wxPy_END_ALLOW_THREADS
;
994 } Py_INCREF(Py_None
);
995 _resultobj
= Py_None
;
999 #define wxDiagram_SetMouseTolerance(_swigobj,_swigarg0) (_swigobj->SetMouseTolerance(_swigarg0))
1000 static PyObject
*_wrap_wxDiagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1004 PyObject
* _argo0
= 0;
1005 char *_kwnames
[] = { "self","tolerance", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetMouseTolerance",_kwnames
,&_argo0
,&_arg1
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetMouseTolerance. Expected _wxDiagram_p.");
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 wxDiagram_SetMouseTolerance(_arg0
,_arg1
);
1021 wxPy_END_ALLOW_THREADS
;
1022 } Py_INCREF(Py_None
);
1023 _resultobj
= Py_None
;
1027 #define wxDiagram_SetQuickEditMode(_swigobj,_swigarg0) (_swigobj->SetQuickEditMode(_swigarg0))
1028 static PyObject
*_wrap_wxDiagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1032 PyObject
* _argo0
= 0;
1034 char *_kwnames
[] = { "self","mode", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetQuickEditMode",_kwnames
,&_argo0
,&tempbool1
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetQuickEditMode. Expected _wxDiagram_p.");
1046 _arg1
= (bool ) tempbool1
;
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 wxDiagram_SetQuickEditMode(_arg0
,_arg1
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } Py_INCREF(Py_None
);
1053 _resultobj
= Py_None
;
1057 #define wxDiagram_SetSnapToGrid(_swigobj,_swigarg0) (_swigobj->SetSnapToGrid(_swigarg0))
1058 static PyObject
*_wrap_wxDiagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1062 PyObject
* _argo0
= 0;
1064 char *_kwnames
[] = { "self","snap", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetSnapToGrid",_kwnames
,&_argo0
,&tempbool1
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetSnapToGrid. Expected _wxDiagram_p.");
1076 _arg1
= (bool ) tempbool1
;
1078 wxPy_BEGIN_ALLOW_THREADS
;
1079 wxDiagram_SetSnapToGrid(_arg0
,_arg1
);
1081 wxPy_END_ALLOW_THREADS
;
1082 } Py_INCREF(Py_None
);
1083 _resultobj
= Py_None
;
1087 #define wxDiagram_ShowAll(_swigobj,_swigarg0) (_swigobj->ShowAll(_swigarg0))
1088 static PyObject
*_wrap_wxDiagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
* _resultobj
;
1092 PyObject
* _argo0
= 0;
1094 char *_kwnames
[] = { "self","show", NULL
};
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_ShowAll",_kwnames
,&_argo0
,&tempbool1
))
1100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ShowAll. Expected _wxDiagram_p.");
1106 _arg1
= (bool ) tempbool1
;
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 wxDiagram_ShowAll(_arg0
,_arg1
);
1111 wxPy_END_ALLOW_THREADS
;
1112 } Py_INCREF(Py_None
);
1113 _resultobj
= Py_None
;
1117 #define wxDiagram_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1118 static PyObject
*_wrap_wxDiagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1125 PyObject
* _argo0
= 0;
1126 char *_kwnames
[] = { "self", NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_Snap",_kwnames
,&_argo0
))
1138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Snap. Expected _wxDiagram_p.");
1145 wxPy_BEGIN_ALLOW_THREADS
;
1146 wxDiagram_Snap(_arg0
,_arg1
,_arg2
);
1148 wxPy_END_ALLOW_THREADS
;
1149 } Py_INCREF(Py_None
);
1150 _resultobj
= Py_None
;
1153 o
= PyFloat_FromDouble((double) (*_arg1
));
1154 _resultobj
= t_output_helper(_resultobj
, o
);
1158 o
= PyFloat_FromDouble((double) (*_arg2
));
1159 _resultobj
= t_output_helper(_resultobj
, o
);
1164 static void *SwigwxPyShapeCanvasTowxScrolledWindow(void *ptr
) {
1165 wxPyShapeCanvas
*src
;
1166 wxScrolledWindow
*dest
;
1167 src
= (wxPyShapeCanvas
*) ptr
;
1168 dest
= (wxScrolledWindow
*) src
;
1169 return (void *) dest
;
1172 static void *SwigwxPyShapeCanvasTowxPanel(void *ptr
) {
1173 wxPyShapeCanvas
*src
;
1175 src
= (wxPyShapeCanvas
*) ptr
;
1176 dest
= (wxPanel
*) src
;
1177 return (void *) dest
;
1180 static void *SwigwxPyShapeCanvasTowxWindow(void *ptr
) {
1181 wxPyShapeCanvas
*src
;
1183 src
= (wxPyShapeCanvas
*) ptr
;
1184 dest
= (wxWindow
*) src
;
1185 return (void *) dest
;
1188 static void *SwigwxPyShapeCanvasTowxEvtHandler(void *ptr
) {
1189 wxPyShapeCanvas
*src
;
1191 src
= (wxPyShapeCanvas
*) ptr
;
1192 dest
= (wxEvtHandler
*) src
;
1193 return (void *) dest
;
1196 #define new_wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1197 static PyObject
*_wrap_new_wxPyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1199 wxPyShapeCanvas
* _result
;
1200 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1201 wxWindowID _arg1
= (wxWindowID
) -1;
1202 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1203 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1204 long _arg4
= (long ) wxBORDER
;
1205 PyObject
* _argo0
= 0;
1207 PyObject
* _obj2
= 0;
1209 PyObject
* _obj3
= 0;
1210 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOl:new_wxPyShapeCanvas",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeCanvas. Expected _wxWindow_p.");
1226 if (! wxPoint_helper(_obj2
, &_arg2
))
1232 if (! wxSize_helper(_obj3
, &_arg3
))
1236 wxPy_BEGIN_ALLOW_THREADS
;
1237 _result
= (wxPyShapeCanvas
*)new_wxPyShapeCanvas(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1239 wxPy_END_ALLOW_THREADS
;
1241 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
1242 _resultobj
= Py_BuildValue("s",_ptemp
);
1245 _resultobj
= Py_None
;
1250 #define wxPyShapeCanvas__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1251 static PyObject
*_wrap_wxPyShapeCanvas__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
* _resultobj
;
1253 wxPyShapeCanvas
* _arg0
;
1256 PyObject
* _argo0
= 0;
1257 PyObject
* _obj1
= 0;
1258 PyObject
* _obj2
= 0;
1259 char *_kwnames
[] = { "self","self","_class", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeCanvas__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas__setSelf. Expected _wxPyShapeCanvas_p.");
1278 wxPy_BEGIN_ALLOW_THREADS
;
1279 wxPyShapeCanvas__setSelf(_arg0
,_arg1
,_arg2
);
1281 wxPy_END_ALLOW_THREADS
;
1282 } Py_INCREF(Py_None
);
1283 _resultobj
= Py_None
;
1287 #define wxPyShapeCanvas_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
1288 static PyObject
*_wrap_wxPyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1290 wxPyShapeCanvas
* _arg0
;
1292 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
1293 PyObject
* _argo0
= 0;
1294 PyObject
* _argo1
= 0;
1295 PyObject
* _argo2
= 0;
1296 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShapeCanvas_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_AddShape. Expected _wxPyShapeCanvas_p.");
1309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1316 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1323 wxPy_BEGIN_ALLOW_THREADS
;
1324 wxPyShapeCanvas_AddShape(_arg0
,_arg1
,_arg2
);
1326 wxPy_END_ALLOW_THREADS
;
1327 } Py_INCREF(Py_None
);
1328 _resultobj
= Py_None
;
1332 #define wxPyShapeCanvas_FindShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1333 static PyObject
*_wrap_wxPyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
* _resultobj
;
1335 wxPyShape
* _result
;
1336 wxPyShapeCanvas
* _arg0
;
1341 wxClassInfo
* _arg4
= (wxClassInfo
*) NULL
;
1342 wxPyShape
* _arg5
= (wxPyShape
*) NULL
;
1343 PyObject
* _argo0
= 0;
1344 PyObject
* _argo4
= 0;
1345 PyObject
* _argo5
= 0;
1346 char *_kwnames
[] = { "self","x1","y","info","notImage", NULL
};
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|OO:wxPyShapeCanvas_FindShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo4
,&_argo5
))
1356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindShape. Expected _wxPyShapeCanvas_p.");
1363 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1364 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxClassInfo_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPyShapeCanvas_FindShape. Expected _wxClassInfo_p.");
1370 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1371 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyShape_p")) {
1372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShapeCanvas_FindShape. Expected _wxPyShape_p.");
1377 wxPy_BEGIN_ALLOW_THREADS
;
1378 _result
= (wxPyShape
*)wxPyShapeCanvas_FindShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1380 wxPy_END_ALLOW_THREADS
;
1382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1383 _resultobj
= Py_BuildValue("s",_ptemp
);
1386 _resultobj
= Py_None
;
1390 o
= PyInt_FromLong((long) (*_arg3
));
1391 _resultobj
= t_output_helper(_resultobj
, o
);
1396 #define wxPyShapeCanvas_FindFirstSensitiveShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindFirstSensitiveShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1397 static PyObject
*_wrap_wxPyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1399 wxPyShape
* _result
;
1400 wxPyShapeCanvas
* _arg0
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self","x1","y","op", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddi:wxPyShapeCanvas_FindFirstSensitiveShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg4
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindFirstSensitiveShape. Expected _wxPyShapeCanvas_p.");
1424 wxPy_BEGIN_ALLOW_THREADS
;
1425 _result
= (wxPyShape
*)wxPyShapeCanvas_FindFirstSensitiveShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1427 wxPy_END_ALLOW_THREADS
;
1429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1430 _resultobj
= Py_BuildValue("s",_ptemp
);
1433 _resultobj
= Py_None
;
1437 o
= PyInt_FromLong((long) (*_arg3
));
1438 _resultobj
= t_output_helper(_resultobj
, o
);
1443 #define wxPyShapeCanvas_GetDiagram(_swigobj) (_swigobj->GetDiagram())
1444 static PyObject
*_wrap_wxPyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1446 wxDiagram
* _result
;
1447 wxPyShapeCanvas
* _arg0
;
1448 PyObject
* _argo0
= 0;
1449 char *_kwnames
[] = { "self", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetDiagram",_kwnames
,&_argo0
))
1456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetDiagram. Expected _wxPyShapeCanvas_p.");
1463 wxPy_BEGIN_ALLOW_THREADS
;
1464 _result
= (wxDiagram
*)wxPyShapeCanvas_GetDiagram(_arg0
);
1466 wxPy_END_ALLOW_THREADS
;
1468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDiagram_p");
1469 _resultobj
= Py_BuildValue("s",_ptemp
);
1472 _resultobj
= Py_None
;
1477 #define wxPyShapeCanvas_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
1478 static PyObject
*_wrap_wxPyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1481 wxPyShapeCanvas
* _arg0
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetQuickEditMode",_kwnames
,&_argo0
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetQuickEditMode. Expected _wxPyShapeCanvas_p.");
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 _result
= (bool )wxPyShapeCanvas_GetQuickEditMode(_arg0
);
1499 wxPy_END_ALLOW_THREADS
;
1500 } _resultobj
= Py_BuildValue("i",_result
);
1504 #define wxPyShapeCanvas_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
1505 static PyObject
*_wrap_wxPyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1507 wxPyShapeCanvas
* _arg0
;
1509 PyObject
* _argo0
= 0;
1510 PyObject
* _argo1
= 0;
1511 char *_kwnames
[] = { "self","shape", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_InsertShape",_kwnames
,&_argo0
,&_argo1
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_InsertShape. Expected _wxPyShapeCanvas_p.");
1524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_InsertShape. Expected _wxPyShape_p.");
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 wxPyShapeCanvas_InsertShape(_arg0
,_arg1
);
1534 wxPy_END_ALLOW_THREADS
;
1535 } Py_INCREF(Py_None
);
1536 _resultobj
= Py_None
;
1540 #define wxPyShapeCanvas_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2))
1541 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1543 wxPyShapeCanvas
* _arg0
;
1546 int _arg3
= (int ) 0;
1547 PyObject
* _argo0
= 0;
1548 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragLeft. Expected _wxPyShapeCanvas_p.");
1561 wxPy_BEGIN_ALLOW_THREADS
;
1562 wxPyShapeCanvas_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1564 wxPy_END_ALLOW_THREADS
;
1565 } Py_INCREF(Py_None
);
1566 _resultobj
= Py_None
;
1570 #define wxPyShapeCanvas_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2))
1571 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1573 wxPyShapeCanvas
* _arg0
;
1576 int _arg3
= (int ) 0;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragRight. Expected _wxPyShapeCanvas_p.");
1591 wxPy_BEGIN_ALLOW_THREADS
;
1592 wxPyShapeCanvas_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1594 wxPy_END_ALLOW_THREADS
;
1595 } Py_INCREF(Py_None
);
1596 _resultobj
= Py_None
;
1600 #define wxPyShapeCanvas_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2))
1601 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1603 wxPyShapeCanvas
* _arg0
;
1606 int _arg3
= (int ) 0;
1607 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragLeft. Expected _wxPyShapeCanvas_p.");
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 wxPyShapeCanvas_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1624 wxPy_END_ALLOW_THREADS
;
1625 } Py_INCREF(Py_None
);
1626 _resultobj
= Py_None
;
1630 #define wxPyShapeCanvas_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2))
1631 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1633 wxPyShapeCanvas
* _arg0
;
1636 int _arg3
= (int ) 0;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragRight. Expected _wxPyShapeCanvas_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 wxPyShapeCanvas_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1654 wxPy_END_ALLOW_THREADS
;
1655 } Py_INCREF(Py_None
);
1656 _resultobj
= Py_None
;
1660 #define wxPyShapeCanvas_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1661 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1663 wxPyShapeCanvas
* _arg0
;
1667 int _arg4
= (int ) 0;
1668 PyObject
* _argo0
= 0;
1670 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragLeft. Expected _wxPyShapeCanvas_p.");
1682 _arg1
= (bool ) tempbool1
;
1684 wxPy_BEGIN_ALLOW_THREADS
;
1685 wxPyShapeCanvas_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1687 wxPy_END_ALLOW_THREADS
;
1688 } Py_INCREF(Py_None
);
1689 _resultobj
= Py_None
;
1693 #define wxPyShapeCanvas_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1694 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1696 wxPyShapeCanvas
* _arg0
;
1700 int _arg4
= (int ) 0;
1701 PyObject
* _argo0
= 0;
1703 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragRight. Expected _wxPyShapeCanvas_p.");
1715 _arg1
= (bool ) tempbool1
;
1717 wxPy_BEGIN_ALLOW_THREADS
;
1718 wxPyShapeCanvas_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1720 wxPy_END_ALLOW_THREADS
;
1721 } Py_INCREF(Py_None
);
1722 _resultobj
= Py_None
;
1726 #define wxPyShapeCanvas_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2))
1727 static PyObject
*_wrap_wxPyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
* _resultobj
;
1729 wxPyShapeCanvas
* _arg0
;
1732 int _arg3
= (int ) 0;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnLeftClick. Expected _wxPyShapeCanvas_p.");
1747 wxPy_BEGIN_ALLOW_THREADS
;
1748 wxPyShapeCanvas_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
);
1750 wxPy_END_ALLOW_THREADS
;
1751 } Py_INCREF(Py_None
);
1752 _resultobj
= Py_None
;
1756 #define wxPyShapeCanvas_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2))
1757 static PyObject
*_wrap_wxPyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1759 wxPyShapeCanvas
* _arg0
;
1762 int _arg3
= (int ) 0;
1763 PyObject
* _argo0
= 0;
1764 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnRightClick. Expected _wxPyShapeCanvas_p.");
1777 wxPy_BEGIN_ALLOW_THREADS
;
1778 wxPyShapeCanvas_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
);
1780 wxPy_END_ALLOW_THREADS
;
1781 } Py_INCREF(Py_None
);
1782 _resultobj
= Py_None
;
1786 #define wxPyShapeCanvas_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
1787 static PyObject
*_wrap_wxPyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1789 wxPyShapeCanvas
* _arg0
;
1791 PyObject
* _argo0
= 0;
1792 PyObject
* _argo1
= 0;
1793 char *_kwnames
[] = { "self","dc", NULL
};
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_Redraw",_kwnames
,&_argo0
,&_argo1
))
1799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Redraw. Expected _wxPyShapeCanvas_p.");
1806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_Redraw. Expected _wxDC_p.");
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 wxPyShapeCanvas_Redraw(_arg0
,*_arg1
);
1816 wxPy_END_ALLOW_THREADS
;
1817 } Py_INCREF(Py_None
);
1818 _resultobj
= Py_None
;
1822 #define wxPyShapeCanvas_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
1823 static PyObject
*_wrap_wxPyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1825 wxPyShapeCanvas
* _arg0
;
1827 PyObject
* _argo0
= 0;
1828 PyObject
* _argo1
= 0;
1829 char *_kwnames
[] = { "self","shape", NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
1835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShapeCanvas_p.");
1842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShape_p.");
1849 wxPy_BEGIN_ALLOW_THREADS
;
1850 wxPyShapeCanvas_RemoveShape(_arg0
,_arg1
);
1852 wxPy_END_ALLOW_THREADS
;
1853 } Py_INCREF(Py_None
);
1854 _resultobj
= Py_None
;
1858 #define wxPyShapeCanvas_SetDiagram(_swigobj,_swigarg0) (_swigobj->SetDiagram(_swigarg0))
1859 static PyObject
*_wrap_wxPyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1861 wxPyShapeCanvas
* _arg0
;
1863 PyObject
* _argo0
= 0;
1864 PyObject
* _argo1
= 0;
1865 char *_kwnames
[] = { "self","diagram", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_SetDiagram",_kwnames
,&_argo0
,&_argo1
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_SetDiagram. Expected _wxPyShapeCanvas_p.");
1878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDiagram_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_SetDiagram. Expected _wxDiagram_p.");
1885 wxPy_BEGIN_ALLOW_THREADS
;
1886 wxPyShapeCanvas_SetDiagram(_arg0
,_arg1
);
1888 wxPy_END_ALLOW_THREADS
;
1889 } Py_INCREF(Py_None
);
1890 _resultobj
= Py_None
;
1894 #define wxPyShapeCanvas_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1895 static PyObject
*_wrap_wxPyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
* _resultobj
;
1897 wxPyShapeCanvas
* _arg0
;
1902 PyObject
* _argo0
= 0;
1903 char *_kwnames
[] = { "self", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_Snap",_kwnames
,&_argo0
))
1915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Snap. Expected _wxPyShapeCanvas_p.");
1922 wxPy_BEGIN_ALLOW_THREADS
;
1923 wxPyShapeCanvas_Snap(_arg0
,_arg1
,_arg2
);
1925 wxPy_END_ALLOW_THREADS
;
1926 } Py_INCREF(Py_None
);
1927 _resultobj
= Py_None
;
1930 o
= PyFloat_FromDouble((double) (*_arg1
));
1931 _resultobj
= t_output_helper(_resultobj
, o
);
1935 o
= PyFloat_FromDouble((double) (*_arg2
));
1936 _resultobj
= t_output_helper(_resultobj
, o
);
1941 static PyMethodDef oglcanvascMethods
[] = {
1942 { "wxPyShapeCanvas_Snap", (PyCFunction
) _wrap_wxPyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1943 { "wxPyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1944 { "wxPyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1945 { "wxPyShapeCanvas_Redraw", (PyCFunction
) _wrap_wxPyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1946 { "wxPyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
1947 { "wxPyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
1948 { "wxPyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1949 { "wxPyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1950 { "wxPyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1951 { "wxPyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1952 { "wxPyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1953 { "wxPyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1954 { "wxPyShapeCanvas_InsertShape", (PyCFunction
) _wrap_wxPyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1955 { "wxPyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_wxPyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1956 { "wxPyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1957 { "wxPyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
1958 { "wxPyShapeCanvas_FindShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1959 { "wxPyShapeCanvas_AddShape", (PyCFunction
) _wrap_wxPyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1960 { "wxPyShapeCanvas__setSelf", (PyCFunction
) _wrap_wxPyShapeCanvas__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
1961 { "new_wxPyShapeCanvas", (PyCFunction
) _wrap_new_wxPyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1962 { "wxDiagram_Snap", (PyCFunction
) _wrap_wxDiagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1963 { "wxDiagram_ShowAll", (PyCFunction
) _wrap_wxDiagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
1964 { "wxDiagram_SetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1965 { "wxDiagram_SetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1966 { "wxDiagram_SetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1967 { "wxDiagram_SetGridSpacing", (PyCFunction
) _wrap_wxDiagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1968 { "wxDiagram_SetCanvas", (PyCFunction
) _wrap_wxDiagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1969 { "wxDiagram_SaveFile", (PyCFunction
) _wrap_wxDiagram_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
1970 { "wxDiagram_RemoveShape", (PyCFunction
) _wrap_wxDiagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1971 { "wxDiagram_RemoveAllShapes", (PyCFunction
) _wrap_wxDiagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1972 { "wxDiagram_Redraw", (PyCFunction
) _wrap_wxDiagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1973 { "wxDiagram_RecentreAll", (PyCFunction
) _wrap_wxDiagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
1974 { "wxDiagram_ReadNodes", (PyCFunction
) _wrap_wxDiagram_ReadNodes
, METH_VARARGS
| METH_KEYWORDS
},
1975 { "wxDiagram_ReadLines", (PyCFunction
) _wrap_wxDiagram_ReadLines
, METH_VARARGS
| METH_KEYWORDS
},
1976 { "wxDiagram_ReadContainerGeometry", (PyCFunction
) _wrap_wxDiagram_ReadContainerGeometry
, METH_VARARGS
| METH_KEYWORDS
},
1977 { "wxDiagram_LoadFile", (PyCFunction
) _wrap_wxDiagram_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
1978 { "wxDiagram_InsertShape", (PyCFunction
) _wrap_wxDiagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1979 { "wxDiagram_GetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1980 { "wxDiagram_GetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1981 { "wxDiagram_GetShapeList", (PyCFunction
) _wrap_wxDiagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
1982 { "wxDiagram_GetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1983 { "wxDiagram_GetGridSpacing", (PyCFunction
) _wrap_wxDiagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1984 { "wxDiagram_GetCount", (PyCFunction
) _wrap_wxDiagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
1985 { "wxDiagram_GetCanvas", (PyCFunction
) _wrap_wxDiagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1986 { "wxDiagram_FindShape", (PyCFunction
) _wrap_wxDiagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1987 { "wxDiagram_DrawOutline", (PyCFunction
) _wrap_wxDiagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
1988 { "wxDiagram_DeleteAllShapes", (PyCFunction
) _wrap_wxDiagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1989 { "wxDiagram_Clear", (PyCFunction
) _wrap_wxDiagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
1990 { "wxDiagram_AddShape", (PyCFunction
) _wrap_wxDiagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1991 { "delete_wxDiagram", (PyCFunction
) _wrap_delete_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1992 { "new_wxDiagram", (PyCFunction
) _wrap_new_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1999 * This table is used by the pointer type-checker
2001 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2002 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2003 { "_wxEvent","_class_wxEvent",0},
2004 { "_class_wxActivateEvent","_wxActivateEvent",0},
2005 { "_signed_long","_long",0},
2006 { "_wxMenuEvent","_class_wxMenuEvent",0},
2007 { "_class_wxProcessEvent","_wxProcessEvent",0},
2008 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
2009 { "_class_wxFSFile","_wxFSFile",0},
2010 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2011 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2012 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2013 { "_wxBMPHandler","_class_wxBMPHandler",0},
2014 { "_wxImage","_class_wxImage",0},
2015 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
2016 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
2017 { "_class_wxDateTime","_wxDateTime",0},
2018 { "_wxPrintQuality","_wxCoord",0},
2019 { "_wxPrintQuality","_int",0},
2020 { "_wxPrintQuality","_signed_int",0},
2021 { "_wxPrintQuality","_unsigned_int",0},
2022 { "_wxPrintQuality","_wxWindowID",0},
2023 { "_wxPrintQuality","_uint",0},
2024 { "_wxPrintQuality","_EBool",0},
2025 { "_wxPrintQuality","_size_t",0},
2026 { "_wxPrintQuality","_time_t",0},
2027 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2028 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2029 { "_wxFontData","_class_wxFontData",0},
2030 { "_class_wxRegionIterator","_wxRegionIterator",0},
2031 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2032 { "_class_wxMenuBar","_wxMenuBar",0},
2033 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
2034 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
2035 { "_class_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2036 { "_class_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2037 { "_class_wxEvtHandler","_wxEvtHandler",0},
2038 { "_wxPaintEvent","_class_wxPaintEvent",0},
2039 { "_wxGIFHandler","_class_wxGIFHandler",0},
2040 { "_wxPySizer","_class_wxPySizer",0},
2041 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
2042 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2043 { "_wxCursor","_class_wxCursor",0},
2044 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2045 { "_wxPyProcess","_class_wxPyProcess",0},
2046 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
2047 { "_wxImageHandler","_class_wxImageHandler",0},
2048 { "_wxLog","_class_wxLog",0},
2049 { "_class_wxToolBarBase","_wxToolBarBase",0},
2050 { "_wxMask","_class_wxMask",0},
2051 { "_wxToolTip","_class_wxToolTip",0},
2052 { "_wxPNGHandler","_class_wxPNGHandler",0},
2053 { "_class_wxColourData","_wxColourData",0},
2054 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
2055 { "_wxPrinter","_class_wxPrinter",0},
2056 { "_wxPen","_class_wxPen",0},
2057 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2058 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
2059 { "_byte","_unsigned_char",0},
2060 { "_wxDataObject","_class_wxDataObject",0},
2061 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
2062 { "_wxStaticBox","_class_wxStaticBox",0},
2063 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2064 { "_wxPyDropSource","_class_wxPyDropSource",0},
2065 { "_wxChoice","_class_wxChoice",0},
2066 { "_wxSlider","_class_wxSlider",0},
2067 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
2068 { "_wxPyPrintout","_class_wxPyPrintout",0},
2069 { "_wxShapeRegion","_class_wxShapeRegion",0},
2070 { "_long","_unsigned_long",0},
2071 { "_long","_signed_long",0},
2072 { "_wxImageList","_class_wxImageList",0},
2073 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2074 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2075 { "_wxBitmapButton","_class_wxBitmapButton",0},
2076 { "_wxSashWindow","_class_wxSashWindow",0},
2077 { "_class_wxSizer","_wxSizer",0},
2078 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
2079 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
2080 { "_wxGridSizer","_class_wxGridSizer",0},
2081 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2082 { "_class_wxClipboard","_wxClipboard",0},
2083 { "_class_wxGauge","_wxGauge",0},
2084 { "_class_wxSashEvent","_wxSashEvent",0},
2085 { "_wxDC","_class_wxDC",0},
2086 { "_wxSizerItem","_class_wxSizerItem",0},
2087 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2088 { "_wxListEvent","_class_wxListEvent",0},
2089 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
2090 { "_wxProgressDialog","_class_wxProgressDialog",0},
2091 { "_class_wxBMPHandler","_wxBMPHandler",0},
2092 { "_wxPrintPreview","_class_wxPrintPreview",0},
2093 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
2094 { "_wxSpinEvent","_class_wxSpinEvent",0},
2095 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
2096 { "_size_t","_wxCoord",0},
2097 { "_size_t","_wxPrintQuality",0},
2098 { "_size_t","_time_t",0},
2099 { "_size_t","_unsigned_int",0},
2100 { "_size_t","_int",0},
2101 { "_size_t","_wxWindowID",0},
2102 { "_size_t","_uint",0},
2103 { "_class_wxRealPoint","_wxRealPoint",0},
2104 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2105 { "_wxPNMHandler","_class_wxPNMHandler",0},
2106 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2107 { "_wxLogGui","_class_wxLogGui",0},
2108 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
2109 { "_class_wxMenuItem","_wxMenuItem",0},
2110 { "_class_wxPaintEvent","_wxPaintEvent",0},
2111 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2112 { "_class_wxStatusBar","_wxStatusBar",0},
2113 { "_class_wxGIFHandler","_wxGIFHandler",0},
2114 { "_class_wxPySizer","_wxPySizer",0},
2115 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2116 { "_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2117 { "_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2118 { "_wxPanel","_class_wxPanel",0},
2119 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2120 { "_wxCheckBox","_class_wxCheckBox",0},
2121 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
2122 { "_wxPyEvent","_class_wxPyEvent",0},
2123 { "_wxTextCtrl","_class_wxTextCtrl",0},
2124 { "_class_wxMask","_wxMask",0},
2125 { "_wxTextDataObject","_class_wxTextDataObject",0},
2126 { "_class_wxKeyEvent","_wxKeyEvent",0},
2127 { "_class_wxToolTip","_wxToolTip",0},
2128 { "_class_wxPNGHandler","_wxPNGHandler",0},
2129 { "_wxFileConfig","_class_wxFileConfig",0},
2130 { "_wxColour","_class_wxColour",0},
2131 { "_class_wxDialog","_wxDialog",0},
2132 { "_wxBusyCursor","_class_wxBusyCursor",0},
2133 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
2134 { "_class_wxPrinter","_wxPrinter",0},
2135 { "_class_wxFileDataObject","_wxFileDataObject",0},
2136 { "_wxIdleEvent","_class_wxIdleEvent",0},
2137 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2138 { "_wxToolBar","_class_wxToolBar",0},
2139 { "_class_wxDataObject","_wxDataObject",0},
2140 { "_wxCaret","_class_wxCaret",0},
2141 { "_wxStaticLine","_class_wxStaticLine",0},
2142 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
2143 { "_wxBrush","_class_wxBrush",0},
2144 { "_wxMiniFrame","_class_wxMiniFrame",0},
2145 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
2146 { "_class_wxPyPrintout","_wxPyPrintout",0},
2147 { "_wxDataFormat","_class_wxDataFormat",0},
2148 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2149 { "_class_wxSashWindow","_wxSashWindow",0},
2150 { "_wxShowEvent","_class_wxShowEvent",0},
2151 { "_uint","_wxCoord",0},
2152 { "_uint","_wxPrintQuality",0},
2153 { "_uint","_time_t",0},
2154 { "_uint","_size_t",0},
2155 { "_uint","_unsigned_int",0},
2156 { "_uint","_int",0},
2157 { "_uint","_wxWindowID",0},
2158 { "_wxChar","_char",0},
2159 { "_wxPyValidator","_class_wxPyValidator",0},
2160 { "_class_wxEvent","_wxEvent",0},
2161 { "_wxCheckListBox","_class_wxCheckListBox",0},
2162 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
2163 { "_wxRect","_class_wxRect",0},
2164 { "_wxCommandEvent","_class_wxCommandEvent",0},
2165 { "_wxPyShapeCanvas","_class_wxPyShapeCanvas",0},
2166 { "_wxSizeEvent","_class_wxSizeEvent",0},
2167 { "_class_wxLogWindow","_wxLogWindow",0},
2168 { "_class_wxImage","_wxImage",0},
2169 { "_wxPoint","_class_wxPoint",0},
2170 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
2171 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
2172 { "_class_wxButton","_wxButton",0},
2173 { "_wxRadioBox","_class_wxRadioBox",0},
2174 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2175 { "_class_wxFontData","_wxFontData",0},
2176 { "_class_wxPNMHandler","_wxPNMHandler",0},
2177 { "_wxBoxSizer","_class_wxBoxSizer",0},
2178 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
2179 { "_char","_wxChar",0},
2180 { "_wxBitmap","_class_wxBitmap",0},
2181 { "_wxPrintDialog","_class_wxPrintDialog",0},
2182 { "_wxWindowDC","_class_wxWindowDC",0},
2183 { "_wxTimerEvent","_class_wxTimerEvent",0},
2184 { "_wxPyTimer","_class_wxPyTimer",0},
2185 { "_wxScrollBar","_class_wxScrollBar",0},
2186 { "_wxSpinButton","_class_wxSpinButton",0},
2187 { "_wxColourDialog","_class_wxColourDialog",0},
2188 { "_wxPrintData","_class_wxPrintData",0},
2189 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
2190 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2191 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2192 { "_wxMessageDialog","_class_wxMessageDialog",0},
2193 { "_class_wxValidator","_wxValidator",0},
2194 { "_class_wxPyEvent","_wxPyEvent",0},
2195 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
2196 { "_wxConfig","_class_wxConfig",0},
2197 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2198 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2199 { "_class_wxFileConfig","_wxFileConfig",0},
2200 { "_class_wxBusyCursor","_wxBusyCursor",0},
2201 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
2202 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
2203 { "_wxListItem","_class_wxListItem",0},
2204 { "_class_wxToolBar","_wxToolBar",0},
2205 { "_wxDropTarget","_class_wxDropTarget",0},
2206 { "_class_wxStaticLine","_wxStaticLine",0},
2207 { "_wxScrollEvent","_class_wxScrollEvent",0},
2208 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
2209 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
2210 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
2211 { "_class_wxShapeRegion","_wxShapeRegion",0},
2212 { "_EBool","_wxCoord",0},
2213 { "_EBool","_wxPrintQuality",0},
2214 { "_EBool","_signed_int",0},
2215 { "_EBool","_int",0},
2216 { "_EBool","_wxWindowID",0},
2217 { "_class_wxRegion","_wxRegion",0},
2218 { "_class_wxDataFormat","_wxDataFormat",0},
2219 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2220 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2221 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
2222 { "_wxStaticText","_class_wxStaticText",0},
2223 { "_wxFont","_class_wxFont",0},
2224 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2225 { "_wxCloseEvent","_class_wxCloseEvent",0},
2226 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
2227 { "_wxProcessEvent","_class_wxProcessEvent",0},
2228 { "_wxNotebook","_class_wxNotebook",0},
2229 { "_wxFSFile","_class_wxFSFile",0},
2230 { "_unsigned_long","_long",0},
2231 { "_class_wxRect","_wxRect",0},
2232 { "_class_wxDC","_wxDC",0},
2233 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2234 { "_class_wxPyShapeCanvas","_wxPyShapeCanvas",0},
2235 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
2236 { "_class_wxProgressDialog","_wxProgressDialog",0},
2237 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2238 { "_wxPyInputStream","_class_wxPyInputStream",0},
2239 { "_wxPyApp","_class_wxPyApp",0},
2240 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2241 { "_class_wxOutputStream","_wxOutputStream",0},
2242 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
2243 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
2244 { "_class_wxTreeEvent","_wxTreeEvent",0},
2245 { "_class_wxDirDialog","_wxDirDialog",0},
2246 { "_wxTimeSpan","_class_wxTimeSpan",0},
2247 { "_wxFocusEvent","_class_wxFocusEvent",0},
2248 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2249 { "_class_wxTimerEvent","_wxTimerEvent",0},
2250 { "_class_wxPyTimer","_wxPyTimer",0},
2251 { "_class_wxSpinButton","_wxSpinButton",0},
2252 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2253 { "_class_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2254 { "_class_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2255 { "_class_wxPanel","_wxPanel",0},
2256 { "_class_wxCheckBox","_wxCheckBox",0},
2257 { "_wxComboBox","_class_wxComboBox",0},
2258 { "_wxRadioButton","_class_wxRadioButton",0},
2259 { "_class_wxMessageDialog","_wxMessageDialog",0},
2260 { "_signed_int","_wxCoord",0},
2261 { "_signed_int","_wxPrintQuality",0},
2262 { "_signed_int","_EBool",0},
2263 { "_signed_int","_wxWindowID",0},
2264 { "_signed_int","_int",0},
2265 { "_class_wxTextCtrl","_wxTextCtrl",0},
2266 { "_class_wxListItemAttr","_wxListItemAttr",0},
2267 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2268 { "_class_wxTextDataObject","_wxTextDataObject",0},
2269 { "_wxMenu","_class_wxMenu",0},
2270 { "_class_wxMoveEvent","_wxMoveEvent",0},
2271 { "_wxListBox","_class_wxListBox",0},
2272 { "_wxScreenDC","_class_wxScreenDC",0},
2273 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
2274 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
2275 { "_WXTYPE","_wxDateTime_t",0},
2276 { "_WXTYPE","_short",0},
2277 { "_WXTYPE","_signed_short",0},
2278 { "_WXTYPE","_unsigned_short",0},
2279 { "_wxFileDialog","_class_wxFileDialog",0},
2280 { "_class_wxDropTarget","_wxDropTarget",0},
2281 { "_class_wxCaret","_wxCaret",0},
2282 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
2283 { "_class_wxBrush","_wxBrush",0},
2284 { "_wxTipProvider","_class_wxTipProvider",0},
2285 { "_unsigned_short","_wxDateTime_t",0},
2286 { "_unsigned_short","_WXTYPE",0},
2287 { "_unsigned_short","_short",0},
2288 { "_class_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2289 { "_class_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2290 { "_class_wxWindow","_wxWindow",0},
2291 { "_class_wxLogStderr","_wxLogStderr",0},
2292 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
2293 { "_wxDateSpan","_class_wxDateSpan",0},
2294 { "_class_wxStaticText","_wxStaticText",0},
2295 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
2296 { "_class_wxFont","_wxFont",0},
2297 { "_wxClipboard","_class_wxClipboard",0},
2298 { "_class_wxPyValidator","_wxPyValidator",0},
2299 { "_class_wxCloseEvent","_wxCloseEvent",0},
2300 { "_wxSashEvent","_class_wxSashEvent",0},
2301 { "_wxBusyInfo","_class_wxBusyInfo",0},
2302 { "_class_wxMenuEvent","_wxMenuEvent",0},
2303 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2304 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2305 { "_wxClientDC","_class_wxClientDC",0},
2306 { "_wxMouseEvent","_class_wxMouseEvent",0},
2307 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
2308 { "_wxListCtrl","_class_wxListCtrl",0},
2309 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
2310 { "_class_wxPoint","_wxPoint",0},
2311 { "_class_wxPyInputStream","_wxPyInputStream",0},
2312 { "_wxRealPoint","_class_wxRealPoint",0},
2313 { "_class_wxRadioBox","_wxRadioBox",0},
2314 { "_class_wxBoxSizer","_wxBoxSizer",0},
2315 { "_signed_short","_WXTYPE",0},
2316 { "_signed_short","_short",0},
2317 { "_wxMemoryDC","_class_wxMemoryDC",0},
2318 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2319 { "_class_wxPrintDialog","_wxPrintDialog",0},
2320 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
2321 { "_wxPaintDC","_class_wxPaintDC",0},
2322 { "_class_wxWindowDC","_wxWindowDC",0},
2323 { "_class_wxFocusEvent","_wxFocusEvent",0},
2324 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2325 { "_wxStatusBar","_class_wxStatusBar",0},
2326 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2327 { "_class_wxCursor","_wxCursor",0},
2328 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2329 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2330 { "_class_wxPyProcess","_wxPyProcess",0},
2331 { "_class_wxImageHandler","_wxImageHandler",0},
2332 { "_wxPyShape","_class_wxPyShape",0},
2333 { "_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2334 { "_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2335 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2336 { "_class_wxLog","_wxLog",0},
2337 { "_wxTreeItemId","_class_wxTreeItemId",0},
2338 { "_unsigned_char","_byte",0},
2339 { "_class_wxMenu","_wxMenu",0},
2340 { "_wxControl","_class_wxControl",0},
2341 { "_class_wxListBox","_wxListBox",0},
2342 { "_unsigned_int","_wxCoord",0},
2343 { "_unsigned_int","_wxPrintQuality",0},
2344 { "_unsigned_int","_time_t",0},
2345 { "_unsigned_int","_size_t",0},
2346 { "_unsigned_int","_uint",0},
2347 { "_unsigned_int","_wxWindowID",0},
2348 { "_unsigned_int","_int",0},
2349 { "_wxIcon","_class_wxIcon",0},
2350 { "_wxDialog","_class_wxDialog",0},
2351 { "_class_wxListItem","_wxListItem",0},
2352 { "_class_wxPen","_wxPen",0},
2353 { "_class_wxFileDialog","_wxFileDialog",0},
2354 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
2355 { "_wxConfigBase","_class_wxConfigBase",0},
2356 { "_short","_wxDateTime_t",0},
2357 { "_short","_WXTYPE",0},
2358 { "_short","_unsigned_short",0},
2359 { "_short","_signed_short",0},
2360 { "_class_wxStaticBox","_wxStaticBox",0},
2361 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
2362 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2363 { "_class_wxPyDropSource","_wxPyDropSource",0},
2364 { "_class_wxScrollEvent","_wxScrollEvent",0},
2365 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2366 { "_class_wxChoice","_wxChoice",0},
2367 { "_class_wxSlider","_wxSlider",0},
2368 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
2369 { "_class_wxImageList","_wxImageList",0},
2370 { "_class_wxBitmapButton","_wxBitmapButton",0},
2371 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
2372 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
2373 { "_wxFrame","_class_wxFrame",0},
2374 { "_wxPCXHandler","_class_wxPCXHandler",0},
2375 { "_class_wxGridSizer","_wxGridSizer",0},
2376 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2377 { "_class_wxNotebook","_wxNotebook",0},
2378 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
2379 { "_wxWindowID","_wxCoord",0},
2380 { "_wxWindowID","_wxPrintQuality",0},
2381 { "_wxWindowID","_time_t",0},
2382 { "_wxWindowID","_size_t",0},
2383 { "_wxWindowID","_EBool",0},
2384 { "_wxWindowID","_uint",0},
2385 { "_wxWindowID","_int",0},
2386 { "_wxWindowID","_signed_int",0},
2387 { "_wxWindowID","_unsigned_int",0},
2388 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2389 { "_class_wxSizerItem","_wxSizerItem",0},
2390 { "_int","_wxCoord",0},
2391 { "_int","_wxPrintQuality",0},
2392 { "_int","_time_t",0},
2393 { "_int","_size_t",0},
2394 { "_int","_EBool",0},
2395 { "_int","_uint",0},
2396 { "_int","_wxWindowID",0},
2397 { "_int","_unsigned_int",0},
2398 { "_int","_signed_int",0},
2399 { "_class_wxMouseEvent","_wxMouseEvent",0},
2400 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2401 { "_wxLogWindow","_class_wxLogWindow",0},
2402 { "_class_wxListEvent","_wxListEvent",0},
2403 { "_class_wxPrintPreview","_wxPrintPreview",0},
2404 { "_wxDateTime_t","_unsigned_short",0},
2405 { "_wxDateTime_t","_short",0},
2406 { "_wxDateTime_t","_WXTYPE",0},
2407 { "_class_wxSpinEvent","_wxSpinEvent",0},
2408 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2409 { "_wxDateTime","_class_wxDateTime",0},
2410 { "_time_t","_wxCoord",0},
2411 { "_time_t","_wxPrintQuality",0},
2412 { "_time_t","_unsigned_int",0},
2413 { "_time_t","_int",0},
2414 { "_time_t","_wxWindowID",0},
2415 { "_time_t","_uint",0},
2416 { "_time_t","_size_t",0},
2417 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2418 { "_wxLogNull","_class_wxLogNull",0},
2419 { "_wxButton","_class_wxButton",0},
2420 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
2421 { "_class_wxPyApp","_wxPyApp",0},
2422 { "_wxSize","_class_wxSize",0},
2423 { "_wxRegionIterator","_class_wxRegionIterator",0},
2424 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2425 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
2426 { "_class_wxLogGui","_wxLogGui",0},
2427 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
2428 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
2429 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
2430 { "_class_wxTimeSpan","_wxTimeSpan",0},
2431 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
2432 { "_class_wxPaintDC","_wxPaintDC",0},
2433 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2434 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2435 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2436 { "_class_wxComboBox","_wxComboBox",0},
2437 { "_class_wxRadioButton","_wxRadioButton",0},
2438 { "_class_wxPyShape","_wxPyShape",0},
2439 { "_wxValidator","_class_wxValidator",0},
2440 { "_wxToolBarBase","_class_wxToolBarBase",0},
2441 { "_class_wxTreeItemId","_wxTreeItemId",0},
2442 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2443 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2444 { "_class_wxControl","_wxControl",0},
2445 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2446 { "_class_wxIcon","_wxIcon",0},
2447 { "_class_wxColour","_wxColour",0},
2448 { "_class_wxScreenDC","_wxScreenDC",0},
2449 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
2450 { "_wxPalette","_class_wxPalette",0},
2451 { "_class_wxIdleEvent","_wxIdleEvent",0},
2452 { "_class_wxConfigBase","_wxConfigBase",0},
2453 { "_wxCoord","_int",0},
2454 { "_wxCoord","_signed_int",0},
2455 { "_wxCoord","_unsigned_int",0},
2456 { "_wxCoord","_wxWindowID",0},
2457 { "_wxCoord","_uint",0},
2458 { "_wxCoord","_EBool",0},
2459 { "_wxCoord","_size_t",0},
2460 { "_wxCoord","_time_t",0},
2461 { "_wxCoord","_wxPrintQuality",0},
2462 { "_wxEraseEvent","_class_wxEraseEvent",0},
2463 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2464 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2465 { "_class_wxTipProvider","_wxTipProvider",0},
2466 { "_class_wxMiniFrame","_wxMiniFrame",0},
2467 { "_wxFontDialog","_class_wxFontDialog",0},
2468 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
2469 { "_wxRegion","_class_wxRegion",0},
2470 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2471 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
2472 { "_wxSizer","_class_wxSizer",0},
2473 { "_class_wxDateSpan","_wxDateSpan",0},
2474 { "_wxFileSystem","_class_wxFileSystem",0},
2475 { "_class_wxShowEvent","_wxShowEvent",0},
2476 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
2477 { "_class_wxPCXHandler","_wxPCXHandler",0},
2478 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
2479 { "_wxDiagram","_class_wxDiagram",0},
2480 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2481 { "_wxActivateEvent","_class_wxActivateEvent",0},
2482 { "_wxGauge","_class_wxGauge",0},
2483 { "_class_wxCheckListBox","_wxCheckListBox",0},
2484 { "_class_wxBusyInfo","_wxBusyInfo",0},
2485 { "_class_wxCommandEvent","_wxCommandEvent",0},
2486 { "_class_wxClientDC","_wxClientDC",0},
2487 { "_class_wxSizeEvent","_wxSizeEvent",0},
2488 { "_class_wxListCtrl","_wxListCtrl",0},
2489 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2490 { "_class_wxLogNull","_wxLogNull",0},
2491 { "_class_wxSize","_wxSize",0},
2492 { "_class_wxBitmap","_wxBitmap",0},
2493 { "_class_wxMemoryDC","_wxMemoryDC",0},
2494 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2495 { "_wxMenuBar","_class_wxMenuBar",0},
2496 { "_wxOutputStream","_class_wxOutputStream",0},
2497 { "_wxTreeEvent","_class_wxTreeEvent",0},
2498 { "_wxDirDialog","_class_wxDirDialog",0},
2499 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
2500 { "_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2501 { "_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2502 { "_wxEvtHandler","_class_wxEvtHandler",0},
2503 { "_wxMenuItem","_class_wxMenuItem",0},
2504 { "_class_wxScrollBar","_wxScrollBar",0},
2505 { "_class_wxColourDialog","_wxColourDialog",0},
2506 { "_class_wxPrintData","_wxPrintData",0},
2507 { "_class_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2508 { "_class_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2509 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2510 { "_wxListItemAttr","_class_wxListItemAttr",0},
2511 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
2512 { "_class_wxConfig","_wxConfig",0},
2513 { "_wxKeyEvent","_class_wxKeyEvent",0},
2514 { "_wxMoveEvent","_class_wxMoveEvent",0},
2515 { "_wxColourData","_class_wxColourData",0},
2516 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
2517 { "_class_wxPalette","_wxPalette",0},
2518 { "_wxFileDataObject","_class_wxFileDataObject",0},
2519 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
2520 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
2521 { "_class_wxEraseEvent","_wxEraseEvent",0},
2522 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
2523 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
2524 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2525 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
2526 { "_class_wxFontDialog","_wxFontDialog",0},
2527 { "_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2528 { "_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2529 { "_wxWindow","_class_wxWindow",0},
2530 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2531 { "_wxLogStderr","_class_wxLogStderr",0},
2532 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
2533 { "_class_wxFileSystem","_wxFileSystem",0},
2534 { "_class_wxFrame","_wxFrame",0},
2535 { "_class_wxDiagram","_wxDiagram",0},
2538 static PyObject
*SWIG_globals
;
2542 SWIGEXPORT(void) initoglcanvasc() {
2544 SWIG_globals
= SWIG_newvarlink();
2545 m
= Py_InitModule("oglcanvasc", oglcanvascMethods
);
2546 d
= PyModule_GetDict(m
);
2549 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2550 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);