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
;
1127 PyObject
* _argo0
= 0;
1128 char *_kwnames
[] = { "self", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDiagram_Snap",_kwnames
,&_argo0
))
1140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDiagram_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDiagram_Snap. Expected _wxDiagram_p.");
1147 wxPy_BEGIN_ALLOW_THREADS
;
1148 wxDiagram_Snap(_arg0
,_arg1
,_arg2
);
1150 wxPy_END_ALLOW_THREADS
;
1151 } Py_INCREF(Py_None
);
1152 _resultobj
= Py_None
;
1155 o
= PyFloat_FromDouble((double) (*_arg1
));
1156 _resultobj
= t_output_helper(_resultobj
, o
);
1160 o
= PyFloat_FromDouble((double) (*_arg2
));
1161 _resultobj
= t_output_helper(_resultobj
, o
);
1166 static void *SwigwxPyShapeCanvasTowxScrolledWindow(void *ptr
) {
1167 wxPyShapeCanvas
*src
;
1168 wxScrolledWindow
*dest
;
1169 src
= (wxPyShapeCanvas
*) ptr
;
1170 dest
= (wxScrolledWindow
*) src
;
1171 return (void *) dest
;
1174 static void *SwigwxPyShapeCanvasTowxPanel(void *ptr
) {
1175 wxPyShapeCanvas
*src
;
1177 src
= (wxPyShapeCanvas
*) ptr
;
1178 dest
= (wxPanel
*) src
;
1179 return (void *) dest
;
1182 static void *SwigwxPyShapeCanvasTowxWindow(void *ptr
) {
1183 wxPyShapeCanvas
*src
;
1185 src
= (wxPyShapeCanvas
*) ptr
;
1186 dest
= (wxWindow
*) src
;
1187 return (void *) dest
;
1190 static void *SwigwxPyShapeCanvasTowxEvtHandler(void *ptr
) {
1191 wxPyShapeCanvas
*src
;
1193 src
= (wxPyShapeCanvas
*) ptr
;
1194 dest
= (wxEvtHandler
*) src
;
1195 return (void *) dest
;
1198 #define new_wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1199 static PyObject
*_wrap_new_wxPyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1201 wxPyShapeCanvas
* _result
;
1202 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1203 wxWindowID _arg1
= (wxWindowID
) -1;
1204 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1205 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1206 long _arg4
= (long ) wxBORDER
;
1207 PyObject
* _argo0
= 0;
1209 PyObject
* _obj2
= 0;
1211 PyObject
* _obj3
= 0;
1212 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOl:new_wxPyShapeCanvas",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPyShapeCanvas. Expected _wxWindow_p.");
1228 if (! wxPoint_helper(_obj2
, &_arg2
))
1234 if (! wxSize_helper(_obj3
, &_arg3
))
1238 wxPy_BEGIN_ALLOW_THREADS
;
1239 _result
= (wxPyShapeCanvas
*)new_wxPyShapeCanvas(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1241 wxPy_END_ALLOW_THREADS
;
1243 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShapeCanvas_p");
1244 _resultobj
= Py_BuildValue("s",_ptemp
);
1247 _resultobj
= Py_None
;
1252 #define wxPyShapeCanvas__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1253 static PyObject
*_wrap_wxPyShapeCanvas__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1255 wxPyShapeCanvas
* _arg0
;
1258 PyObject
* _argo0
= 0;
1259 PyObject
* _obj1
= 0;
1260 PyObject
* _obj2
= 0;
1261 char *_kwnames
[] = { "self","self","_class", NULL
};
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyShapeCanvas__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas__setSelf. Expected _wxPyShapeCanvas_p.");
1280 wxPy_BEGIN_ALLOW_THREADS
;
1281 wxPyShapeCanvas__setSelf(_arg0
,_arg1
,_arg2
);
1283 wxPy_END_ALLOW_THREADS
;
1284 } Py_INCREF(Py_None
);
1285 _resultobj
= Py_None
;
1289 #define wxPyShapeCanvas_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
1290 static PyObject
*_wrap_wxPyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
* _resultobj
;
1292 wxPyShapeCanvas
* _arg0
;
1294 wxPyShape
* _arg2
= (wxPyShape
*) NULL
;
1295 PyObject
* _argo0
= 0;
1296 PyObject
* _argo1
= 0;
1297 PyObject
* _argo2
= 0;
1298 char *_kwnames
[] = { "self","shape","addAfter", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxPyShapeCanvas_AddShape",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_AddShape. Expected _wxPyShapeCanvas_p.");
1311 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1318 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1319 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyShape_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p.");
1325 wxPy_BEGIN_ALLOW_THREADS
;
1326 wxPyShapeCanvas_AddShape(_arg0
,_arg1
,_arg2
);
1328 wxPy_END_ALLOW_THREADS
;
1329 } Py_INCREF(Py_None
);
1330 _resultobj
= Py_None
;
1334 #define wxPyShapeCanvas_FindShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1335 static PyObject
*_wrap_wxPyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1337 wxPyShape
* _result
;
1338 wxPyShapeCanvas
* _arg0
;
1343 wxClassInfo
* _arg4
= (wxClassInfo
*) NULL
;
1344 wxPyShape
* _arg5
= (wxPyShape
*) NULL
;
1345 PyObject
* _argo0
= 0;
1346 PyObject
* _argo4
= 0;
1347 PyObject
* _argo5
= 0;
1348 char *_kwnames
[] = { "self","x1","y","info","notImage", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|OO:wxPyShapeCanvas_FindShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo4
,&_argo5
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindShape. Expected _wxPyShapeCanvas_p.");
1365 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxClassInfo_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPyShapeCanvas_FindShape. Expected _wxClassInfo_p.");
1372 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyShape_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxPyShapeCanvas_FindShape. Expected _wxPyShape_p.");
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 _result
= (wxPyShape
*)wxPyShapeCanvas_FindShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1382 wxPy_END_ALLOW_THREADS
;
1384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1385 _resultobj
= Py_BuildValue("s",_ptemp
);
1388 _resultobj
= Py_None
;
1392 o
= PyInt_FromLong((long) (*_arg3
));
1393 _resultobj
= t_output_helper(_resultobj
, o
);
1398 #define wxPyShapeCanvas_FindFirstSensitiveShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindFirstSensitiveShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1399 static PyObject
*_wrap_wxPyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1401 wxPyShape
* _result
;
1402 wxPyShapeCanvas
* _arg0
;
1408 PyObject
* _argo0
= 0;
1409 char *_kwnames
[] = { "self","x1","y","op", NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oddi:wxPyShapeCanvas_FindFirstSensitiveShape",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg4
))
1419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_FindFirstSensitiveShape. Expected _wxPyShapeCanvas_p.");
1426 wxPy_BEGIN_ALLOW_THREADS
;
1427 _result
= (wxPyShape
*)wxPyShapeCanvas_FindFirstSensitiveShape(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1429 wxPy_END_ALLOW_THREADS
;
1431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyShape_p");
1432 _resultobj
= Py_BuildValue("s",_ptemp
);
1435 _resultobj
= Py_None
;
1439 o
= PyInt_FromLong((long) (*_arg3
));
1440 _resultobj
= t_output_helper(_resultobj
, o
);
1445 #define wxPyShapeCanvas_GetDiagram(_swigobj) (_swigobj->GetDiagram())
1446 static PyObject
*_wrap_wxPyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1448 wxDiagram
* _result
;
1449 wxPyShapeCanvas
* _arg0
;
1450 PyObject
* _argo0
= 0;
1451 char *_kwnames
[] = { "self", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetDiagram",_kwnames
,&_argo0
))
1458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetDiagram. Expected _wxPyShapeCanvas_p.");
1465 wxPy_BEGIN_ALLOW_THREADS
;
1466 _result
= (wxDiagram
*)wxPyShapeCanvas_GetDiagram(_arg0
);
1468 wxPy_END_ALLOW_THREADS
;
1470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDiagram_p");
1471 _resultobj
= Py_BuildValue("s",_ptemp
);
1474 _resultobj
= Py_None
;
1479 #define wxPyShapeCanvas_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
1480 static PyObject
*_wrap_wxPyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1483 wxPyShapeCanvas
* _arg0
;
1484 PyObject
* _argo0
= 0;
1485 char *_kwnames
[] = { "self", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_GetQuickEditMode",_kwnames
,&_argo0
))
1491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_GetQuickEditMode. Expected _wxPyShapeCanvas_p.");
1498 wxPy_BEGIN_ALLOW_THREADS
;
1499 _result
= (bool )wxPyShapeCanvas_GetQuickEditMode(_arg0
);
1501 wxPy_END_ALLOW_THREADS
;
1502 } _resultobj
= Py_BuildValue("i",_result
);
1506 #define wxPyShapeCanvas_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
1507 static PyObject
*_wrap_wxPyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1509 wxPyShapeCanvas
* _arg0
;
1511 PyObject
* _argo0
= 0;
1512 PyObject
* _argo1
= 0;
1513 char *_kwnames
[] = { "self","shape", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_InsertShape",_kwnames
,&_argo0
,&_argo1
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_InsertShape. Expected _wxPyShapeCanvas_p.");
1526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_InsertShape. Expected _wxPyShape_p.");
1533 wxPy_BEGIN_ALLOW_THREADS
;
1534 wxPyShapeCanvas_InsertShape(_arg0
,_arg1
);
1536 wxPy_END_ALLOW_THREADS
;
1537 } Py_INCREF(Py_None
);
1538 _resultobj
= Py_None
;
1542 #define wxPyShapeCanvas_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2))
1543 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1545 wxPyShapeCanvas
* _arg0
;
1548 int _arg3
= (int ) 0;
1549 PyObject
* _argo0
= 0;
1550 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragLeft. Expected _wxPyShapeCanvas_p.");
1563 wxPy_BEGIN_ALLOW_THREADS
;
1564 wxPyShapeCanvas_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1566 wxPy_END_ALLOW_THREADS
;
1567 } Py_INCREF(Py_None
);
1568 _resultobj
= Py_None
;
1572 #define wxPyShapeCanvas_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2))
1573 static PyObject
*_wrap_wxPyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1575 wxPyShapeCanvas
* _arg0
;
1578 int _arg3
= (int ) 0;
1579 PyObject
* _argo0
= 0;
1580 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragRight. Expected _wxPyShapeCanvas_p.");
1593 wxPy_BEGIN_ALLOW_THREADS
;
1594 wxPyShapeCanvas_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1596 wxPy_END_ALLOW_THREADS
;
1597 } Py_INCREF(Py_None
);
1598 _resultobj
= Py_None
;
1602 #define wxPyShapeCanvas_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2))
1603 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1605 wxPyShapeCanvas
* _arg0
;
1608 int _arg3
= (int ) 0;
1609 PyObject
* _argo0
= 0;
1610 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragLeft. Expected _wxPyShapeCanvas_p.");
1623 wxPy_BEGIN_ALLOW_THREADS
;
1624 wxPyShapeCanvas_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
);
1626 wxPy_END_ALLOW_THREADS
;
1627 } Py_INCREF(Py_None
);
1628 _resultobj
= Py_None
;
1632 #define wxPyShapeCanvas_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2))
1633 static PyObject
*_wrap_wxPyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1635 wxPyShapeCanvas
* _arg0
;
1638 int _arg3
= (int ) 0;
1639 PyObject
* _argo0
= 0;
1640 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragRight. Expected _wxPyShapeCanvas_p.");
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 wxPyShapeCanvas_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
);
1656 wxPy_END_ALLOW_THREADS
;
1657 } Py_INCREF(Py_None
);
1658 _resultobj
= Py_None
;
1662 #define wxPyShapeCanvas_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1663 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1665 wxPyShapeCanvas
* _arg0
;
1669 int _arg4
= (int ) 0;
1670 PyObject
* _argo0
= 0;
1672 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragLeft. Expected _wxPyShapeCanvas_p.");
1684 _arg1
= (bool ) tempbool1
;
1686 wxPy_BEGIN_ALLOW_THREADS
;
1687 wxPyShapeCanvas_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1689 wxPy_END_ALLOW_THREADS
;
1690 } Py_INCREF(Py_None
);
1691 _resultobj
= Py_None
;
1695 #define wxPyShapeCanvas_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1696 static PyObject
*_wrap_wxPyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1698 wxPyShapeCanvas
* _arg0
;
1702 int _arg4
= (int ) 0;
1703 PyObject
* _argo0
= 0;
1705 char *_kwnames
[] = { "self","draw","x","y","keys", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|i:wxPyShapeCanvas_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragRight. Expected _wxPyShapeCanvas_p.");
1717 _arg1
= (bool ) tempbool1
;
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 wxPyShapeCanvas_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1722 wxPy_END_ALLOW_THREADS
;
1723 } Py_INCREF(Py_None
);
1724 _resultobj
= Py_None
;
1728 #define wxPyShapeCanvas_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2))
1729 static PyObject
*_wrap_wxPyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1731 wxPyShapeCanvas
* _arg0
;
1734 int _arg3
= (int ) 0;
1735 PyObject
* _argo0
= 0;
1736 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnLeftClick. Expected _wxPyShapeCanvas_p.");
1749 wxPy_BEGIN_ALLOW_THREADS
;
1750 wxPyShapeCanvas_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
);
1752 wxPy_END_ALLOW_THREADS
;
1753 } Py_INCREF(Py_None
);
1754 _resultobj
= Py_None
;
1758 #define wxPyShapeCanvas_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2))
1759 static PyObject
*_wrap_wxPyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
* _resultobj
;
1761 wxPyShapeCanvas
* _arg0
;
1764 int _arg3
= (int ) 0;
1765 PyObject
* _argo0
= 0;
1766 char *_kwnames
[] = { "self","x","y","keys", NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|i:wxPyShapeCanvas_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_base_OnRightClick. Expected _wxPyShapeCanvas_p.");
1779 wxPy_BEGIN_ALLOW_THREADS
;
1780 wxPyShapeCanvas_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
);
1782 wxPy_END_ALLOW_THREADS
;
1783 } Py_INCREF(Py_None
);
1784 _resultobj
= Py_None
;
1788 #define wxPyShapeCanvas_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
1789 static PyObject
*_wrap_wxPyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1791 wxPyShapeCanvas
* _arg0
;
1793 PyObject
* _argo0
= 0;
1794 PyObject
* _argo1
= 0;
1795 char *_kwnames
[] = { "self","dc", NULL
};
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_Redraw",_kwnames
,&_argo0
,&_argo1
))
1801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_Redraw. Expected _wxPyShapeCanvas_p.");
1808 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1809 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_Redraw. Expected _wxDC_p.");
1815 wxPy_BEGIN_ALLOW_THREADS
;
1816 wxPyShapeCanvas_Redraw(_arg0
,*_arg1
);
1818 wxPy_END_ALLOW_THREADS
;
1819 } Py_INCREF(Py_None
);
1820 _resultobj
= Py_None
;
1824 #define wxPyShapeCanvas_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
1825 static PyObject
*_wrap_wxPyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1827 wxPyShapeCanvas
* _arg0
;
1829 PyObject
* _argo0
= 0;
1830 PyObject
* _argo1
= 0;
1831 char *_kwnames
[] = { "self","shape", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_RemoveShape",_kwnames
,&_argo0
,&_argo1
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShapeCanvas_p.");
1844 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShape_p.");
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 wxPyShapeCanvas_RemoveShape(_arg0
,_arg1
);
1854 wxPy_END_ALLOW_THREADS
;
1855 } Py_INCREF(Py_None
);
1856 _resultobj
= Py_None
;
1860 #define wxPyShapeCanvas_SetDiagram(_swigobj,_swigarg0) (_swigobj->SetDiagram(_swigarg0))
1861 static PyObject
*_wrap_wxPyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1863 wxPyShapeCanvas
* _arg0
;
1865 PyObject
* _argo0
= 0;
1866 PyObject
* _argo1
= 0;
1867 char *_kwnames
[] = { "self","diagram", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyShapeCanvas_SetDiagram",_kwnames
,&_argo0
,&_argo1
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyShapeCanvas_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyShapeCanvas_SetDiagram. Expected _wxPyShapeCanvas_p.");
1880 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDiagram_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyShapeCanvas_SetDiagram. Expected _wxDiagram_p.");
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 wxPyShapeCanvas_SetDiagram(_arg0
,_arg1
);
1890 wxPy_END_ALLOW_THREADS
;
1891 } Py_INCREF(Py_None
);
1892 _resultobj
= Py_None
;
1896 #define wxPyShapeCanvas_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1897 static PyObject
*_wrap_wxPyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1899 wxPyShapeCanvas
* _arg0
;
1904 PyObject
* _argo0
= 0;
1905 char *_kwnames
[] = { "self", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyShapeCanvas_Snap",_kwnames
,&_argo0
))
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 wxPy_BEGIN_ALLOW_THREADS
;
1925 wxPyShapeCanvas_Snap(_arg0
,_arg1
,_arg2
);
1927 wxPy_END_ALLOW_THREADS
;
1928 } Py_INCREF(Py_None
);
1929 _resultobj
= Py_None
;
1932 o
= PyFloat_FromDouble((double) (*_arg1
));
1933 _resultobj
= t_output_helper(_resultobj
, o
);
1937 o
= PyFloat_FromDouble((double) (*_arg2
));
1938 _resultobj
= t_output_helper(_resultobj
, o
);
1943 static PyMethodDef oglcanvascMethods
[] = {
1944 { "wxPyShapeCanvas_Snap", (PyCFunction
) _wrap_wxPyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1945 { "wxPyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1946 { "wxPyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1947 { "wxPyShapeCanvas_Redraw", (PyCFunction
) _wrap_wxPyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1948 { "wxPyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
1949 { "wxPyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
1950 { "wxPyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1951 { "wxPyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1952 { "wxPyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1953 { "wxPyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1954 { "wxPyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
1955 { "wxPyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
1956 { "wxPyShapeCanvas_InsertShape", (PyCFunction
) _wrap_wxPyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1957 { "wxPyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_wxPyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1958 { "wxPyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_wxPyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1959 { "wxPyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
1960 { "wxPyShapeCanvas_FindShape", (PyCFunction
) _wrap_wxPyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1961 { "wxPyShapeCanvas_AddShape", (PyCFunction
) _wrap_wxPyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1962 { "wxPyShapeCanvas__setSelf", (PyCFunction
) _wrap_wxPyShapeCanvas__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
1963 { "new_wxPyShapeCanvas", (PyCFunction
) _wrap_new_wxPyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1964 { "wxDiagram_Snap", (PyCFunction
) _wrap_wxDiagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
1965 { "wxDiagram_ShowAll", (PyCFunction
) _wrap_wxDiagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
1966 { "wxDiagram_SetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1967 { "wxDiagram_SetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1968 { "wxDiagram_SetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1969 { "wxDiagram_SetGridSpacing", (PyCFunction
) _wrap_wxDiagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1970 { "wxDiagram_SetCanvas", (PyCFunction
) _wrap_wxDiagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1971 { "wxDiagram_SaveFile", (PyCFunction
) _wrap_wxDiagram_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
1972 { "wxDiagram_RemoveShape", (PyCFunction
) _wrap_wxDiagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
1973 { "wxDiagram_RemoveAllShapes", (PyCFunction
) _wrap_wxDiagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1974 { "wxDiagram_Redraw", (PyCFunction
) _wrap_wxDiagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
1975 { "wxDiagram_RecentreAll", (PyCFunction
) _wrap_wxDiagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
1976 { "wxDiagram_ReadNodes", (PyCFunction
) _wrap_wxDiagram_ReadNodes
, METH_VARARGS
| METH_KEYWORDS
},
1977 { "wxDiagram_ReadLines", (PyCFunction
) _wrap_wxDiagram_ReadLines
, METH_VARARGS
| METH_KEYWORDS
},
1978 { "wxDiagram_ReadContainerGeometry", (PyCFunction
) _wrap_wxDiagram_ReadContainerGeometry
, METH_VARARGS
| METH_KEYWORDS
},
1979 { "wxDiagram_LoadFile", (PyCFunction
) _wrap_wxDiagram_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
1980 { "wxDiagram_InsertShape", (PyCFunction
) _wrap_wxDiagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
1981 { "wxDiagram_GetSnapToGrid", (PyCFunction
) _wrap_wxDiagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
1982 { "wxDiagram_GetQuickEditMode", (PyCFunction
) _wrap_wxDiagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
1983 { "wxDiagram_GetShapeList", (PyCFunction
) _wrap_wxDiagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
1984 { "wxDiagram_GetMouseTolerance", (PyCFunction
) _wrap_wxDiagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
1985 { "wxDiagram_GetGridSpacing", (PyCFunction
) _wrap_wxDiagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
1986 { "wxDiagram_GetCount", (PyCFunction
) _wrap_wxDiagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
1987 { "wxDiagram_GetCanvas", (PyCFunction
) _wrap_wxDiagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
1988 { "wxDiagram_FindShape", (PyCFunction
) _wrap_wxDiagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
1989 { "wxDiagram_DrawOutline", (PyCFunction
) _wrap_wxDiagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
1990 { "wxDiagram_DeleteAllShapes", (PyCFunction
) _wrap_wxDiagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
1991 { "wxDiagram_Clear", (PyCFunction
) _wrap_wxDiagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
1992 { "wxDiagram_AddShape", (PyCFunction
) _wrap_wxDiagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
1993 { "delete_wxDiagram", (PyCFunction
) _wrap_delete_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
1994 { "new_wxDiagram", (PyCFunction
) _wrap_new_wxDiagram
, METH_VARARGS
| METH_KEYWORDS
},
2001 * This table is used by the pointer type-checker
2003 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2004 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2005 { "_wxEvent","_class_wxEvent",0},
2006 { "_class_wxActivateEvent","_wxActivateEvent",0},
2007 { "_signed_long","_long",0},
2008 { "_wxMenuEvent","_class_wxMenuEvent",0},
2009 { "_class_wxProcessEvent","_wxProcessEvent",0},
2010 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
2011 { "_class_wxFSFile","_wxFSFile",0},
2012 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2013 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2014 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2015 { "_wxBMPHandler","_class_wxBMPHandler",0},
2016 { "_wxImage","_class_wxImage",0},
2017 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
2018 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
2019 { "_class_wxDateTime","_wxDateTime",0},
2020 { "_wxPrintQuality","_wxCoord",0},
2021 { "_wxPrintQuality","_int",0},
2022 { "_wxPrintQuality","_signed_int",0},
2023 { "_wxPrintQuality","_unsigned_int",0},
2024 { "_wxPrintQuality","_wxWindowID",0},
2025 { "_wxPrintQuality","_uint",0},
2026 { "_wxPrintQuality","_EBool",0},
2027 { "_wxPrintQuality","_size_t",0},
2028 { "_wxPrintQuality","_time_t",0},
2029 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2030 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2031 { "_wxFontData","_class_wxFontData",0},
2032 { "_class_wxRegionIterator","_wxRegionIterator",0},
2033 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2034 { "_class_wxMenuBar","_wxMenuBar",0},
2035 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
2036 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
2037 { "_class_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2038 { "_class_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2039 { "_class_wxEvtHandler","_wxEvtHandler",0},
2040 { "_wxPaintEvent","_class_wxPaintEvent",0},
2041 { "_wxGIFHandler","_class_wxGIFHandler",0},
2042 { "_wxPySizer","_class_wxPySizer",0},
2043 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
2044 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2045 { "_wxCursor","_class_wxCursor",0},
2046 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2047 { "_wxPyProcess","_class_wxPyProcess",0},
2048 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
2049 { "_wxImageHandler","_class_wxImageHandler",0},
2050 { "_wxLog","_class_wxLog",0},
2051 { "_class_wxToolBarBase","_wxToolBarBase",0},
2052 { "_wxMask","_class_wxMask",0},
2053 { "_wxToolTip","_class_wxToolTip",0},
2054 { "_wxPNGHandler","_class_wxPNGHandler",0},
2055 { "_class_wxColourData","_wxColourData",0},
2056 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
2057 { "_wxPrinter","_class_wxPrinter",0},
2058 { "_wxPen","_class_wxPen",0},
2059 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2060 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
2061 { "_byte","_unsigned_char",0},
2062 { "_wxDataObject","_class_wxDataObject",0},
2063 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
2064 { "_wxStaticBox","_class_wxStaticBox",0},
2065 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2066 { "_wxPyDropSource","_class_wxPyDropSource",0},
2067 { "_wxChoice","_class_wxChoice",0},
2068 { "_wxSlider","_class_wxSlider",0},
2069 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
2070 { "_wxPyPrintout","_class_wxPyPrintout",0},
2071 { "_wxShapeRegion","_class_wxShapeRegion",0},
2072 { "_long","_unsigned_long",0},
2073 { "_long","_signed_long",0},
2074 { "_wxImageList","_class_wxImageList",0},
2075 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2076 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2077 { "_wxBitmapButton","_class_wxBitmapButton",0},
2078 { "_wxSashWindow","_class_wxSashWindow",0},
2079 { "_class_wxSizer","_wxSizer",0},
2080 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
2081 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
2082 { "_wxGridSizer","_class_wxGridSizer",0},
2083 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2084 { "_class_wxClipboard","_wxClipboard",0},
2085 { "_class_wxGauge","_wxGauge",0},
2086 { "_class_wxSashEvent","_wxSashEvent",0},
2087 { "_wxDC","_class_wxDC",0},
2088 { "_wxSizerItem","_class_wxSizerItem",0},
2089 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2090 { "_wxListEvent","_class_wxListEvent",0},
2091 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
2092 { "_wxProgressDialog","_class_wxProgressDialog",0},
2093 { "_class_wxBMPHandler","_wxBMPHandler",0},
2094 { "_wxPrintPreview","_class_wxPrintPreview",0},
2095 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
2096 { "_wxSpinEvent","_class_wxSpinEvent",0},
2097 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
2098 { "_size_t","_wxCoord",0},
2099 { "_size_t","_wxPrintQuality",0},
2100 { "_size_t","_time_t",0},
2101 { "_size_t","_unsigned_int",0},
2102 { "_size_t","_int",0},
2103 { "_size_t","_wxWindowID",0},
2104 { "_size_t","_uint",0},
2105 { "_class_wxRealPoint","_wxRealPoint",0},
2106 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2107 { "_wxPNMHandler","_class_wxPNMHandler",0},
2108 { "_wxPrinterDC","_class_wxPrinterDC",0},
2109 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2110 { "_wxLogGui","_class_wxLogGui",0},
2111 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
2112 { "_class_wxMenuItem","_wxMenuItem",0},
2113 { "_class_wxPaintEvent","_wxPaintEvent",0},
2114 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2115 { "_class_wxStatusBar","_wxStatusBar",0},
2116 { "_class_wxGIFHandler","_wxGIFHandler",0},
2117 { "_class_wxPySizer","_wxPySizer",0},
2118 { "_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2119 { "_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2120 { "_wxPanel","_class_wxPanel",0},
2121 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2122 { "_wxCheckBox","_class_wxCheckBox",0},
2123 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
2124 { "_wxPyEvent","_class_wxPyEvent",0},
2125 { "_wxTextCtrl","_class_wxTextCtrl",0},
2126 { "_class_wxMask","_wxMask",0},
2127 { "_wxTextDataObject","_class_wxTextDataObject",0},
2128 { "_class_wxKeyEvent","_wxKeyEvent",0},
2129 { "_class_wxToolTip","_wxToolTip",0},
2130 { "_class_wxPNGHandler","_wxPNGHandler",0},
2131 { "_wxFileConfig","_class_wxFileConfig",0},
2132 { "_wxColour","_class_wxColour",0},
2133 { "_class_wxDialog","_wxDialog",0},
2134 { "_wxBusyCursor","_class_wxBusyCursor",0},
2135 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
2136 { "_class_wxPrinter","_wxPrinter",0},
2137 { "_class_wxFileDataObject","_wxFileDataObject",0},
2138 { "_wxIdleEvent","_class_wxIdleEvent",0},
2139 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2140 { "_wxToolBar","_class_wxToolBar",0},
2141 { "_class_wxDataObject","_wxDataObject",0},
2142 { "_wxCaret","_class_wxCaret",0},
2143 { "_wxStaticLine","_class_wxStaticLine",0},
2144 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
2145 { "_wxBrush","_class_wxBrush",0},
2146 { "_wxMiniFrame","_class_wxMiniFrame",0},
2147 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
2148 { "_class_wxPyPrintout","_wxPyPrintout",0},
2149 { "_wxDataFormat","_class_wxDataFormat",0},
2150 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2151 { "_class_wxSashWindow","_wxSashWindow",0},
2152 { "_wxShowEvent","_class_wxShowEvent",0},
2153 { "_uint","_wxCoord",0},
2154 { "_uint","_wxPrintQuality",0},
2155 { "_uint","_time_t",0},
2156 { "_uint","_size_t",0},
2157 { "_uint","_unsigned_int",0},
2158 { "_uint","_int",0},
2159 { "_uint","_wxWindowID",0},
2160 { "_wxChar","_char",0},
2161 { "_wxPyValidator","_class_wxPyValidator",0},
2162 { "_class_wxEvent","_wxEvent",0},
2163 { "_wxCheckListBox","_class_wxCheckListBox",0},
2164 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
2165 { "_wxRect","_class_wxRect",0},
2166 { "_wxCommandEvent","_class_wxCommandEvent",0},
2167 { "_wxPyShapeCanvas","_class_wxPyShapeCanvas",0},
2168 { "_wxSizeEvent","_class_wxSizeEvent",0},
2169 { "_class_wxLogWindow","_wxLogWindow",0},
2170 { "_class_wxImage","_wxImage",0},
2171 { "_wxPoint","_class_wxPoint",0},
2172 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
2173 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
2174 { "_class_wxButton","_wxButton",0},
2175 { "_wxRadioBox","_class_wxRadioBox",0},
2176 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
2177 { "_class_wxFontData","_wxFontData",0},
2178 { "_class_wxPNMHandler","_wxPNMHandler",0},
2179 { "_wxBoxSizer","_class_wxBoxSizer",0},
2180 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
2181 { "_char","_wxChar",0},
2182 { "_wxBitmap","_class_wxBitmap",0},
2183 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
2184 { "_wxPrintDialog","_class_wxPrintDialog",0},
2185 { "_wxWindowDC","_class_wxWindowDC",0},
2186 { "_wxTimerEvent","_class_wxTimerEvent",0},
2187 { "_wxPyTimer","_class_wxPyTimer",0},
2188 { "_wxScrollBar","_class_wxScrollBar",0},
2189 { "_wxSpinButton","_class_wxSpinButton",0},
2190 { "_wxColourDialog","_class_wxColourDialog",0},
2191 { "_wxPrintData","_class_wxPrintData",0},
2192 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
2193 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2194 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2195 { "_wxMessageDialog","_class_wxMessageDialog",0},
2196 { "_class_wxValidator","_wxValidator",0},
2197 { "_class_wxPyEvent","_wxPyEvent",0},
2198 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
2199 { "_wxConfig","_class_wxConfig",0},
2200 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2201 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2202 { "_class_wxFileConfig","_wxFileConfig",0},
2203 { "_class_wxBusyCursor","_wxBusyCursor",0},
2204 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
2205 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
2206 { "_wxListItem","_class_wxListItem",0},
2207 { "_class_wxToolBar","_wxToolBar",0},
2208 { "_wxDropTarget","_class_wxDropTarget",0},
2209 { "_class_wxStaticLine","_wxStaticLine",0},
2210 { "_wxScrollEvent","_class_wxScrollEvent",0},
2211 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
2212 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
2213 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
2214 { "_class_wxShapeRegion","_wxShapeRegion",0},
2215 { "_EBool","_wxCoord",0},
2216 { "_EBool","_wxPrintQuality",0},
2217 { "_EBool","_signed_int",0},
2218 { "_EBool","_int",0},
2219 { "_EBool","_wxWindowID",0},
2220 { "_class_wxRegion","_wxRegion",0},
2221 { "_class_wxDataFormat","_wxDataFormat",0},
2222 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2223 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2224 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
2225 { "_wxStaticText","_class_wxStaticText",0},
2226 { "_wxFont","_class_wxFont",0},
2227 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2228 { "_wxCloseEvent","_class_wxCloseEvent",0},
2229 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
2230 { "_wxProcessEvent","_class_wxProcessEvent",0},
2231 { "_wxNotebook","_class_wxNotebook",0},
2232 { "_wxFSFile","_class_wxFSFile",0},
2233 { "_unsigned_long","_long",0},
2234 { "_class_wxRect","_wxRect",0},
2235 { "_class_wxDC","_wxDC",0},
2236 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2237 { "_class_wxPyShapeCanvas","_wxPyShapeCanvas",0},
2238 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
2239 { "_class_wxProgressDialog","_wxProgressDialog",0},
2240 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2241 { "_wxPyInputStream","_class_wxPyInputStream",0},
2242 { "_wxPyApp","_class_wxPyApp",0},
2243 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2244 { "_class_wxOutputStream","_wxOutputStream",0},
2245 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
2246 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
2247 { "_class_wxTreeEvent","_wxTreeEvent",0},
2248 { "_class_wxDirDialog","_wxDirDialog",0},
2249 { "_wxTimeSpan","_class_wxTimeSpan",0},
2250 { "_wxFocusEvent","_class_wxFocusEvent",0},
2251 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2252 { "_class_wxTimerEvent","_wxTimerEvent",0},
2253 { "_class_wxPyTimer","_wxPyTimer",0},
2254 { "_class_wxSpinButton","_wxSpinButton",0},
2255 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2256 { "_class_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2257 { "_class_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel
},
2258 { "_class_wxPanel","_wxPanel",0},
2259 { "_class_wxCheckBox","_wxCheckBox",0},
2260 { "_wxComboBox","_class_wxComboBox",0},
2261 { "_wxRadioButton","_class_wxRadioButton",0},
2262 { "_class_wxMessageDialog","_wxMessageDialog",0},
2263 { "_signed_int","_wxCoord",0},
2264 { "_signed_int","_wxPrintQuality",0},
2265 { "_signed_int","_EBool",0},
2266 { "_signed_int","_wxWindowID",0},
2267 { "_signed_int","_int",0},
2268 { "_class_wxTextCtrl","_wxTextCtrl",0},
2269 { "_class_wxListItemAttr","_wxListItemAttr",0},
2270 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2271 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2272 { "_class_wxTextDataObject","_wxTextDataObject",0},
2273 { "_wxMenu","_class_wxMenu",0},
2274 { "_class_wxMoveEvent","_wxMoveEvent",0},
2275 { "_wxListBox","_class_wxListBox",0},
2276 { "_wxScreenDC","_class_wxScreenDC",0},
2277 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
2278 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
2279 { "_WXTYPE","_wxDateTime_t",0},
2280 { "_WXTYPE","_short",0},
2281 { "_WXTYPE","_signed_short",0},
2282 { "_WXTYPE","_unsigned_short",0},
2283 { "_wxFileDialog","_class_wxFileDialog",0},
2284 { "_class_wxDropTarget","_wxDropTarget",0},
2285 { "_class_wxCaret","_wxCaret",0},
2286 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
2287 { "_class_wxBrush","_wxBrush",0},
2288 { "_wxTipProvider","_class_wxTipProvider",0},
2289 { "_unsigned_short","_wxDateTime_t",0},
2290 { "_unsigned_short","_WXTYPE",0},
2291 { "_unsigned_short","_short",0},
2292 { "_class_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2293 { "_class_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2294 { "_class_wxWindow","_wxWindow",0},
2295 { "_class_wxLogStderr","_wxLogStderr",0},
2296 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
2297 { "_wxDateSpan","_class_wxDateSpan",0},
2298 { "_class_wxStaticText","_wxStaticText",0},
2299 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
2300 { "_class_wxFont","_wxFont",0},
2301 { "_wxClipboard","_class_wxClipboard",0},
2302 { "_class_wxPyValidator","_wxPyValidator",0},
2303 { "_class_wxCloseEvent","_wxCloseEvent",0},
2304 { "_wxSashEvent","_class_wxSashEvent",0},
2305 { "_wxBusyInfo","_class_wxBusyInfo",0},
2306 { "_class_wxMenuEvent","_wxMenuEvent",0},
2307 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2308 { "_wxJoystick","_class_wxJoystick",0},
2309 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2310 { "_wxClientDC","_class_wxClientDC",0},
2311 { "_wxMouseEvent","_class_wxMouseEvent",0},
2312 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
2313 { "_wxListCtrl","_class_wxListCtrl",0},
2314 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
2315 { "_class_wxPoint","_wxPoint",0},
2316 { "_class_wxPyInputStream","_wxPyInputStream",0},
2317 { "_wxRealPoint","_class_wxRealPoint",0},
2318 { "_class_wxRadioBox","_wxRadioBox",0},
2319 { "_class_wxBoxSizer","_wxBoxSizer",0},
2320 { "_signed_short","_WXTYPE",0},
2321 { "_signed_short","_short",0},
2322 { "_wxMemoryDC","_class_wxMemoryDC",0},
2323 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2324 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
2325 { "_class_wxPrintDialog","_wxPrintDialog",0},
2326 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
2327 { "_wxPaintDC","_class_wxPaintDC",0},
2328 { "_class_wxWindowDC","_wxWindowDC",0},
2329 { "_class_wxFocusEvent","_wxFocusEvent",0},
2330 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2331 { "_wxStatusBar","_class_wxStatusBar",0},
2332 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2333 { "_class_wxCursor","_wxCursor",0},
2334 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2335 { "_class_wxPyProcess","_wxPyProcess",0},
2336 { "_class_wxImageHandler","_wxImageHandler",0},
2337 { "_wxPyShape","_class_wxPyShape",0},
2338 { "_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2339 { "_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2340 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2341 { "_class_wxLog","_wxLog",0},
2342 { "_wxTreeItemId","_class_wxTreeItemId",0},
2343 { "_unsigned_char","_byte",0},
2344 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2345 { "_class_wxMenu","_wxMenu",0},
2346 { "_wxControl","_class_wxControl",0},
2347 { "_class_wxListBox","_wxListBox",0},
2348 { "_unsigned_int","_wxCoord",0},
2349 { "_unsigned_int","_wxPrintQuality",0},
2350 { "_unsigned_int","_time_t",0},
2351 { "_unsigned_int","_size_t",0},
2352 { "_unsigned_int","_uint",0},
2353 { "_unsigned_int","_wxWindowID",0},
2354 { "_unsigned_int","_int",0},
2355 { "_wxIcon","_class_wxIcon",0},
2356 { "_wxDialog","_class_wxDialog",0},
2357 { "_class_wxListItem","_wxListItem",0},
2358 { "_class_wxPen","_wxPen",0},
2359 { "_class_wxFileDialog","_wxFileDialog",0},
2360 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
2361 { "_wxConfigBase","_class_wxConfigBase",0},
2362 { "_short","_wxDateTime_t",0},
2363 { "_short","_WXTYPE",0},
2364 { "_short","_unsigned_short",0},
2365 { "_short","_signed_short",0},
2366 { "_class_wxStaticBox","_wxStaticBox",0},
2367 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
2368 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2369 { "_class_wxPyDropSource","_wxPyDropSource",0},
2370 { "_class_wxScrollEvent","_wxScrollEvent",0},
2371 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2372 { "_class_wxChoice","_wxChoice",0},
2373 { "_class_wxSlider","_wxSlider",0},
2374 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
2375 { "_class_wxImageList","_wxImageList",0},
2376 { "_class_wxBitmapButton","_wxBitmapButton",0},
2377 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
2378 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
2379 { "_wxFrame","_class_wxFrame",0},
2380 { "_wxPCXHandler","_class_wxPCXHandler",0},
2381 { "_class_wxGridSizer","_wxGridSizer",0},
2382 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2383 { "_class_wxNotebook","_wxNotebook",0},
2384 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
2385 { "_wxWindowID","_wxCoord",0},
2386 { "_wxWindowID","_wxPrintQuality",0},
2387 { "_wxWindowID","_time_t",0},
2388 { "_wxWindowID","_size_t",0},
2389 { "_wxWindowID","_EBool",0},
2390 { "_wxWindowID","_uint",0},
2391 { "_wxWindowID","_int",0},
2392 { "_wxWindowID","_signed_int",0},
2393 { "_wxWindowID","_unsigned_int",0},
2394 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2395 { "_class_wxSizerItem","_wxSizerItem",0},
2396 { "_int","_wxCoord",0},
2397 { "_int","_wxPrintQuality",0},
2398 { "_int","_time_t",0},
2399 { "_int","_size_t",0},
2400 { "_int","_EBool",0},
2401 { "_int","_uint",0},
2402 { "_int","_wxWindowID",0},
2403 { "_int","_unsigned_int",0},
2404 { "_int","_signed_int",0},
2405 { "_class_wxMouseEvent","_wxMouseEvent",0},
2406 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2407 { "_wxLogWindow","_class_wxLogWindow",0},
2408 { "_class_wxListEvent","_wxListEvent",0},
2409 { "_class_wxPrintPreview","_wxPrintPreview",0},
2410 { "_wxDateTime_t","_unsigned_short",0},
2411 { "_wxDateTime_t","_short",0},
2412 { "_wxDateTime_t","_WXTYPE",0},
2413 { "_class_wxSpinEvent","_wxSpinEvent",0},
2414 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2415 { "_wxDateTime","_class_wxDateTime",0},
2416 { "_time_t","_wxCoord",0},
2417 { "_time_t","_wxPrintQuality",0},
2418 { "_time_t","_unsigned_int",0},
2419 { "_time_t","_int",0},
2420 { "_time_t","_wxWindowID",0},
2421 { "_time_t","_uint",0},
2422 { "_time_t","_size_t",0},
2423 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2424 { "_wxLogNull","_class_wxLogNull",0},
2425 { "_wxButton","_class_wxButton",0},
2426 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
2427 { "_class_wxPyApp","_wxPyApp",0},
2428 { "_wxSize","_class_wxSize",0},
2429 { "_wxRegionIterator","_class_wxRegionIterator",0},
2430 { "_class_wxPrinterDC","_wxPrinterDC",0},
2431 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2432 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
2433 { "_class_wxLogGui","_wxLogGui",0},
2434 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
2435 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
2436 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
2437 { "_class_wxTimeSpan","_wxTimeSpan",0},
2438 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
2439 { "_class_wxPaintDC","_wxPaintDC",0},
2440 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2441 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2442 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2443 { "_class_wxComboBox","_wxComboBox",0},
2444 { "_class_wxRadioButton","_wxRadioButton",0},
2445 { "_class_wxPyShape","_wxPyShape",0},
2446 { "_wxValidator","_class_wxValidator",0},
2447 { "_wxToolBarBase","_class_wxToolBarBase",0},
2448 { "_class_wxTreeItemId","_wxTreeItemId",0},
2449 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2450 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2451 { "_class_wxControl","_wxControl",0},
2452 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2453 { "_class_wxIcon","_wxIcon",0},
2454 { "_class_wxColour","_wxColour",0},
2455 { "_class_wxScreenDC","_wxScreenDC",0},
2456 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
2457 { "_wxPalette","_class_wxPalette",0},
2458 { "_class_wxIdleEvent","_wxIdleEvent",0},
2459 { "_class_wxConfigBase","_wxConfigBase",0},
2460 { "_wxCoord","_int",0},
2461 { "_wxCoord","_signed_int",0},
2462 { "_wxCoord","_unsigned_int",0},
2463 { "_wxCoord","_wxWindowID",0},
2464 { "_wxCoord","_uint",0},
2465 { "_wxCoord","_EBool",0},
2466 { "_wxCoord","_size_t",0},
2467 { "_wxCoord","_time_t",0},
2468 { "_wxCoord","_wxPrintQuality",0},
2469 { "_wxEraseEvent","_class_wxEraseEvent",0},
2470 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2471 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2472 { "_class_wxTipProvider","_wxTipProvider",0},
2473 { "_class_wxMiniFrame","_wxMiniFrame",0},
2474 { "_wxFontDialog","_class_wxFontDialog",0},
2475 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
2476 { "_wxRegion","_class_wxRegion",0},
2477 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2478 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
2479 { "_wxSizer","_class_wxSizer",0},
2480 { "_class_wxDateSpan","_wxDateSpan",0},
2481 { "_wxFileSystem","_class_wxFileSystem",0},
2482 { "_class_wxShowEvent","_wxShowEvent",0},
2483 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
2484 { "_class_wxPCXHandler","_wxPCXHandler",0},
2485 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
2486 { "_wxDiagram","_class_wxDiagram",0},
2487 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2488 { "_wxActivateEvent","_class_wxActivateEvent",0},
2489 { "_wxGauge","_class_wxGauge",0},
2490 { "_class_wxCheckListBox","_wxCheckListBox",0},
2491 { "_class_wxBusyInfo","_wxBusyInfo",0},
2492 { "_class_wxJoystick","_wxJoystick",0},
2493 { "_class_wxCommandEvent","_wxCommandEvent",0},
2494 { "_class_wxClientDC","_wxClientDC",0},
2495 { "_class_wxSizeEvent","_wxSizeEvent",0},
2496 { "_class_wxListCtrl","_wxListCtrl",0},
2497 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2498 { "_class_wxLogNull","_wxLogNull",0},
2499 { "_class_wxSize","_wxSize",0},
2500 { "_class_wxBitmap","_wxBitmap",0},
2501 { "_class_wxMemoryDC","_wxMemoryDC",0},
2502 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2503 { "_wxMenuBar","_class_wxMenuBar",0},
2504 { "_wxOutputStream","_class_wxOutputStream",0},
2505 { "_wxTreeEvent","_class_wxTreeEvent",0},
2506 { "_wxDirDialog","_class_wxDirDialog",0},
2507 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
2508 { "_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2509 { "_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler
},
2510 { "_wxEvtHandler","_class_wxEvtHandler",0},
2511 { "_wxMenuItem","_class_wxMenuItem",0},
2512 { "_class_wxScrollBar","_wxScrollBar",0},
2513 { "_class_wxColourDialog","_wxColourDialog",0},
2514 { "_class_wxPrintData","_wxPrintData",0},
2515 { "_class_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2516 { "_class_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow
},
2517 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2518 { "_wxListItemAttr","_class_wxListItemAttr",0},
2519 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
2520 { "_class_wxConfig","_wxConfig",0},
2521 { "_wxKeyEvent","_class_wxKeyEvent",0},
2522 { "_wxMoveEvent","_class_wxMoveEvent",0},
2523 { "_wxColourData","_class_wxColourData",0},
2524 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
2525 { "_class_wxPalette","_wxPalette",0},
2526 { "_wxFileDataObject","_class_wxFileDataObject",0},
2527 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
2528 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
2529 { "_class_wxEraseEvent","_wxEraseEvent",0},
2530 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
2531 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
2532 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2533 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
2534 { "_class_wxFontDialog","_wxFontDialog",0},
2535 { "_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2536 { "_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow
},
2537 { "_wxWindow","_class_wxWindow",0},
2538 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2539 { "_wxLogStderr","_class_wxLogStderr",0},
2540 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
2541 { "_class_wxFileSystem","_wxFileSystem",0},
2542 { "_class_wxFrame","_wxFrame",0},
2543 { "_class_wxDiagram","_wxDiagram",0},
2546 static PyObject
*SWIG_globals
;
2550 SWIGEXPORT(void) initoglcanvasc() {
2552 SWIG_globals
= SWIG_newvarlink();
2553 m
= Py_InitModule("oglcanvasc", oglcanvascMethods
);
2554 d
= PyModule_GetDict(m
);
2557 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2558 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);