]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/oglcanvas.cpp
Beginning of bitmap updates
[wxWidgets.git] / wxPython / contrib / ogl / oglcanvas.cpp
CommitLineData
e91a9dfc 1/*
c368d904 2 * FILE : contrib/ogl/oglcanvas.cpp
e91a9dfc
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
e91a9dfc
RD
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
e91a9dfc 31# else
c368d904 32# define SWIGEXPORT(a) a
e91a9dfc
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
e91a9dfc
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
e91a9dfc
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
185d7c3e 44
e91a9dfc
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initoglcanvasc
55
56#define SWIG_name "oglcanvasc"
57
58#include "helpers.h"
59#include "oglhelpers.h"
60
61static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
185d7c3e 63 if (!target) {
e91a9dfc 64 target = o;
185d7c3e 65 } else if (target == Py_None) {
e91a9dfc
RD
66 Py_DECREF(Py_None);
67 target = o;
185d7c3e 68 } else {
e91a9dfc
RD
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79}
80
81static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
185d7c3e 85 if (!target) {
e91a9dfc 86 target = o;
185d7c3e 87 } else if (target == Py_None) {
e91a9dfc
RD
88 Py_DECREF(Py_None);
89 target = o;
185d7c3e 90 } else {
e91a9dfc
RD
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
185d7c3e
RD
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
e91a9dfc
RD
98
99 o2 = target;
185d7c3e
RD
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
e91a9dfc
RD
102 Py_DECREF(o3);
103 }
104 return target;
105}
106
e91a9dfc
RD
107static char* wxStringErrorMsg = "string type is required for parameter";
108
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);
117#ifdef __cplusplus
118extern "C" {
119#endif
120#define new_wxDiagram() (new wxDiagram())
121static PyObject *_wrap_new_wxDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
122 PyObject * _resultobj;
123 wxDiagram * _result;
124 char *_kwnames[] = { NULL };
125 char _ptemp[128];
126
127 self = self;
128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxDiagram",_kwnames))
129 return NULL;
130{
131 wxPy_BEGIN_ALLOW_THREADS;
132 _result = (wxDiagram *)new_wxDiagram();
133
134 wxPy_END_ALLOW_THREADS;
135} if (_result) {
136 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDiagram_p");
137 _resultobj = Py_BuildValue("s",_ptemp);
138 } else {
139 Py_INCREF(Py_None);
140 _resultobj = Py_None;
141 }
142 return _resultobj;
143}
144
145#define delete_wxDiagram(_swigobj) (delete _swigobj)
146static PyObject *_wrap_delete_wxDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
147 PyObject * _resultobj;
148 wxDiagram * _arg0;
149 PyObject * _argo0 = 0;
150 char *_kwnames[] = { "self", NULL };
151
152 self = self;
153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDiagram",_kwnames,&_argo0))
154 return NULL;
155 if (_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.");
159 return NULL;
160 }
161 }
162{
163 wxPy_BEGIN_ALLOW_THREADS;
164 delete_wxDiagram(_arg0);
165
166 wxPy_END_ALLOW_THREADS;
167} Py_INCREF(Py_None);
168 _resultobj = Py_None;
169 return _resultobj;
170}
171
172#define wxDiagram_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
173static PyObject *_wrap_wxDiagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
174 PyObject * _resultobj;
175 wxDiagram * _arg0;
176 wxPyShape * _arg1;
177 wxPyShape * _arg2 = (wxPyShape *) NULL;
178 PyObject * _argo0 = 0;
179 PyObject * _argo1 = 0;
180 PyObject * _argo2 = 0;
181 char *_kwnames[] = { "self","shape","addAfter", NULL };
182
183 self = self;
184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxDiagram_AddShape",_kwnames,&_argo0,&_argo1,&_argo2))
185 return NULL;
186 if (_argo0) {
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.");
190 return NULL;
191 }
192 }
193 if (_argo1) {
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.");
197 return NULL;
198 }
199 }
200 if (_argo2) {
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.");
204 return NULL;
205 }
206 }
207{
208 wxPy_BEGIN_ALLOW_THREADS;
209 wxDiagram_AddShape(_arg0,_arg1,_arg2);
210
211 wxPy_END_ALLOW_THREADS;
212} Py_INCREF(Py_None);
213 _resultobj = Py_None;
214 return _resultobj;
215}
216
217#define wxDiagram_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
218static PyObject *_wrap_wxDiagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
219 PyObject * _resultobj;
220 wxDiagram * _arg0;
221 wxDC * _arg1;
222 PyObject * _argo0 = 0;
223 PyObject * _argo1 = 0;
224 char *_kwnames[] = { "self","dc", NULL };
225
226 self = self;
227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_Clear",_kwnames,&_argo0,&_argo1))
228 return NULL;
229 if (_argo0) {
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.");
233 return NULL;
234 }
235 }
236 if (_argo1) {
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.");
240 return NULL;
241 }
242 }
243{
244 wxPy_BEGIN_ALLOW_THREADS;
245 wxDiagram_Clear(_arg0,*_arg1);
246
247 wxPy_END_ALLOW_THREADS;
248} Py_INCREF(Py_None);
249 _resultobj = Py_None;
250 return _resultobj;
251}
252
253#define wxDiagram_DeleteAllShapes(_swigobj) (_swigobj->DeleteAllShapes())
254static PyObject *_wrap_wxDiagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
255 PyObject * _resultobj;
256 wxDiagram * _arg0;
257 PyObject * _argo0 = 0;
258 char *_kwnames[] = { "self", NULL };
259
260 self = self;
261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_DeleteAllShapes",_kwnames,&_argo0))
262 return NULL;
263 if (_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.");
267 return NULL;
268 }
269 }
270{
271 wxPy_BEGIN_ALLOW_THREADS;
272 wxDiagram_DeleteAllShapes(_arg0);
273
274 wxPy_END_ALLOW_THREADS;
275} Py_INCREF(Py_None);
276 _resultobj = Py_None;
277 return _resultobj;
278}
279
280#define wxDiagram_DrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
281static PyObject *_wrap_wxDiagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
282 PyObject * _resultobj;
283 wxDiagram * _arg0;
284 wxDC * _arg1;
285 double _arg2;
286 double _arg3;
287 double _arg4;
288 double _arg5;
289 PyObject * _argo0 = 0;
290 PyObject * _argo1 = 0;
291 char *_kwnames[] = { "self","dc","x1","y1","x2","y2", NULL };
292
293 self = self;
294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxDiagram_DrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
295 return NULL;
296 if (_argo0) {
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.");
300 return NULL;
301 }
302 }
303 if (_argo1) {
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.");
307 return NULL;
308 }
309 }
310{
311 wxPy_BEGIN_ALLOW_THREADS;
312 wxDiagram_DrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
313
314 wxPy_END_ALLOW_THREADS;
315} Py_INCREF(Py_None);
316 _resultobj = Py_None;
317 return _resultobj;
318}
319
320#define wxDiagram_FindShape(_swigobj,_swigarg0) (_swigobj->FindShape(_swigarg0))
321static PyObject *_wrap_wxDiagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
322 PyObject * _resultobj;
323 wxPyShape * _result;
324 wxDiagram * _arg0;
325 long _arg1;
326 PyObject * _argo0 = 0;
327 char *_kwnames[] = { "self","id", NULL };
328 char _ptemp[128];
329
330 self = self;
331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDiagram_FindShape",_kwnames,&_argo0,&_arg1))
332 return NULL;
333 if (_argo0) {
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.");
337 return NULL;
338 }
339 }
340{
341 wxPy_BEGIN_ALLOW_THREADS;
342 _result = (wxPyShape *)wxDiagram_FindShape(_arg0,_arg1);
343
344 wxPy_END_ALLOW_THREADS;
345} if (_result) {
346 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p");
347 _resultobj = Py_BuildValue("s",_ptemp);
348 } else {
349 Py_INCREF(Py_None);
350 _resultobj = Py_None;
351 }
352 return _resultobj;
353}
354
355#define wxDiagram_GetCanvas(_swigobj) (_swigobj->GetCanvas())
356static PyObject *_wrap_wxDiagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
357 PyObject * _resultobj;
358 wxPyShapeCanvas * _result;
359 wxDiagram * _arg0;
360 PyObject * _argo0 = 0;
361 char *_kwnames[] = { "self", NULL };
362 char _ptemp[128];
363
364 self = self;
365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetCanvas",_kwnames,&_argo0))
366 return NULL;
367 if (_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.");
371 return NULL;
372 }
373 }
374{
375 wxPy_BEGIN_ALLOW_THREADS;
376 _result = (wxPyShapeCanvas *)wxDiagram_GetCanvas(_arg0);
377
378 wxPy_END_ALLOW_THREADS;
379} if (_result) {
380 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeCanvas_p");
381 _resultobj = Py_BuildValue("s",_ptemp);
382 } else {
383 Py_INCREF(Py_None);
384 _resultobj = Py_None;
385 }
386 return _resultobj;
387}
388
389#define wxDiagram_GetCount(_swigobj) (_swigobj->GetCount())
390static PyObject *_wrap_wxDiagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
391 PyObject * _resultobj;
392 int _result;
393 wxDiagram * _arg0;
394 PyObject * _argo0 = 0;
395 char *_kwnames[] = { "self", NULL };
396
397 self = self;
398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetCount",_kwnames,&_argo0))
399 return NULL;
400 if (_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.");
404 return NULL;
405 }
406 }
407{
408 wxPy_BEGIN_ALLOW_THREADS;
409 _result = (int )wxDiagram_GetCount(_arg0);
410
411 wxPy_END_ALLOW_THREADS;
412} _resultobj = Py_BuildValue("i",_result);
413 return _resultobj;
414}
415
416#define wxDiagram_GetGridSpacing(_swigobj) (_swigobj->GetGridSpacing())
417static PyObject *_wrap_wxDiagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
418 PyObject * _resultobj;
419 double _result;
420 wxDiagram * _arg0;
421 PyObject * _argo0 = 0;
422 char *_kwnames[] = { "self", NULL };
423
424 self = self;
425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetGridSpacing",_kwnames,&_argo0))
426 return NULL;
427 if (_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.");
431 return NULL;
432 }
433 }
434{
435 wxPy_BEGIN_ALLOW_THREADS;
436 _result = (double )wxDiagram_GetGridSpacing(_arg0);
437
438 wxPy_END_ALLOW_THREADS;
439} _resultobj = Py_BuildValue("d",_result);
440 return _resultobj;
441}
442
443#define wxDiagram_GetMouseTolerance(_swigobj) (_swigobj->GetMouseTolerance())
444static PyObject *_wrap_wxDiagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
445 PyObject * _resultobj;
446 int _result;
447 wxDiagram * _arg0;
448 PyObject * _argo0 = 0;
449 char *_kwnames[] = { "self", NULL };
450
451 self = self;
452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetMouseTolerance",_kwnames,&_argo0))
453 return NULL;
454 if (_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.");
458 return NULL;
459 }
460 }
461{
462 wxPy_BEGIN_ALLOW_THREADS;
463 _result = (int )wxDiagram_GetMouseTolerance(_arg0);
464
465 wxPy_END_ALLOW_THREADS;
466} _resultobj = Py_BuildValue("i",_result);
467 return _resultobj;
468}
469
470static PyObject * wxDiagram_GetShapeList(wxDiagram *self) {
471 wxList* list = self->GetShapeList();
472 return wxPy_ConvertList(list, "wxPyShape");
473 }
474static PyObject *_wrap_wxDiagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) {
475 PyObject * _resultobj;
476 PyObject * _result;
477 wxDiagram * _arg0;
478 PyObject * _argo0 = 0;
479 char *_kwnames[] = { "self", NULL };
480
481 self = self;
482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetShapeList",_kwnames,&_argo0))
483 return NULL;
484 if (_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.");
488 return NULL;
489 }
490 }
491{
492 wxPy_BEGIN_ALLOW_THREADS;
493 _result = (PyObject *)wxDiagram_GetShapeList(_arg0);
494
495 wxPy_END_ALLOW_THREADS;
496}{
497 _resultobj = _result;
498}
499 return _resultobj;
500}
501
502#define wxDiagram_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
503static PyObject *_wrap_wxDiagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
504 PyObject * _resultobj;
505 bool _result;
506 wxDiagram * _arg0;
507 PyObject * _argo0 = 0;
508 char *_kwnames[] = { "self", NULL };
509
510 self = self;
511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetQuickEditMode",_kwnames,&_argo0))
512 return NULL;
513 if (_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.");
517 return NULL;
518 }
519 }
520{
521 wxPy_BEGIN_ALLOW_THREADS;
522 _result = (bool )wxDiagram_GetQuickEditMode(_arg0);
523
524 wxPy_END_ALLOW_THREADS;
525} _resultobj = Py_BuildValue("i",_result);
526 return _resultobj;
527}
528
529#define wxDiagram_GetSnapToGrid(_swigobj) (_swigobj->GetSnapToGrid())
530static PyObject *_wrap_wxDiagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
531 PyObject * _resultobj;
532 bool _result;
533 wxDiagram * _arg0;
534 PyObject * _argo0 = 0;
535 char *_kwnames[] = { "self", NULL };
536
537 self = self;
538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetSnapToGrid",_kwnames,&_argo0))
539 return NULL;
540 if (_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.");
544 return NULL;
545 }
546 }
547{
548 wxPy_BEGIN_ALLOW_THREADS;
549 _result = (bool )wxDiagram_GetSnapToGrid(_arg0);
550
551 wxPy_END_ALLOW_THREADS;
552} _resultobj = Py_BuildValue("i",_result);
553 return _resultobj;
554}
555
556#define wxDiagram_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
557static PyObject *_wrap_wxDiagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
558 PyObject * _resultobj;
559 wxDiagram * _arg0;
560 wxPyShape * _arg1;
561 PyObject * _argo0 = 0;
562 PyObject * _argo1 = 0;
563 char *_kwnames[] = { "self","shape", NULL };
564
565 self = self;
566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_InsertShape",_kwnames,&_argo0,&_argo1))
567 return NULL;
568 if (_argo0) {
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.");
572 return NULL;
573 }
574 }
575 if (_argo1) {
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.");
579 return NULL;
580 }
581 }
582{
583 wxPy_BEGIN_ALLOW_THREADS;
584 wxDiagram_InsertShape(_arg0,_arg1);
585
586 wxPy_END_ALLOW_THREADS;
587} Py_INCREF(Py_None);
588 _resultobj = Py_None;
589 return _resultobj;
590}
591
592#define wxDiagram_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
593static PyObject *_wrap_wxDiagram_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
594 PyObject * _resultobj;
595 bool _result;
596 wxDiagram * _arg0;
597 wxString * _arg1;
598 PyObject * _argo0 = 0;
599 PyObject * _obj1 = 0;
600 char *_kwnames[] = { "self","filename", NULL };
601
602 self = self;
603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_LoadFile",_kwnames,&_argo0,&_obj1))
604 return NULL;
605 if (_argo0) {
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.");
609 return NULL;
610 }
611 }
612{
185d7c3e
RD
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");
617 return NULL;
618 }
619 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
620 return NULL;
621 _arg1 = new wxString(tmpPtr, tmpSize);
622#else
e91a9dfc
RD
623 if (!PyString_Check(_obj1)) {
624 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
625 return NULL;
626 }
185d7c3e
RD
627 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
628#endif
e91a9dfc
RD
629}
630{
631 wxPy_BEGIN_ALLOW_THREADS;
632 _result = (bool )wxDiagram_LoadFile(_arg0,*_arg1);
633
634 wxPy_END_ALLOW_THREADS;
635} _resultobj = Py_BuildValue("i",_result);
636{
637 if (_obj1)
638 delete _arg1;
639}
640 return _resultobj;
641}
642
643#define wxDiagram_ReadContainerGeometry(_swigobj,_swigarg0) (_swigobj->ReadContainerGeometry(_swigarg0))
644static PyObject *_wrap_wxDiagram_ReadContainerGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
645 PyObject * _resultobj;
646 wxDiagram * _arg0;
647 wxExprDatabase * _arg1;
648 PyObject * _argo0 = 0;
649 PyObject * _argo1 = 0;
650 char *_kwnames[] = { "self","database", NULL };
651
652 self = self;
653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_ReadContainerGeometry",_kwnames,&_argo0,&_argo1))
654 return NULL;
655 if (_argo0) {
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.");
659 return NULL;
660 }
661 }
662 if (_argo1) {
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.");
666 return NULL;
667 }
668 }
669{
670 wxPy_BEGIN_ALLOW_THREADS;
671 wxDiagram_ReadContainerGeometry(_arg0,*_arg1);
672
673 wxPy_END_ALLOW_THREADS;
674} Py_INCREF(Py_None);
675 _resultobj = Py_None;
676 return _resultobj;
677}
678
679#define wxDiagram_ReadLines(_swigobj,_swigarg0) (_swigobj->ReadLines(_swigarg0))
680static PyObject *_wrap_wxDiagram_ReadLines(PyObject *self, PyObject *args, PyObject *kwargs) {
681 PyObject * _resultobj;
682 wxDiagram * _arg0;
683 wxExprDatabase * _arg1;
684 PyObject * _argo0 = 0;
685 PyObject * _argo1 = 0;
686 char *_kwnames[] = { "self","database", NULL };
687
688 self = self;
689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_ReadLines",_kwnames,&_argo0,&_argo1))
690 return NULL;
691 if (_argo0) {
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.");
695 return NULL;
696 }
697 }
698 if (_argo1) {
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.");
702 return NULL;
703 }
704 }
705{
706 wxPy_BEGIN_ALLOW_THREADS;
707 wxDiagram_ReadLines(_arg0,*_arg1);
708
709 wxPy_END_ALLOW_THREADS;
710} Py_INCREF(Py_None);
711 _resultobj = Py_None;
712 return _resultobj;
713}
714
715#define wxDiagram_ReadNodes(_swigobj,_swigarg0) (_swigobj->ReadNodes(_swigarg0))
716static PyObject *_wrap_wxDiagram_ReadNodes(PyObject *self, PyObject *args, PyObject *kwargs) {
717 PyObject * _resultobj;
718 wxDiagram * _arg0;
719 wxExprDatabase * _arg1;
720 PyObject * _argo0 = 0;
721 PyObject * _argo1 = 0;
722 char *_kwnames[] = { "self","database", NULL };
723
724 self = self;
725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_ReadNodes",_kwnames,&_argo0,&_argo1))
726 return NULL;
727 if (_argo0) {
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.");
731 return NULL;
732 }
733 }
734 if (_argo1) {
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.");
738 return NULL;
739 }
740 }
741{
742 wxPy_BEGIN_ALLOW_THREADS;
743 wxDiagram_ReadNodes(_arg0,*_arg1);
744
745 wxPy_END_ALLOW_THREADS;
746} Py_INCREF(Py_None);
747 _resultobj = Py_None;
748 return _resultobj;
749}
750
751#define wxDiagram_RecentreAll(_swigobj,_swigarg0) (_swigobj->RecentreAll(_swigarg0))
752static PyObject *_wrap_wxDiagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) {
753 PyObject * _resultobj;
754 wxDiagram * _arg0;
755 wxDC * _arg1;
756 PyObject * _argo0 = 0;
757 PyObject * _argo1 = 0;
758 char *_kwnames[] = { "self","dc", NULL };
759
760 self = self;
761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_RecentreAll",_kwnames,&_argo0,&_argo1))
762 return NULL;
763 if (_argo0) {
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.");
767 return NULL;
768 }
769 }
770 if (_argo1) {
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.");
774 return NULL;
775 }
776 }
777{
778 wxPy_BEGIN_ALLOW_THREADS;
779 wxDiagram_RecentreAll(_arg0,*_arg1);
780
781 wxPy_END_ALLOW_THREADS;
782} Py_INCREF(Py_None);
783 _resultobj = Py_None;
784 return _resultobj;
785}
786
787#define wxDiagram_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
788static PyObject *_wrap_wxDiagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
789 PyObject * _resultobj;
790 wxDiagram * _arg0;
791 wxDC * _arg1;
792 PyObject * _argo0 = 0;
793 PyObject * _argo1 = 0;
794 char *_kwnames[] = { "self","dc", NULL };
795
796 self = self;
797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_Redraw",_kwnames,&_argo0,&_argo1))
798 return NULL;
799 if (_argo0) {
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.");
803 return NULL;
804 }
805 }
806 if (_argo1) {
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.");
810 return NULL;
811 }
812 }
813{
814 wxPy_BEGIN_ALLOW_THREADS;
815 wxDiagram_Redraw(_arg0,*_arg1);
816
817 wxPy_END_ALLOW_THREADS;
818} Py_INCREF(Py_None);
819 _resultobj = Py_None;
820 return _resultobj;
821}
822
823#define wxDiagram_RemoveAllShapes(_swigobj) (_swigobj->RemoveAllShapes())
824static PyObject *_wrap_wxDiagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
825 PyObject * _resultobj;
826 wxDiagram * _arg0;
827 PyObject * _argo0 = 0;
828 char *_kwnames[] = { "self", NULL };
829
830 self = self;
831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_RemoveAllShapes",_kwnames,&_argo0))
832 return NULL;
833 if (_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.");
837 return NULL;
838 }
839 }
840{
841 wxPy_BEGIN_ALLOW_THREADS;
842 wxDiagram_RemoveAllShapes(_arg0);
843
844 wxPy_END_ALLOW_THREADS;
845} Py_INCREF(Py_None);
846 _resultobj = Py_None;
847 return _resultobj;
848}
849
850#define wxDiagram_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
851static PyObject *_wrap_wxDiagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
852 PyObject * _resultobj;
853 wxDiagram * _arg0;
854 wxPyShape * _arg1;
855 PyObject * _argo0 = 0;
856 PyObject * _argo1 = 0;
857 char *_kwnames[] = { "self","shape", NULL };
858
859 self = self;
860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_RemoveShape",_kwnames,&_argo0,&_argo1))
861 return NULL;
862 if (_argo0) {
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.");
866 return NULL;
867 }
868 }
869 if (_argo1) {
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.");
873 return NULL;
874 }
875 }
876{
877 wxPy_BEGIN_ALLOW_THREADS;
878 wxDiagram_RemoveShape(_arg0,_arg1);
879
880 wxPy_END_ALLOW_THREADS;
881} Py_INCREF(Py_None);
882 _resultobj = Py_None;
883 return _resultobj;
884}
885
886#define wxDiagram_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
887static PyObject *_wrap_wxDiagram_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
888 PyObject * _resultobj;
889 bool _result;
890 wxDiagram * _arg0;
891 wxString * _arg1;
892 PyObject * _argo0 = 0;
893 PyObject * _obj1 = 0;
894 char *_kwnames[] = { "self","filename", NULL };
895
896 self = self;
897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_SaveFile",_kwnames,&_argo0,&_obj1))
898 return NULL;
899 if (_argo0) {
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.");
903 return NULL;
904 }
905 }
906{
185d7c3e
RD
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");
911 return NULL;
912 }
913 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
914 return NULL;
915 _arg1 = new wxString(tmpPtr, tmpSize);
916#else
e91a9dfc
RD
917 if (!PyString_Check(_obj1)) {
918 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
919 return NULL;
920 }
185d7c3e
RD
921 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
922#endif
e91a9dfc
RD
923}
924{
925 wxPy_BEGIN_ALLOW_THREADS;
926 _result = (bool )wxDiagram_SaveFile(_arg0,*_arg1);
927
928 wxPy_END_ALLOW_THREADS;
929} _resultobj = Py_BuildValue("i",_result);
930{
931 if (_obj1)
932 delete _arg1;
933}
934 return _resultobj;
935}
936
937#define wxDiagram_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0))
938static PyObject *_wrap_wxDiagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
939 PyObject * _resultobj;
940 wxDiagram * _arg0;
941 wxPyShapeCanvas * _arg1;
942 PyObject * _argo0 = 0;
943 PyObject * _argo1 = 0;
944 char *_kwnames[] = { "self","canvas", NULL };
945
946 self = self;
947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_SetCanvas",_kwnames,&_argo0,&_argo1))
948 return NULL;
949 if (_argo0) {
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.");
953 return NULL;
954 }
955 }
956 if (_argo1) {
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.");
960 return NULL;
961 }
962 }
963{
964 wxPy_BEGIN_ALLOW_THREADS;
965 wxDiagram_SetCanvas(_arg0,_arg1);
966
967 wxPy_END_ALLOW_THREADS;
968} Py_INCREF(Py_None);
969 _resultobj = Py_None;
970 return _resultobj;
971}
972
973#define wxDiagram_SetGridSpacing(_swigobj,_swigarg0) (_swigobj->SetGridSpacing(_swigarg0))
974static PyObject *_wrap_wxDiagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
975 PyObject * _resultobj;
976 wxDiagram * _arg0;
977 double _arg1;
978 PyObject * _argo0 = 0;
979 char *_kwnames[] = { "self","spacing", NULL };
980
981 self = self;
982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxDiagram_SetGridSpacing",_kwnames,&_argo0,&_arg1))
983 return NULL;
984 if (_argo0) {
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.");
988 return NULL;
989 }
990 }
991{
992 wxPy_BEGIN_ALLOW_THREADS;
993 wxDiagram_SetGridSpacing(_arg0,_arg1);
994
995 wxPy_END_ALLOW_THREADS;
996} Py_INCREF(Py_None);
997 _resultobj = Py_None;
998 return _resultobj;
999}
1000
1001#define wxDiagram_SetMouseTolerance(_swigobj,_swigarg0) (_swigobj->SetMouseTolerance(_swigarg0))
1002static PyObject *_wrap_wxDiagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) {
1003 PyObject * _resultobj;
1004 wxDiagram * _arg0;
1005 int _arg1;
1006 PyObject * _argo0 = 0;
1007 char *_kwnames[] = { "self","tolerance", NULL };
1008
1009 self = self;
1010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDiagram_SetMouseTolerance",_kwnames,&_argo0,&_arg1))
1011 return NULL;
1012 if (_argo0) {
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.");
1016 return NULL;
1017 }
1018 }
1019{
1020 wxPy_BEGIN_ALLOW_THREADS;
1021 wxDiagram_SetMouseTolerance(_arg0,_arg1);
1022
1023 wxPy_END_ALLOW_THREADS;
1024} Py_INCREF(Py_None);
1025 _resultobj = Py_None;
1026 return _resultobj;
1027}
1028
1029#define wxDiagram_SetQuickEditMode(_swigobj,_swigarg0) (_swigobj->SetQuickEditMode(_swigarg0))
1030static PyObject *_wrap_wxDiagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1031 PyObject * _resultobj;
1032 wxDiagram * _arg0;
1033 bool _arg1;
1034 PyObject * _argo0 = 0;
1035 int tempbool1;
1036 char *_kwnames[] = { "self","mode", NULL };
1037
1038 self = self;
1039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDiagram_SetQuickEditMode",_kwnames,&_argo0,&tempbool1))
1040 return NULL;
1041 if (_argo0) {
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.");
1045 return NULL;
1046 }
1047 }
1048 _arg1 = (bool ) tempbool1;
1049{
1050 wxPy_BEGIN_ALLOW_THREADS;
1051 wxDiagram_SetQuickEditMode(_arg0,_arg1);
1052
1053 wxPy_END_ALLOW_THREADS;
1054} Py_INCREF(Py_None);
1055 _resultobj = Py_None;
1056 return _resultobj;
1057}
1058
1059#define wxDiagram_SetSnapToGrid(_swigobj,_swigarg0) (_swigobj->SetSnapToGrid(_swigarg0))
1060static PyObject *_wrap_wxDiagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
1061 PyObject * _resultobj;
1062 wxDiagram * _arg0;
1063 bool _arg1;
1064 PyObject * _argo0 = 0;
1065 int tempbool1;
1066 char *_kwnames[] = { "self","snap", NULL };
1067
1068 self = self;
1069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDiagram_SetSnapToGrid",_kwnames,&_argo0,&tempbool1))
1070 return NULL;
1071 if (_argo0) {
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.");
1075 return NULL;
1076 }
1077 }
1078 _arg1 = (bool ) tempbool1;
1079{
1080 wxPy_BEGIN_ALLOW_THREADS;
1081 wxDiagram_SetSnapToGrid(_arg0,_arg1);
1082
1083 wxPy_END_ALLOW_THREADS;
1084} Py_INCREF(Py_None);
1085 _resultobj = Py_None;
1086 return _resultobj;
1087}
1088
1089#define wxDiagram_ShowAll(_swigobj,_swigarg0) (_swigobj->ShowAll(_swigarg0))
1090static PyObject *_wrap_wxDiagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1091 PyObject * _resultobj;
1092 wxDiagram * _arg0;
1093 bool _arg1;
1094 PyObject * _argo0 = 0;
1095 int tempbool1;
1096 char *_kwnames[] = { "self","show", NULL };
1097
1098 self = self;
1099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDiagram_ShowAll",_kwnames,&_argo0,&tempbool1))
1100 return NULL;
1101 if (_argo0) {
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.");
1105 return NULL;
1106 }
1107 }
1108 _arg1 = (bool ) tempbool1;
1109{
1110 wxPy_BEGIN_ALLOW_THREADS;
1111 wxDiagram_ShowAll(_arg0,_arg1);
1112
1113 wxPy_END_ALLOW_THREADS;
1114} Py_INCREF(Py_None);
1115 _resultobj = Py_None;
1116 return _resultobj;
1117}
1118
1119#define wxDiagram_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1120static PyObject *_wrap_wxDiagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
1121 PyObject * _resultobj;
1122 wxDiagram * _arg0;
1123 double * _arg1;
4e0dcbb1 1124 double temp;
e91a9dfc 1125 double * _arg2;
4e0dcbb1 1126 double temp0;
e91a9dfc 1127 PyObject * _argo0 = 0;
4e0dcbb1 1128 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
1129
1130 self = self;
4e0dcbb1
RD
1131{
1132 _arg1 = &temp;
1133}
1134{
1135 _arg2 = &temp0;
1136}
1137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_Snap",_kwnames,&_argo0))
e91a9dfc
RD
1138 return NULL;
1139 if (_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.");
1143 return NULL;
1144 }
1145 }
e91a9dfc
RD
1146{
1147 wxPy_BEGIN_ALLOW_THREADS;
1148 wxDiagram_Snap(_arg0,_arg1,_arg2);
1149
1150 wxPy_END_ALLOW_THREADS;
1151} Py_INCREF(Py_None);
1152 _resultobj = Py_None;
4e0dcbb1
RD
1153{
1154 PyObject *o;
1155 o = PyFloat_FromDouble((double) (*_arg1));
1156 _resultobj = t_output_helper(_resultobj, o);
1157}
1158{
1159 PyObject *o;
1160 o = PyFloat_FromDouble((double) (*_arg2));
1161 _resultobj = t_output_helper(_resultobj, o);
1162}
e91a9dfc
RD
1163 return _resultobj;
1164}
1165
1166static void *SwigwxPyShapeCanvasTowxScrolledWindow(void *ptr) {
1167 wxPyShapeCanvas *src;
1168 wxScrolledWindow *dest;
1169 src = (wxPyShapeCanvas *) ptr;
1170 dest = (wxScrolledWindow *) src;
1171 return (void *) dest;
1172}
1173
1174static void *SwigwxPyShapeCanvasTowxPanel(void *ptr) {
1175 wxPyShapeCanvas *src;
1176 wxPanel *dest;
1177 src = (wxPyShapeCanvas *) ptr;
1178 dest = (wxPanel *) src;
1179 return (void *) dest;
1180}
1181
1182static void *SwigwxPyShapeCanvasTowxWindow(void *ptr) {
1183 wxPyShapeCanvas *src;
1184 wxWindow *dest;
1185 src = (wxPyShapeCanvas *) ptr;
1186 dest = (wxWindow *) src;
1187 return (void *) dest;
1188}
1189
1190static void *SwigwxPyShapeCanvasTowxEvtHandler(void *ptr) {
1191 wxPyShapeCanvas *src;
1192 wxEvtHandler *dest;
1193 src = (wxPyShapeCanvas *) ptr;
1194 dest = (wxEvtHandler *) src;
1195 return (void *) dest;
1196}
1197
1198#define new_wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1199static 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 *) &wxPyDefaultPosition;
1205 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
1206 long _arg4 = (long ) wxBORDER;
1207 PyObject * _argo0 = 0;
2348eaee
RD
1208 wxPoint temp;
1209 PyObject * _obj2 = 0;
1210 wxSize temp0;
1211 PyObject * _obj3 = 0;
e91a9dfc
RD
1212 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1213 char _ptemp[128];
1214
1215 self = self;
2348eaee 1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOl:new_wxPyShapeCanvas",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
e91a9dfc
RD
1217 return NULL;
1218 if (_argo0) {
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.");
1222 return NULL;
1223 }
1224 }
2348eaee
RD
1225 if (_obj2)
1226{
1227 _arg2 = &temp;
1228 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 1229 return NULL;
2348eaee
RD
1230}
1231 if (_obj3)
1232{
1233 _arg3 = &temp0;
1234 if (! wxSize_helper(_obj3, &_arg3))
e91a9dfc 1235 return NULL;
2348eaee 1236}
e91a9dfc
RD
1237{
1238 wxPy_BEGIN_ALLOW_THREADS;
1239 _result = (wxPyShapeCanvas *)new_wxPyShapeCanvas(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1240
1241 wxPy_END_ALLOW_THREADS;
1242} if (_result) {
1243 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeCanvas_p");
1244 _resultobj = Py_BuildValue("s",_ptemp);
1245 } else {
1246 Py_INCREF(Py_None);
1247 _resultobj = Py_None;
1248 }
1249 return _resultobj;
1250}
1251
f6bcfd97 1252#define wxPyShapeCanvas__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
e91a9dfc
RD
1253static PyObject *_wrap_wxPyShapeCanvas__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1254 PyObject * _resultobj;
1255 wxPyShapeCanvas * _arg0;
1256 PyObject * _arg1;
f6bcfd97 1257 PyObject * _arg2;
e91a9dfc
RD
1258 PyObject * _argo0 = 0;
1259 PyObject * _obj1 = 0;
f6bcfd97
BP
1260 PyObject * _obj2 = 0;
1261 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
1262
1263 self = self;
f6bcfd97 1264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShapeCanvas__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
1265 return NULL;
1266 if (_argo0) {
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.");
1270 return NULL;
1271 }
1272 }
1273{
1274 _arg1 = _obj1;
1275}
f6bcfd97
BP
1276{
1277 _arg2 = _obj2;
1278}
e91a9dfc
RD
1279{
1280 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97 1281 wxPyShapeCanvas__setSelf(_arg0,_arg1,_arg2);
e91a9dfc
RD
1282
1283 wxPy_END_ALLOW_THREADS;
1284} Py_INCREF(Py_None);
1285 _resultobj = Py_None;
1286 return _resultobj;
1287}
1288
1289#define wxPyShapeCanvas_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1))
1290static PyObject *_wrap_wxPyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1291 PyObject * _resultobj;
1292 wxPyShapeCanvas * _arg0;
1293 wxPyShape * _arg1;
1294 wxPyShape * _arg2 = (wxPyShape *) NULL;
1295 PyObject * _argo0 = 0;
1296 PyObject * _argo1 = 0;
1297 PyObject * _argo2 = 0;
1298 char *_kwnames[] = { "self","shape","addAfter", NULL };
1299
1300 self = self;
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyShapeCanvas_AddShape",_kwnames,&_argo0,&_argo1,&_argo2))
1302 return NULL;
1303 if (_argo0) {
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.");
1307 return NULL;
1308 }
1309 }
1310 if (_argo1) {
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.");
1314 return NULL;
1315 }
1316 }
1317 if (_argo2) {
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.");
1321 return NULL;
1322 }
1323 }
1324{
1325 wxPy_BEGIN_ALLOW_THREADS;
1326 wxPyShapeCanvas_AddShape(_arg0,_arg1,_arg2);
1327
1328 wxPy_END_ALLOW_THREADS;
1329} Py_INCREF(Py_None);
1330 _resultobj = Py_None;
1331 return _resultobj;
1332}
1333
1334#define wxPyShapeCanvas_FindShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1335static PyObject *_wrap_wxPyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1336 PyObject * _resultobj;
1337 wxPyShape * _result;
1338 wxPyShapeCanvas * _arg0;
1339 double _arg1;
1340 double _arg2;
1341 int * _arg3;
4e0dcbb1 1342 int temp;
e91a9dfc
RD
1343 wxClassInfo * _arg4 = (wxClassInfo *) NULL;
1344 wxPyShape * _arg5 = (wxPyShape *) NULL;
1345 PyObject * _argo0 = 0;
e91a9dfc
RD
1346 PyObject * _argo4 = 0;
1347 PyObject * _argo5 = 0;
4e0dcbb1 1348 char *_kwnames[] = { "self","x1","y","info","notImage", NULL };
e91a9dfc
RD
1349 char _ptemp[128];
1350
1351 self = self;
4e0dcbb1
RD
1352{
1353 _arg3 = &temp;
1354}
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|OO:wxPyShapeCanvas_FindShape",_kwnames,&_argo0,&_arg1,&_arg2,&_argo4,&_argo5))
e91a9dfc
RD
1356 return NULL;
1357 if (_argo0) {
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.");
1361 return NULL;
1362 }
1363 }
e91a9dfc
RD
1364 if (_argo4) {
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.");
1368 return NULL;
1369 }
1370 }
1371 if (_argo5) {
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.");
1375 return NULL;
1376 }
1377 }
1378{
1379 wxPy_BEGIN_ALLOW_THREADS;
1380 _result = (wxPyShape *)wxPyShapeCanvas_FindShape(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1381
1382 wxPy_END_ALLOW_THREADS;
1383} if (_result) {
1384 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p");
1385 _resultobj = Py_BuildValue("s",_ptemp);
1386 } else {
1387 Py_INCREF(Py_None);
1388 _resultobj = Py_None;
1389 }
4e0dcbb1
RD
1390{
1391 PyObject *o;
1392 o = PyInt_FromLong((long) (*_arg3));
1393 _resultobj = t_output_helper(_resultobj, o);
1394}
e91a9dfc
RD
1395 return _resultobj;
1396}
1397
1398#define wxPyShapeCanvas_FindFirstSensitiveShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindFirstSensitiveShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1399static PyObject *_wrap_wxPyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1400 PyObject * _resultobj;
1401 wxPyShape * _result;
1402 wxPyShapeCanvas * _arg0;
1403 double _arg1;
1404 double _arg2;
1405 int * _arg3;
4e0dcbb1 1406 int temp;
e91a9dfc
RD
1407 int _arg4;
1408 PyObject * _argo0 = 0;
4e0dcbb1 1409 char *_kwnames[] = { "self","x1","y","op", NULL };
e91a9dfc
RD
1410 char _ptemp[128];
1411
1412 self = self;
4e0dcbb1
RD
1413{
1414 _arg3 = &temp;
1415}
1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddi:wxPyShapeCanvas_FindFirstSensitiveShape",_kwnames,&_argo0,&_arg1,&_arg2,&_arg4))
e91a9dfc
RD
1417 return NULL;
1418 if (_argo0) {
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.");
1422 return NULL;
1423 }
1424 }
e91a9dfc
RD
1425{
1426 wxPy_BEGIN_ALLOW_THREADS;
1427 _result = (wxPyShape *)wxPyShapeCanvas_FindFirstSensitiveShape(_arg0,_arg1,_arg2,_arg3,_arg4);
1428
1429 wxPy_END_ALLOW_THREADS;
1430} if (_result) {
1431 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p");
1432 _resultobj = Py_BuildValue("s",_ptemp);
1433 } else {
1434 Py_INCREF(Py_None);
1435 _resultobj = Py_None;
1436 }
4e0dcbb1
RD
1437{
1438 PyObject *o;
1439 o = PyInt_FromLong((long) (*_arg3));
1440 _resultobj = t_output_helper(_resultobj, o);
1441}
e91a9dfc
RD
1442 return _resultobj;
1443}
1444
1445#define wxPyShapeCanvas_GetDiagram(_swigobj) (_swigobj->GetDiagram())
1446static 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 };
1452 char _ptemp[128];
1453
1454 self = self;
1455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeCanvas_GetDiagram",_kwnames,&_argo0))
1456 return NULL;
1457 if (_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.");
1461 return NULL;
1462 }
1463 }
1464{
1465 wxPy_BEGIN_ALLOW_THREADS;
1466 _result = (wxDiagram *)wxPyShapeCanvas_GetDiagram(_arg0);
1467
1468 wxPy_END_ALLOW_THREADS;
1469} if (_result) {
1470 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDiagram_p");
1471 _resultobj = Py_BuildValue("s",_ptemp);
1472 } else {
1473 Py_INCREF(Py_None);
1474 _resultobj = Py_None;
1475 }
1476 return _resultobj;
1477}
1478
1479#define wxPyShapeCanvas_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode())
1480static PyObject *_wrap_wxPyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1481 PyObject * _resultobj;
1482 bool _result;
1483 wxPyShapeCanvas * _arg0;
1484 PyObject * _argo0 = 0;
1485 char *_kwnames[] = { "self", NULL };
1486
1487 self = self;
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeCanvas_GetQuickEditMode",_kwnames,&_argo0))
1489 return NULL;
1490 if (_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.");
1494 return NULL;
1495 }
1496 }
1497{
1498 wxPy_BEGIN_ALLOW_THREADS;
1499 _result = (bool )wxPyShapeCanvas_GetQuickEditMode(_arg0);
1500
1501 wxPy_END_ALLOW_THREADS;
1502} _resultobj = Py_BuildValue("i",_result);
1503 return _resultobj;
1504}
1505
1506#define wxPyShapeCanvas_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0))
1507static PyObject *_wrap_wxPyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1508 PyObject * _resultobj;
1509 wxPyShapeCanvas * _arg0;
1510 wxPyShape * _arg1;
1511 PyObject * _argo0 = 0;
1512 PyObject * _argo1 = 0;
1513 char *_kwnames[] = { "self","shape", NULL };
1514
1515 self = self;
1516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeCanvas_InsertShape",_kwnames,&_argo0,&_argo1))
1517 return NULL;
1518 if (_argo0) {
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.");
1522 return NULL;
1523 }
1524 }
1525 if (_argo1) {
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.");
1529 return NULL;
1530 }
1531 }
1532{
1533 wxPy_BEGIN_ALLOW_THREADS;
1534 wxPyShapeCanvas_InsertShape(_arg0,_arg1);
1535
1536 wxPy_END_ALLOW_THREADS;
1537} Py_INCREF(Py_None);
1538 _resultobj = Py_None;
1539 return _resultobj;
1540}
1541
1542#define wxPyShapeCanvas_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2))
1543static PyObject *_wrap_wxPyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
1544 PyObject * _resultobj;
1545 wxPyShapeCanvas * _arg0;
1546 double _arg1;
1547 double _arg2;
1548 int _arg3 = (int ) 0;
1549 PyObject * _argo0 = 0;
1550 char *_kwnames[] = { "self","x","y","keys", NULL };
1551
1552 self = self;
1553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
1554 return NULL;
1555 if (_argo0) {
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.");
1559 return NULL;
1560 }
1561 }
1562{
1563 wxPy_BEGIN_ALLOW_THREADS;
1564 wxPyShapeCanvas_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3);
1565
1566 wxPy_END_ALLOW_THREADS;
1567} Py_INCREF(Py_None);
1568 _resultobj = Py_None;
1569 return _resultobj;
1570}
1571
1572#define wxPyShapeCanvas_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2))
1573static PyObject *_wrap_wxPyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
1574 PyObject * _resultobj;
1575 wxPyShapeCanvas * _arg0;
1576 double _arg1;
1577 double _arg2;
1578 int _arg3 = (int ) 0;
1579 PyObject * _argo0 = 0;
1580 char *_kwnames[] = { "self","x","y","keys", NULL };
1581
1582 self = self;
1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
1584 return NULL;
1585 if (_argo0) {
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.");
1589 return NULL;
1590 }
1591 }
1592{
1593 wxPy_BEGIN_ALLOW_THREADS;
1594 wxPyShapeCanvas_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3);
1595
1596 wxPy_END_ALLOW_THREADS;
1597} Py_INCREF(Py_None);
1598 _resultobj = Py_None;
1599 return _resultobj;
1600}
1601
1602#define wxPyShapeCanvas_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2))
1603static PyObject *_wrap_wxPyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
1604 PyObject * _resultobj;
1605 wxPyShapeCanvas * _arg0;
1606 double _arg1;
1607 double _arg2;
1608 int _arg3 = (int ) 0;
1609 PyObject * _argo0 = 0;
1610 char *_kwnames[] = { "self","x","y","keys", NULL };
1611
1612 self = self;
1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
1614 return NULL;
1615 if (_argo0) {
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.");
1619 return NULL;
1620 }
1621 }
1622{
1623 wxPy_BEGIN_ALLOW_THREADS;
1624 wxPyShapeCanvas_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3);
1625
1626 wxPy_END_ALLOW_THREADS;
1627} Py_INCREF(Py_None);
1628 _resultobj = Py_None;
1629 return _resultobj;
1630}
1631
1632#define wxPyShapeCanvas_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2))
1633static PyObject *_wrap_wxPyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
1634 PyObject * _resultobj;
1635 wxPyShapeCanvas * _arg0;
1636 double _arg1;
1637 double _arg2;
1638 int _arg3 = (int ) 0;
1639 PyObject * _argo0 = 0;
1640 char *_kwnames[] = { "self","x","y","keys", NULL };
1641
1642 self = self;
1643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
1644 return NULL;
1645 if (_argo0) {
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.");
1649 return NULL;
1650 }
1651 }
1652{
1653 wxPy_BEGIN_ALLOW_THREADS;
1654 wxPyShapeCanvas_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3);
1655
1656 wxPy_END_ALLOW_THREADS;
1657} Py_INCREF(Py_None);
1658 _resultobj = Py_None;
1659 return _resultobj;
1660}
1661
1662#define wxPyShapeCanvas_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1663static PyObject *_wrap_wxPyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
1664 PyObject * _resultobj;
1665 wxPyShapeCanvas * _arg0;
1666 bool _arg1;
1667 double _arg2;
1668 double _arg3;
1669 int _arg4 = (int ) 0;
1670 PyObject * _argo0 = 0;
1671 int tempbool1;
1672 char *_kwnames[] = { "self","draw","x","y","keys", NULL };
1673
1674 self = self;
1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|i:wxPyShapeCanvas_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4))
1676 return NULL;
1677 if (_argo0) {
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.");
1681 return NULL;
1682 }
1683 }
1684 _arg1 = (bool ) tempbool1;
1685{
1686 wxPy_BEGIN_ALLOW_THREADS;
1687 wxPyShapeCanvas_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
1688
1689 wxPy_END_ALLOW_THREADS;
1690} Py_INCREF(Py_None);
1691 _resultobj = Py_None;
1692 return _resultobj;
1693}
1694
1695#define wxPyShapeCanvas_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1696static PyObject *_wrap_wxPyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
1697 PyObject * _resultobj;
1698 wxPyShapeCanvas * _arg0;
1699 bool _arg1;
1700 double _arg2;
1701 double _arg3;
1702 int _arg4 = (int ) 0;
1703 PyObject * _argo0 = 0;
1704 int tempbool1;
1705 char *_kwnames[] = { "self","draw","x","y","keys", NULL };
1706
1707 self = self;
1708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|i:wxPyShapeCanvas_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4))
1709 return NULL;
1710 if (_argo0) {
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.");
1714 return NULL;
1715 }
1716 }
1717 _arg1 = (bool ) tempbool1;
1718{
1719 wxPy_BEGIN_ALLOW_THREADS;
1720 wxPyShapeCanvas_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
1721
1722 wxPy_END_ALLOW_THREADS;
1723} Py_INCREF(Py_None);
1724 _resultobj = Py_None;
1725 return _resultobj;
1726}
1727
1728#define wxPyShapeCanvas_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2))
1729static PyObject *_wrap_wxPyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject * _resultobj;
1731 wxPyShapeCanvas * _arg0;
1732 double _arg1;
1733 double _arg2;
1734 int _arg3 = (int ) 0;
1735 PyObject * _argo0 = 0;
1736 char *_kwnames[] = { "self","x","y","keys", NULL };
1737
1738 self = self;
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
1740 return NULL;
1741 if (_argo0) {
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.");
1745 return NULL;
1746 }
1747 }
1748{
1749 wxPy_BEGIN_ALLOW_THREADS;
1750 wxPyShapeCanvas_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3);
1751
1752 wxPy_END_ALLOW_THREADS;
1753} Py_INCREF(Py_None);
1754 _resultobj = Py_None;
1755 return _resultobj;
1756}
1757
1758#define wxPyShapeCanvas_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2))
1759static PyObject *_wrap_wxPyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
1760 PyObject * _resultobj;
1761 wxPyShapeCanvas * _arg0;
1762 double _arg1;
1763 double _arg2;
1764 int _arg3 = (int ) 0;
1765 PyObject * _argo0 = 0;
1766 char *_kwnames[] = { "self","x","y","keys", NULL };
1767
1768 self = self;
1769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
1770 return NULL;
1771 if (_argo0) {
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.");
1775 return NULL;
1776 }
1777 }
1778{
1779 wxPy_BEGIN_ALLOW_THREADS;
1780 wxPyShapeCanvas_base_OnRightClick(_arg0,_arg1,_arg2,_arg3);
1781
1782 wxPy_END_ALLOW_THREADS;
1783} Py_INCREF(Py_None);
1784 _resultobj = Py_None;
1785 return _resultobj;
1786}
1787
1788#define wxPyShapeCanvas_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0))
1789static PyObject *_wrap_wxPyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject * _resultobj;
1791 wxPyShapeCanvas * _arg0;
1792 wxDC * _arg1;
1793 PyObject * _argo0 = 0;
1794 PyObject * _argo1 = 0;
1795 char *_kwnames[] = { "self","dc", NULL };
1796
1797 self = self;
1798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeCanvas_Redraw",_kwnames,&_argo0,&_argo1))
1799 return NULL;
1800 if (_argo0) {
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.");
1804 return NULL;
1805 }
1806 }
1807 if (_argo1) {
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.");
1811 return NULL;
1812 }
1813 }
1814{
1815 wxPy_BEGIN_ALLOW_THREADS;
1816 wxPyShapeCanvas_Redraw(_arg0,*_arg1);
1817
1818 wxPy_END_ALLOW_THREADS;
1819} Py_INCREF(Py_None);
1820 _resultobj = Py_None;
1821 return _resultobj;
1822}
1823
1824#define wxPyShapeCanvas_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0))
1825static PyObject *_wrap_wxPyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1826 PyObject * _resultobj;
1827 wxPyShapeCanvas * _arg0;
1828 wxPyShape * _arg1;
1829 PyObject * _argo0 = 0;
1830 PyObject * _argo1 = 0;
1831 char *_kwnames[] = { "self","shape", NULL };
1832
1833 self = self;
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeCanvas_RemoveShape",_kwnames,&_argo0,&_argo1))
1835 return NULL;
1836 if (_argo0) {
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.");
1840 return NULL;
1841 }
1842 }
1843 if (_argo1) {
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.");
1847 return NULL;
1848 }
1849 }
1850{
1851 wxPy_BEGIN_ALLOW_THREADS;
1852 wxPyShapeCanvas_RemoveShape(_arg0,_arg1);
1853
1854 wxPy_END_ALLOW_THREADS;
1855} Py_INCREF(Py_None);
1856 _resultobj = Py_None;
1857 return _resultobj;
1858}
1859
1860#define wxPyShapeCanvas_SetDiagram(_swigobj,_swigarg0) (_swigobj->SetDiagram(_swigarg0))
1861static PyObject *_wrap_wxPyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) {
1862 PyObject * _resultobj;
1863 wxPyShapeCanvas * _arg0;
1864 wxDiagram * _arg1;
1865 PyObject * _argo0 = 0;
1866 PyObject * _argo1 = 0;
1867 char *_kwnames[] = { "self","diagram", NULL };
1868
1869 self = self;
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeCanvas_SetDiagram",_kwnames,&_argo0,&_argo1))
1871 return NULL;
1872 if (_argo0) {
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.");
1876 return NULL;
1877 }
1878 }
1879 if (_argo1) {
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.");
1883 return NULL;
1884 }
1885 }
1886{
1887 wxPy_BEGIN_ALLOW_THREADS;
1888 wxPyShapeCanvas_SetDiagram(_arg0,_arg1);
1889
1890 wxPy_END_ALLOW_THREADS;
1891} Py_INCREF(Py_None);
1892 _resultobj = Py_None;
1893 return _resultobj;
1894}
1895
1896#define wxPyShapeCanvas_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1))
1897static PyObject *_wrap_wxPyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject * _resultobj;
1899 wxPyShapeCanvas * _arg0;
1900 double * _arg1;
4e0dcbb1 1901 double temp;
e91a9dfc 1902 double * _arg2;
4e0dcbb1 1903 double temp0;
e91a9dfc 1904 PyObject * _argo0 = 0;
4e0dcbb1 1905 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
1906
1907 self = self;
4e0dcbb1
RD
1908{
1909 _arg1 = &temp;
1910}
1911{
1912 _arg2 = &temp0;
1913}
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeCanvas_Snap",_kwnames,&_argo0))
e91a9dfc
RD
1915 return NULL;
1916 if (_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.");
1920 return NULL;
1921 }
1922 }
e91a9dfc
RD
1923{
1924 wxPy_BEGIN_ALLOW_THREADS;
1925 wxPyShapeCanvas_Snap(_arg0,_arg1,_arg2);
1926
1927 wxPy_END_ALLOW_THREADS;
1928} Py_INCREF(Py_None);
1929 _resultobj = Py_None;
4e0dcbb1
RD
1930{
1931 PyObject *o;
1932 o = PyFloat_FromDouble((double) (*_arg1));
1933 _resultobj = t_output_helper(_resultobj, o);
1934}
1935{
1936 PyObject *o;
1937 o = PyFloat_FromDouble((double) (*_arg2));
1938 _resultobj = t_output_helper(_resultobj, o);
1939}
e91a9dfc
RD
1940 return _resultobj;
1941}
1942
1943static 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 },
1995 { NULL, NULL }
1996};
1997#ifdef __cplusplus
1998}
1999#endif
2000/*
2001 * This table is used by the pointer type-checker
2002 */
2003static 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},
c368d904 2009 { "_class_wxProcessEvent","_wxProcessEvent",0},
e91a9dfc 2010 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
c368d904 2011 { "_class_wxFSFile","_wxFSFile",0},
e02c03a4
RD
2012 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2013 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2348eaee 2014 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
e91a9dfc
RD
2015 { "_wxBMPHandler","_class_wxBMPHandler",0},
2016 { "_wxImage","_class_wxImage",0},
f6bcfd97 2017 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
c368d904
RD
2018 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
2019 { "_class_wxDateTime","_wxDateTime",0},
e02c03a4 2020 { "_wxPrintQuality","_wxCoord",0},
e91a9dfc
RD
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},
c368d904 2028 { "_wxPrintQuality","_time_t",0},
e02c03a4 2029 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
c368d904 2030 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
e91a9dfc 2031 { "_wxFontData","_class_wxFontData",0},
e91a9dfc 2032 { "_class_wxRegionIterator","_wxRegionIterator",0},
e02c03a4 2033 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
e91a9dfc
RD
2034 { "_class_wxMenuBar","_wxMenuBar",0},
2035 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
2348eaee 2036 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
e91a9dfc
RD
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},
2348eaee 2042 { "_wxPySizer","_class_wxPySizer",0},
c368d904 2043 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
e91a9dfc
RD
2044 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2045 { "_wxCursor","_class_wxCursor",0},
2046 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
c368d904 2047 { "_wxPyProcess","_class_wxPyProcess",0},
f6bcfd97 2048 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
e91a9dfc 2049 { "_wxImageHandler","_class_wxImageHandler",0},
c368d904 2050 { "_wxLog","_class_wxLog",0},
e02c03a4 2051 { "_class_wxToolBarBase","_wxToolBarBase",0},
e91a9dfc
RD
2052 { "_wxMask","_class_wxMask",0},
2053 { "_wxToolTip","_class_wxToolTip",0},
e91a9dfc
RD
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},
f6bcfd97 2060 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
e91a9dfc 2061 { "_byte","_unsigned_char",0},
e02c03a4
RD
2062 { "_wxDataObject","_class_wxDataObject",0},
2063 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
e91a9dfc 2064 { "_wxStaticBox","_class_wxStaticBox",0},
e02c03a4
RD
2065 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2066 { "_wxPyDropSource","_class_wxPyDropSource",0},
e91a9dfc
RD
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},
e91a9dfc
RD
2072 { "_long","_unsigned_long",0},
2073 { "_long","_signed_long",0},
2074 { "_wxImageList","_class_wxImageList",0},
e02c03a4 2075 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
e91a9dfc
RD
2076 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2077 { "_wxBitmapButton","_class_wxBitmapButton",0},
2078 { "_wxSashWindow","_class_wxSashWindow",0},
2348eaee 2079 { "_class_wxSizer","_wxSizer",0},
e02c03a4 2080 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
e91a9dfc 2081 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
f6bcfd97 2082 { "_wxGridSizer","_class_wxGridSizer",0},
e91a9dfc 2083 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
e02c03a4 2084 { "_class_wxClipboard","_wxClipboard",0},
e91a9dfc
RD
2085 { "_class_wxGauge","_wxGauge",0},
2086 { "_class_wxSashEvent","_wxSashEvent",0},
2087 { "_wxDC","_class_wxDC",0},
2348eaee 2088 { "_wxSizerItem","_class_wxSizerItem",0},
e02c03a4 2089 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
e91a9dfc
RD
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},
f6bcfd97 2095 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
e91a9dfc
RD
2096 { "_wxSpinEvent","_class_wxSpinEvent",0},
2097 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
e02c03a4 2098 { "_size_t","_wxCoord",0},
e91a9dfc 2099 { "_size_t","_wxPrintQuality",0},
c368d904 2100 { "_size_t","_time_t",0},
e91a9dfc
RD
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},
e02c03a4
RD
2106 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2107 { "_wxPNMHandler","_class_wxPNMHandler",0},
2108 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
c368d904 2109 { "_wxLogGui","_class_wxLogGui",0},
e91a9dfc
RD
2110 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
2111 { "_class_wxMenuItem","_wxMenuItem",0},
2112 { "_class_wxPaintEvent","_wxPaintEvent",0},
2113 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2114 { "_class_wxStatusBar","_wxStatusBar",0},
2115 { "_class_wxGIFHandler","_wxGIFHandler",0},
2348eaee 2116 { "_class_wxPySizer","_wxPySizer",0},
2cd2fac8 2117 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
e91a9dfc
RD
2118 { "_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel},
2119 { "_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel},
2120 { "_wxPanel","_class_wxPanel",0},
2121 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2122 { "_wxCheckBox","_class_wxCheckBox",0},
f6bcfd97 2123 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
e91a9dfc
RD
2124 { "_wxPyEvent","_class_wxPyEvent",0},
2125 { "_wxTextCtrl","_class_wxTextCtrl",0},
2126 { "_class_wxMask","_wxMask",0},
e02c03a4 2127 { "_wxTextDataObject","_class_wxTextDataObject",0},
e91a9dfc 2128 { "_class_wxKeyEvent","_wxKeyEvent",0},
e02c03a4 2129 { "_class_wxToolTip","_wxToolTip",0},
e91a9dfc 2130 { "_class_wxPNGHandler","_wxPNGHandler",0},
c368d904 2131 { "_wxFileConfig","_class_wxFileConfig",0},
e91a9dfc
RD
2132 { "_wxColour","_class_wxColour",0},
2133 { "_class_wxDialog","_wxDialog",0},
e02c03a4 2134 { "_wxBusyCursor","_class_wxBusyCursor",0},
e91a9dfc
RD
2135 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
2136 { "_class_wxPrinter","_wxPrinter",0},
e02c03a4 2137 { "_class_wxFileDataObject","_wxFileDataObject",0},
e91a9dfc
RD
2138 { "_wxIdleEvent","_class_wxIdleEvent",0},
2139 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2140 { "_wxToolBar","_class_wxToolBar",0},
e02c03a4 2141 { "_class_wxDataObject","_wxDataObject",0},
f0261a72 2142 { "_wxCaret","_class_wxCaret",0},
e91a9dfc
RD
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},
e02c03a4
RD
2149 { "_wxDataFormat","_class_wxDataFormat",0},
2150 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
e91a9dfc
RD
2151 { "_class_wxSashWindow","_wxSashWindow",0},
2152 { "_wxShowEvent","_class_wxShowEvent",0},
e02c03a4 2153 { "_uint","_wxCoord",0},
e91a9dfc 2154 { "_uint","_wxPrintQuality",0},
c368d904 2155 { "_uint","_time_t",0},
e91a9dfc
RD
2156 { "_uint","_size_t",0},
2157 { "_uint","_unsigned_int",0},
2158 { "_uint","_int",0},
2159 { "_uint","_wxWindowID",0},
f6bcfd97 2160 { "_wxChar","_char",0},
f0261a72 2161 { "_wxPyValidator","_class_wxPyValidator",0},
e91a9dfc
RD
2162 { "_class_wxEvent","_wxEvent",0},
2163 { "_wxCheckListBox","_class_wxCheckListBox",0},
2164 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
e91a9dfc
RD
2165 { "_wxRect","_class_wxRect",0},
2166 { "_wxCommandEvent","_class_wxCommandEvent",0},
2167 { "_wxPyShapeCanvas","_class_wxPyShapeCanvas",0},
2168 { "_wxSizeEvent","_class_wxSizeEvent",0},
c368d904 2169 { "_class_wxLogWindow","_wxLogWindow",0},
e91a9dfc
RD
2170 { "_class_wxImage","_wxImage",0},
2171 { "_wxPoint","_class_wxPoint",0},
c368d904 2172 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
e91a9dfc
RD
2173 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
2174 { "_class_wxButton","_wxButton",0},
2175 { "_wxRadioBox","_class_wxRadioBox",0},
c368d904 2176 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
e91a9dfc 2177 { "_class_wxFontData","_wxFontData",0},
e02c03a4 2178 { "_class_wxPNMHandler","_wxPNMHandler",0},
2348eaee 2179 { "_wxBoxSizer","_class_wxBoxSizer",0},
c368d904 2180 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
f6bcfd97 2181 { "_char","_wxChar",0},
e91a9dfc 2182 { "_wxBitmap","_class_wxBitmap",0},
e91a9dfc 2183 { "_wxPrintDialog","_class_wxPrintDialog",0},
e91a9dfc 2184 { "_wxWindowDC","_class_wxWindowDC",0},
f6bcfd97
BP
2185 { "_wxTimerEvent","_class_wxTimerEvent",0},
2186 { "_wxPyTimer","_class_wxPyTimer",0},
e91a9dfc
RD
2187 { "_wxScrollBar","_class_wxScrollBar",0},
2188 { "_wxSpinButton","_class_wxSpinButton",0},
e91a9dfc
RD
2189 { "_wxColourDialog","_class_wxColourDialog",0},
2190 { "_wxPrintData","_class_wxPrintData",0},
c368d904 2191 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
e91a9dfc
RD
2192 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2193 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2194 { "_wxMessageDialog","_class_wxMessageDialog",0},
f0261a72 2195 { "_class_wxValidator","_wxValidator",0},
e91a9dfc
RD
2196 { "_class_wxPyEvent","_wxPyEvent",0},
2197 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
c368d904 2198 { "_wxConfig","_class_wxConfig",0},
e91a9dfc
RD
2199 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2200 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
c368d904 2201 { "_class_wxFileConfig","_wxFileConfig",0},
e02c03a4
RD
2202 { "_class_wxBusyCursor","_wxBusyCursor",0},
2203 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
e91a9dfc
RD
2204 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
2205 { "_wxListItem","_class_wxListItem",0},
2206 { "_class_wxToolBar","_wxToolBar",0},
e02c03a4 2207 { "_wxDropTarget","_class_wxDropTarget",0},
e91a9dfc
RD
2208 { "_class_wxStaticLine","_wxStaticLine",0},
2209 { "_wxScrollEvent","_class_wxScrollEvent",0},
e02c03a4 2210 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
e91a9dfc 2211 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
c368d904 2212 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
e91a9dfc 2213 { "_class_wxShapeRegion","_wxShapeRegion",0},
e02c03a4 2214 { "_EBool","_wxCoord",0},
e91a9dfc
RD
2215 { "_EBool","_wxPrintQuality",0},
2216 { "_EBool","_signed_int",0},
2217 { "_EBool","_int",0},
2218 { "_EBool","_wxWindowID",0},
2219 { "_class_wxRegion","_wxRegion",0},
e02c03a4 2220 { "_class_wxDataFormat","_wxDataFormat",0},
e91a9dfc 2221 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
e02c03a4 2222 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
e91a9dfc
RD
2223 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
2224 { "_wxStaticText","_class_wxStaticText",0},
2225 { "_wxFont","_class_wxFont",0},
e02c03a4 2226 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
e91a9dfc
RD
2227 { "_wxCloseEvent","_class_wxCloseEvent",0},
2228 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
c368d904 2229 { "_wxProcessEvent","_class_wxProcessEvent",0},
e91a9dfc 2230 { "_wxNotebook","_class_wxNotebook",0},
c368d904 2231 { "_wxFSFile","_class_wxFSFile",0},
e91a9dfc
RD
2232 { "_unsigned_long","_long",0},
2233 { "_class_wxRect","_wxRect",0},
2234 { "_class_wxDC","_wxDC",0},
9cce9de1 2235 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
e91a9dfc 2236 { "_class_wxPyShapeCanvas","_wxPyShapeCanvas",0},
f6bcfd97 2237 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
e91a9dfc 2238 { "_class_wxProgressDialog","_wxProgressDialog",0},
e02c03a4 2239 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
c368d904 2240 { "_wxPyInputStream","_class_wxPyInputStream",0},
e91a9dfc 2241 { "_wxPyApp","_class_wxPyApp",0},
e02c03a4 2242 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
c368d904
RD
2243 { "_class_wxOutputStream","_wxOutputStream",0},
2244 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
e91a9dfc
RD
2245 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
2246 { "_class_wxTreeEvent","_wxTreeEvent",0},
2247 { "_class_wxDirDialog","_wxDirDialog",0},
c368d904 2248 { "_wxTimeSpan","_class_wxTimeSpan",0},
e91a9dfc
RD
2249 { "_wxFocusEvent","_class_wxFocusEvent",0},
2250 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
f6bcfd97
BP
2251 { "_class_wxTimerEvent","_wxTimerEvent",0},
2252 { "_class_wxPyTimer","_wxPyTimer",0},
e91a9dfc
RD
2253 { "_class_wxSpinButton","_wxSpinButton",0},
2254 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2255 { "_class_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel},
2256 { "_class_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel},
2257 { "_class_wxPanel","_wxPanel",0},
2258 { "_class_wxCheckBox","_wxCheckBox",0},
2259 { "_wxComboBox","_class_wxComboBox",0},
2260 { "_wxRadioButton","_class_wxRadioButton",0},
2261 { "_class_wxMessageDialog","_wxMessageDialog",0},
e02c03a4 2262 { "_signed_int","_wxCoord",0},
e91a9dfc
RD
2263 { "_signed_int","_wxPrintQuality",0},
2264 { "_signed_int","_EBool",0},
2265 { "_signed_int","_wxWindowID",0},
2266 { "_signed_int","_int",0},
2267 { "_class_wxTextCtrl","_wxTextCtrl",0},
f6bcfd97 2268 { "_class_wxListItemAttr","_wxListItemAttr",0},
e91a9dfc 2269 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
e02c03a4 2270 { "_class_wxTextDataObject","_wxTextDataObject",0},
e91a9dfc
RD
2271 { "_wxMenu","_class_wxMenu",0},
2272 { "_class_wxMoveEvent","_wxMoveEvent",0},
2273 { "_wxListBox","_class_wxListBox",0},
2274 { "_wxScreenDC","_class_wxScreenDC",0},
e02c03a4 2275 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
e91a9dfc 2276 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
c368d904 2277 { "_WXTYPE","_wxDateTime_t",0},
e91a9dfc
RD
2278 { "_WXTYPE","_short",0},
2279 { "_WXTYPE","_signed_short",0},
2280 { "_WXTYPE","_unsigned_short",0},
2281 { "_wxFileDialog","_class_wxFileDialog",0},
e02c03a4 2282 { "_class_wxDropTarget","_wxDropTarget",0},
f0261a72 2283 { "_class_wxCaret","_wxCaret",0},
e91a9dfc
RD
2284 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
2285 { "_class_wxBrush","_wxBrush",0},
f6bcfd97 2286 { "_wxTipProvider","_class_wxTipProvider",0},
c368d904 2287 { "_unsigned_short","_wxDateTime_t",0},
e91a9dfc
RD
2288 { "_unsigned_short","_WXTYPE",0},
2289 { "_unsigned_short","_short",0},
2290 { "_class_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow},
2291 { "_class_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow},
2292 { "_class_wxWindow","_wxWindow",0},
c368d904 2293 { "_class_wxLogStderr","_wxLogStderr",0},
e91a9dfc 2294 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
c368d904 2295 { "_wxDateSpan","_class_wxDateSpan",0},
e91a9dfc
RD
2296 { "_class_wxStaticText","_wxStaticText",0},
2297 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
2298 { "_class_wxFont","_wxFont",0},
e02c03a4 2299 { "_wxClipboard","_class_wxClipboard",0},
f0261a72 2300 { "_class_wxPyValidator","_wxPyValidator",0},
e91a9dfc
RD
2301 { "_class_wxCloseEvent","_wxCloseEvent",0},
2302 { "_wxSashEvent","_class_wxSashEvent",0},
e02c03a4 2303 { "_wxBusyInfo","_class_wxBusyInfo",0},
e91a9dfc 2304 { "_class_wxMenuEvent","_wxMenuEvent",0},
e02c03a4 2305 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
de20db99 2306 { "_wxJoystick","_class_wxJoystick",0},
e02c03a4 2307 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
e91a9dfc
RD
2308 { "_wxClientDC","_class_wxClientDC",0},
2309 { "_wxMouseEvent","_class_wxMouseEvent",0},
f6bcfd97 2310 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
e91a9dfc
RD
2311 { "_wxListCtrl","_class_wxListCtrl",0},
2312 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
2313 { "_class_wxPoint","_wxPoint",0},
c368d904 2314 { "_class_wxPyInputStream","_wxPyInputStream",0},
e91a9dfc
RD
2315 { "_wxRealPoint","_class_wxRealPoint",0},
2316 { "_class_wxRadioBox","_wxRadioBox",0},
2348eaee 2317 { "_class_wxBoxSizer","_wxBoxSizer",0},
e91a9dfc
RD
2318 { "_signed_short","_WXTYPE",0},
2319 { "_signed_short","_short",0},
2320 { "_wxMemoryDC","_class_wxMemoryDC",0},
e02c03a4 2321 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
e91a9dfc 2322 { "_class_wxPrintDialog","_wxPrintDialog",0},
c368d904 2323 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
e91a9dfc
RD
2324 { "_wxPaintDC","_class_wxPaintDC",0},
2325 { "_class_wxWindowDC","_wxWindowDC",0},
2326 { "_class_wxFocusEvent","_wxFocusEvent",0},
2327 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2328 { "_wxStatusBar","_class_wxStatusBar",0},
e91a9dfc
RD
2329 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2330 { "_class_wxCursor","_wxCursor",0},
2cd2fac8 2331 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
e02c03a4 2332 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
c368d904 2333 { "_class_wxPyProcess","_wxPyProcess",0},
e91a9dfc
RD
2334 { "_class_wxImageHandler","_wxImageHandler",0},
2335 { "_wxPyShape","_class_wxPyShape",0},
2336 { "_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow},
2337 { "_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow},
2338 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
c368d904 2339 { "_class_wxLog","_wxLog",0},
e91a9dfc
RD
2340 { "_wxTreeItemId","_class_wxTreeItemId",0},
2341 { "_unsigned_char","_byte",0},
e91a9dfc
RD
2342 { "_class_wxMenu","_wxMenu",0},
2343 { "_wxControl","_class_wxControl",0},
2344 { "_class_wxListBox","_wxListBox",0},
e02c03a4 2345 { "_unsigned_int","_wxCoord",0},
e91a9dfc 2346 { "_unsigned_int","_wxPrintQuality",0},
c368d904 2347 { "_unsigned_int","_time_t",0},
e91a9dfc
RD
2348 { "_unsigned_int","_size_t",0},
2349 { "_unsigned_int","_uint",0},
2350 { "_unsigned_int","_wxWindowID",0},
2351 { "_unsigned_int","_int",0},
2352 { "_wxIcon","_class_wxIcon",0},
2353 { "_wxDialog","_class_wxDialog",0},
2354 { "_class_wxListItem","_wxListItem",0},
2355 { "_class_wxPen","_wxPen",0},
2356 { "_class_wxFileDialog","_wxFileDialog",0},
2357 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
c368d904
RD
2358 { "_wxConfigBase","_class_wxConfigBase",0},
2359 { "_short","_wxDateTime_t",0},
e91a9dfc
RD
2360 { "_short","_WXTYPE",0},
2361 { "_short","_unsigned_short",0},
2362 { "_short","_signed_short",0},
2363 { "_class_wxStaticBox","_wxStaticBox",0},
2364 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
e02c03a4
RD
2365 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2366 { "_class_wxPyDropSource","_wxPyDropSource",0},
e91a9dfc
RD
2367 { "_class_wxScrollEvent","_wxScrollEvent",0},
2368 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2369 { "_class_wxChoice","_wxChoice",0},
2370 { "_class_wxSlider","_wxSlider",0},
2371 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
2372 { "_class_wxImageList","_wxImageList",0},
2373 { "_class_wxBitmapButton","_wxBitmapButton",0},
c368d904 2374 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
f6bcfd97 2375 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
e91a9dfc 2376 { "_wxFrame","_class_wxFrame",0},
e02c03a4 2377 { "_wxPCXHandler","_class_wxPCXHandler",0},
f6bcfd97 2378 { "_class_wxGridSizer","_wxGridSizer",0},
e02c03a4 2379 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
e91a9dfc
RD
2380 { "_class_wxNotebook","_wxNotebook",0},
2381 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
e02c03a4 2382 { "_wxWindowID","_wxCoord",0},
e91a9dfc 2383 { "_wxWindowID","_wxPrintQuality",0},
c368d904 2384 { "_wxWindowID","_time_t",0},
e91a9dfc
RD
2385 { "_wxWindowID","_size_t",0},
2386 { "_wxWindowID","_EBool",0},
2387 { "_wxWindowID","_uint",0},
2388 { "_wxWindowID","_int",0},
2389 { "_wxWindowID","_signed_int",0},
2390 { "_wxWindowID","_unsigned_int",0},
9cce9de1 2391 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2348eaee 2392 { "_class_wxSizerItem","_wxSizerItem",0},
e02c03a4 2393 { "_int","_wxCoord",0},
e91a9dfc 2394 { "_int","_wxPrintQuality",0},
c368d904 2395 { "_int","_time_t",0},
e91a9dfc
RD
2396 { "_int","_size_t",0},
2397 { "_int","_EBool",0},
2398 { "_int","_uint",0},
2399 { "_int","_wxWindowID",0},
2400 { "_int","_unsigned_int",0},
2401 { "_int","_signed_int",0},
2402 { "_class_wxMouseEvent","_wxMouseEvent",0},
2348eaee 2403 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
c368d904 2404 { "_wxLogWindow","_class_wxLogWindow",0},
e91a9dfc
RD
2405 { "_class_wxListEvent","_wxListEvent",0},
2406 { "_class_wxPrintPreview","_wxPrintPreview",0},
c368d904
RD
2407 { "_wxDateTime_t","_unsigned_short",0},
2408 { "_wxDateTime_t","_short",0},
2409 { "_wxDateTime_t","_WXTYPE",0},
e91a9dfc 2410 { "_class_wxSpinEvent","_wxSpinEvent",0},
e02c03a4 2411 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
c368d904
RD
2412 { "_wxDateTime","_class_wxDateTime",0},
2413 { "_time_t","_wxCoord",0},
2414 { "_time_t","_wxPrintQuality",0},
2415 { "_time_t","_unsigned_int",0},
2416 { "_time_t","_int",0},
2417 { "_time_t","_wxWindowID",0},
2418 { "_time_t","_uint",0},
2419 { "_time_t","_size_t",0},
e02c03a4 2420 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
c368d904 2421 { "_wxLogNull","_class_wxLogNull",0},
e91a9dfc 2422 { "_wxButton","_class_wxButton",0},
c368d904 2423 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
e91a9dfc
RD
2424 { "_class_wxPyApp","_wxPyApp",0},
2425 { "_wxSize","_class_wxSize",0},
2426 { "_wxRegionIterator","_class_wxRegionIterator",0},
e02c03a4 2427 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
c368d904
RD
2428 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
2429 { "_class_wxLogGui","_wxLogGui",0},
e91a9dfc
RD
2430 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
2431 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
2348eaee 2432 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
c368d904
RD
2433 { "_class_wxTimeSpan","_wxTimeSpan",0},
2434 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
e91a9dfc
RD
2435 { "_class_wxPaintDC","_wxPaintDC",0},
2436 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
e02c03a4 2437 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
e91a9dfc
RD
2438 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2439 { "_class_wxComboBox","_wxComboBox",0},
2440 { "_class_wxRadioButton","_wxRadioButton",0},
2441 { "_class_wxPyShape","_wxPyShape",0},
f0261a72 2442 { "_wxValidator","_class_wxValidator",0},
e02c03a4 2443 { "_wxToolBarBase","_class_wxToolBarBase",0},
e91a9dfc 2444 { "_class_wxTreeItemId","_wxTreeItemId",0},
e91a9dfc
RD
2445 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2446 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2447 { "_class_wxControl","_wxControl",0},
2448 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2449 { "_class_wxIcon","_wxIcon",0},
2450 { "_class_wxColour","_wxColour",0},
2451 { "_class_wxScreenDC","_wxScreenDC",0},
2452 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
2453 { "_wxPalette","_class_wxPalette",0},
2454 { "_class_wxIdleEvent","_wxIdleEvent",0},
c368d904 2455 { "_class_wxConfigBase","_wxConfigBase",0},
e02c03a4
RD
2456 { "_wxCoord","_int",0},
2457 { "_wxCoord","_signed_int",0},
2458 { "_wxCoord","_unsigned_int",0},
2459 { "_wxCoord","_wxWindowID",0},
2460 { "_wxCoord","_uint",0},
2461 { "_wxCoord","_EBool",0},
2462 { "_wxCoord","_size_t",0},
c368d904 2463 { "_wxCoord","_time_t",0},
e02c03a4 2464 { "_wxCoord","_wxPrintQuality",0},
e91a9dfc 2465 { "_wxEraseEvent","_class_wxEraseEvent",0},
e02c03a4 2466 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
e91a9dfc 2467 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
f6bcfd97 2468 { "_class_wxTipProvider","_wxTipProvider",0},
e91a9dfc
RD
2469 { "_class_wxMiniFrame","_wxMiniFrame",0},
2470 { "_wxFontDialog","_class_wxFontDialog",0},
c368d904 2471 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
e91a9dfc
RD
2472 { "_wxRegion","_class_wxRegion",0},
2473 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
2474 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
2348eaee 2475 { "_wxSizer","_class_wxSizer",0},
c368d904
RD
2476 { "_class_wxDateSpan","_wxDateSpan",0},
2477 { "_wxFileSystem","_class_wxFileSystem",0},
e91a9dfc 2478 { "_class_wxShowEvent","_wxShowEvent",0},
f6bcfd97 2479 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
e02c03a4
RD
2480 { "_class_wxPCXHandler","_wxPCXHandler",0},
2481 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
e91a9dfc 2482 { "_wxDiagram","_class_wxDiagram",0},
e02c03a4 2483 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
e91a9dfc
RD
2484 { "_wxActivateEvent","_class_wxActivateEvent",0},
2485 { "_wxGauge","_class_wxGauge",0},
2486 { "_class_wxCheckListBox","_wxCheckListBox",0},
e02c03a4 2487 { "_class_wxBusyInfo","_wxBusyInfo",0},
de20db99 2488 { "_class_wxJoystick","_wxJoystick",0},
e91a9dfc
RD
2489 { "_class_wxCommandEvent","_wxCommandEvent",0},
2490 { "_class_wxClientDC","_wxClientDC",0},
2491 { "_class_wxSizeEvent","_wxSizeEvent",0},
2492 { "_class_wxListCtrl","_wxListCtrl",0},
e02c03a4 2493 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
c368d904 2494 { "_class_wxLogNull","_wxLogNull",0},
e91a9dfc
RD
2495 { "_class_wxSize","_wxSize",0},
2496 { "_class_wxBitmap","_wxBitmap",0},
2497 { "_class_wxMemoryDC","_wxMemoryDC",0},
e02c03a4 2498 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
e91a9dfc 2499 { "_wxMenuBar","_class_wxMenuBar",0},
c368d904 2500 { "_wxOutputStream","_class_wxOutputStream",0},
e91a9dfc
RD
2501 { "_wxTreeEvent","_class_wxTreeEvent",0},
2502 { "_wxDirDialog","_class_wxDirDialog",0},
2503 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
2504 { "_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler},
2505 { "_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler},
2506 { "_wxEvtHandler","_class_wxEvtHandler",0},
2507 { "_wxMenuItem","_class_wxMenuItem",0},
2508 { "_class_wxScrollBar","_wxScrollBar",0},
2509 { "_class_wxColourDialog","_wxColourDialog",0},
2510 { "_class_wxPrintData","_wxPrintData",0},
e91a9dfc
RD
2511 { "_class_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow},
2512 { "_class_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow},
2513 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
f6bcfd97 2514 { "_wxListItemAttr","_class_wxListItemAttr",0},
e91a9dfc 2515 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
c368d904 2516 { "_class_wxConfig","_wxConfig",0},
e91a9dfc
RD
2517 { "_wxKeyEvent","_class_wxKeyEvent",0},
2518 { "_wxMoveEvent","_class_wxMoveEvent",0},
2519 { "_wxColourData","_class_wxColourData",0},
2520 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
2521 { "_class_wxPalette","_wxPalette",0},
e02c03a4 2522 { "_wxFileDataObject","_class_wxFileDataObject",0},
e91a9dfc 2523 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
f6bcfd97 2524 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
e91a9dfc 2525 { "_class_wxEraseEvent","_wxEraseEvent",0},
e02c03a4 2526 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
e91a9dfc 2527 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
e02c03a4
RD
2528 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2529 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
e91a9dfc
RD
2530 { "_class_wxFontDialog","_wxFontDialog",0},
2531 { "_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow},
2532 { "_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow},
2533 { "_wxWindow","_class_wxWindow",0},
e02c03a4 2534 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
c368d904
RD
2535 { "_wxLogStderr","_class_wxLogStderr",0},
2536 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
2537 { "_class_wxFileSystem","_wxFileSystem",0},
e91a9dfc
RD
2538 { "_class_wxFrame","_wxFrame",0},
2539 { "_class_wxDiagram","_wxDiagram",0},
2540{0,0,0}};
2541
2542static PyObject *SWIG_globals;
2543#ifdef __cplusplus
2544extern "C"
2545#endif
2546SWIGEXPORT(void) initoglcanvasc() {
2547 PyObject *m, *d;
2548 SWIG_globals = SWIG_newvarlink();
2549 m = Py_InitModule("oglcanvasc", oglcanvascMethods);
2550 d = PyModule_GetDict(m);
2551{
2552 int i;
2553 for (i = 0; _swig_mapping[i].n1; i++)
2554 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2555}
2556}