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"
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
110 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
111 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
112 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
113 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
114 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
115 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
116 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
120 #define new_wxDiagram() (new wxDiagram())
121 static PyObject
*_wrap_new_wxDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
122 PyObject
* _resultobj
;
124 char *_kwnames
[] = { NULL
};
128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxDiagram",_kwnames
))
131 wxPy_BEGIN_ALLOW_THREADS
;
132 _result
= (wxDiagram
*)new_wxDiagram();
134 wxPy_END_ALLOW_THREADS
;
136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDiagram_p");
137 _resultobj
= Py_BuildValue("s",_ptemp
);
140 _resultobj
= Py_None
;
145 #define delete_wxDiagram(_swigobj) (delete _swigobj)
146 static PyObject
*_wrap_delete_wxDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
147 PyObject
* _resultobj
;
149 PyObject
* _argo0
= 0;
150 char *_kwnames
[] = { "self", NULL
};
153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDiagram",_kwnames
,&_argo0
))
156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDiagram. Expected _wxDiagram_p.");
163 wxPy_BEGIN_ALLOW_THREADS
;
164 delete_wxDiagram(_arg0
);
166 wxPy_END_ALLOW_THREADS
;
167 } Py_INCREF(Py_None
);
168 _resultobj
= Py_None
;
172 #define wxDiagram_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
173 static PyObject
*_wrap_wxDiagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
174 PyObject
* _resultobj
;
177 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
178 PyObject
* _argo0
= 0;
179 PyObject
* _argo1
= 0;
180 PyObject
* _argo2
= 0;
181 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDiagram_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_AddShape. Expected _wxDiagram_p.");
194 if (_argo1
== Py_None
) { _arg1
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_AddShape. Expected _wxPyShape_p.");
201 if (_argo2
== Py_None
) { _arg2
= NULL
; }
202 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDiagram_AddShape. Expected _wxPyShape_p.");
208 wxPy_BEGIN_ALLOW_THREADS
;
209 wxDiagram_AddShape(_arg0
,_arg1
,_arg2
);
211 wxPy_END_ALLOW_THREADS
;
212 } Py_INCREF(Py_None
);
213 _resultobj
= Py_None
;
217 #define wxDiagram_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
218 static PyObject
*_wrap_wxDiagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
219 PyObject
* _resultobj
;
222 PyObject
* _argo0
= 0;
223 PyObject
* _argo1
= 0;
224 char *_kwnames
[] = { "self","dc", NULL
};
227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_Clear",_kwnames
,&_argo0
,&_argo1
))
230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Clear. Expected _wxDiagram_p.");
237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Clear. Expected _wxDC_p.");
244 wxPy_BEGIN_ALLOW_THREADS
;
245 wxDiagram_Clear(_arg0
,*_arg1
);
247 wxPy_END_ALLOW_THREADS
;
248 } Py_INCREF(Py_None
);
249 _resultobj
= Py_None
;
253 #define wxDiagram_DeleteAllShapes(_swigobj) (_swigobj->DeleteAllShapes())
254 static PyObject
*_wrap_wxDiagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
255 PyObject
* _resultobj
;
257 PyObject
* _argo0
= 0;
258 char *_kwnames
[] = { "self", NULL
};
261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_DeleteAllShapes",_kwnames
,&_argo0
))
264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_DeleteAllShapes. Expected _wxDiagram_p.");
271 wxPy_BEGIN_ALLOW_THREADS
;
272 wxDiagram_DeleteAllShapes(_arg0
);
274 wxPy_END_ALLOW_THREADS
;
275 } Py_INCREF(Py_None
);
276 _resultobj
= Py_None
;
280 #define wxDiagram_DrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
281 static PyObject
*_wrap_wxDiagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
289 PyObject
* _argo0
= 0;
290 PyObject
* _argo1
= 0;
291 char *_kwnames
[] = { "self","dc","x1","y1","x2","y2", NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxDiagram_DrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_DrawOutline. Expected _wxDiagram_p.");
304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_DrawOutline. Expected _wxDC_p.");
311 wxPy_BEGIN_ALLOW_THREADS
;
312 wxDiagram_DrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
314 wxPy_END_ALLOW_THREADS
;
315 } Py_INCREF(Py_None
);
316 _resultobj
= Py_None
;
320 #define wxDiagram_FindShape(_swigobj,_swigarg0) (_swigobj->FindShape(_swigarg0))
321 static PyObject
*_wrap_wxDiagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
326 PyObject
* _argo0
= 0;
327 char *_kwnames
[] = { "self","id", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDiagram_FindShape",_kwnames
,&_argo0
,&_arg1
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_FindShape. Expected _wxDiagram_p.");
341 wxPy_BEGIN_ALLOW_THREADS
;
342 _result
= (wxPyShape
*)wxDiagram_FindShape(_arg0
,_arg1
);
344 wxPy_END_ALLOW_THREADS
;
346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
347 _resultobj
= Py_BuildValue("s",_ptemp
);
350 _resultobj
= Py_None
;
355 #define wxDiagram_GetCanvas(_swigobj) (_swigobj->GetCanvas())
356 static PyObject
*_wrap_wxDiagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
357 PyObject
* _resultobj
;
358 wxPyShapeCanvas
* _result
;
360 PyObject
* _argo0
= 0;
361 char *_kwnames
[] = { "self", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetCanvas",_kwnames
,&_argo0
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetCanvas. Expected _wxDiagram_p.");
375 wxPy_BEGIN_ALLOW_THREADS
;
376 _result
= (wxPyShapeCanvas
*)wxDiagram_GetCanvas(_arg0
);
378 wxPy_END_ALLOW_THREADS
;
380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
381 _resultobj
= Py_BuildValue("s",_ptemp
);
384 _resultobj
= Py_None
;
389 #define wxDiagram_GetCount(_swigobj) (_swigobj->GetCount())
390 static PyObject
*_wrap_wxDiagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetCount",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetCount. Expected _wxDiagram_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (int )wxDiagram_GetCount(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
412 } _resultobj
= Py_BuildValue("i",_result
);
416 #define wxDiagram_GetGridSpacing(_swigobj) (_swigobj->GetGridSpacing())
417 static PyObject
*_wrap_wxDiagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
421 PyObject
* _argo0
= 0;
422 char *_kwnames
[] = { "self", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetGridSpacing",_kwnames
,&_argo0
))
428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetGridSpacing. Expected _wxDiagram_p.");
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= (double )wxDiagram_GetGridSpacing(_arg0
);
438 wxPy_END_ALLOW_THREADS
;
439 } _resultobj
= Py_BuildValue("d",_result
);
443 #define wxDiagram_GetMouseTolerance(_swigobj) (_swigobj->GetMouseTolerance())
444 static PyObject
*_wrap_wxDiagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
445 PyObject
* _resultobj
;
448 PyObject
* _argo0
= 0;
449 char *_kwnames
[] = { "self", NULL
};
452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetMouseTolerance",_kwnames
,&_argo0
))
455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetMouseTolerance. Expected _wxDiagram_p.");
462 wxPy_BEGIN_ALLOW_THREADS
;
463 _result
= (int )wxDiagram_GetMouseTolerance(_arg0
);
465 wxPy_END_ALLOW_THREADS
;
466 } _resultobj
= Py_BuildValue("i",_result
);
470 static PyObject
* wxDiagram_GetShapeList(wxDiagram
*self
) {
471 wxList
* list
= self
->GetShapeList();
472 return wxPy_ConvertList(list
, "wxPyShape");
474 static PyObject
*_wrap_wxDiagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetShapeList",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetShapeList. Expected _wxDiagram_p.");
492 wxPy_BEGIN_ALLOW_THREADS
;
493 _result
= (PyObject
*)wxDiagram_GetShapeList(_arg0
);
495 wxPy_END_ALLOW_THREADS
;
497 _resultobj
= _result
;
502 #define wxDiagram_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
503 static PyObject
*_wrap_wxDiagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
504 PyObject
* _resultobj
;
507 PyObject
* _argo0
= 0;
508 char *_kwnames
[] = { "self", NULL
};
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetQuickEditMode",_kwnames
,&_argo0
))
514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetQuickEditMode. Expected _wxDiagram_p.");
521 wxPy_BEGIN_ALLOW_THREADS
;
522 _result
= (bool )wxDiagram_GetQuickEditMode(_arg0
);
524 wxPy_END_ALLOW_THREADS
;
525 } _resultobj
= Py_BuildValue("i",_result
);
529 #define wxDiagram_GetSnapToGrid(_swigobj) (_swigobj->GetSnapToGrid())
530 static PyObject
*_wrap_wxDiagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
531 PyObject
* _resultobj
;
534 PyObject
* _argo0
= 0;
535 char *_kwnames
[] = { "self", NULL
};
538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_GetSnapToGrid",_kwnames
,&_argo0
))
541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_GetSnapToGrid. Expected _wxDiagram_p.");
548 wxPy_BEGIN_ALLOW_THREADS
;
549 _result
= (bool )wxDiagram_GetSnapToGrid(_arg0
);
551 wxPy_END_ALLOW_THREADS
;
552 } _resultobj
= Py_BuildValue("i",_result
);
556 #define wxDiagram_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
557 static PyObject
*_wrap_wxDiagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
558 PyObject
* _resultobj
;
561 PyObject
* _argo0
= 0;
562 PyObject
* _argo1
= 0;
563 char *_kwnames
[] = { "self","shape", NULL
};
566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_InsertShape",_kwnames
,&_argo0
,&_argo1
))
569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_InsertShape. Expected _wxDiagram_p.");
576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_InsertShape. Expected _wxPyShape_p.");
583 wxPy_BEGIN_ALLOW_THREADS
;
584 wxDiagram_InsertShape(_arg0
,_arg1
);
586 wxPy_END_ALLOW_THREADS
;
587 } Py_INCREF(Py_None
);
588 _resultobj
= Py_None
;
592 #define wxDiagram_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
593 static PyObject
*_wrap_wxDiagram_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
598 PyObject
* _argo0
= 0;
599 PyObject
* _obj1
= 0;
600 char *_kwnames
[] = { "self","filename", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_LoadFile",_kwnames
,&_argo0
,&_obj1
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_LoadFile. Expected _wxDiagram_p.");
613 #if PYTHON_API_VERSION >= 1009
614 char* tmpPtr
; int tmpSize
;
615 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
616 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
619 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
621 _arg1
= new wxString(tmpPtr
, tmpSize
);
623 if (!PyString_Check(_obj1
)) {
624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
627 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
631 wxPy_BEGIN_ALLOW_THREADS
;
632 _result
= (bool )wxDiagram_LoadFile(_arg0
,*_arg1
);
634 wxPy_END_ALLOW_THREADS
;
635 } _resultobj
= Py_BuildValue("i",_result
);
643 #define wxDiagram_ReadContainerGeometry(_swigobj,_swigarg0) (_swigobj->ReadContainerGeometry(_swigarg0))
644 static PyObject
*_wrap_wxDiagram_ReadContainerGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
647 wxExprDatabase
* _arg1
;
648 PyObject
* _argo0
= 0;
649 PyObject
* _argo1
= 0;
650 char *_kwnames
[] = { "self","database", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadContainerGeometry",_kwnames
,&_argo0
,&_argo1
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadContainerGeometry. Expected _wxDiagram_p.");
663 if (_argo1
== Py_None
) { _arg1
= NULL
; }
664 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadContainerGeometry. Expected _wxExprDatabase_p.");
670 wxPy_BEGIN_ALLOW_THREADS
;
671 wxDiagram_ReadContainerGeometry(_arg0
,*_arg1
);
673 wxPy_END_ALLOW_THREADS
;
674 } Py_INCREF(Py_None
);
675 _resultobj
= Py_None
;
679 #define wxDiagram_ReadLines(_swigobj,_swigarg0) (_swigobj->ReadLines(_swigarg0))
680 static PyObject
*_wrap_wxDiagram_ReadLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
681 PyObject
* _resultobj
;
683 wxExprDatabase
* _arg1
;
684 PyObject
* _argo0
= 0;
685 PyObject
* _argo1
= 0;
686 char *_kwnames
[] = { "self","database", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadLines",_kwnames
,&_argo0
,&_argo1
))
692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadLines. Expected _wxDiagram_p.");
699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadLines. Expected _wxExprDatabase_p.");
706 wxPy_BEGIN_ALLOW_THREADS
;
707 wxDiagram_ReadLines(_arg0
,*_arg1
);
709 wxPy_END_ALLOW_THREADS
;
710 } Py_INCREF(Py_None
);
711 _resultobj
= Py_None
;
715 #define wxDiagram_ReadNodes(_swigobj,_swigarg0) (_swigobj->ReadNodes(_swigarg0))
716 static PyObject
*_wrap_wxDiagram_ReadNodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
719 wxExprDatabase
* _arg1
;
720 PyObject
* _argo0
= 0;
721 PyObject
* _argo1
= 0;
722 char *_kwnames
[] = { "self","database", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_ReadNodes",_kwnames
,&_argo0
,&_argo1
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ReadNodes. Expected _wxDiagram_p.");
735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxExprDatabase_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_ReadNodes. Expected _wxExprDatabase_p.");
742 wxPy_BEGIN_ALLOW_THREADS
;
743 wxDiagram_ReadNodes(_arg0
,*_arg1
);
745 wxPy_END_ALLOW_THREADS
;
746 } Py_INCREF(Py_None
);
747 _resultobj
= Py_None
;
751 #define wxDiagram_RecentreAll(_swigobj,_swigarg0) (_swigobj->RecentreAll(_swigarg0))
752 static PyObject
*_wrap_wxDiagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
756 PyObject
* _argo0
= 0;
757 PyObject
* _argo1
= 0;
758 char *_kwnames
[] = { "self","dc", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_RecentreAll",_kwnames
,&_argo0
,&_argo1
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RecentreAll. Expected _wxDiagram_p.");
771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_RecentreAll. Expected _wxDC_p.");
778 wxPy_BEGIN_ALLOW_THREADS
;
779 wxDiagram_RecentreAll(_arg0
,*_arg1
);
781 wxPy_END_ALLOW_THREADS
;
782 } Py_INCREF(Py_None
);
783 _resultobj
= Py_None
;
787 #define wxDiagram_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
788 static PyObject
*_wrap_wxDiagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
792 PyObject
* _argo0
= 0;
793 PyObject
* _argo1
= 0;
794 char *_kwnames
[] = { "self","dc", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_Redraw",_kwnames
,&_argo0
,&_argo1
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Redraw. Expected _wxDiagram_p.");
807 if (_argo1
== Py_None
) { _arg1
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_Redraw. Expected _wxDC_p.");
814 wxPy_BEGIN_ALLOW_THREADS
;
815 wxDiagram_Redraw(_arg0
,*_arg1
);
817 wxPy_END_ALLOW_THREADS
;
818 } Py_INCREF(Py_None
);
819 _resultobj
= Py_None
;
823 #define wxDiagram_RemoveAllShapes(_swigobj) (_swigobj->RemoveAllShapes())
824 static PyObject
*_wrap_wxDiagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
825 PyObject
* _resultobj
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_RemoveAllShapes",_kwnames
,&_argo0
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RemoveAllShapes. Expected _wxDiagram_p.");
841 wxPy_BEGIN_ALLOW_THREADS
;
842 wxDiagram_RemoveAllShapes(_arg0
);
844 wxPy_END_ALLOW_THREADS
;
845 } Py_INCREF(Py_None
);
846 _resultobj
= Py_None
;
850 #define wxDiagram_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
851 static PyObject
*_wrap_wxDiagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
852 PyObject
* _resultobj
;
855 PyObject
* _argo0
= 0;
856 PyObject
* _argo1
= 0;
857 char *_kwnames
[] = { "self","shape", NULL
};
860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_RemoveShape. Expected _wxDiagram_p.");
870 if (_argo1
== Py_None
) { _arg1
= NULL
; }
871 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_RemoveShape. Expected _wxPyShape_p.");
877 wxPy_BEGIN_ALLOW_THREADS
;
878 wxDiagram_RemoveShape(_arg0
,_arg1
);
880 wxPy_END_ALLOW_THREADS
;
881 } Py_INCREF(Py_None
);
882 _resultobj
= Py_None
;
886 #define wxDiagram_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
887 static PyObject
*_wrap_wxDiagram_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
888 PyObject
* _resultobj
;
892 PyObject
* _argo0
= 0;
893 PyObject
* _obj1
= 0;
894 char *_kwnames
[] = { "self","filename", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_SaveFile",_kwnames
,&_argo0
,&_obj1
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SaveFile. Expected _wxDiagram_p.");
907 #if PYTHON_API_VERSION >= 1009
908 char* tmpPtr
; int tmpSize
;
909 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
910 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
913 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
915 _arg1
= new wxString(tmpPtr
, tmpSize
);
917 if (!PyString_Check(_obj1
)) {
918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
921 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
925 wxPy_BEGIN_ALLOW_THREADS
;
926 _result
= (bool )wxDiagram_SaveFile(_arg0
,*_arg1
);
928 wxPy_END_ALLOW_THREADS
;
929 } _resultobj
= Py_BuildValue("i",_result
);
937 #define wxDiagram_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
938 static PyObject
*_wrap_wxDiagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
941 wxPyShapeCanvas
* _arg1
;
942 PyObject
* _argo0
= 0;
943 PyObject
* _argo1
= 0;
944 char *_kwnames
[] = { "self","canvas", NULL
};
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDiagram_SetCanvas",_kwnames
,&_argo0
,&_argo1
))
950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetCanvas. Expected _wxDiagram_p.");
957 if (_argo1
== Py_None
) { _arg1
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShapeCanvas_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDiagram_SetCanvas. Expected _wxPyShapeCanvas_p.");
964 wxPy_BEGIN_ALLOW_THREADS
;
965 wxDiagram_SetCanvas(_arg0
,_arg1
);
967 wxPy_END_ALLOW_THREADS
;
968 } Py_INCREF(Py_None
);
969 _resultobj
= Py_None
;
973 #define wxDiagram_SetGridSpacing(_swigobj,_swigarg0) (_swigobj->SetGridSpacing(_swigarg0))
974 static PyObject
*_wrap_wxDiagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
975 PyObject
* _resultobj
;
978 PyObject
* _argo0
= 0;
979 char *_kwnames
[] = { "self","spacing", NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxDiagram_SetGridSpacing",_kwnames
,&_argo0
,&_arg1
))
985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetGridSpacing. Expected _wxDiagram_p.");
992 wxPy_BEGIN_ALLOW_THREADS
;
993 wxDiagram_SetGridSpacing(_arg0
,_arg1
);
995 wxPy_END_ALLOW_THREADS
;
996 } Py_INCREF(Py_None
);
997 _resultobj
= Py_None
;
1001 #define wxDiagram_SetMouseTolerance(_swigobj,_swigarg0) (_swigobj->SetMouseTolerance(_swigarg0))
1002 static PyObject
*_wrap_wxDiagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1006 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "self","tolerance", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetMouseTolerance",_kwnames
,&_argo0
,&_arg1
))
1013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetMouseTolerance. Expected _wxDiagram_p.");
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 wxDiagram_SetMouseTolerance(_arg0
,_arg1
);
1023 wxPy_END_ALLOW_THREADS
;
1024 } Py_INCREF(Py_None
);
1025 _resultobj
= Py_None
;
1029 #define wxDiagram_SetQuickEditMode(_swigobj,_swigarg0) (_swigobj->SetQuickEditMode(_swigarg0))
1030 static PyObject
*_wrap_wxDiagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1034 PyObject
* _argo0
= 0;
1036 char *_kwnames
[] = { "self","mode", NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetQuickEditMode",_kwnames
,&_argo0
,&tempbool1
))
1042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetQuickEditMode. Expected _wxDiagram_p.");
1048 _arg1
= (bool ) tempbool1
;
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 wxDiagram_SetQuickEditMode(_arg0
,_arg1
);
1053 wxPy_END_ALLOW_THREADS
;
1054 } Py_INCREF(Py_None
);
1055 _resultobj
= Py_None
;
1059 #define wxDiagram_SetSnapToGrid(_swigobj,_swigarg0) (_swigobj->SetSnapToGrid(_swigarg0))
1060 static PyObject
*_wrap_wxDiagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1064 PyObject
* _argo0
= 0;
1066 char *_kwnames
[] = { "self","snap", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_SetSnapToGrid",_kwnames
,&_argo0
,&tempbool1
))
1072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_SetSnapToGrid. Expected _wxDiagram_p.");
1078 _arg1
= (bool ) tempbool1
;
1080 wxPy_BEGIN_ALLOW_THREADS
;
1081 wxDiagram_SetSnapToGrid(_arg0
,_arg1
);
1083 wxPy_END_ALLOW_THREADS
;
1084 } Py_INCREF(Py_None
);
1085 _resultobj
= Py_None
;
1089 #define wxDiagram_ShowAll(_swigobj,_swigarg0) (_swigobj->ShowAll(_swigarg0))
1090 static PyObject
*_wrap_wxDiagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1094 PyObject
* _argo0
= 0;
1096 char *_kwnames
[] = { "self","show", NULL
};
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDiagram_ShowAll",_kwnames
,&_argo0
,&tempbool1
))
1102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_ShowAll. Expected _wxDiagram_p.");
1108 _arg1
= (bool ) tempbool1
;
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 wxDiagram_ShowAll(_arg0
,_arg1
);
1113 wxPy_END_ALLOW_THREADS
;
1114 } Py_INCREF(Py_None
);
1115 _resultobj
= Py_None
;
1119 #define wxDiagram_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1120 static PyObject
*_wrap_wxDiagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1125 PyObject
* _argo0
= 0;
1127 PyObject
* _obj1
= 0;
1129 PyObject
* _obj2
= 0;
1130 char *_kwnames
[] = { "self","INOUT","INOUT", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDiagram_Snap",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Snap. Expected _wxDiagram_p.");
1143 temp
= PyFloat_AsDouble(_obj1
);
1147 temp0
= PyFloat_AsDouble(_obj2
);
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 wxDiagram_Snap(_arg0
,_arg1
,_arg2
);
1154 wxPy_END_ALLOW_THREADS
;
1155 } Py_INCREF(Py_None
);
1156 _resultobj
= Py_None
;
1159 o
= PyFloat_FromDouble((double) (*_arg1
));
1160 _resultobj
= t_output_helper(_resultobj
, o
);
1164 o
= PyFloat_FromDouble((double) (*_arg2
));
1165 _resultobj
= t_output_helper(_resultobj
, o
);
1170 static void *SwigwxPyShapeCanvasTowxScrolledWindow(void *ptr
) {
1171 wxPyShapeCanvas
*src
;
1172 wxScrolledWindow
*dest
;
1173 src
= (wxPyShapeCanvas
*) ptr
;
1174 dest
= (wxScrolledWindow
*) src
;
1175 return (void *) dest
;
1178 static void *SwigwxPyShapeCanvasTowxPanel(void *ptr
) {
1179 wxPyShapeCanvas
*src
;
1181 src
= (wxPyShapeCanvas
*) ptr
;
1182 dest
= (wxPanel
*) src
;
1183 return (void *) dest
;
1186 static void *SwigwxPyShapeCanvasTowxWindow(void *ptr
) {
1187 wxPyShapeCanvas
*src
;
1189 src
= (wxPyShapeCanvas
*) ptr
;
1190 dest
= (wxWindow
*) src
;
1191 return (void *) dest
;
1194 static void *SwigwxPyShapeCanvasTowxEvtHandler(void *ptr
) {
1195 wxPyShapeCanvas
*src
;
1197 src
= (wxPyShapeCanvas
*) ptr
;
1198 dest
= (wxEvtHandler
*) src
;
1199 return (void *) dest
;
1202 #define new_wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1203 static PyObject
*_wrap_new_wxPyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1205 wxPyShapeCanvas
* _result
;
1206 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1207 wxWindowID _arg1
= (wxWindowID
) -1;
1208 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1209 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1210 long _arg4
= (long ) wxBORDER
;
1211 PyObject
* _argo0
= 0;
1213 PyObject
* _obj2
= 0;
1215 PyObject
* _obj3
= 0;
1216 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOl:new_wxPyShapeCanvas",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeCanvas. Expected _wxWindow_p.");
1232 if (! wxPoint_helper(_obj2
, &_arg2
))
1238 if (! wxSize_helper(_obj3
, &_arg3
))
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= (wxPyShapeCanvas
*)new_wxPyShapeCanvas(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1245 wxPy_END_ALLOW_THREADS
;
1247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
1248 _resultobj
= Py_BuildValue("s",_ptemp
);
1251 _resultobj
= Py_None
;
1256 #define wxPyShapeCanvas__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1257 static PyObject
*_wrap_wxPyShapeCanvas__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1259 wxPyShapeCanvas
* _arg0
;
1262 PyObject
* _argo0
= 0;
1263 PyObject
* _obj1
= 0;
1264 PyObject
* _obj2
= 0;
1265 char *_kwnames
[] = { "self","self","_class", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeCanvas__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas__setSelf. Expected _wxPyShapeCanvas_p.");
1284 wxPy_BEGIN_ALLOW_THREADS
;
1285 wxPyShapeCanvas__setSelf(_arg0
,_arg1
,_arg2
);
1287 wxPy_END_ALLOW_THREADS
;
1288 } Py_INCREF(Py_None
);
1289 _resultobj
= Py_None
;
1293 #define wxPyShapeCanvas_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
1294 static PyObject
*_wrap_wxPyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1296 wxPyShapeCanvas
* _arg0
;
1298 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
1299 PyObject
* _argo0
= 0;
1300 PyObject
* _argo1
= 0;
1301 PyObject
* _argo2
= 0;
1302 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
1305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShapeCanvas_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_AddShape. Expected _wxPyShapeCanvas_p.");
1315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1322 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 wxPyShapeCanvas_AddShape(_arg0
,_arg1
,_arg2
);
1332 wxPy_END_ALLOW_THREADS
;
1333 } Py_INCREF(Py_None
);
1334 _resultobj
= Py_None
;
1338 #define wxPyShapeCanvas_FindShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1339 static PyObject
*_wrap_wxPyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxPyShape
* _result
;
1342 wxPyShapeCanvas
* _arg0
;
1347 wxClassInfo
* _arg4
= (wxClassInfo
*) NULL
;
1348 wxPyShape
* _arg5
= (wxPyShape
*) NULL
;
1349 PyObject
* _argo0
= 0;
1350 PyObject
* _argo4
= 0;
1351 PyObject
* _argo5
= 0;
1352 char *_kwnames
[] = { "self","x1","y","info","notImage", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|OO:wxPyShapeCanvas_FindShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo4
,&_argo5
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindShape. Expected _wxPyShapeCanvas_p.");
1369 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxClassInfo_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPyShapeCanvas_FindShape. Expected _wxClassInfo_p.");
1376 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyShape_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShapeCanvas_FindShape. Expected _wxPyShape_p.");
1383 wxPy_BEGIN_ALLOW_THREADS
;
1384 _result
= (wxPyShape
*)wxPyShapeCanvas_FindShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1386 wxPy_END_ALLOW_THREADS
;
1388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1389 _resultobj
= Py_BuildValue("s",_ptemp
);
1392 _resultobj
= Py_None
;
1396 o
= PyInt_FromLong((long) (*_arg3
));
1397 _resultobj
= t_output_helper(_resultobj
, o
);
1402 #define wxPyShapeCanvas_FindFirstSensitiveShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindFirstSensitiveShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1403 static PyObject
*_wrap_wxPyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1405 wxPyShape
* _result
;
1406 wxPyShapeCanvas
* _arg0
;
1412 PyObject
* _argo0
= 0;
1413 char *_kwnames
[] = { "self","x1","y","op", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddi:wxPyShapeCanvas_FindFirstSensitiveShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg4
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindFirstSensitiveShape. Expected _wxPyShapeCanvas_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 _result
= (wxPyShape
*)wxPyShapeCanvas_FindFirstSensitiveShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1433 wxPy_END_ALLOW_THREADS
;
1435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1436 _resultobj
= Py_BuildValue("s",_ptemp
);
1439 _resultobj
= Py_None
;
1443 o
= PyInt_FromLong((long) (*_arg3
));
1444 _resultobj
= t_output_helper(_resultobj
, o
);
1449 #define wxPyShapeCanvas_GetDiagram(_swigobj) (_swigobj->GetDiagram())
1450 static PyObject
*_wrap_wxPyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1452 wxDiagram
* _result
;
1453 wxPyShapeCanvas
* _arg0
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetDiagram",_kwnames
,&_argo0
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetDiagram. Expected _wxPyShapeCanvas_p.");
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (wxDiagram
*)wxPyShapeCanvas_GetDiagram(_arg0
);
1472 wxPy_END_ALLOW_THREADS
;
1474 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDiagram_p");
1475 _resultobj
= Py_BuildValue("s",_ptemp
);
1478 _resultobj
= Py_None
;
1483 #define wxPyShapeCanvas_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
1484 static PyObject
*_wrap_wxPyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1487 wxPyShapeCanvas
* _arg0
;
1488 PyObject
* _argo0
= 0;
1489 char *_kwnames
[] = { "self", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetQuickEditMode",_kwnames
,&_argo0
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetQuickEditMode. Expected _wxPyShapeCanvas_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (bool )wxPyShapeCanvas_GetQuickEditMode(_arg0
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } _resultobj
= Py_BuildValue("i",_result
);
1510 #define wxPyShapeCanvas_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
1511 static PyObject
*_wrap_wxPyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1513 wxPyShapeCanvas
* _arg0
;
1515 PyObject
* _argo0
= 0;
1516 PyObject
* _argo1
= 0;
1517 char *_kwnames
[] = { "self","shape", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_InsertShape",_kwnames
,&_argo0
,&_argo1
))
1523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_InsertShape. Expected _wxPyShapeCanvas_p.");
1530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_InsertShape. Expected _wxPyShape_p.");
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 wxPyShapeCanvas_InsertShape(_arg0
,_arg1
);
1540 wxPy_END_ALLOW_THREADS
;
1541 } Py_INCREF(Py_None
);
1542 _resultobj
= Py_None
;
1546 #define wxPyShapeCanvas_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2))
1547 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1549 wxPyShapeCanvas
* _arg0
;
1552 int _arg3
= (int ) 0;
1553 PyObject
* _argo0
= 0;
1554 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragLeft. Expected _wxPyShapeCanvas_p.");
1567 wxPy_BEGIN_ALLOW_THREADS
;
1568 wxPyShapeCanvas_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1570 wxPy_END_ALLOW_THREADS
;
1571 } Py_INCREF(Py_None
);
1572 _resultobj
= Py_None
;
1576 #define wxPyShapeCanvas_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2))
1577 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
* _resultobj
;
1579 wxPyShapeCanvas
* _arg0
;
1582 int _arg3
= (int ) 0;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragRight. Expected _wxPyShapeCanvas_p.");
1597 wxPy_BEGIN_ALLOW_THREADS
;
1598 wxPyShapeCanvas_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1600 wxPy_END_ALLOW_THREADS
;
1601 } Py_INCREF(Py_None
);
1602 _resultobj
= Py_None
;
1606 #define wxPyShapeCanvas_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2))
1607 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1609 wxPyShapeCanvas
* _arg0
;
1612 int _arg3
= (int ) 0;
1613 PyObject
* _argo0
= 0;
1614 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragLeft. Expected _wxPyShapeCanvas_p.");
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 wxPyShapeCanvas_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } Py_INCREF(Py_None
);
1632 _resultobj
= Py_None
;
1636 #define wxPyShapeCanvas_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2))
1637 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1639 wxPyShapeCanvas
* _arg0
;
1642 int _arg3
= (int ) 0;
1643 PyObject
* _argo0
= 0;
1644 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragRight. Expected _wxPyShapeCanvas_p.");
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 wxPyShapeCanvas_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1660 wxPy_END_ALLOW_THREADS
;
1661 } Py_INCREF(Py_None
);
1662 _resultobj
= Py_None
;
1666 #define wxPyShapeCanvas_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1667 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1669 wxPyShapeCanvas
* _arg0
;
1673 int _arg4
= (int ) 0;
1674 PyObject
* _argo0
= 0;
1676 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragLeft. Expected _wxPyShapeCanvas_p.");
1688 _arg1
= (bool ) tempbool1
;
1690 wxPy_BEGIN_ALLOW_THREADS
;
1691 wxPyShapeCanvas_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1693 wxPy_END_ALLOW_THREADS
;
1694 } Py_INCREF(Py_None
);
1695 _resultobj
= Py_None
;
1699 #define wxPyShapeCanvas_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1700 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1702 wxPyShapeCanvas
* _arg0
;
1706 int _arg4
= (int ) 0;
1707 PyObject
* _argo0
= 0;
1709 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragRight. Expected _wxPyShapeCanvas_p.");
1721 _arg1
= (bool ) tempbool1
;
1723 wxPy_BEGIN_ALLOW_THREADS
;
1724 wxPyShapeCanvas_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1726 wxPy_END_ALLOW_THREADS
;
1727 } Py_INCREF(Py_None
);
1728 _resultobj
= Py_None
;
1732 #define wxPyShapeCanvas_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2))
1733 static PyObject
*_wrap_wxPyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1735 wxPyShapeCanvas
* _arg0
;
1738 int _arg3
= (int ) 0;
1739 PyObject
* _argo0
= 0;
1740 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnLeftClick. Expected _wxPyShapeCanvas_p.");
1753 wxPy_BEGIN_ALLOW_THREADS
;
1754 wxPyShapeCanvas_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
);
1756 wxPy_END_ALLOW_THREADS
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1762 #define wxPyShapeCanvas_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2))
1763 static PyObject
*_wrap_wxPyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1765 wxPyShapeCanvas
* _arg0
;
1768 int _arg3
= (int ) 0;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnRightClick. Expected _wxPyShapeCanvas_p.");
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 wxPyShapeCanvas_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
);
1786 wxPy_END_ALLOW_THREADS
;
1787 } Py_INCREF(Py_None
);
1788 _resultobj
= Py_None
;
1792 #define wxPyShapeCanvas_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
1793 static PyObject
*_wrap_wxPyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1795 wxPyShapeCanvas
* _arg0
;
1797 PyObject
* _argo0
= 0;
1798 PyObject
* _argo1
= 0;
1799 char *_kwnames
[] = { "self","dc", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_Redraw",_kwnames
,&_argo0
,&_argo1
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Redraw. Expected _wxPyShapeCanvas_p.");
1812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_Redraw. Expected _wxDC_p.");
1819 wxPy_BEGIN_ALLOW_THREADS
;
1820 wxPyShapeCanvas_Redraw(_arg0
,*_arg1
);
1822 wxPy_END_ALLOW_THREADS
;
1823 } Py_INCREF(Py_None
);
1824 _resultobj
= Py_None
;
1828 #define wxPyShapeCanvas_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
1829 static PyObject
*_wrap_wxPyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
* _resultobj
;
1831 wxPyShapeCanvas
* _arg0
;
1833 PyObject
* _argo0
= 0;
1834 PyObject
* _argo1
= 0;
1835 char *_kwnames
[] = { "self","shape", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
1841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShapeCanvas_p.");
1848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShape_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 wxPyShapeCanvas_RemoveShape(_arg0
,_arg1
);
1858 wxPy_END_ALLOW_THREADS
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1864 #define wxPyShapeCanvas_SetDiagram(_swigobj,_swigarg0) (_swigobj->SetDiagram(_swigarg0))
1865 static PyObject
*_wrap_wxPyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1867 wxPyShapeCanvas
* _arg0
;
1869 PyObject
* _argo0
= 0;
1870 PyObject
* _argo1
= 0;
1871 char *_kwnames
[] = { "self","diagram", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_SetDiagram",_kwnames
,&_argo0
,&_argo1
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_SetDiagram. Expected _wxPyShapeCanvas_p.");
1884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDiagram_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_SetDiagram. Expected _wxDiagram_p.");
1891 wxPy_BEGIN_ALLOW_THREADS
;
1892 wxPyShapeCanvas_SetDiagram(_arg0
,_arg1
);
1894 wxPy_END_ALLOW_THREADS
;
1895 } Py_INCREF(Py_None
);
1896 _resultobj
= Py_None
;
1900 #define wxPyShapeCanvas_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1901 static PyObject
*_wrap_wxPyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1903 wxPyShapeCanvas
* _arg0
;
1906 PyObject
* _argo0
= 0;
1908 PyObject
* _obj1
= 0;
1910 PyObject
* _obj2
= 0;
1911 char *_kwnames
[] = { "self","INOUT","INOUT", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeCanvas_Snap",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Snap. Expected _wxPyShapeCanvas_p.");
1924 temp
= PyFloat_AsDouble(_obj1
);
1928 temp0
= PyFloat_AsDouble(_obj2
);
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 wxPyShapeCanvas_Snap(_arg0
,_arg1
,_arg2
);
1935 wxPy_END_ALLOW_THREADS
;
1936 } Py_INCREF(Py_None
);
1937 _resultobj
= Py_None
;
1940 o
= PyFloat_FromDouble((double) (*_arg1
));
1941 _resultobj
= t_output_helper(_resultobj
, o
);
1945 o
= PyFloat_FromDouble((double) (*_arg2
));
1946 _resultobj
= t_output_helper(_resultobj
, o
);
1951 static PyMethodDef oglcanvascMethods
[] = {
1952 { "wxPyShapeCanvas_Snap", (PyCFunction
) _wrap_wxPyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1953 { "wxPyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1954 { "wxPyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1955 { "wxPyShapeCanvas_Redraw", (PyCFunction
) _wrap_wxPyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1956 { "wxPyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
1957 { "wxPyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
1958 { "wxPyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1959 { "wxPyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1960 { "wxPyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1961 { "wxPyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1962 { "wxPyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1963 { "wxPyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1964 { "wxPyShapeCanvas_InsertShape", (PyCFunction
) _wrap_wxPyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1965 { "wxPyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_wxPyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1966 { "wxPyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1967 { "wxPyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
1968 { "wxPyShapeCanvas_FindShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1969 { "wxPyShapeCanvas_AddShape", (PyCFunction
) _wrap_wxPyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1970 { "wxPyShapeCanvas__setSelf", (PyCFunction
) _wrap_wxPyShapeCanvas__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
1971 { "new_wxPyShapeCanvas", (PyCFunction
) _wrap_new_wxPyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1972 { "wxDiagram_Snap", (PyCFunction
) _wrap_wxDiagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1973 { "wxDiagram_ShowAll", (PyCFunction
) _wrap_wxDiagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
1974 { "wxDiagram_SetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1975 { "wxDiagram_SetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1976 { "wxDiagram_SetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1977 { "wxDiagram_SetGridSpacing", (PyCFunction
) _wrap_wxDiagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1978 { "wxDiagram_SetCanvas", (PyCFunction
) _wrap_wxDiagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1979 { "wxDiagram_SaveFile", (PyCFunction
) _wrap_wxDiagram_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
1980 { "wxDiagram_RemoveShape", (PyCFunction
) _wrap_wxDiagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1981 { "wxDiagram_RemoveAllShapes", (PyCFunction
) _wrap_wxDiagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1982 { "wxDiagram_Redraw", (PyCFunction
) _wrap_wxDiagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1983 { "wxDiagram_RecentreAll", (PyCFunction
) _wrap_wxDiagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
1984 { "wxDiagram_ReadNodes", (PyCFunction
) _wrap_wxDiagram_ReadNodes
, METH_VARARGS
| METH_KEYWORDS
},
1985 { "wxDiagram_ReadLines", (PyCFunction
) _wrap_wxDiagram_ReadLines
, METH_VARARGS
| METH_KEYWORDS
},
1986 { "wxDiagram_ReadContainerGeometry", (PyCFunction
) _wrap_wxDiagram_ReadContainerGeometry
, METH_VARARGS
| METH_KEYWORDS
},
1987 { "wxDiagram_LoadFile", (PyCFunction
) _wrap_wxDiagram_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
1988 { "wxDiagram_InsertShape", (PyCFunction
) _wrap_wxDiagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1989 { "wxDiagram_GetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1990 { "wxDiagram_GetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1991 { "wxDiagram_GetShapeList", (PyCFunction
) _wrap_wxDiagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
1992 { "wxDiagram_GetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1993 { "wxDiagram_GetGridSpacing", (PyCFunction
) _wrap_wxDiagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1994 { "wxDiagram_GetCount", (PyCFunction
) _wrap_wxDiagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
1995 { "wxDiagram_GetCanvas", (PyCFunction
) _wrap_wxDiagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1996 { "wxDiagram_FindShape", (PyCFunction
) _wrap_wxDiagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1997 { "wxDiagram_DrawOutline", (PyCFunction
) _wrap_wxDiagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
1998 { "wxDiagram_DeleteAllShapes", (PyCFunction
) _wrap_wxDiagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1999 { "wxDiagram_Clear", (PyCFunction
) _wrap_wxDiagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
2000 { "wxDiagram_AddShape", (PyCFunction
) _wrap_wxDiagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
2001 { "delete_wxDiagram", (PyCFunction
) _wrap_delete_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
2002 { "new_wxDiagram", (PyCFunction
) _wrap_new_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
2009 * This table is used by the pointer type-checker
2011 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2012 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2013 { "_wxEvent","_class_wxEvent",0},
2014 { "_class_wxActivateEvent","_wxActivateEvent",0},
2015 { "_signed_long","_long",0},
2016 { "_wxMenuEvent","_class_wxMenuEvent",0},
2017 { "_class_wxProcessEvent","_wxProcessEvent",0},
2018 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
2019 { "_class_wxFSFile","_wxFSFile",0},
2020 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2021 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2022 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2023 { "_wxBMPHandler","_class_wxBMPHandler",0},
2024 { "_wxImage","_class_wxImage",0},
2025 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
2026 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
2027 { "_class_wxDateTime","_wxDateTime",0},
2028 { "_wxPrintQuality","_wxCoord",0},
2029 { "_wxPrintQuality","_int",0},
2030 { "_wxPrintQuality","_signed_int",0},
2031 { "_wxPrintQuality","_unsigned_int",0},
2032 { "_wxPrintQuality","_wxWindowID",0},
2033 { "_wxPrintQuality","_uint",0},
2034 { "_wxPrintQuality","_EBool",0},
2035 { "_wxPrintQuality","_size_t",0},
2036 { "_wxPrintQuality","_time_t",0},
2037 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2038 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2039 { "_wxFontData","_class_wxFontData",0},
2040 { "_class_wxRegionIterator","_wxRegionIterator",0},
2041 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2042 { "_class_wxMenuBar","_wxMenuBar",0},
2043 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
2044 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
2045 { "_class_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2046 { "_class_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2047 { "_class_wxEvtHandler","_wxEvtHandler",0},
2048 { "_wxPaintEvent","_class_wxPaintEvent",0},
2049 { "_wxGIFHandler","_class_wxGIFHandler",0},
2050 { "_wxPySizer","_class_wxPySizer",0},
2051 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
2052 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2053 { "_wxCursor","_class_wxCursor",0},
2054 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2055 { "_wxPyProcess","_class_wxPyProcess",0},
2056 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
2057 { "_wxImageHandler","_class_wxImageHandler",0},
2058 { "_wxLog","_class_wxLog",0},
2059 { "_class_wxToolBarBase","_wxToolBarBase",0},
2060 { "_wxMask","_class_wxMask",0},
2061 { "_wxToolTip","_class_wxToolTip",0},
2062 { "_wxPNGHandler","_class_wxPNGHandler",0},
2063 { "_class_wxColourData","_wxColourData",0},
2064 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
2065 { "_wxPrinter","_class_wxPrinter",0},
2066 { "_wxPen","_class_wxPen",0},
2067 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2068 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
2069 { "_byte","_unsigned_char",0},
2070 { "_wxDataObject","_class_wxDataObject",0},
2071 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
2072 { "_wxStaticBox","_class_wxStaticBox",0},
2073 { "_wxColourDatabase","_class_wxColourDatabase",0},
2074 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2075 { "_wxPyDropSource","_class_wxPyDropSource",0},
2076 { "_wxChoice","_class_wxChoice",0},
2077 { "_wxSlider","_class_wxSlider",0},
2078 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
2079 { "_wxPyPrintout","_class_wxPyPrintout",0},
2080 { "_wxShapeRegion","_class_wxShapeRegion",0},
2081 { "_long","_unsigned_long",0},
2082 { "_long","_signed_long",0},
2083 { "_wxImageList","_class_wxImageList",0},
2084 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2085 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2086 { "_wxBitmapButton","_class_wxBitmapButton",0},
2087 { "_wxSashWindow","_class_wxSashWindow",0},
2088 { "_class_wxSizer","_wxSizer",0},
2089 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
2090 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
2091 { "_wxGridSizer","_class_wxGridSizer",0},
2092 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2093 { "_class_wxClipboard","_wxClipboard",0},
2094 { "_class_wxGauge","_wxGauge",0},
2095 { "_class_wxSashEvent","_wxSashEvent",0},
2096 { "_wxDC","_class_wxDC",0},
2097 { "_wxSizerItem","_class_wxSizerItem",0},
2098 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2099 { "_wxListEvent","_class_wxListEvent",0},
2100 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
2101 { "_wxProgressDialog","_class_wxProgressDialog",0},
2102 { "_class_wxBMPHandler","_wxBMPHandler",0},
2103 { "_wxPrintPreview","_class_wxPrintPreview",0},
2104 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
2105 { "_wxSpinEvent","_class_wxSpinEvent",0},
2106 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
2107 { "_size_t","_wxCoord",0},
2108 { "_size_t","_wxPrintQuality",0},
2109 { "_size_t","_time_t",0},
2110 { "_size_t","_unsigned_int",0},
2111 { "_size_t","_int",0},
2112 { "_size_t","_wxWindowID",0},
2113 { "_size_t","_uint",0},
2114 { "_class_wxRealPoint","_wxRealPoint",0},
2115 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2116 { "_wxPNMHandler","_class_wxPNMHandler",0},
2117 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2118 { "_wxLogGui","_class_wxLogGui",0},
2119 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
2120 { "_class_wxMenuItem","_wxMenuItem",0},
2121 { "_class_wxPaintEvent","_wxPaintEvent",0},
2122 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2123 { "_class_wxStatusBar","_wxStatusBar",0},
2124 { "_class_wxGIFHandler","_wxGIFHandler",0},
2125 { "_class_wxPySizer","_wxPySizer",0},
2126 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2127 { "_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2128 { "_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2129 { "_wxPanel","_class_wxPanel",0},
2130 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2131 { "_wxCheckBox","_class_wxCheckBox",0},
2132 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
2133 { "_wxPyEvent","_class_wxPyEvent",0},
2134 { "_wxTextCtrl","_class_wxTextCtrl",0},
2135 { "_class_wxMask","_wxMask",0},
2136 { "_wxTextDataObject","_class_wxTextDataObject",0},
2137 { "_class_wxKeyEvent","_wxKeyEvent",0},
2138 { "_class_wxToolTip","_wxToolTip",0},
2139 { "_class_wxPNGHandler","_wxPNGHandler",0},
2140 { "_wxFileConfig","_class_wxFileConfig",0},
2141 { "_wxColour","_class_wxColour",0},
2142 { "_class_wxDialog","_wxDialog",0},
2143 { "_wxBusyCursor","_class_wxBusyCursor",0},
2144 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
2145 { "_class_wxPrinter","_wxPrinter",0},
2146 { "_class_wxFileDataObject","_wxFileDataObject",0},
2147 { "_wxIdleEvent","_class_wxIdleEvent",0},
2148 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2149 { "_wxToolBar","_class_wxToolBar",0},
2150 { "_class_wxDataObject","_wxDataObject",0},
2151 { "_wxCaret","_class_wxCaret",0},
2152 { "_wxStaticLine","_class_wxStaticLine",0},
2153 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
2154 { "_wxBrush","_class_wxBrush",0},
2155 { "_wxMiniFrame","_class_wxMiniFrame",0},
2156 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
2157 { "_class_wxPyPrintout","_wxPyPrintout",0},
2158 { "_wxDataFormat","_class_wxDataFormat",0},
2159 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2160 { "_class_wxSashWindow","_wxSashWindow",0},
2161 { "_wxShowEvent","_class_wxShowEvent",0},
2162 { "_uint","_wxCoord",0},
2163 { "_uint","_wxPrintQuality",0},
2164 { "_uint","_time_t",0},
2165 { "_uint","_size_t",0},
2166 { "_uint","_unsigned_int",0},
2167 { "_uint","_int",0},
2168 { "_uint","_wxWindowID",0},
2169 { "_wxChar","_char",0},
2170 { "_wxPyValidator","_class_wxPyValidator",0},
2171 { "_class_wxEvent","_wxEvent",0},
2172 { "_wxCheckListBox","_class_wxCheckListBox",0},
2173 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
2174 { "_wxRect","_class_wxRect",0},
2175 { "_wxCommandEvent","_class_wxCommandEvent",0},
2176 { "_wxPyShapeCanvas","_class_wxPyShapeCanvas",0},
2177 { "_wxSizeEvent","_class_wxSizeEvent",0},
2178 { "_class_wxLogWindow","_wxLogWindow",0},
2179 { "_class_wxImage","_wxImage",0},
2180 { "_wxPoint","_class_wxPoint",0},
2181 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
2182 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
2183 { "_class_wxButton","_wxButton",0},
2184 { "_wxRadioBox","_class_wxRadioBox",0},
2185 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2186 { "_class_wxFontData","_wxFontData",0},
2187 { "_class_wxPNMHandler","_wxPNMHandler",0},
2188 { "_wxBoxSizer","_class_wxBoxSizer",0},
2189 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
2190 { "_char","_wxChar",0},
2191 { "_wxBitmap","_class_wxBitmap",0},
2192 { "_wxPenList","_class_wxPenList",0},
2193 { "_wxPrintDialog","_class_wxPrintDialog",0},
2194 { "_wxWindowDC","_class_wxWindowDC",0},
2195 { "_wxTimerEvent","_class_wxTimerEvent",0},
2196 { "_wxPyTimer","_class_wxPyTimer",0},
2197 { "_wxScrollBar","_class_wxScrollBar",0},
2198 { "_wxSpinButton","_class_wxSpinButton",0},
2199 { "_wxColourDialog","_class_wxColourDialog",0},
2200 { "_wxPrintData","_class_wxPrintData",0},
2201 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
2202 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2203 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2204 { "_wxMessageDialog","_class_wxMessageDialog",0},
2205 { "_class_wxValidator","_wxValidator",0},
2206 { "_class_wxPyEvent","_wxPyEvent",0},
2207 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
2208 { "_wxConfig","_class_wxConfig",0},
2209 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2210 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2211 { "_class_wxFileConfig","_wxFileConfig",0},
2212 { "_class_wxBusyCursor","_wxBusyCursor",0},
2213 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
2214 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
2215 { "_wxListItem","_class_wxListItem",0},
2216 { "_class_wxToolBar","_wxToolBar",0},
2217 { "_wxDropTarget","_class_wxDropTarget",0},
2218 { "_class_wxStaticLine","_wxStaticLine",0},
2219 { "_class_wxColourDatabase","_wxColourDatabase",0},
2220 { "_wxScrollEvent","_class_wxScrollEvent",0},
2221 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
2222 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
2223 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
2224 { "_class_wxShapeRegion","_wxShapeRegion",0},
2225 { "_EBool","_wxCoord",0},
2226 { "_EBool","_wxPrintQuality",0},
2227 { "_EBool","_signed_int",0},
2228 { "_EBool","_int",0},
2229 { "_EBool","_wxWindowID",0},
2230 { "_class_wxRegion","_wxRegion",0},
2231 { "_class_wxDataFormat","_wxDataFormat",0},
2232 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2233 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2234 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
2235 { "_wxStaticText","_class_wxStaticText",0},
2236 { "_wxFont","_class_wxFont",0},
2237 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2238 { "_wxCloseEvent","_class_wxCloseEvent",0},
2239 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
2240 { "_wxProcessEvent","_class_wxProcessEvent",0},
2241 { "_wxNotebook","_class_wxNotebook",0},
2242 { "_wxFSFile","_class_wxFSFile",0},
2243 { "_unsigned_long","_long",0},
2244 { "_class_wxRect","_wxRect",0},
2245 { "_class_wxDC","_wxDC",0},
2246 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2247 { "_class_wxPyShapeCanvas","_wxPyShapeCanvas",0},
2248 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
2249 { "_class_wxProgressDialog","_wxProgressDialog",0},
2250 { "_class_wxBrushList","_wxBrushList",0},
2251 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2252 { "_wxPyInputStream","_class_wxPyInputStream",0},
2253 { "_wxPyApp","_class_wxPyApp",0},
2254 { "_class_wxPenList","_wxPenList",0},
2255 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2256 { "_class_wxOutputStream","_wxOutputStream",0},
2257 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
2258 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
2259 { "_class_wxTreeEvent","_wxTreeEvent",0},
2260 { "_class_wxDirDialog","_wxDirDialog",0},
2261 { "_wxTimeSpan","_class_wxTimeSpan",0},
2262 { "_wxFocusEvent","_class_wxFocusEvent",0},
2263 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2264 { "_class_wxTimerEvent","_wxTimerEvent",0},
2265 { "_class_wxPyTimer","_wxPyTimer",0},
2266 { "_class_wxSpinButton","_wxSpinButton",0},
2267 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2268 { "_class_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2269 { "_class_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2270 { "_class_wxPanel","_wxPanel",0},
2271 { "_class_wxCheckBox","_wxCheckBox",0},
2272 { "_wxComboBox","_class_wxComboBox",0},
2273 { "_wxRadioButton","_class_wxRadioButton",0},
2274 { "_class_wxMessageDialog","_wxMessageDialog",0},
2275 { "_signed_int","_wxCoord",0},
2276 { "_signed_int","_wxPrintQuality",0},
2277 { "_signed_int","_EBool",0},
2278 { "_signed_int","_wxWindowID",0},
2279 { "_signed_int","_int",0},
2280 { "_class_wxTextCtrl","_wxTextCtrl",0},
2281 { "_class_wxListItemAttr","_wxListItemAttr",0},
2282 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2283 { "_class_wxTextDataObject","_wxTextDataObject",0},
2284 { "_wxMenu","_class_wxMenu",0},
2285 { "_class_wxMoveEvent","_wxMoveEvent",0},
2286 { "_wxListBox","_class_wxListBox",0},
2287 { "_wxScreenDC","_class_wxScreenDC",0},
2288 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
2289 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
2290 { "_WXTYPE","_wxDateTime_t",0},
2291 { "_WXTYPE","_short",0},
2292 { "_WXTYPE","_signed_short",0},
2293 { "_WXTYPE","_unsigned_short",0},
2294 { "_wxFileDialog","_class_wxFileDialog",0},
2295 { "_class_wxDropTarget","_wxDropTarget",0},
2296 { "_class_wxCaret","_wxCaret",0},
2297 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
2298 { "_class_wxBrush","_wxBrush",0},
2299 { "_wxTipProvider","_class_wxTipProvider",0},
2300 { "_unsigned_short","_wxDateTime_t",0},
2301 { "_unsigned_short","_WXTYPE",0},
2302 { "_unsigned_short","_short",0},
2303 { "_class_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2304 { "_class_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2305 { "_class_wxWindow","_wxWindow",0},
2306 { "_class_wxLogStderr","_wxLogStderr",0},
2307 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
2308 { "_wxDateSpan","_class_wxDateSpan",0},
2309 { "_class_wxStaticText","_wxStaticText",0},
2310 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
2311 { "_class_wxFont","_wxFont",0},
2312 { "_wxClipboard","_class_wxClipboard",0},
2313 { "_class_wxPyValidator","_wxPyValidator",0},
2314 { "_class_wxCloseEvent","_wxCloseEvent",0},
2315 { "_wxSashEvent","_class_wxSashEvent",0},
2316 { "_wxBusyInfo","_class_wxBusyInfo",0},
2317 { "_wxFontList","_class_wxFontList",0},
2318 { "_class_wxMenuEvent","_wxMenuEvent",0},
2319 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2320 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2321 { "_wxClientDC","_class_wxClientDC",0},
2322 { "_wxMouseEvent","_class_wxMouseEvent",0},
2323 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
2324 { "_wxListCtrl","_class_wxListCtrl",0},
2325 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
2326 { "_class_wxPoint","_wxPoint",0},
2327 { "_class_wxPyInputStream","_wxPyInputStream",0},
2328 { "_wxRealPoint","_class_wxRealPoint",0},
2329 { "_class_wxRadioBox","_wxRadioBox",0},
2330 { "_class_wxBoxSizer","_wxBoxSizer",0},
2331 { "_signed_short","_WXTYPE",0},
2332 { "_signed_short","_short",0},
2333 { "_wxMemoryDC","_class_wxMemoryDC",0},
2334 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2335 { "_class_wxPrintDialog","_wxPrintDialog",0},
2336 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
2337 { "_wxPaintDC","_class_wxPaintDC",0},
2338 { "_class_wxWindowDC","_wxWindowDC",0},
2339 { "_class_wxFocusEvent","_wxFocusEvent",0},
2340 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2341 { "_wxStatusBar","_class_wxStatusBar",0},
2342 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2343 { "_class_wxCursor","_wxCursor",0},
2344 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2345 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2346 { "_class_wxPyProcess","_wxPyProcess",0},
2347 { "_class_wxImageHandler","_wxImageHandler",0},
2348 { "_wxPyShape","_class_wxPyShape",0},
2349 { "_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2350 { "_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2351 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2352 { "_class_wxLog","_wxLog",0},
2353 { "_wxTreeItemId","_class_wxTreeItemId",0},
2354 { "_unsigned_char","_byte",0},
2355 { "_class_wxMenu","_wxMenu",0},
2356 { "_wxControl","_class_wxControl",0},
2357 { "_class_wxListBox","_wxListBox",0},
2358 { "_unsigned_int","_wxCoord",0},
2359 { "_unsigned_int","_wxPrintQuality",0},
2360 { "_unsigned_int","_time_t",0},
2361 { "_unsigned_int","_size_t",0},
2362 { "_unsigned_int","_uint",0},
2363 { "_unsigned_int","_wxWindowID",0},
2364 { "_unsigned_int","_int",0},
2365 { "_wxIcon","_class_wxIcon",0},
2366 { "_wxDialog","_class_wxDialog",0},
2367 { "_class_wxListItem","_wxListItem",0},
2368 { "_class_wxPen","_wxPen",0},
2369 { "_class_wxFileDialog","_wxFileDialog",0},
2370 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
2371 { "_wxConfigBase","_class_wxConfigBase",0},
2372 { "_short","_wxDateTime_t",0},
2373 { "_short","_WXTYPE",0},
2374 { "_short","_unsigned_short",0},
2375 { "_short","_signed_short",0},
2376 { "_class_wxStaticBox","_wxStaticBox",0},
2377 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
2378 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2379 { "_class_wxPyDropSource","_wxPyDropSource",0},
2380 { "_class_wxScrollEvent","_wxScrollEvent",0},
2381 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2382 { "_class_wxChoice","_wxChoice",0},
2383 { "_class_wxSlider","_wxSlider",0},
2384 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
2385 { "_class_wxImageList","_wxImageList",0},
2386 { "_class_wxBitmapButton","_wxBitmapButton",0},
2387 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
2388 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
2389 { "_wxFrame","_class_wxFrame",0},
2390 { "_wxPCXHandler","_class_wxPCXHandler",0},
2391 { "_class_wxGridSizer","_wxGridSizer",0},
2392 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2393 { "_class_wxNotebook","_wxNotebook",0},
2394 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
2395 { "_wxWindowID","_wxCoord",0},
2396 { "_wxWindowID","_wxPrintQuality",0},
2397 { "_wxWindowID","_time_t",0},
2398 { "_wxWindowID","_size_t",0},
2399 { "_wxWindowID","_EBool",0},
2400 { "_wxWindowID","_uint",0},
2401 { "_wxWindowID","_int",0},
2402 { "_wxWindowID","_signed_int",0},
2403 { "_wxWindowID","_unsigned_int",0},
2404 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2405 { "_class_wxSizerItem","_wxSizerItem",0},
2406 { "_int","_wxCoord",0},
2407 { "_int","_wxPrintQuality",0},
2408 { "_int","_time_t",0},
2409 { "_int","_size_t",0},
2410 { "_int","_EBool",0},
2411 { "_int","_uint",0},
2412 { "_int","_wxWindowID",0},
2413 { "_int","_unsigned_int",0},
2414 { "_int","_signed_int",0},
2415 { "_class_wxMouseEvent","_wxMouseEvent",0},
2416 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2417 { "_wxLogWindow","_class_wxLogWindow",0},
2418 { "_class_wxListEvent","_wxListEvent",0},
2419 { "_class_wxPrintPreview","_wxPrintPreview",0},
2420 { "_wxDateTime_t","_unsigned_short",0},
2421 { "_wxDateTime_t","_short",0},
2422 { "_wxDateTime_t","_WXTYPE",0},
2423 { "_class_wxSpinEvent","_wxSpinEvent",0},
2424 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2425 { "_wxDateTime","_class_wxDateTime",0},
2426 { "_time_t","_wxCoord",0},
2427 { "_time_t","_wxPrintQuality",0},
2428 { "_time_t","_unsigned_int",0},
2429 { "_time_t","_int",0},
2430 { "_time_t","_wxWindowID",0},
2431 { "_time_t","_uint",0},
2432 { "_time_t","_size_t",0},
2433 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2434 { "_wxLogNull","_class_wxLogNull",0},
2435 { "_wxButton","_class_wxButton",0},
2436 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
2437 { "_class_wxPyApp","_wxPyApp",0},
2438 { "_wxSize","_class_wxSize",0},
2439 { "_wxRegionIterator","_class_wxRegionIterator",0},
2440 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2441 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
2442 { "_class_wxLogGui","_wxLogGui",0},
2443 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
2444 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
2445 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
2446 { "_class_wxTimeSpan","_wxTimeSpan",0},
2447 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
2448 { "_class_wxPaintDC","_wxPaintDC",0},
2449 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2450 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2451 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2452 { "_class_wxComboBox","_wxComboBox",0},
2453 { "_class_wxRadioButton","_wxRadioButton",0},
2454 { "_class_wxPyShape","_wxPyShape",0},
2455 { "_wxValidator","_class_wxValidator",0},
2456 { "_wxToolBarBase","_class_wxToolBarBase",0},
2457 { "_class_wxTreeItemId","_wxTreeItemId",0},
2458 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2459 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2460 { "_class_wxControl","_wxControl",0},
2461 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2462 { "_class_wxIcon","_wxIcon",0},
2463 { "_class_wxColour","_wxColour",0},
2464 { "_class_wxScreenDC","_wxScreenDC",0},
2465 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
2466 { "_wxPalette","_class_wxPalette",0},
2467 { "_class_wxIdleEvent","_wxIdleEvent",0},
2468 { "_class_wxConfigBase","_wxConfigBase",0},
2469 { "_wxCoord","_int",0},
2470 { "_wxCoord","_signed_int",0},
2471 { "_wxCoord","_unsigned_int",0},
2472 { "_wxCoord","_wxWindowID",0},
2473 { "_wxCoord","_uint",0},
2474 { "_wxCoord","_EBool",0},
2475 { "_wxCoord","_size_t",0},
2476 { "_wxCoord","_time_t",0},
2477 { "_wxCoord","_wxPrintQuality",0},
2478 { "_wxEraseEvent","_class_wxEraseEvent",0},
2479 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2480 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2481 { "_class_wxTipProvider","_wxTipProvider",0},
2482 { "_class_wxMiniFrame","_wxMiniFrame",0},
2483 { "_wxFontDialog","_class_wxFontDialog",0},
2484 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
2485 { "_wxRegion","_class_wxRegion",0},
2486 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2487 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
2488 { "_wxSizer","_class_wxSizer",0},
2489 { "_class_wxDateSpan","_wxDateSpan",0},
2490 { "_wxFileSystem","_class_wxFileSystem",0},
2491 { "_class_wxShowEvent","_wxShowEvent",0},
2492 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
2493 { "_class_wxPCXHandler","_wxPCXHandler",0},
2494 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
2495 { "_wxDiagram","_class_wxDiagram",0},
2496 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2497 { "_wxActivateEvent","_class_wxActivateEvent",0},
2498 { "_wxGauge","_class_wxGauge",0},
2499 { "_class_wxCheckListBox","_wxCheckListBox",0},
2500 { "_class_wxBusyInfo","_wxBusyInfo",0},
2501 { "_class_wxFontList","_wxFontList",0},
2502 { "_class_wxCommandEvent","_wxCommandEvent",0},
2503 { "_class_wxClientDC","_wxClientDC",0},
2504 { "_class_wxSizeEvent","_wxSizeEvent",0},
2505 { "_class_wxListCtrl","_wxListCtrl",0},
2506 { "_wxBrushList","_class_wxBrushList",0},
2507 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2508 { "_class_wxLogNull","_wxLogNull",0},
2509 { "_class_wxSize","_wxSize",0},
2510 { "_class_wxBitmap","_wxBitmap",0},
2511 { "_class_wxMemoryDC","_wxMemoryDC",0},
2512 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2513 { "_wxMenuBar","_class_wxMenuBar",0},
2514 { "_wxOutputStream","_class_wxOutputStream",0},
2515 { "_wxTreeEvent","_class_wxTreeEvent",0},
2516 { "_wxDirDialog","_class_wxDirDialog",0},
2517 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
2518 { "_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2519 { "_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2520 { "_wxEvtHandler","_class_wxEvtHandler",0},
2521 { "_wxMenuItem","_class_wxMenuItem",0},
2522 { "_class_wxScrollBar","_wxScrollBar",0},
2523 { "_class_wxColourDialog","_wxColourDialog",0},
2524 { "_class_wxPrintData","_wxPrintData",0},
2525 { "_class_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2526 { "_class_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2527 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2528 { "_wxListItemAttr","_class_wxListItemAttr",0},
2529 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
2530 { "_class_wxConfig","_wxConfig",0},
2531 { "_wxKeyEvent","_class_wxKeyEvent",0},
2532 { "_wxMoveEvent","_class_wxMoveEvent",0},
2533 { "_wxColourData","_class_wxColourData",0},
2534 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
2535 { "_class_wxPalette","_wxPalette",0},
2536 { "_wxFileDataObject","_class_wxFileDataObject",0},
2537 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
2538 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
2539 { "_class_wxEraseEvent","_wxEraseEvent",0},
2540 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
2541 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
2542 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2543 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
2544 { "_class_wxFontDialog","_wxFontDialog",0},
2545 { "_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2546 { "_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2547 { "_wxWindow","_class_wxWindow",0},
2548 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2549 { "_wxLogStderr","_class_wxLogStderr",0},
2550 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
2551 { "_class_wxFileSystem","_wxFileSystem",0},
2552 { "_class_wxFrame","_wxFrame",0},
2553 { "_class_wxDiagram","_wxDiagram",0},
2556 static PyObject
*SWIG_globals
;
2560 SWIGEXPORT(void) initoglcanvasc() {
2562 SWIG_globals
= SWIG_newvarlink();
2563 m
= Py_InitModule("oglcanvasc", oglcanvascMethods
);
2564 d
= PyModule_GetDict(m
);
2567 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2568 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);