]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxPython/src/msw/misc.cpp
Added some missing EVT_ functions
[wxWidgets.git] / utils / wxPython / src / msw / misc.cpp
... / ...
CommitLineData
1/*
2 * FILE : msw/misc.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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__)
30# define SWIGEXPORT(a) a _export
31# else
32# define SWIGEXPORT(a) a
33# endif
34# endif
35#else
36# define SWIGEXPORT(a) a
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
52#define SWIG_init initmiscc
53
54#define SWIG_name "miscc"
55
56#include "helpers.h"
57#include <wx/resource.h>
58#include <wx/tooltip.h>
59#include <wx/busyinfo.h>
60
61static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
63 PyObject* o3;
64 if (!target) {
65 target = o;
66 } else if (target == Py_None) {
67 Py_DECREF(Py_None);
68 target = o;
69 } else {
70 if (!PyList_Check(target)) {
71 o2 = target;
72 target = PyList_New(0);
73 PyList_Append(target, o2);
74 Py_XDECREF(o2);
75 }
76 PyList_Append(target,o);
77 Py_XDECREF(o);
78 }
79 return target;
80}
81
82static PyObject* t_output_helper(PyObject* target, PyObject* o) {
83 PyObject* o2;
84 PyObject* o3;
85
86 if (!target) {
87 target = o;
88 } else if (target == Py_None) {
89 Py_DECREF(Py_None);
90 target = o;
91 } else {
92 if (!PyTuple_Check(target)) {
93 o2 = target;
94 target = PyTuple_New(1);
95 PyTuple_SetItem(target, 0, o2);
96 }
97 o3 = PyTuple_New(1);
98 PyTuple_SetItem(o3, 0, o);
99
100 o2 = target;
101 target = PySequence_Concat(o2, o3);
102 Py_DECREF(o2);
103 Py_DECREF(o3);
104 }
105 return target;
106}
107
108static char* wxStringErrorMsg = "string type is required for parameter";
109
110 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
111 wxRegion reg1(*r1);
112 wxRegion reg2(*r2);
113 wxRect dest(0,0,0,0);
114 PyObject* obj;
115
116 reg1.Intersect(reg2);
117 dest = reg1.GetBox();
118
119 if (dest != wxRect(0,0,0,0)) {
120 bool doSave = wxPyRestoreThread();
121 wxRect* newRect = new wxRect(dest);
122 obj = wxPyConstructObject((void*)newRect, "wxRect");
123 PyObject_SetAttrString(obj, "thisown", PyInt_FromLong(1));
124 wxPySaveThread(doSave);
125 return obj;
126 }
127 Py_INCREF(Py_None);
128 return Py_None;
129 }
130
131 char* wxGetResource(char *section, char *entry, char *file = NULL) {
132 char * retval;
133 wxGetResource(section, entry, &retval, file);
134 return retval;
135 }
136#ifdef __cplusplus
137extern "C" {
138#endif
139static PyObject *_wrap_wxIntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
140 PyObject * _resultobj;
141 PyObject * _result;
142 wxRect * _arg0;
143 wxRect * _arg1;
144 wxRect temp;
145 PyObject * _obj0 = 0;
146 wxRect temp0;
147 PyObject * _obj1 = 0;
148 char *_kwnames[] = { "r1","r2", NULL };
149
150 self = self;
151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIntersectRect",_kwnames,&_obj0,&_obj1))
152 return NULL;
153{
154 _arg0 = &temp;
155 if (! wxRect_helper(_obj0, &_arg0))
156 return NULL;
157}
158{
159 _arg1 = &temp0;
160 if (! wxRect_helper(_obj1, &_arg1))
161 return NULL;
162}
163{
164 wxPy_BEGIN_ALLOW_THREADS;
165 _result = (PyObject *)wxIntersectRect(_arg0,_arg1);
166
167 wxPy_END_ALLOW_THREADS;
168}{
169 _resultobj = _result;
170}
171 return _resultobj;
172}
173
174static PyObject *_wrap_wxNewId(PyObject *self, PyObject *args, PyObject *kwargs) {
175 PyObject * _resultobj;
176 long _result;
177 char *_kwnames[] = { NULL };
178
179 self = self;
180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxNewId",_kwnames))
181 return NULL;
182{
183 wxPy_BEGIN_ALLOW_THREADS;
184 _result = (long )wxNewId();
185
186 wxPy_END_ALLOW_THREADS;
187} _resultobj = Py_BuildValue("l",_result);
188 return _resultobj;
189}
190
191static PyObject *_wrap_wxRegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
192 PyObject * _resultobj;
193 long _arg0;
194 char *_kwnames[] = { "id", NULL };
195
196 self = self;
197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxRegisterId",_kwnames,&_arg0))
198 return NULL;
199{
200 wxPy_BEGIN_ALLOW_THREADS;
201 wxRegisterId(_arg0);
202
203 wxPy_END_ALLOW_THREADS;
204} Py_INCREF(Py_None);
205 _resultobj = Py_None;
206 return _resultobj;
207}
208
209static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
210 PyObject * _resultobj;
211 long _result;
212 char *_kwnames[] = { NULL };
213
214 self = self;
215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":NewId",_kwnames))
216 return NULL;
217{
218 wxPy_BEGIN_ALLOW_THREADS;
219 _result = (long )wxNewId();
220
221 wxPy_END_ALLOW_THREADS;
222} _resultobj = Py_BuildValue("l",_result);
223 return _resultobj;
224}
225
226static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
227 PyObject * _resultobj;
228 long _arg0;
229 char *_kwnames[] = { "id", NULL };
230
231 self = self;
232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:RegisterId",_kwnames,&_arg0))
233 return NULL;
234{
235 wxPy_BEGIN_ALLOW_THREADS;
236 wxRegisterId(_arg0);
237
238 wxPy_END_ALLOW_THREADS;
239} Py_INCREF(Py_None);
240 _resultobj = Py_None;
241 return _resultobj;
242}
243
244static PyObject *_wrap_wxBell(PyObject *self, PyObject *args, PyObject *kwargs) {
245 PyObject * _resultobj;
246 char *_kwnames[] = { NULL };
247
248 self = self;
249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxBell",_kwnames))
250 return NULL;
251{
252 wxPy_BEGIN_ALLOW_THREADS;
253 wxBell();
254
255 wxPy_END_ALLOW_THREADS;
256} Py_INCREF(Py_None);
257 _resultobj = Py_None;
258 return _resultobj;
259}
260
261static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
262 PyObject * _resultobj;
263 int * _arg0;
264 int temp;
265 int * _arg1;
266 int temp0;
267 char *_kwnames[] = { NULL };
268
269 self = self;
270{
271 _arg0 = &temp;
272}
273{
274 _arg1 = &temp0;
275}
276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplaySize",_kwnames))
277 return NULL;
278{
279 wxPy_BEGIN_ALLOW_THREADS;
280 wxDisplaySize(_arg0,_arg1);
281
282 wxPy_END_ALLOW_THREADS;
283} Py_INCREF(Py_None);
284 _resultobj = Py_None;
285{
286 PyObject *o;
287 o = PyInt_FromLong((long) (*_arg0));
288 _resultobj = t_output_helper(_resultobj, o);
289}
290{
291 PyObject *o;
292 o = PyInt_FromLong((long) (*_arg1));
293 _resultobj = t_output_helper(_resultobj, o);
294}
295 return _resultobj;
296}
297
298static PyObject *_wrap_wxEndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
299 PyObject * _resultobj;
300 char *_kwnames[] = { NULL };
301
302 self = self;
303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxEndBusyCursor",_kwnames))
304 return NULL;
305{
306 wxPy_BEGIN_ALLOW_THREADS;
307 wxEndBusyCursor();
308
309 wxPy_END_ALLOW_THREADS;
310} Py_INCREF(Py_None);
311 _resultobj = Py_None;
312 return _resultobj;
313}
314
315static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
316 PyObject * _resultobj;
317 long _result;
318 wxString * _arg0;
319 int _arg1 = (int ) FALSE;
320 PyObject * _obj0 = 0;
321 char *_kwnames[] = { "command","sync", NULL };
322
323 self = self;
324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxExecute",_kwnames,&_obj0,&_arg1))
325 return NULL;
326{
327 if (!PyString_Check(_obj0)) {
328 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
329 return NULL;
330 }
331 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
332}
333{
334 wxPy_BEGIN_ALLOW_THREADS;
335 _result = (long )wxExecute(*_arg0,_arg1);
336
337 wxPy_END_ALLOW_THREADS;
338} _resultobj = Py_BuildValue("l",_result);
339{
340 if (_obj0)
341 delete _arg0;
342}
343 return _resultobj;
344}
345
346static PyObject *_wrap_wxGetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
347 PyObject * _resultobj;
348 long _result;
349 bool _arg0 = (bool ) TRUE;
350 int tempbool0 = (int) TRUE;
351 char *_kwnames[] = { "resetTimer", NULL };
352
353 self = self;
354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxGetElapsedTime",_kwnames,&tempbool0))
355 return NULL;
356 _arg0 = (bool ) tempbool0;
357{
358 wxPy_BEGIN_ALLOW_THREADS;
359 _result = (long )wxGetElapsedTime(_arg0);
360
361 wxPy_END_ALLOW_THREADS;
362} _resultobj = Py_BuildValue("l",_result);
363 return _resultobj;
364}
365
366static PyObject *_wrap_wxGetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
367 PyObject * _resultobj;
368 long _result;
369 char *_kwnames[] = { NULL };
370
371 self = self;
372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetFreeMemory",_kwnames))
373 return NULL;
374{
375 wxPy_BEGIN_ALLOW_THREADS;
376 _result = (long )wxGetFreeMemory();
377
378 wxPy_END_ALLOW_THREADS;
379} _resultobj = Py_BuildValue("l",_result);
380 return _resultobj;
381}
382
383static PyObject *_wrap_wxGetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
384 PyObject * _resultobj;
385 int * _arg0;
386 int temp;
387 int * _arg1;
388 int temp0;
389 char *_kwnames[] = { NULL };
390
391 self = self;
392{
393 _arg0 = &temp;
394}
395{
396 _arg1 = &temp0;
397}
398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetMousePosition",_kwnames))
399 return NULL;
400{
401 wxPy_BEGIN_ALLOW_THREADS;
402 wxGetMousePosition(_arg0,_arg1);
403
404 wxPy_END_ALLOW_THREADS;
405} Py_INCREF(Py_None);
406 _resultobj = Py_None;
407{
408 PyObject *o;
409 o = PyInt_FromLong((long) (*_arg0));
410 _resultobj = t_output_helper(_resultobj, o);
411}
412{
413 PyObject *o;
414 o = PyInt_FromLong((long) (*_arg1));
415 _resultobj = t_output_helper(_resultobj, o);
416}
417 return _resultobj;
418}
419
420static PyObject *_wrap_wxIsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
421 PyObject * _resultobj;
422 bool _result;
423 char *_kwnames[] = { NULL };
424
425 self = self;
426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxIsBusy",_kwnames))
427 return NULL;
428{
429 wxPy_BEGIN_ALLOW_THREADS;
430 _result = (bool )wxIsBusy();
431
432 wxPy_END_ALLOW_THREADS;
433} _resultobj = Py_BuildValue("i",_result);
434 return _resultobj;
435}
436
437static PyObject *_wrap_wxNow(PyObject *self, PyObject *args, PyObject *kwargs) {
438 PyObject * _resultobj;
439 wxString * _result;
440 char *_kwnames[] = { NULL };
441
442 self = self;
443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxNow",_kwnames))
444 return NULL;
445{
446 wxPy_BEGIN_ALLOW_THREADS;
447 _result = new wxString (wxNow());
448
449 wxPy_END_ALLOW_THREADS;
450}{
451 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
452}
453{
454 delete _result;
455}
456 return _resultobj;
457}
458
459static PyObject *_wrap_wxShell(PyObject *self, PyObject *args, PyObject *kwargs) {
460 PyObject * _resultobj;
461 bool _result;
462 wxString * _arg0 = (wxString *) &wxPyEmptyStr;
463 PyObject * _obj0 = 0;
464 char *_kwnames[] = { "command", NULL };
465
466 self = self;
467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxShell",_kwnames,&_obj0))
468 return NULL;
469 if (_obj0)
470{
471 if (!PyString_Check(_obj0)) {
472 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
473 return NULL;
474 }
475 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
476}
477{
478 wxPy_BEGIN_ALLOW_THREADS;
479 _result = (bool )wxShell(*_arg0);
480
481 wxPy_END_ALLOW_THREADS;
482} _resultobj = Py_BuildValue("i",_result);
483{
484 if (_obj0)
485 delete _arg0;
486}
487 return _resultobj;
488}
489
490static PyObject *_wrap_wxStartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
491 PyObject * _resultobj;
492 char *_kwnames[] = { NULL };
493
494 self = self;
495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxStartTimer",_kwnames))
496 return NULL;
497{
498 wxPy_BEGIN_ALLOW_THREADS;
499 wxStartTimer();
500
501 wxPy_END_ALLOW_THREADS;
502} Py_INCREF(Py_None);
503 _resultobj = Py_None;
504 return _resultobj;
505}
506
507static PyObject *_wrap_wxGetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
508 PyObject * _resultobj;
509 int _result;
510 int * _arg0;
511 int temp;
512 int * _arg1;
513 int temp0;
514 char *_kwnames[] = { NULL };
515
516 self = self;
517{
518 _arg0 = &temp;
519}
520{
521 _arg1 = &temp0;
522}
523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetOsVersion",_kwnames))
524 return NULL;
525{
526 wxPy_BEGIN_ALLOW_THREADS;
527 _result = (int )wxGetOsVersion(_arg0,_arg1);
528
529 wxPy_END_ALLOW_THREADS;
530} _resultobj = Py_BuildValue("i",_result);
531{
532 PyObject *o;
533 o = PyInt_FromLong((long) (*_arg0));
534 _resultobj = t_output_helper(_resultobj, o);
535}
536{
537 PyObject *o;
538 o = PyInt_FromLong((long) (*_arg1));
539 _resultobj = t_output_helper(_resultobj, o);
540}
541 return _resultobj;
542}
543
544static PyObject *_wrap_wxSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
545 PyObject * _resultobj;
546 int _arg0;
547 char *_kwnames[] = { "secs", NULL };
548
549 self = self;
550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSleep",_kwnames,&_arg0))
551 return NULL;
552{
553 wxPy_BEGIN_ALLOW_THREADS;
554 wxSleep(_arg0);
555
556 wxPy_END_ALLOW_THREADS;
557} Py_INCREF(Py_None);
558 _resultobj = Py_None;
559 return _resultobj;
560}
561
562static PyObject *_wrap_wxYield(PyObject *self, PyObject *args, PyObject *kwargs) {
563 PyObject * _resultobj;
564 bool _result;
565 char *_kwnames[] = { NULL };
566
567 self = self;
568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxYield",_kwnames))
569 return NULL;
570{
571 wxPy_BEGIN_ALLOW_THREADS;
572 _result = (bool )wxYield();
573
574 wxPy_END_ALLOW_THREADS;
575} _resultobj = Py_BuildValue("i",_result);
576 return _resultobj;
577}
578
579static PyObject *_wrap_wxSafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
580 PyObject * _resultobj;
581 bool _result;
582 char *_kwnames[] = { NULL };
583
584 self = self;
585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxSafeYield",_kwnames))
586 return NULL;
587{
588 wxPy_BEGIN_ALLOW_THREADS;
589 _result = (bool )wxSafeYield();
590
591 wxPy_END_ALLOW_THREADS;
592} _resultobj = Py_BuildValue("i",_result);
593 return _resultobj;
594}
595
596static PyObject *_wrap_wxEnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
597 PyObject * _resultobj;
598 bool _arg0;
599 int tempbool0;
600 char *_kwnames[] = { "enable", NULL };
601
602 self = self;
603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxEnableTopLevelWindows",_kwnames,&tempbool0))
604 return NULL;
605 _arg0 = (bool ) tempbool0;
606{
607 wxPy_BEGIN_ALLOW_THREADS;
608 wxEnableTopLevelWindows(_arg0);
609
610 wxPy_END_ALLOW_THREADS;
611} Py_INCREF(Py_None);
612 _resultobj = Py_None;
613 return _resultobj;
614}
615
616static PyObject *_wrap_wxGetResource(PyObject *self, PyObject *args, PyObject *kwargs) {
617 PyObject * _resultobj;
618 char * _result;
619 char * _arg0;
620 char * _arg1;
621 char * _arg2 = (char *) NULL;
622 char *_kwnames[] = { "section","entry","file", NULL };
623
624 self = self;
625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ss|s:wxGetResource",_kwnames,&_arg0,&_arg1,&_arg2))
626 return NULL;
627{
628 wxPy_BEGIN_ALLOW_THREADS;
629 _result = (char *)wxGetResource(_arg0,_arg1,_arg2);
630
631 wxPy_END_ALLOW_THREADS;
632} _resultobj = Py_BuildValue("s", _result);
633 return _resultobj;
634}
635
636static PyObject *_wrap_wxStripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
637 PyObject * _resultobj;
638 wxString * _result;
639 wxString * _arg0;
640 PyObject * _obj0 = 0;
641 char *_kwnames[] = { "in", NULL };
642
643 self = self;
644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStripMenuCodes",_kwnames,&_obj0))
645 return NULL;
646{
647 if (!PyString_Check(_obj0)) {
648 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
649 return NULL;
650 }
651 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
652}
653{
654 wxPy_BEGIN_ALLOW_THREADS;
655 _result = new wxString (wxStripMenuCodes(*_arg0));
656
657 wxPy_END_ALLOW_THREADS;
658}{
659 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
660}
661{
662 if (_obj0)
663 delete _arg0;
664}
665{
666 delete _result;
667}
668 return _resultobj;
669}
670
671#define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
672static PyObject *_wrap_wxSize_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
673 PyObject * _resultobj;
674 long _result;
675 wxSize * _arg0;
676 long _arg1;
677 wxSize temp;
678 PyObject * _obj0 = 0;
679 char *_kwnames[] = { "self","x", NULL };
680
681 self = self;
682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_x_set",_kwnames,&_obj0,&_arg1))
683 return NULL;
684{
685 _arg0 = &temp;
686 if (! wxSize_helper(_obj0, &_arg0))
687 return NULL;
688}
689{
690 wxPy_BEGIN_ALLOW_THREADS;
691 _result = (long )wxSize_x_set(_arg0,_arg1);
692
693 wxPy_END_ALLOW_THREADS;
694} _resultobj = Py_BuildValue("l",_result);
695 return _resultobj;
696}
697
698#define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
699static PyObject *_wrap_wxSize_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
700 PyObject * _resultobj;
701 long _result;
702 wxSize * _arg0;
703 wxSize temp;
704 PyObject * _obj0 = 0;
705 char *_kwnames[] = { "self", NULL };
706
707 self = self;
708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_x_get",_kwnames,&_obj0))
709 return NULL;
710{
711 _arg0 = &temp;
712 if (! wxSize_helper(_obj0, &_arg0))
713 return NULL;
714}
715{
716 wxPy_BEGIN_ALLOW_THREADS;
717 _result = (long )wxSize_x_get(_arg0);
718
719 wxPy_END_ALLOW_THREADS;
720} _resultobj = Py_BuildValue("l",_result);
721 return _resultobj;
722}
723
724#define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
725static PyObject *_wrap_wxSize_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
726 PyObject * _resultobj;
727 long _result;
728 wxSize * _arg0;
729 long _arg1;
730 wxSize temp;
731 PyObject * _obj0 = 0;
732 char *_kwnames[] = { "self","y", NULL };
733
734 self = self;
735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_y_set",_kwnames,&_obj0,&_arg1))
736 return NULL;
737{
738 _arg0 = &temp;
739 if (! wxSize_helper(_obj0, &_arg0))
740 return NULL;
741}
742{
743 wxPy_BEGIN_ALLOW_THREADS;
744 _result = (long )wxSize_y_set(_arg0,_arg1);
745
746 wxPy_END_ALLOW_THREADS;
747} _resultobj = Py_BuildValue("l",_result);
748 return _resultobj;
749}
750
751#define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
752static PyObject *_wrap_wxSize_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
753 PyObject * _resultobj;
754 long _result;
755 wxSize * _arg0;
756 wxSize temp;
757 PyObject * _obj0 = 0;
758 char *_kwnames[] = { "self", NULL };
759
760 self = self;
761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_y_get",_kwnames,&_obj0))
762 return NULL;
763{
764 _arg0 = &temp;
765 if (! wxSize_helper(_obj0, &_arg0))
766 return NULL;
767}
768{
769 wxPy_BEGIN_ALLOW_THREADS;
770 _result = (long )wxSize_y_get(_arg0);
771
772 wxPy_END_ALLOW_THREADS;
773} _resultobj = Py_BuildValue("l",_result);
774 return _resultobj;
775}
776
777#define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
778static PyObject *_wrap_new_wxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
779 PyObject * _resultobj;
780 wxSize * _result;
781 long _arg0 = (long ) 0;
782 long _arg1 = (long ) 0;
783 char *_kwnames[] = { "w","h", NULL };
784 char _ptemp[128];
785
786 self = self;
787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ll:new_wxSize",_kwnames,&_arg0,&_arg1))
788 return NULL;
789{
790 wxPy_BEGIN_ALLOW_THREADS;
791 _result = (wxSize *)new_wxSize(_arg0,_arg1);
792
793 wxPy_END_ALLOW_THREADS;
794} if (_result) {
795 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p");
796 _resultobj = Py_BuildValue("s",_ptemp);
797 } else {
798 Py_INCREF(Py_None);
799 _resultobj = Py_None;
800 }
801 return _resultobj;
802}
803
804#define delete_wxSize(_swigobj) (delete _swigobj)
805static PyObject *_wrap_delete_wxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
806 PyObject * _resultobj;
807 wxSize * _arg0;
808 wxSize temp;
809 PyObject * _obj0 = 0;
810 char *_kwnames[] = { "self", NULL };
811
812 self = self;
813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxSize",_kwnames,&_obj0))
814 return NULL;
815{
816 _arg0 = &temp;
817 if (! wxSize_helper(_obj0, &_arg0))
818 return NULL;
819}
820{
821 wxPy_BEGIN_ALLOW_THREADS;
822 delete_wxSize(_arg0);
823
824 wxPy_END_ALLOW_THREADS;
825} Py_INCREF(Py_None);
826 _resultobj = Py_None;
827 return _resultobj;
828}
829
830#define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
831static PyObject *_wrap_wxSize_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
832 PyObject * _resultobj;
833 wxSize * _arg0;
834 long _arg1;
835 long _arg2;
836 wxSize temp;
837 PyObject * _obj0 = 0;
838 char *_kwnames[] = { "self","w","h", NULL };
839
840 self = self;
841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxSize_Set",_kwnames,&_obj0,&_arg1,&_arg2))
842 return NULL;
843{
844 _arg0 = &temp;
845 if (! wxSize_helper(_obj0, &_arg0))
846 return NULL;
847}
848{
849 wxPy_BEGIN_ALLOW_THREADS;
850 wxSize_Set(_arg0,_arg1,_arg2);
851
852 wxPy_END_ALLOW_THREADS;
853} Py_INCREF(Py_None);
854 _resultobj = Py_None;
855 return _resultobj;
856}
857
858#define wxSize_GetX(_swigobj) (_swigobj->GetX())
859static PyObject *_wrap_wxSize_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
860 PyObject * _resultobj;
861 long _result;
862 wxSize * _arg0;
863 wxSize temp;
864 PyObject * _obj0 = 0;
865 char *_kwnames[] = { "self", NULL };
866
867 self = self;
868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetX",_kwnames,&_obj0))
869 return NULL;
870{
871 _arg0 = &temp;
872 if (! wxSize_helper(_obj0, &_arg0))
873 return NULL;
874}
875{
876 wxPy_BEGIN_ALLOW_THREADS;
877 _result = (long )wxSize_GetX(_arg0);
878
879 wxPy_END_ALLOW_THREADS;
880} _resultobj = Py_BuildValue("l",_result);
881 return _resultobj;
882}
883
884#define wxSize_GetY(_swigobj) (_swigobj->GetY())
885static PyObject *_wrap_wxSize_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
886 PyObject * _resultobj;
887 long _result;
888 wxSize * _arg0;
889 wxSize temp;
890 PyObject * _obj0 = 0;
891 char *_kwnames[] = { "self", NULL };
892
893 self = self;
894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetY",_kwnames,&_obj0))
895 return NULL;
896{
897 _arg0 = &temp;
898 if (! wxSize_helper(_obj0, &_arg0))
899 return NULL;
900}
901{
902 wxPy_BEGIN_ALLOW_THREADS;
903 _result = (long )wxSize_GetY(_arg0);
904
905 wxPy_END_ALLOW_THREADS;
906} _resultobj = Py_BuildValue("l",_result);
907 return _resultobj;
908}
909
910#define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
911static PyObject *_wrap_wxSize_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
912 PyObject * _resultobj;
913 long _result;
914 wxSize * _arg0;
915 wxSize temp;
916 PyObject * _obj0 = 0;
917 char *_kwnames[] = { "self", NULL };
918
919 self = self;
920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetWidth",_kwnames,&_obj0))
921 return NULL;
922{
923 _arg0 = &temp;
924 if (! wxSize_helper(_obj0, &_arg0))
925 return NULL;
926}
927{
928 wxPy_BEGIN_ALLOW_THREADS;
929 _result = (long )wxSize_GetWidth(_arg0);
930
931 wxPy_END_ALLOW_THREADS;
932} _resultobj = Py_BuildValue("l",_result);
933 return _resultobj;
934}
935
936#define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
937static PyObject *_wrap_wxSize_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
938 PyObject * _resultobj;
939 long _result;
940 wxSize * _arg0;
941 wxSize temp;
942 PyObject * _obj0 = 0;
943 char *_kwnames[] = { "self", NULL };
944
945 self = self;
946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetHeight",_kwnames,&_obj0))
947 return NULL;
948{
949 _arg0 = &temp;
950 if (! wxSize_helper(_obj0, &_arg0))
951 return NULL;
952}
953{
954 wxPy_BEGIN_ALLOW_THREADS;
955 _result = (long )wxSize_GetHeight(_arg0);
956
957 wxPy_END_ALLOW_THREADS;
958} _resultobj = Py_BuildValue("l",_result);
959 return _resultobj;
960}
961
962#define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
963static PyObject *_wrap_wxSize_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
964 PyObject * _resultobj;
965 wxSize * _arg0;
966 long _arg1;
967 wxSize temp;
968 PyObject * _obj0 = 0;
969 char *_kwnames[] = { "self","w", NULL };
970
971 self = self;
972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_SetWidth",_kwnames,&_obj0,&_arg1))
973 return NULL;
974{
975 _arg0 = &temp;
976 if (! wxSize_helper(_obj0, &_arg0))
977 return NULL;
978}
979{
980 wxPy_BEGIN_ALLOW_THREADS;
981 wxSize_SetWidth(_arg0,_arg1);
982
983 wxPy_END_ALLOW_THREADS;
984} Py_INCREF(Py_None);
985 _resultobj = Py_None;
986 return _resultobj;
987}
988
989#define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
990static PyObject *_wrap_wxSize_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
991 PyObject * _resultobj;
992 wxSize * _arg0;
993 long _arg1;
994 wxSize temp;
995 PyObject * _obj0 = 0;
996 char *_kwnames[] = { "self","h", NULL };
997
998 self = self;
999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_SetHeight",_kwnames,&_obj0,&_arg1))
1000 return NULL;
1001{
1002 _arg0 = &temp;
1003 if (! wxSize_helper(_obj0, &_arg0))
1004 return NULL;
1005}
1006{
1007 wxPy_BEGIN_ALLOW_THREADS;
1008 wxSize_SetHeight(_arg0,_arg1);
1009
1010 wxPy_END_ALLOW_THREADS;
1011} Py_INCREF(Py_None);
1012 _resultobj = Py_None;
1013 return _resultobj;
1014}
1015
1016static PyObject * wxSize_asTuple(wxSize *self) {
1017 PyObject* tup = PyTuple_New(2);
1018 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1019 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1020 return tup;
1021 }
1022static PyObject *_wrap_wxSize_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1023 PyObject * _resultobj;
1024 PyObject * _result;
1025 wxSize * _arg0;
1026 wxSize temp;
1027 PyObject * _obj0 = 0;
1028 char *_kwnames[] = { "self", NULL };
1029
1030 self = self;
1031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_asTuple",_kwnames,&_obj0))
1032 return NULL;
1033{
1034 _arg0 = &temp;
1035 if (! wxSize_helper(_obj0, &_arg0))
1036 return NULL;
1037}
1038{
1039 wxPy_BEGIN_ALLOW_THREADS;
1040 _result = (PyObject *)wxSize_asTuple(_arg0);
1041
1042 wxPy_END_ALLOW_THREADS;
1043}{
1044 _resultobj = _result;
1045}
1046 return _resultobj;
1047}
1048
1049#define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1050static PyObject *_wrap_wxRealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1051 PyObject * _resultobj;
1052 double _result;
1053 wxRealPoint * _arg0;
1054 double _arg1;
1055 wxRealPoint temp;
1056 PyObject * _obj0 = 0;
1057 char *_kwnames[] = { "self","x", NULL };
1058
1059 self = self;
1060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxRealPoint_x_set",_kwnames,&_obj0,&_arg1))
1061 return NULL;
1062{
1063 _arg0 = &temp;
1064 if (! wxRealPoint_helper(_obj0, &_arg0))
1065 return NULL;
1066}
1067{
1068 wxPy_BEGIN_ALLOW_THREADS;
1069 _result = (double )wxRealPoint_x_set(_arg0,_arg1);
1070
1071 wxPy_END_ALLOW_THREADS;
1072} _resultobj = Py_BuildValue("d",_result);
1073 return _resultobj;
1074}
1075
1076#define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1077static PyObject *_wrap_wxRealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1078 PyObject * _resultobj;
1079 double _result;
1080 wxRealPoint * _arg0;
1081 wxRealPoint temp;
1082 PyObject * _obj0 = 0;
1083 char *_kwnames[] = { "self", NULL };
1084
1085 self = self;
1086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_x_get",_kwnames,&_obj0))
1087 return NULL;
1088{
1089 _arg0 = &temp;
1090 if (! wxRealPoint_helper(_obj0, &_arg0))
1091 return NULL;
1092}
1093{
1094 wxPy_BEGIN_ALLOW_THREADS;
1095 _result = (double )wxRealPoint_x_get(_arg0);
1096
1097 wxPy_END_ALLOW_THREADS;
1098} _resultobj = Py_BuildValue("d",_result);
1099 return _resultobj;
1100}
1101
1102#define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1103static PyObject *_wrap_wxRealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1104 PyObject * _resultobj;
1105 double _result;
1106 wxRealPoint * _arg0;
1107 double _arg1;
1108 wxRealPoint temp;
1109 PyObject * _obj0 = 0;
1110 char *_kwnames[] = { "self","y", NULL };
1111
1112 self = self;
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxRealPoint_y_set",_kwnames,&_obj0,&_arg1))
1114 return NULL;
1115{
1116 _arg0 = &temp;
1117 if (! wxRealPoint_helper(_obj0, &_arg0))
1118 return NULL;
1119}
1120{
1121 wxPy_BEGIN_ALLOW_THREADS;
1122 _result = (double )wxRealPoint_y_set(_arg0,_arg1);
1123
1124 wxPy_END_ALLOW_THREADS;
1125} _resultobj = Py_BuildValue("d",_result);
1126 return _resultobj;
1127}
1128
1129#define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1130static PyObject *_wrap_wxRealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1131 PyObject * _resultobj;
1132 double _result;
1133 wxRealPoint * _arg0;
1134 wxRealPoint temp;
1135 PyObject * _obj0 = 0;
1136 char *_kwnames[] = { "self", NULL };
1137
1138 self = self;
1139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_y_get",_kwnames,&_obj0))
1140 return NULL;
1141{
1142 _arg0 = &temp;
1143 if (! wxRealPoint_helper(_obj0, &_arg0))
1144 return NULL;
1145}
1146{
1147 wxPy_BEGIN_ALLOW_THREADS;
1148 _result = (double )wxRealPoint_y_get(_arg0);
1149
1150 wxPy_END_ALLOW_THREADS;
1151} _resultobj = Py_BuildValue("d",_result);
1152 return _resultobj;
1153}
1154
1155#define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1156static PyObject *_wrap_new_wxRealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject * _resultobj;
1158 wxRealPoint * _result;
1159 double _arg0 = (double ) 0.0;
1160 double _arg1 = (double ) 0.0;
1161 char *_kwnames[] = { "x","y", NULL };
1162 char _ptemp[128];
1163
1164 self = self;
1165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxRealPoint",_kwnames,&_arg0,&_arg1))
1166 return NULL;
1167{
1168 wxPy_BEGIN_ALLOW_THREADS;
1169 _result = (wxRealPoint *)new_wxRealPoint(_arg0,_arg1);
1170
1171 wxPy_END_ALLOW_THREADS;
1172} if (_result) {
1173 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p");
1174 _resultobj = Py_BuildValue("s",_ptemp);
1175 } else {
1176 Py_INCREF(Py_None);
1177 _resultobj = Py_None;
1178 }
1179 return _resultobj;
1180}
1181
1182#define delete_wxRealPoint(_swigobj) (delete _swigobj)
1183static PyObject *_wrap_delete_wxRealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1184 PyObject * _resultobj;
1185 wxRealPoint * _arg0;
1186 wxRealPoint temp;
1187 PyObject * _obj0 = 0;
1188 char *_kwnames[] = { "self", NULL };
1189
1190 self = self;
1191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRealPoint",_kwnames,&_obj0))
1192 return NULL;
1193{
1194 _arg0 = &temp;
1195 if (! wxRealPoint_helper(_obj0, &_arg0))
1196 return NULL;
1197}
1198{
1199 wxPy_BEGIN_ALLOW_THREADS;
1200 delete_wxRealPoint(_arg0);
1201
1202 wxPy_END_ALLOW_THREADS;
1203} Py_INCREF(Py_None);
1204 _resultobj = Py_None;
1205 return _resultobj;
1206}
1207
1208static void wxRealPoint_Set(wxRealPoint *self,double x,double y) {
1209 self->x = x;
1210 self->y = y;
1211 }
1212static PyObject *_wrap_wxRealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1213 PyObject * _resultobj;
1214 wxRealPoint * _arg0;
1215 double _arg1;
1216 double _arg2;
1217 wxRealPoint temp;
1218 PyObject * _obj0 = 0;
1219 char *_kwnames[] = { "self","x","y", NULL };
1220
1221 self = self;
1222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxRealPoint_Set",_kwnames,&_obj0,&_arg1,&_arg2))
1223 return NULL;
1224{
1225 _arg0 = &temp;
1226 if (! wxRealPoint_helper(_obj0, &_arg0))
1227 return NULL;
1228}
1229{
1230 wxPy_BEGIN_ALLOW_THREADS;
1231 wxRealPoint_Set(_arg0,_arg1,_arg2);
1232
1233 wxPy_END_ALLOW_THREADS;
1234} Py_INCREF(Py_None);
1235 _resultobj = Py_None;
1236 return _resultobj;
1237}
1238
1239static PyObject * wxRealPoint_asTuple(wxRealPoint *self) {
1240 PyObject* tup = PyTuple_New(2);
1241 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
1242 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
1243 return tup;
1244 }
1245static PyObject *_wrap_wxRealPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1246 PyObject * _resultobj;
1247 PyObject * _result;
1248 wxRealPoint * _arg0;
1249 wxRealPoint temp;
1250 PyObject * _obj0 = 0;
1251 char *_kwnames[] = { "self", NULL };
1252
1253 self = self;
1254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_asTuple",_kwnames,&_obj0))
1255 return NULL;
1256{
1257 _arg0 = &temp;
1258 if (! wxRealPoint_helper(_obj0, &_arg0))
1259 return NULL;
1260}
1261{
1262 wxPy_BEGIN_ALLOW_THREADS;
1263 _result = (PyObject *)wxRealPoint_asTuple(_arg0);
1264
1265 wxPy_END_ALLOW_THREADS;
1266}{
1267 _resultobj = _result;
1268}
1269 return _resultobj;
1270}
1271
1272#define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1273static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1274 PyObject * _resultobj;
1275 long _result;
1276 wxPoint * _arg0;
1277 long _arg1;
1278 wxPoint temp;
1279 PyObject * _obj0 = 0;
1280 char *_kwnames[] = { "self","x", NULL };
1281
1282 self = self;
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPoint_x_set",_kwnames,&_obj0,&_arg1))
1284 return NULL;
1285{
1286 _arg0 = &temp;
1287 if (! wxPoint_helper(_obj0, &_arg0))
1288 return NULL;
1289}
1290{
1291 wxPy_BEGIN_ALLOW_THREADS;
1292 _result = (long )wxPoint_x_set(_arg0,_arg1);
1293
1294 wxPy_END_ALLOW_THREADS;
1295} _resultobj = Py_BuildValue("l",_result);
1296 return _resultobj;
1297}
1298
1299#define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1300static PyObject *_wrap_wxPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1301 PyObject * _resultobj;
1302 long _result;
1303 wxPoint * _arg0;
1304 wxPoint temp;
1305 PyObject * _obj0 = 0;
1306 char *_kwnames[] = { "self", NULL };
1307
1308 self = self;
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_x_get",_kwnames,&_obj0))
1310 return NULL;
1311{
1312 _arg0 = &temp;
1313 if (! wxPoint_helper(_obj0, &_arg0))
1314 return NULL;
1315}
1316{
1317 wxPy_BEGIN_ALLOW_THREADS;
1318 _result = (long )wxPoint_x_get(_arg0);
1319
1320 wxPy_END_ALLOW_THREADS;
1321} _resultobj = Py_BuildValue("l",_result);
1322 return _resultobj;
1323}
1324
1325#define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1326static PyObject *_wrap_wxPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1327 PyObject * _resultobj;
1328 long _result;
1329 wxPoint * _arg0;
1330 long _arg1;
1331 wxPoint temp;
1332 PyObject * _obj0 = 0;
1333 char *_kwnames[] = { "self","y", NULL };
1334
1335 self = self;
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPoint_y_set",_kwnames,&_obj0,&_arg1))
1337 return NULL;
1338{
1339 _arg0 = &temp;
1340 if (! wxPoint_helper(_obj0, &_arg0))
1341 return NULL;
1342}
1343{
1344 wxPy_BEGIN_ALLOW_THREADS;
1345 _result = (long )wxPoint_y_set(_arg0,_arg1);
1346
1347 wxPy_END_ALLOW_THREADS;
1348} _resultobj = Py_BuildValue("l",_result);
1349 return _resultobj;
1350}
1351
1352#define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1353static PyObject *_wrap_wxPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1354 PyObject * _resultobj;
1355 long _result;
1356 wxPoint * _arg0;
1357 wxPoint temp;
1358 PyObject * _obj0 = 0;
1359 char *_kwnames[] = { "self", NULL };
1360
1361 self = self;
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_y_get",_kwnames,&_obj0))
1363 return NULL;
1364{
1365 _arg0 = &temp;
1366 if (! wxPoint_helper(_obj0, &_arg0))
1367 return NULL;
1368}
1369{
1370 wxPy_BEGIN_ALLOW_THREADS;
1371 _result = (long )wxPoint_y_get(_arg0);
1372
1373 wxPy_END_ALLOW_THREADS;
1374} _resultobj = Py_BuildValue("l",_result);
1375 return _resultobj;
1376}
1377
1378#define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1379static PyObject *_wrap_new_wxPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1380 PyObject * _resultobj;
1381 wxPoint * _result;
1382 long _arg0 = (long ) 0;
1383 long _arg1 = (long ) 0;
1384 char *_kwnames[] = { "x","y", NULL };
1385 char _ptemp[128];
1386
1387 self = self;
1388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ll:new_wxPoint",_kwnames,&_arg0,&_arg1))
1389 return NULL;
1390{
1391 wxPy_BEGIN_ALLOW_THREADS;
1392 _result = (wxPoint *)new_wxPoint(_arg0,_arg1);
1393
1394 wxPy_END_ALLOW_THREADS;
1395} if (_result) {
1396 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1397 _resultobj = Py_BuildValue("s",_ptemp);
1398 } else {
1399 Py_INCREF(Py_None);
1400 _resultobj = Py_None;
1401 }
1402 return _resultobj;
1403}
1404
1405#define delete_wxPoint(_swigobj) (delete _swigobj)
1406static PyObject *_wrap_delete_wxPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject * _resultobj;
1408 wxPoint * _arg0;
1409 wxPoint temp;
1410 PyObject * _obj0 = 0;
1411 char *_kwnames[] = { "self", NULL };
1412
1413 self = self;
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPoint",_kwnames,&_obj0))
1415 return NULL;
1416{
1417 _arg0 = &temp;
1418 if (! wxPoint_helper(_obj0, &_arg0))
1419 return NULL;
1420}
1421{
1422 wxPy_BEGIN_ALLOW_THREADS;
1423 delete_wxPoint(_arg0);
1424
1425 wxPy_END_ALLOW_THREADS;
1426} Py_INCREF(Py_None);
1427 _resultobj = Py_None;
1428 return _resultobj;
1429}
1430
1431static void wxPoint_Set(wxPoint *self,long x,long y) {
1432 self->x = x;
1433 self->y = y;
1434 }
1435static PyObject *_wrap_wxPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1436 PyObject * _resultobj;
1437 wxPoint * _arg0;
1438 long _arg1;
1439 long _arg2;
1440 wxPoint temp;
1441 PyObject * _obj0 = 0;
1442 char *_kwnames[] = { "self","x","y", NULL };
1443
1444 self = self;
1445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxPoint_Set",_kwnames,&_obj0,&_arg1,&_arg2))
1446 return NULL;
1447{
1448 _arg0 = &temp;
1449 if (! wxPoint_helper(_obj0, &_arg0))
1450 return NULL;
1451}
1452{
1453 wxPy_BEGIN_ALLOW_THREADS;
1454 wxPoint_Set(_arg0,_arg1,_arg2);
1455
1456 wxPy_END_ALLOW_THREADS;
1457} Py_INCREF(Py_None);
1458 _resultobj = Py_None;
1459 return _resultobj;
1460}
1461
1462static PyObject * wxPoint_asTuple(wxPoint *self) {
1463 PyObject* tup = PyTuple_New(2);
1464 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1465 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1466 return tup;
1467 }
1468static PyObject *_wrap_wxPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1469 PyObject * _resultobj;
1470 PyObject * _result;
1471 wxPoint * _arg0;
1472 wxPoint temp;
1473 PyObject * _obj0 = 0;
1474 char *_kwnames[] = { "self", NULL };
1475
1476 self = self;
1477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_asTuple",_kwnames,&_obj0))
1478 return NULL;
1479{
1480 _arg0 = &temp;
1481 if (! wxPoint_helper(_obj0, &_arg0))
1482 return NULL;
1483}
1484{
1485 wxPy_BEGIN_ALLOW_THREADS;
1486 _result = (PyObject *)wxPoint_asTuple(_arg0);
1487
1488 wxPy_END_ALLOW_THREADS;
1489}{
1490 _resultobj = _result;
1491}
1492 return _resultobj;
1493}
1494
1495#define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1496static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1497 PyObject * _resultobj;
1498 wxRect * _result;
1499 int _arg0 = (int ) 0;
1500 int _arg1 = (int ) 0;
1501 int _arg2 = (int ) 0;
1502 int _arg3 = (int ) 0;
1503 char *_kwnames[] = { "x","y","w","h", NULL };
1504 char _ptemp[128];
1505
1506 self = self;
1507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxRect",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1508 return NULL;
1509{
1510 wxPy_BEGIN_ALLOW_THREADS;
1511 _result = (wxRect *)new_wxRect(_arg0,_arg1,_arg2,_arg3);
1512
1513 wxPy_END_ALLOW_THREADS;
1514} if (_result) {
1515 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1516 _resultobj = Py_BuildValue("s",_ptemp);
1517 } else {
1518 Py_INCREF(Py_None);
1519 _resultobj = Py_None;
1520 }
1521 return _resultobj;
1522}
1523
1524#define delete_wxRect(_swigobj) (delete _swigobj)
1525static PyObject *_wrap_delete_wxRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1526 PyObject * _resultobj;
1527 wxRect * _arg0;
1528 wxRect temp;
1529 PyObject * _obj0 = 0;
1530 char *_kwnames[] = { "self", NULL };
1531
1532 self = self;
1533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRect",_kwnames,&_obj0))
1534 return NULL;
1535{
1536 _arg0 = &temp;
1537 if (! wxRect_helper(_obj0, &_arg0))
1538 return NULL;
1539}
1540{
1541 wxPy_BEGIN_ALLOW_THREADS;
1542 delete_wxRect(_arg0);
1543
1544 wxPy_END_ALLOW_THREADS;
1545} Py_INCREF(Py_None);
1546 _resultobj = Py_None;
1547 return _resultobj;
1548}
1549
1550#define wxRect_GetX(_swigobj) (_swigobj->GetX())
1551static PyObject *_wrap_wxRect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
1552 PyObject * _resultobj;
1553 int _result;
1554 wxRect * _arg0;
1555 wxRect temp;
1556 PyObject * _obj0 = 0;
1557 char *_kwnames[] = { "self", NULL };
1558
1559 self = self;
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetX",_kwnames,&_obj0))
1561 return NULL;
1562{
1563 _arg0 = &temp;
1564 if (! wxRect_helper(_obj0, &_arg0))
1565 return NULL;
1566}
1567{
1568 wxPy_BEGIN_ALLOW_THREADS;
1569 _result = (int )wxRect_GetX(_arg0);
1570
1571 wxPy_END_ALLOW_THREADS;
1572} _resultobj = Py_BuildValue("i",_result);
1573 return _resultobj;
1574}
1575
1576#define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1577static PyObject *_wrap_wxRect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
1578 PyObject * _resultobj;
1579 wxRect * _arg0;
1580 int _arg1;
1581 wxRect temp;
1582 PyObject * _obj0 = 0;
1583 char *_kwnames[] = { "self","X", NULL };
1584
1585 self = self;
1586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetX",_kwnames,&_obj0,&_arg1))
1587 return NULL;
1588{
1589 _arg0 = &temp;
1590 if (! wxRect_helper(_obj0, &_arg0))
1591 return NULL;
1592}
1593{
1594 wxPy_BEGIN_ALLOW_THREADS;
1595 wxRect_SetX(_arg0,_arg1);
1596
1597 wxPy_END_ALLOW_THREADS;
1598} Py_INCREF(Py_None);
1599 _resultobj = Py_None;
1600 return _resultobj;
1601}
1602
1603#define wxRect_GetY(_swigobj) (_swigobj->GetY())
1604static PyObject *_wrap_wxRect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
1605 PyObject * _resultobj;
1606 int _result;
1607 wxRect * _arg0;
1608 wxRect temp;
1609 PyObject * _obj0 = 0;
1610 char *_kwnames[] = { "self", NULL };
1611
1612 self = self;
1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetY",_kwnames,&_obj0))
1614 return NULL;
1615{
1616 _arg0 = &temp;
1617 if (! wxRect_helper(_obj0, &_arg0))
1618 return NULL;
1619}
1620{
1621 wxPy_BEGIN_ALLOW_THREADS;
1622 _result = (int )wxRect_GetY(_arg0);
1623
1624 wxPy_END_ALLOW_THREADS;
1625} _resultobj = Py_BuildValue("i",_result);
1626 return _resultobj;
1627}
1628
1629#define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1630static PyObject *_wrap_wxRect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
1631 PyObject * _resultobj;
1632 wxRect * _arg0;
1633 int _arg1;
1634 wxRect temp;
1635 PyObject * _obj0 = 0;
1636 char *_kwnames[] = { "self","Y", NULL };
1637
1638 self = self;
1639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetY",_kwnames,&_obj0,&_arg1))
1640 return NULL;
1641{
1642 _arg0 = &temp;
1643 if (! wxRect_helper(_obj0, &_arg0))
1644 return NULL;
1645}
1646{
1647 wxPy_BEGIN_ALLOW_THREADS;
1648 wxRect_SetY(_arg0,_arg1);
1649
1650 wxPy_END_ALLOW_THREADS;
1651} Py_INCREF(Py_None);
1652 _resultobj = Py_None;
1653 return _resultobj;
1654}
1655
1656#define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1657static PyObject *_wrap_wxRect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1658 PyObject * _resultobj;
1659 int _result;
1660 wxRect * _arg0;
1661 wxRect temp;
1662 PyObject * _obj0 = 0;
1663 char *_kwnames[] = { "self", NULL };
1664
1665 self = self;
1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetWidth",_kwnames,&_obj0))
1667 return NULL;
1668{
1669 _arg0 = &temp;
1670 if (! wxRect_helper(_obj0, &_arg0))
1671 return NULL;
1672}
1673{
1674 wxPy_BEGIN_ALLOW_THREADS;
1675 _result = (int )wxRect_GetWidth(_arg0);
1676
1677 wxPy_END_ALLOW_THREADS;
1678} _resultobj = Py_BuildValue("i",_result);
1679 return _resultobj;
1680}
1681
1682#define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1683static PyObject *_wrap_wxRect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1684 PyObject * _resultobj;
1685 wxRect * _arg0;
1686 int _arg1;
1687 wxRect temp;
1688 PyObject * _obj0 = 0;
1689 char *_kwnames[] = { "self","w", NULL };
1690
1691 self = self;
1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetWidth",_kwnames,&_obj0,&_arg1))
1693 return NULL;
1694{
1695 _arg0 = &temp;
1696 if (! wxRect_helper(_obj0, &_arg0))
1697 return NULL;
1698}
1699{
1700 wxPy_BEGIN_ALLOW_THREADS;
1701 wxRect_SetWidth(_arg0,_arg1);
1702
1703 wxPy_END_ALLOW_THREADS;
1704} Py_INCREF(Py_None);
1705 _resultobj = Py_None;
1706 return _resultobj;
1707}
1708
1709#define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1710static PyObject *_wrap_wxRect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1711 PyObject * _resultobj;
1712 int _result;
1713 wxRect * _arg0;
1714 wxRect temp;
1715 PyObject * _obj0 = 0;
1716 char *_kwnames[] = { "self", NULL };
1717
1718 self = self;
1719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetHeight",_kwnames,&_obj0))
1720 return NULL;
1721{
1722 _arg0 = &temp;
1723 if (! wxRect_helper(_obj0, &_arg0))
1724 return NULL;
1725}
1726{
1727 wxPy_BEGIN_ALLOW_THREADS;
1728 _result = (int )wxRect_GetHeight(_arg0);
1729
1730 wxPy_END_ALLOW_THREADS;
1731} _resultobj = Py_BuildValue("i",_result);
1732 return _resultobj;
1733}
1734
1735#define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1736static PyObject *_wrap_wxRect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject * _resultobj;
1738 wxRect * _arg0;
1739 int _arg1;
1740 wxRect temp;
1741 PyObject * _obj0 = 0;
1742 char *_kwnames[] = { "self","h", NULL };
1743
1744 self = self;
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetHeight",_kwnames,&_obj0,&_arg1))
1746 return NULL;
1747{
1748 _arg0 = &temp;
1749 if (! wxRect_helper(_obj0, &_arg0))
1750 return NULL;
1751}
1752{
1753 wxPy_BEGIN_ALLOW_THREADS;
1754 wxRect_SetHeight(_arg0,_arg1);
1755
1756 wxPy_END_ALLOW_THREADS;
1757} Py_INCREF(Py_None);
1758 _resultobj = Py_None;
1759 return _resultobj;
1760}
1761
1762#define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1763static PyObject *_wrap_wxRect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1764 PyObject * _resultobj;
1765 wxPoint * _result;
1766 wxRect * _arg0;
1767 wxRect temp;
1768 PyObject * _obj0 = 0;
1769 char *_kwnames[] = { "self", NULL };
1770 char _ptemp[128];
1771
1772 self = self;
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetPosition",_kwnames,&_obj0))
1774 return NULL;
1775{
1776 _arg0 = &temp;
1777 if (! wxRect_helper(_obj0, &_arg0))
1778 return NULL;
1779}
1780{
1781 wxPy_BEGIN_ALLOW_THREADS;
1782 _result = new wxPoint (wxRect_GetPosition(_arg0));
1783
1784 wxPy_END_ALLOW_THREADS;
1785} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1786 _resultobj = Py_BuildValue("s",_ptemp);
1787 return _resultobj;
1788}
1789
1790#define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1791static PyObject *_wrap_wxRect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1792 PyObject * _resultobj;
1793 wxSize * _result;
1794 wxRect * _arg0;
1795 wxRect temp;
1796 PyObject * _obj0 = 0;
1797 char *_kwnames[] = { "self", NULL };
1798 char _ptemp[128];
1799
1800 self = self;
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetSize",_kwnames,&_obj0))
1802 return NULL;
1803{
1804 _arg0 = &temp;
1805 if (! wxRect_helper(_obj0, &_arg0))
1806 return NULL;
1807}
1808{
1809 wxPy_BEGIN_ALLOW_THREADS;
1810 _result = new wxSize (wxRect_GetSize(_arg0));
1811
1812 wxPy_END_ALLOW_THREADS;
1813} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1814 _resultobj = Py_BuildValue("s",_ptemp);
1815 return _resultobj;
1816}
1817
1818#define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1819static PyObject *_wrap_wxRect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
1820 PyObject * _resultobj;
1821 int _result;
1822 wxRect * _arg0;
1823 wxRect temp;
1824 PyObject * _obj0 = 0;
1825 char *_kwnames[] = { "self", NULL };
1826
1827 self = self;
1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetLeft",_kwnames,&_obj0))
1829 return NULL;
1830{
1831 _arg0 = &temp;
1832 if (! wxRect_helper(_obj0, &_arg0))
1833 return NULL;
1834}
1835{
1836 wxPy_BEGIN_ALLOW_THREADS;
1837 _result = (int )wxRect_GetLeft(_arg0);
1838
1839 wxPy_END_ALLOW_THREADS;
1840} _resultobj = Py_BuildValue("i",_result);
1841 return _resultobj;
1842}
1843
1844#define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1845static PyObject *_wrap_wxRect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
1846 PyObject * _resultobj;
1847 int _result;
1848 wxRect * _arg0;
1849 wxRect temp;
1850 PyObject * _obj0 = 0;
1851 char *_kwnames[] = { "self", NULL };
1852
1853 self = self;
1854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetTop",_kwnames,&_obj0))
1855 return NULL;
1856{
1857 _arg0 = &temp;
1858 if (! wxRect_helper(_obj0, &_arg0))
1859 return NULL;
1860}
1861{
1862 wxPy_BEGIN_ALLOW_THREADS;
1863 _result = (int )wxRect_GetTop(_arg0);
1864
1865 wxPy_END_ALLOW_THREADS;
1866} _resultobj = Py_BuildValue("i",_result);
1867 return _resultobj;
1868}
1869
1870#define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1871static PyObject *_wrap_wxRect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
1872 PyObject * _resultobj;
1873 int _result;
1874 wxRect * _arg0;
1875 wxRect temp;
1876 PyObject * _obj0 = 0;
1877 char *_kwnames[] = { "self", NULL };
1878
1879 self = self;
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetBottom",_kwnames,&_obj0))
1881 return NULL;
1882{
1883 _arg0 = &temp;
1884 if (! wxRect_helper(_obj0, &_arg0))
1885 return NULL;
1886}
1887{
1888 wxPy_BEGIN_ALLOW_THREADS;
1889 _result = (int )wxRect_GetBottom(_arg0);
1890
1891 wxPy_END_ALLOW_THREADS;
1892} _resultobj = Py_BuildValue("i",_result);
1893 return _resultobj;
1894}
1895
1896#define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1897static PyObject *_wrap_wxRect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject * _resultobj;
1899 int _result;
1900 wxRect * _arg0;
1901 wxRect temp;
1902 PyObject * _obj0 = 0;
1903 char *_kwnames[] = { "self", NULL };
1904
1905 self = self;
1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetRight",_kwnames,&_obj0))
1907 return NULL;
1908{
1909 _arg0 = &temp;
1910 if (! wxRect_helper(_obj0, &_arg0))
1911 return NULL;
1912}
1913{
1914 wxPy_BEGIN_ALLOW_THREADS;
1915 _result = (int )wxRect_GetRight(_arg0);
1916
1917 wxPy_END_ALLOW_THREADS;
1918} _resultobj = Py_BuildValue("i",_result);
1919 return _resultobj;
1920}
1921
1922#define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
1923static PyObject *_wrap_wxRect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject * _resultobj;
1925 wxRect * _arg0;
1926 int _arg1;
1927 wxRect temp;
1928 PyObject * _obj0 = 0;
1929 char *_kwnames[] = { "self","left", NULL };
1930
1931 self = self;
1932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetLeft",_kwnames,&_obj0,&_arg1))
1933 return NULL;
1934{
1935 _arg0 = &temp;
1936 if (! wxRect_helper(_obj0, &_arg0))
1937 return NULL;
1938}
1939{
1940 wxPy_BEGIN_ALLOW_THREADS;
1941 wxRect_SetLeft(_arg0,_arg1);
1942
1943 wxPy_END_ALLOW_THREADS;
1944} Py_INCREF(Py_None);
1945 _resultobj = Py_None;
1946 return _resultobj;
1947}
1948
1949#define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
1950static PyObject *_wrap_wxRect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject * _resultobj;
1952 wxRect * _arg0;
1953 int _arg1;
1954 wxRect temp;
1955 PyObject * _obj0 = 0;
1956 char *_kwnames[] = { "self","right", NULL };
1957
1958 self = self;
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetRight",_kwnames,&_obj0,&_arg1))
1960 return NULL;
1961{
1962 _arg0 = &temp;
1963 if (! wxRect_helper(_obj0, &_arg0))
1964 return NULL;
1965}
1966{
1967 wxPy_BEGIN_ALLOW_THREADS;
1968 wxRect_SetRight(_arg0,_arg1);
1969
1970 wxPy_END_ALLOW_THREADS;
1971} Py_INCREF(Py_None);
1972 _resultobj = Py_None;
1973 return _resultobj;
1974}
1975
1976#define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
1977static PyObject *_wrap_wxRect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject * _resultobj;
1979 wxRect * _arg0;
1980 int _arg1;
1981 wxRect temp;
1982 PyObject * _obj0 = 0;
1983 char *_kwnames[] = { "self","top", NULL };
1984
1985 self = self;
1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetTop",_kwnames,&_obj0,&_arg1))
1987 return NULL;
1988{
1989 _arg0 = &temp;
1990 if (! wxRect_helper(_obj0, &_arg0))
1991 return NULL;
1992}
1993{
1994 wxPy_BEGIN_ALLOW_THREADS;
1995 wxRect_SetTop(_arg0,_arg1);
1996
1997 wxPy_END_ALLOW_THREADS;
1998} Py_INCREF(Py_None);
1999 _resultobj = Py_None;
2000 return _resultobj;
2001}
2002
2003#define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2004static PyObject *_wrap_wxRect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
2005 PyObject * _resultobj;
2006 wxRect * _arg0;
2007 int _arg1;
2008 wxRect temp;
2009 PyObject * _obj0 = 0;
2010 char *_kwnames[] = { "self","bottom", NULL };
2011
2012 self = self;
2013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetBottom",_kwnames,&_obj0,&_arg1))
2014 return NULL;
2015{
2016 _arg0 = &temp;
2017 if (! wxRect_helper(_obj0, &_arg0))
2018 return NULL;
2019}
2020{
2021 wxPy_BEGIN_ALLOW_THREADS;
2022 wxRect_SetBottom(_arg0,_arg1);
2023
2024 wxPy_END_ALLOW_THREADS;
2025} Py_INCREF(Py_None);
2026 _resultobj = Py_None;
2027 return _resultobj;
2028}
2029
2030#define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2031static PyObject *_wrap_wxRect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject * _resultobj;
2033 int _result;
2034 wxRect * _arg0;
2035 int _arg1;
2036 wxRect temp;
2037 PyObject * _obj0 = 0;
2038 char *_kwnames[] = { "self","x", NULL };
2039
2040 self = self;
2041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_x_set",_kwnames,&_obj0,&_arg1))
2042 return NULL;
2043{
2044 _arg0 = &temp;
2045 if (! wxRect_helper(_obj0, &_arg0))
2046 return NULL;
2047}
2048{
2049 wxPy_BEGIN_ALLOW_THREADS;
2050 _result = (int )wxRect_x_set(_arg0,_arg1);
2051
2052 wxPy_END_ALLOW_THREADS;
2053} _resultobj = Py_BuildValue("i",_result);
2054 return _resultobj;
2055}
2056
2057#define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2058static PyObject *_wrap_wxRect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2059 PyObject * _resultobj;
2060 int _result;
2061 wxRect * _arg0;
2062 wxRect temp;
2063 PyObject * _obj0 = 0;
2064 char *_kwnames[] = { "self", NULL };
2065
2066 self = self;
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_x_get",_kwnames,&_obj0))
2068 return NULL;
2069{
2070 _arg0 = &temp;
2071 if (! wxRect_helper(_obj0, &_arg0))
2072 return NULL;
2073}
2074{
2075 wxPy_BEGIN_ALLOW_THREADS;
2076 _result = (int )wxRect_x_get(_arg0);
2077
2078 wxPy_END_ALLOW_THREADS;
2079} _resultobj = Py_BuildValue("i",_result);
2080 return _resultobj;
2081}
2082
2083#define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2084static PyObject *_wrap_wxRect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject * _resultobj;
2086 int _result;
2087 wxRect * _arg0;
2088 int _arg1;
2089 wxRect temp;
2090 PyObject * _obj0 = 0;
2091 char *_kwnames[] = { "self","y", NULL };
2092
2093 self = self;
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_y_set",_kwnames,&_obj0,&_arg1))
2095 return NULL;
2096{
2097 _arg0 = &temp;
2098 if (! wxRect_helper(_obj0, &_arg0))
2099 return NULL;
2100}
2101{
2102 wxPy_BEGIN_ALLOW_THREADS;
2103 _result = (int )wxRect_y_set(_arg0,_arg1);
2104
2105 wxPy_END_ALLOW_THREADS;
2106} _resultobj = Py_BuildValue("i",_result);
2107 return _resultobj;
2108}
2109
2110#define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2111static PyObject *_wrap_wxRect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject * _resultobj;
2113 int _result;
2114 wxRect * _arg0;
2115 wxRect temp;
2116 PyObject * _obj0 = 0;
2117 char *_kwnames[] = { "self", NULL };
2118
2119 self = self;
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_y_get",_kwnames,&_obj0))
2121 return NULL;
2122{
2123 _arg0 = &temp;
2124 if (! wxRect_helper(_obj0, &_arg0))
2125 return NULL;
2126}
2127{
2128 wxPy_BEGIN_ALLOW_THREADS;
2129 _result = (int )wxRect_y_get(_arg0);
2130
2131 wxPy_END_ALLOW_THREADS;
2132} _resultobj = Py_BuildValue("i",_result);
2133 return _resultobj;
2134}
2135
2136#define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2137static PyObject *_wrap_wxRect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2138 PyObject * _resultobj;
2139 int _result;
2140 wxRect * _arg0;
2141 int _arg1;
2142 wxRect temp;
2143 PyObject * _obj0 = 0;
2144 char *_kwnames[] = { "self","width", NULL };
2145
2146 self = self;
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_width_set",_kwnames,&_obj0,&_arg1))
2148 return NULL;
2149{
2150 _arg0 = &temp;
2151 if (! wxRect_helper(_obj0, &_arg0))
2152 return NULL;
2153}
2154{
2155 wxPy_BEGIN_ALLOW_THREADS;
2156 _result = (int )wxRect_width_set(_arg0,_arg1);
2157
2158 wxPy_END_ALLOW_THREADS;
2159} _resultobj = Py_BuildValue("i",_result);
2160 return _resultobj;
2161}
2162
2163#define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2164static PyObject *_wrap_wxRect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject * _resultobj;
2166 int _result;
2167 wxRect * _arg0;
2168 wxRect temp;
2169 PyObject * _obj0 = 0;
2170 char *_kwnames[] = { "self", NULL };
2171
2172 self = self;
2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_width_get",_kwnames,&_obj0))
2174 return NULL;
2175{
2176 _arg0 = &temp;
2177 if (! wxRect_helper(_obj0, &_arg0))
2178 return NULL;
2179}
2180{
2181 wxPy_BEGIN_ALLOW_THREADS;
2182 _result = (int )wxRect_width_get(_arg0);
2183
2184 wxPy_END_ALLOW_THREADS;
2185} _resultobj = Py_BuildValue("i",_result);
2186 return _resultobj;
2187}
2188
2189#define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2190static PyObject *_wrap_wxRect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject * _resultobj;
2192 int _result;
2193 wxRect * _arg0;
2194 int _arg1;
2195 wxRect temp;
2196 PyObject * _obj0 = 0;
2197 char *_kwnames[] = { "self","height", NULL };
2198
2199 self = self;
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_height_set",_kwnames,&_obj0,&_arg1))
2201 return NULL;
2202{
2203 _arg0 = &temp;
2204 if (! wxRect_helper(_obj0, &_arg0))
2205 return NULL;
2206}
2207{
2208 wxPy_BEGIN_ALLOW_THREADS;
2209 _result = (int )wxRect_height_set(_arg0,_arg1);
2210
2211 wxPy_END_ALLOW_THREADS;
2212} _resultobj = Py_BuildValue("i",_result);
2213 return _resultobj;
2214}
2215
2216#define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2217static PyObject *_wrap_wxRect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2218 PyObject * _resultobj;
2219 int _result;
2220 wxRect * _arg0;
2221 wxRect temp;
2222 PyObject * _obj0 = 0;
2223 char *_kwnames[] = { "self", NULL };
2224
2225 self = self;
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_height_get",_kwnames,&_obj0))
2227 return NULL;
2228{
2229 _arg0 = &temp;
2230 if (! wxRect_helper(_obj0, &_arg0))
2231 return NULL;
2232}
2233{
2234 wxPy_BEGIN_ALLOW_THREADS;
2235 _result = (int )wxRect_height_get(_arg0);
2236
2237 wxPy_END_ALLOW_THREADS;
2238} _resultobj = Py_BuildValue("i",_result);
2239 return _resultobj;
2240}
2241
2242static PyObject * wxRect_asTuple(wxRect *self) {
2243 PyObject* tup = PyTuple_New(4);
2244 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
2245 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
2246 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
2247 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
2248 return tup;
2249 }
2250static PyObject *_wrap_wxRect_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2251 PyObject * _resultobj;
2252 PyObject * _result;
2253 wxRect * _arg0;
2254 wxRect temp;
2255 PyObject * _obj0 = 0;
2256 char *_kwnames[] = { "self", NULL };
2257
2258 self = self;
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_asTuple",_kwnames,&_obj0))
2260 return NULL;
2261{
2262 _arg0 = &temp;
2263 if (! wxRect_helper(_obj0, &_arg0))
2264 return NULL;
2265}
2266{
2267 wxPy_BEGIN_ALLOW_THREADS;
2268 _result = (PyObject *)wxRect_asTuple(_arg0);
2269
2270 wxPy_END_ALLOW_THREADS;
2271}{
2272 _resultobj = _result;
2273}
2274 return _resultobj;
2275}
2276
2277#define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2278static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2279 PyObject * _resultobj;
2280 wxPyTimer * _result;
2281 PyObject * _arg0;
2282 PyObject * _obj0 = 0;
2283 char *_kwnames[] = { "notify", NULL };
2284 char _ptemp[128];
2285
2286 self = self;
2287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPyTimer",_kwnames,&_obj0))
2288 return NULL;
2289{
2290 _arg0 = _obj0;
2291}
2292{
2293 wxPy_BEGIN_ALLOW_THREADS;
2294 _result = (wxPyTimer *)new_wxPyTimer(_arg0);
2295
2296 wxPy_END_ALLOW_THREADS;
2297} if (_result) {
2298 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p");
2299 _resultobj = Py_BuildValue("s",_ptemp);
2300 } else {
2301 Py_INCREF(Py_None);
2302 _resultobj = Py_None;
2303 }
2304 return _resultobj;
2305}
2306
2307#define delete_wxPyTimer(_swigobj) (delete _swigobj)
2308static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2309 PyObject * _resultobj;
2310 wxPyTimer * _arg0;
2311 PyObject * _argo0 = 0;
2312 char *_kwnames[] = { "self", NULL };
2313
2314 self = self;
2315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyTimer",_kwnames,&_argo0))
2316 return NULL;
2317 if (_argo0) {
2318 if (_argo0 == Py_None) { _arg0 = NULL; }
2319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
2320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2321 return NULL;
2322 }
2323 }
2324{
2325 wxPy_BEGIN_ALLOW_THREADS;
2326 delete_wxPyTimer(_arg0);
2327
2328 wxPy_END_ALLOW_THREADS;
2329} Py_INCREF(Py_None);
2330 _resultobj = Py_None;
2331 return _resultobj;
2332}
2333
2334#define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
2335static PyObject *_wrap_wxPyTimer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
2336 PyObject * _resultobj;
2337 int _result;
2338 wxPyTimer * _arg0;
2339 PyObject * _argo0 = 0;
2340 char *_kwnames[] = { "self", NULL };
2341
2342 self = self;
2343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_GetInterval",_kwnames,&_argo0))
2344 return NULL;
2345 if (_argo0) {
2346 if (_argo0 == Py_None) { _arg0 = NULL; }
2347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
2348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
2349 return NULL;
2350 }
2351 }
2352{
2353 wxPy_BEGIN_ALLOW_THREADS;
2354 _result = (int )wxPyTimer_GetInterval(_arg0);
2355
2356 wxPy_END_ALLOW_THREADS;
2357} _resultobj = Py_BuildValue("i",_result);
2358 return _resultobj;
2359}
2360
2361#define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
2362static PyObject *_wrap_wxPyTimer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
2363 PyObject * _resultobj;
2364 bool _result;
2365 wxPyTimer * _arg0;
2366 PyObject * _argo0 = 0;
2367 char *_kwnames[] = { "self", NULL };
2368
2369 self = self;
2370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsOneShot",_kwnames,&_argo0))
2371 return NULL;
2372 if (_argo0) {
2373 if (_argo0 == Py_None) { _arg0 = NULL; }
2374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
2375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
2376 return NULL;
2377 }
2378 }
2379{
2380 wxPy_BEGIN_ALLOW_THREADS;
2381 _result = (bool )wxPyTimer_IsOneShot(_arg0);
2382
2383 wxPy_END_ALLOW_THREADS;
2384} _resultobj = Py_BuildValue("i",_result);
2385 return _resultobj;
2386}
2387
2388#define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2389static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
2390 PyObject * _resultobj;
2391 wxPyTimer * _arg0;
2392 int _arg1 = (int ) -1;
2393 int _arg2 = (int ) FALSE;
2394 PyObject * _argo0 = 0;
2395 char *_kwnames[] = { "self","milliseconds","oneShot", NULL };
2396
2397 self = self;
2398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyTimer_Start",_kwnames,&_argo0,&_arg1,&_arg2))
2399 return NULL;
2400 if (_argo0) {
2401 if (_argo0 == Py_None) { _arg0 = NULL; }
2402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
2403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2404 return NULL;
2405 }
2406 }
2407{
2408 wxPy_BEGIN_ALLOW_THREADS;
2409 wxPyTimer_Start(_arg0,_arg1,_arg2);
2410
2411 wxPy_END_ALLOW_THREADS;
2412} Py_INCREF(Py_None);
2413 _resultobj = Py_None;
2414 return _resultobj;
2415}
2416
2417#define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2418static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
2419 PyObject * _resultobj;
2420 wxPyTimer * _arg0;
2421 PyObject * _argo0 = 0;
2422 char *_kwnames[] = { "self", NULL };
2423
2424 self = self;
2425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_Stop",_kwnames,&_argo0))
2426 return NULL;
2427 if (_argo0) {
2428 if (_argo0 == Py_None) { _arg0 = NULL; }
2429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) {
2430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2431 return NULL;
2432 }
2433 }
2434{
2435 wxPy_BEGIN_ALLOW_THREADS;
2436 wxPyTimer_Stop(_arg0);
2437
2438 wxPy_END_ALLOW_THREADS;
2439} Py_INCREF(Py_None);
2440 _resultobj = Py_None;
2441 return _resultobj;
2442}
2443
2444#define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2445static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
2446 PyObject * _resultobj;
2447 wxIndividualLayoutConstraint * _arg0;
2448 wxWindow * _arg1;
2449 int _arg2 = (int ) 0;
2450 PyObject * _argo0 = 0;
2451 PyObject * _argo1 = 0;
2452 char *_kwnames[] = { "self","otherWin","margin", NULL };
2453
2454 self = self;
2455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames,&_argo0,&_argo1,&_arg2))
2456 return NULL;
2457 if (_argo0) {
2458 if (_argo0 == Py_None) { _arg0 = NULL; }
2459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2461 return NULL;
2462 }
2463 }
2464 if (_argo1) {
2465 if (_argo1 == Py_None) { _arg1 = NULL; }
2466 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2467 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2468 return NULL;
2469 }
2470 }
2471{
2472 wxPy_BEGIN_ALLOW_THREADS;
2473 wxIndividualLayoutConstraint_Above(_arg0,_arg1,_arg2);
2474
2475 wxPy_END_ALLOW_THREADS;
2476} Py_INCREF(Py_None);
2477 _resultobj = Py_None;
2478 return _resultobj;
2479}
2480
2481#define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2482static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
2483 PyObject * _resultobj;
2484 wxIndividualLayoutConstraint * _arg0;
2485 int _arg1;
2486 PyObject * _argo0 = 0;
2487 char *_kwnames[] = { "self","value", NULL };
2488
2489 self = self;
2490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames,&_argo0,&_arg1))
2491 return NULL;
2492 if (_argo0) {
2493 if (_argo0 == Py_None) { _arg0 = NULL; }
2494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2496 return NULL;
2497 }
2498 }
2499{
2500 wxPy_BEGIN_ALLOW_THREADS;
2501 wxIndividualLayoutConstraint_Absolute(_arg0,_arg1);
2502
2503 wxPy_END_ALLOW_THREADS;
2504} Py_INCREF(Py_None);
2505 _resultobj = Py_None;
2506 return _resultobj;
2507}
2508
2509#define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2510static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
2511 PyObject * _resultobj;
2512 wxIndividualLayoutConstraint * _arg0;
2513 PyObject * _argo0 = 0;
2514 char *_kwnames[] = { "self", NULL };
2515
2516 self = self;
2517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIndividualLayoutConstraint_AsIs",_kwnames,&_argo0))
2518 return NULL;
2519 if (_argo0) {
2520 if (_argo0 == Py_None) { _arg0 = NULL; }
2521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2523 return NULL;
2524 }
2525 }
2526{
2527 wxPy_BEGIN_ALLOW_THREADS;
2528 wxIndividualLayoutConstraint_AsIs(_arg0);
2529
2530 wxPy_END_ALLOW_THREADS;
2531} Py_INCREF(Py_None);
2532 _resultobj = Py_None;
2533 return _resultobj;
2534}
2535
2536#define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2537static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
2538 PyObject * _resultobj;
2539 wxIndividualLayoutConstraint * _arg0;
2540 wxWindow * _arg1;
2541 int _arg2 = (int ) 0;
2542 PyObject * _argo0 = 0;
2543 PyObject * _argo1 = 0;
2544 char *_kwnames[] = { "self","otherWin","margin", NULL };
2545
2546 self = self;
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames,&_argo0,&_argo1,&_arg2))
2548 return NULL;
2549 if (_argo0) {
2550 if (_argo0 == Py_None) { _arg0 = NULL; }
2551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2553 return NULL;
2554 }
2555 }
2556 if (_argo1) {
2557 if (_argo1 == Py_None) { _arg1 = NULL; }
2558 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2559 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2560 return NULL;
2561 }
2562 }
2563{
2564 wxPy_BEGIN_ALLOW_THREADS;
2565 wxIndividualLayoutConstraint_Below(_arg0,_arg1,_arg2);
2566
2567 wxPy_END_ALLOW_THREADS;
2568} Py_INCREF(Py_None);
2569 _resultobj = Py_None;
2570 return _resultobj;
2571}
2572
2573#define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2574static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
2575 PyObject * _resultobj;
2576 wxIndividualLayoutConstraint * _arg0;
2577 PyObject * _argo0 = 0;
2578 char *_kwnames[] = { "self", NULL };
2579
2580 self = self;
2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames,&_argo0))
2582 return NULL;
2583 if (_argo0) {
2584 if (_argo0 == Py_None) { _arg0 = NULL; }
2585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2587 return NULL;
2588 }
2589 }
2590{
2591 wxPy_BEGIN_ALLOW_THREADS;
2592 wxIndividualLayoutConstraint_Unconstrained(_arg0);
2593
2594 wxPy_END_ALLOW_THREADS;
2595} Py_INCREF(Py_None);
2596 _resultobj = Py_None;
2597 return _resultobj;
2598}
2599
2600#define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2601static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
2602 PyObject * _resultobj;
2603 wxIndividualLayoutConstraint * _arg0;
2604 wxWindow * _arg1;
2605 int _arg2 = (int ) 0;
2606 PyObject * _argo0 = 0;
2607 PyObject * _argo1 = 0;
2608 char *_kwnames[] = { "self","otherWin","margin", NULL };
2609
2610 self = self;
2611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames,&_argo0,&_argo1,&_arg2))
2612 return NULL;
2613 if (_argo0) {
2614 if (_argo0 == Py_None) { _arg0 = NULL; }
2615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2617 return NULL;
2618 }
2619 }
2620 if (_argo1) {
2621 if (_argo1 == Py_None) { _arg1 = NULL; }
2622 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2623 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2624 return NULL;
2625 }
2626 }
2627{
2628 wxPy_BEGIN_ALLOW_THREADS;
2629 wxIndividualLayoutConstraint_LeftOf(_arg0,_arg1,_arg2);
2630
2631 wxPy_END_ALLOW_THREADS;
2632} Py_INCREF(Py_None);
2633 _resultobj = Py_None;
2634 return _resultobj;
2635}
2636
2637#define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2638static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
2639 PyObject * _resultobj;
2640 wxIndividualLayoutConstraint * _arg0;
2641 wxWindow * _arg1;
2642 wxEdge _arg2;
2643 int _arg3;
2644 PyObject * _argo0 = 0;
2645 PyObject * _argo1 = 0;
2646 char *_kwnames[] = { "self","otherWin","edge","percent", NULL };
2647
2648 self = self;
2649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2650 return NULL;
2651 if (_argo0) {
2652 if (_argo0 == Py_None) { _arg0 = NULL; }
2653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2655 return NULL;
2656 }
2657 }
2658 if (_argo1) {
2659 if (_argo1 == Py_None) { _arg1 = NULL; }
2660 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2661 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2662 return NULL;
2663 }
2664 }
2665{
2666 wxPy_BEGIN_ALLOW_THREADS;
2667 wxIndividualLayoutConstraint_PercentOf(_arg0,_arg1,_arg2,_arg3);
2668
2669 wxPy_END_ALLOW_THREADS;
2670} Py_INCREF(Py_None);
2671 _resultobj = Py_None;
2672 return _resultobj;
2673}
2674
2675#define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2676static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
2677 PyObject * _resultobj;
2678 wxIndividualLayoutConstraint * _arg0;
2679 wxWindow * _arg1;
2680 int _arg2 = (int ) 0;
2681 PyObject * _argo0 = 0;
2682 PyObject * _argo1 = 0;
2683 char *_kwnames[] = { "self","otherWin","margin", NULL };
2684
2685 self = self;
2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames,&_argo0,&_argo1,&_arg2))
2687 return NULL;
2688 if (_argo0) {
2689 if (_argo0 == Py_None) { _arg0 = NULL; }
2690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2692 return NULL;
2693 }
2694 }
2695 if (_argo1) {
2696 if (_argo1 == Py_None) { _arg1 = NULL; }
2697 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2698 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2699 return NULL;
2700 }
2701 }
2702{
2703 wxPy_BEGIN_ALLOW_THREADS;
2704 wxIndividualLayoutConstraint_RightOf(_arg0,_arg1,_arg2);
2705
2706 wxPy_END_ALLOW_THREADS;
2707} Py_INCREF(Py_None);
2708 _resultobj = Py_None;
2709 return _resultobj;
2710}
2711
2712#define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2713static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
2714 PyObject * _resultobj;
2715 wxIndividualLayoutConstraint * _arg0;
2716 wxWindow * _arg1;
2717 wxEdge _arg2;
2718 int _arg3 = (int ) 0;
2719 PyObject * _argo0 = 0;
2720 PyObject * _argo1 = 0;
2721 char *_kwnames[] = { "self","otherWin","edge","margin", NULL };
2722
2723 self = self;
2724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2725 return NULL;
2726 if (_argo0) {
2727 if (_argo0 == Py_None) { _arg0 = NULL; }
2728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2730 return NULL;
2731 }
2732 }
2733 if (_argo1) {
2734 if (_argo1 == Py_None) { _arg1 = NULL; }
2735 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2736 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2737 return NULL;
2738 }
2739 }
2740{
2741 wxPy_BEGIN_ALLOW_THREADS;
2742 wxIndividualLayoutConstraint_SameAs(_arg0,_arg1,_arg2,_arg3);
2743
2744 wxPy_END_ALLOW_THREADS;
2745} Py_INCREF(Py_None);
2746 _resultobj = Py_None;
2747 return _resultobj;
2748}
2749
2750#define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2751static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject * _resultobj;
2753 wxIndividualLayoutConstraint * _arg0;
2754 wxRelationship _arg1;
2755 wxWindow * _arg2;
2756 wxEdge _arg3;
2757 int _arg4 = (int ) 0;
2758 int _arg5 = (int ) 0;
2759 PyObject * _argo0 = 0;
2760 PyObject * _argo2 = 0;
2761 char *_kwnames[] = { "self","rel","otherWin","otherEdge","value","margin", NULL };
2762
2763 self = self;
2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5))
2765 return NULL;
2766 if (_argo0) {
2767 if (_argo0 == Py_None) { _arg0 = NULL; }
2768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2770 return NULL;
2771 }
2772 }
2773 if (_argo2) {
2774 if (_argo2 == Py_None) { _arg2 = NULL; }
2775 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2776 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2777 return NULL;
2778 }
2779 }
2780{
2781 wxPy_BEGIN_ALLOW_THREADS;
2782 wxIndividualLayoutConstraint_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2783
2784 wxPy_END_ALLOW_THREADS;
2785} Py_INCREF(Py_None);
2786 _resultobj = Py_None;
2787 return _resultobj;
2788}
2789
2790#define new_wxLayoutConstraints() (new wxLayoutConstraints())
2791static PyObject *_wrap_new_wxLayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
2792 PyObject * _resultobj;
2793 wxLayoutConstraints * _result;
2794 char *_kwnames[] = { NULL };
2795 char _ptemp[128];
2796
2797 self = self;
2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutConstraints",_kwnames))
2799 return NULL;
2800{
2801 wxPy_BEGIN_ALLOW_THREADS;
2802 _result = (wxLayoutConstraints *)new_wxLayoutConstraints();
2803
2804 wxPy_END_ALLOW_THREADS;
2805} if (_result) {
2806 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
2807 _resultobj = Py_BuildValue("s",_ptemp);
2808 } else {
2809 Py_INCREF(Py_None);
2810 _resultobj = Py_None;
2811 }
2812 return _resultobj;
2813}
2814
2815#define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2816static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2817 PyObject * _resultobj;
2818 wxIndividualLayoutConstraint * _result;
2819 wxLayoutConstraints * _arg0;
2820 PyObject * _argo0 = 0;
2821 char *_kwnames[] = { "self", NULL };
2822 char _ptemp[128];
2823
2824 self = self;
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_bottom_get",_kwnames,&_argo0))
2826 return NULL;
2827 if (_argo0) {
2828 if (_argo0 == Py_None) { _arg0 = NULL; }
2829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2831 return NULL;
2832 }
2833 }
2834{
2835 wxPy_BEGIN_ALLOW_THREADS;
2836 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_bottom_get(_arg0);
2837
2838 wxPy_END_ALLOW_THREADS;
2839} if (_result) {
2840 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2841 _resultobj = Py_BuildValue("s",_ptemp);
2842 } else {
2843 Py_INCREF(Py_None);
2844 _resultobj = Py_None;
2845 }
2846 return _resultobj;
2847}
2848
2849#define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2850static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2851 PyObject * _resultobj;
2852 wxIndividualLayoutConstraint * _result;
2853 wxLayoutConstraints * _arg0;
2854 PyObject * _argo0 = 0;
2855 char *_kwnames[] = { "self", NULL };
2856 char _ptemp[128];
2857
2858 self = self;
2859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_centreX_get",_kwnames,&_argo0))
2860 return NULL;
2861 if (_argo0) {
2862 if (_argo0 == Py_None) { _arg0 = NULL; }
2863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2865 return NULL;
2866 }
2867 }
2868{
2869 wxPy_BEGIN_ALLOW_THREADS;
2870 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreX_get(_arg0);
2871
2872 wxPy_END_ALLOW_THREADS;
2873} if (_result) {
2874 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2875 _resultobj = Py_BuildValue("s",_ptemp);
2876 } else {
2877 Py_INCREF(Py_None);
2878 _resultobj = Py_None;
2879 }
2880 return _resultobj;
2881}
2882
2883#define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2884static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2885 PyObject * _resultobj;
2886 wxIndividualLayoutConstraint * _result;
2887 wxLayoutConstraints * _arg0;
2888 PyObject * _argo0 = 0;
2889 char *_kwnames[] = { "self", NULL };
2890 char _ptemp[128];
2891
2892 self = self;
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_centreY_get",_kwnames,&_argo0))
2894 return NULL;
2895 if (_argo0) {
2896 if (_argo0 == Py_None) { _arg0 = NULL; }
2897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2899 return NULL;
2900 }
2901 }
2902{
2903 wxPy_BEGIN_ALLOW_THREADS;
2904 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreY_get(_arg0);
2905
2906 wxPy_END_ALLOW_THREADS;
2907} if (_result) {
2908 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2909 _resultobj = Py_BuildValue("s",_ptemp);
2910 } else {
2911 Py_INCREF(Py_None);
2912 _resultobj = Py_None;
2913 }
2914 return _resultobj;
2915}
2916
2917#define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2918static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject * _resultobj;
2920 wxIndividualLayoutConstraint * _result;
2921 wxLayoutConstraints * _arg0;
2922 PyObject * _argo0 = 0;
2923 char *_kwnames[] = { "self", NULL };
2924 char _ptemp[128];
2925
2926 self = self;
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_height_get",_kwnames,&_argo0))
2928 return NULL;
2929 if (_argo0) {
2930 if (_argo0 == Py_None) { _arg0 = NULL; }
2931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2933 return NULL;
2934 }
2935 }
2936{
2937 wxPy_BEGIN_ALLOW_THREADS;
2938 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_height_get(_arg0);
2939
2940 wxPy_END_ALLOW_THREADS;
2941} if (_result) {
2942 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2943 _resultobj = Py_BuildValue("s",_ptemp);
2944 } else {
2945 Py_INCREF(Py_None);
2946 _resultobj = Py_None;
2947 }
2948 return _resultobj;
2949}
2950
2951#define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2952static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2953 PyObject * _resultobj;
2954 wxIndividualLayoutConstraint * _result;
2955 wxLayoutConstraints * _arg0;
2956 PyObject * _argo0 = 0;
2957 char *_kwnames[] = { "self", NULL };
2958 char _ptemp[128];
2959
2960 self = self;
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_left_get",_kwnames,&_argo0))
2962 return NULL;
2963 if (_argo0) {
2964 if (_argo0 == Py_None) { _arg0 = NULL; }
2965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2967 return NULL;
2968 }
2969 }
2970{
2971 wxPy_BEGIN_ALLOW_THREADS;
2972 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_left_get(_arg0);
2973
2974 wxPy_END_ALLOW_THREADS;
2975} if (_result) {
2976 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2977 _resultobj = Py_BuildValue("s",_ptemp);
2978 } else {
2979 Py_INCREF(Py_None);
2980 _resultobj = Py_None;
2981 }
2982 return _resultobj;
2983}
2984
2985#define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2986static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2987 PyObject * _resultobj;
2988 wxIndividualLayoutConstraint * _result;
2989 wxLayoutConstraints * _arg0;
2990 PyObject * _argo0 = 0;
2991 char *_kwnames[] = { "self", NULL };
2992 char _ptemp[128];
2993
2994 self = self;
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_right_get",_kwnames,&_argo0))
2996 return NULL;
2997 if (_argo0) {
2998 if (_argo0 == Py_None) { _arg0 = NULL; }
2999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
3000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3001 return NULL;
3002 }
3003 }
3004{
3005 wxPy_BEGIN_ALLOW_THREADS;
3006 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_right_get(_arg0);
3007
3008 wxPy_END_ALLOW_THREADS;
3009} if (_result) {
3010 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3011 _resultobj = Py_BuildValue("s",_ptemp);
3012 } else {
3013 Py_INCREF(Py_None);
3014 _resultobj = Py_None;
3015 }
3016 return _resultobj;
3017}
3018
3019#define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3020static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3021 PyObject * _resultobj;
3022 wxIndividualLayoutConstraint * _result;
3023 wxLayoutConstraints * _arg0;
3024 PyObject * _argo0 = 0;
3025 char *_kwnames[] = { "self", NULL };
3026 char _ptemp[128];
3027
3028 self = self;
3029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_top_get",_kwnames,&_argo0))
3030 return NULL;
3031 if (_argo0) {
3032 if (_argo0 == Py_None) { _arg0 = NULL; }
3033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
3034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3035 return NULL;
3036 }
3037 }
3038{
3039 wxPy_BEGIN_ALLOW_THREADS;
3040 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_top_get(_arg0);
3041
3042 wxPy_END_ALLOW_THREADS;
3043} if (_result) {
3044 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3045 _resultobj = Py_BuildValue("s",_ptemp);
3046 } else {
3047 Py_INCREF(Py_None);
3048 _resultobj = Py_None;
3049 }
3050 return _resultobj;
3051}
3052
3053#define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3054static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3055 PyObject * _resultobj;
3056 wxIndividualLayoutConstraint * _result;
3057 wxLayoutConstraints * _arg0;
3058 PyObject * _argo0 = 0;
3059 char *_kwnames[] = { "self", NULL };
3060 char _ptemp[128];
3061
3062 self = self;
3063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_width_get",_kwnames,&_argo0))
3064 return NULL;
3065 if (_argo0) {
3066 if (_argo0 == Py_None) { _arg0 = NULL; }
3067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
3068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3069 return NULL;
3070 }
3071 }
3072{
3073 wxPy_BEGIN_ALLOW_THREADS;
3074 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_width_get(_arg0);
3075
3076 wxPy_END_ALLOW_THREADS;
3077} if (_result) {
3078 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3079 _resultobj = Py_BuildValue("s",_ptemp);
3080 } else {
3081 Py_INCREF(Py_None);
3082 _resultobj = Py_None;
3083 }
3084 return _resultobj;
3085}
3086
3087#define new_wxRegion() (new wxRegion())
3088static PyObject *_wrap_new_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
3089 PyObject * _resultobj;
3090 wxRegion * _result;
3091 char *_kwnames[] = { NULL };
3092 char _ptemp[128];
3093
3094 self = self;
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxRegion",_kwnames))
3096 return NULL;
3097{
3098 wxPy_BEGIN_ALLOW_THREADS;
3099 _result = (wxRegion *)new_wxRegion();
3100
3101 wxPy_END_ALLOW_THREADS;
3102} if (_result) {
3103 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p");
3104 _resultobj = Py_BuildValue("s",_ptemp);
3105 } else {
3106 Py_INCREF(Py_None);
3107 _resultobj = Py_None;
3108 }
3109 return _resultobj;
3110}
3111
3112#define delete_wxRegion(_swigobj) (delete _swigobj)
3113static PyObject *_wrap_delete_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
3114 PyObject * _resultobj;
3115 wxRegion * _arg0;
3116 PyObject * _argo0 = 0;
3117 char *_kwnames[] = { "self", NULL };
3118
3119 self = self;
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegion",_kwnames,&_argo0))
3121 return NULL;
3122 if (_argo0) {
3123 if (_argo0 == Py_None) { _arg0 = NULL; }
3124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3126 return NULL;
3127 }
3128 }
3129{
3130 wxPy_BEGIN_ALLOW_THREADS;
3131 delete_wxRegion(_arg0);
3132
3133 wxPy_END_ALLOW_THREADS;
3134} Py_INCREF(Py_None);
3135 _resultobj = Py_None;
3136 return _resultobj;
3137}
3138
3139#define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3140static PyObject *_wrap_wxRegion_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
3141 PyObject * _resultobj;
3142 wxRegion * _arg0;
3143 PyObject * _argo0 = 0;
3144 char *_kwnames[] = { "self", NULL };
3145
3146 self = self;
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_Clear",_kwnames,&_argo0))
3148 return NULL;
3149 if (_argo0) {
3150 if (_argo0 == Py_None) { _arg0 = NULL; }
3151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3153 return NULL;
3154 }
3155 }
3156{
3157 wxPy_BEGIN_ALLOW_THREADS;
3158 wxRegion_Clear(_arg0);
3159
3160 wxPy_END_ALLOW_THREADS;
3161} Py_INCREF(Py_None);
3162 _resultobj = Py_None;
3163 return _resultobj;
3164}
3165
3166#define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3167static PyObject *_wrap_wxRegion_Contains(PyObject *self, PyObject *args, PyObject *kwargs) {
3168 PyObject * _resultobj;
3169 wxRegionContain _result;
3170 wxRegion * _arg0;
3171 long _arg1;
3172 long _arg2;
3173 PyObject * _argo0 = 0;
3174 char *_kwnames[] = { "self","x","y", NULL };
3175
3176 self = self;
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxRegion_Contains",_kwnames,&_argo0,&_arg1,&_arg2))
3178 return NULL;
3179 if (_argo0) {
3180 if (_argo0 == Py_None) { _arg0 = NULL; }
3181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3183 return NULL;
3184 }
3185 }
3186{
3187 wxPy_BEGIN_ALLOW_THREADS;
3188 _result = (wxRegionContain )wxRegion_Contains(_arg0,_arg1,_arg2);
3189
3190 wxPy_END_ALLOW_THREADS;
3191} _resultobj = Py_BuildValue("i",_result);
3192 return _resultobj;
3193}
3194
3195#define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3196static PyObject *_wrap_wxRegion_ContainsPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3197 PyObject * _resultobj;
3198 wxRegionContain _result;
3199 wxRegion * _arg0;
3200 wxPoint * _arg1;
3201 PyObject * _argo0 = 0;
3202 wxPoint temp;
3203 PyObject * _obj1 = 0;
3204 char *_kwnames[] = { "self","pt", NULL };
3205
3206 self = self;
3207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsPoint",_kwnames,&_argo0,&_obj1))
3208 return NULL;
3209 if (_argo0) {
3210 if (_argo0 == Py_None) { _arg0 = NULL; }
3211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3213 return NULL;
3214 }
3215 }
3216{
3217 _arg1 = &temp;
3218 if (! wxPoint_helper(_obj1, &_arg1))
3219 return NULL;
3220}
3221{
3222 wxPy_BEGIN_ALLOW_THREADS;
3223 _result = (wxRegionContain )wxRegion_ContainsPoint(_arg0,*_arg1);
3224
3225 wxPy_END_ALLOW_THREADS;
3226} _resultobj = Py_BuildValue("i",_result);
3227 return _resultobj;
3228}
3229
3230#define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3231static PyObject *_wrap_wxRegion_ContainsRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3232 PyObject * _resultobj;
3233 wxRegionContain _result;
3234 wxRegion * _arg0;
3235 wxRect * _arg1;
3236 PyObject * _argo0 = 0;
3237 wxRect temp;
3238 PyObject * _obj1 = 0;
3239 char *_kwnames[] = { "self","rect", NULL };
3240
3241 self = self;
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsRect",_kwnames,&_argo0,&_obj1))
3243 return NULL;
3244 if (_argo0) {
3245 if (_argo0 == Py_None) { _arg0 = NULL; }
3246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3248 return NULL;
3249 }
3250 }
3251{
3252 _arg1 = &temp;
3253 if (! wxRect_helper(_obj1, &_arg1))
3254 return NULL;
3255}
3256{
3257 wxPy_BEGIN_ALLOW_THREADS;
3258 _result = (wxRegionContain )wxRegion_ContainsRect(_arg0,*_arg1);
3259
3260 wxPy_END_ALLOW_THREADS;
3261} _resultobj = Py_BuildValue("i",_result);
3262 return _resultobj;
3263}
3264
3265#define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3266static PyObject *_wrap_wxRegion_ContainsRectDim(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject * _resultobj;
3268 wxRegionContain _result;
3269 wxRegion * _arg0;
3270 long _arg1;
3271 long _arg2;
3272 long _arg3;
3273 long _arg4;
3274 PyObject * _argo0 = 0;
3275 char *_kwnames[] = { "self","x","y","w","h", NULL };
3276
3277 self = self;
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_ContainsRectDim",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3279 return NULL;
3280 if (_argo0) {
3281 if (_argo0 == Py_None) { _arg0 = NULL; }
3282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3284 return NULL;
3285 }
3286 }
3287{
3288 wxPy_BEGIN_ALLOW_THREADS;
3289 _result = (wxRegionContain )wxRegion_ContainsRectDim(_arg0,_arg1,_arg2,_arg3,_arg4);
3290
3291 wxPy_END_ALLOW_THREADS;
3292} _resultobj = Py_BuildValue("i",_result);
3293 return _resultobj;
3294}
3295
3296#define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3297static PyObject *_wrap_wxRegion_GetBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3298 PyObject * _resultobj;
3299 wxRect * _result;
3300 wxRegion * _arg0;
3301 PyObject * _argo0 = 0;
3302 char *_kwnames[] = { "self", NULL };
3303 char _ptemp[128];
3304
3305 self = self;
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_GetBox",_kwnames,&_argo0))
3307 return NULL;
3308 if (_argo0) {
3309 if (_argo0 == Py_None) { _arg0 = NULL; }
3310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3312 return NULL;
3313 }
3314 }
3315{
3316 wxPy_BEGIN_ALLOW_THREADS;
3317 _result = new wxRect (wxRegion_GetBox(_arg0));
3318
3319 wxPy_END_ALLOW_THREADS;
3320} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
3321 _resultobj = Py_BuildValue("s",_ptemp);
3322 return _resultobj;
3323}
3324
3325#define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3326static PyObject *_wrap_wxRegion_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
3327 PyObject * _resultobj;
3328 bool _result;
3329 wxRegion * _arg0;
3330 long _arg1;
3331 long _arg2;
3332 long _arg3;
3333 long _arg4;
3334 PyObject * _argo0 = 0;
3335 char *_kwnames[] = { "self","x","y","width","height", NULL };
3336
3337 self = self;
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Intersect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3339 return NULL;
3340 if (_argo0) {
3341 if (_argo0 == Py_None) { _arg0 = NULL; }
3342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3344 return NULL;
3345 }
3346 }
3347{
3348 wxPy_BEGIN_ALLOW_THREADS;
3349 _result = (bool )wxRegion_Intersect(_arg0,_arg1,_arg2,_arg3,_arg4);
3350
3351 wxPy_END_ALLOW_THREADS;
3352} _resultobj = Py_BuildValue("i",_result);
3353 return _resultobj;
3354}
3355
3356#define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3357static PyObject *_wrap_wxRegion_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject * _resultobj;
3359 bool _result;
3360 wxRegion * _arg0;
3361 wxRect * _arg1;
3362 PyObject * _argo0 = 0;
3363 wxRect temp;
3364 PyObject * _obj1 = 0;
3365 char *_kwnames[] = { "self","rect", NULL };
3366
3367 self = self;
3368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRect",_kwnames,&_argo0,&_obj1))
3369 return NULL;
3370 if (_argo0) {
3371 if (_argo0 == Py_None) { _arg0 = NULL; }
3372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3374 return NULL;
3375 }
3376 }
3377{
3378 _arg1 = &temp;
3379 if (! wxRect_helper(_obj1, &_arg1))
3380 return NULL;
3381}
3382{
3383 wxPy_BEGIN_ALLOW_THREADS;
3384 _result = (bool )wxRegion_IntersectRect(_arg0,*_arg1);
3385
3386 wxPy_END_ALLOW_THREADS;
3387} _resultobj = Py_BuildValue("i",_result);
3388 return _resultobj;
3389}
3390
3391#define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3392static PyObject *_wrap_wxRegion_IntersectRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
3393 PyObject * _resultobj;
3394 bool _result;
3395 wxRegion * _arg0;
3396 wxRegion * _arg1;
3397 PyObject * _argo0 = 0;
3398 PyObject * _argo1 = 0;
3399 char *_kwnames[] = { "self","region", NULL };
3400
3401 self = self;
3402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRegion",_kwnames,&_argo0,&_argo1))
3403 return NULL;
3404 if (_argo0) {
3405 if (_argo0 == Py_None) { _arg0 = NULL; }
3406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3408 return NULL;
3409 }
3410 }
3411 if (_argo1) {
3412 if (_argo1 == Py_None) { _arg1 = NULL; }
3413 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
3414 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3415 return NULL;
3416 }
3417 }
3418{
3419 wxPy_BEGIN_ALLOW_THREADS;
3420 _result = (bool )wxRegion_IntersectRegion(_arg0,*_arg1);
3421
3422 wxPy_END_ALLOW_THREADS;
3423} _resultobj = Py_BuildValue("i",_result);
3424 return _resultobj;
3425}
3426
3427#define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3428static PyObject *_wrap_wxRegion_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject * _resultobj;
3430 bool _result;
3431 wxRegion * _arg0;
3432 PyObject * _argo0 = 0;
3433 char *_kwnames[] = { "self", NULL };
3434
3435 self = self;
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_IsEmpty",_kwnames,&_argo0))
3437 return NULL;
3438 if (_argo0) {
3439 if (_argo0 == Py_None) { _arg0 = NULL; }
3440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3442 return NULL;
3443 }
3444 }
3445{
3446 wxPy_BEGIN_ALLOW_THREADS;
3447 _result = (bool )wxRegion_IsEmpty(_arg0);
3448
3449 wxPy_END_ALLOW_THREADS;
3450} _resultobj = Py_BuildValue("i",_result);
3451 return _resultobj;
3452}
3453
3454#define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3455static PyObject *_wrap_wxRegion_Union(PyObject *self, PyObject *args, PyObject *kwargs) {
3456 PyObject * _resultobj;
3457 bool _result;
3458 wxRegion * _arg0;
3459 long _arg1;
3460 long _arg2;
3461 long _arg3;
3462 long _arg4;
3463 PyObject * _argo0 = 0;
3464 char *_kwnames[] = { "self","x","y","width","height", NULL };
3465
3466 self = self;
3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Union",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3468 return NULL;
3469 if (_argo0) {
3470 if (_argo0 == Py_None) { _arg0 = NULL; }
3471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3473 return NULL;
3474 }
3475 }
3476{
3477 wxPy_BEGIN_ALLOW_THREADS;
3478 _result = (bool )wxRegion_Union(_arg0,_arg1,_arg2,_arg3,_arg4);
3479
3480 wxPy_END_ALLOW_THREADS;
3481} _resultobj = Py_BuildValue("i",_result);
3482 return _resultobj;
3483}
3484
3485#define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3486static PyObject *_wrap_wxRegion_UnionRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3487 PyObject * _resultobj;
3488 bool _result;
3489 wxRegion * _arg0;
3490 wxRect * _arg1;
3491 PyObject * _argo0 = 0;
3492 wxRect temp;
3493 PyObject * _obj1 = 0;
3494 char *_kwnames[] = { "self","rect", NULL };
3495
3496 self = self;
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRect",_kwnames,&_argo0,&_obj1))
3498 return NULL;
3499 if (_argo0) {
3500 if (_argo0 == Py_None) { _arg0 = NULL; }
3501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3503 return NULL;
3504 }
3505 }
3506{
3507 _arg1 = &temp;
3508 if (! wxRect_helper(_obj1, &_arg1))
3509 return NULL;
3510}
3511{
3512 wxPy_BEGIN_ALLOW_THREADS;
3513 _result = (bool )wxRegion_UnionRect(_arg0,*_arg1);
3514
3515 wxPy_END_ALLOW_THREADS;
3516} _resultobj = Py_BuildValue("i",_result);
3517 return _resultobj;
3518}
3519
3520#define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3521static PyObject *_wrap_wxRegion_UnionRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
3522 PyObject * _resultobj;
3523 bool _result;
3524 wxRegion * _arg0;
3525 wxRegion * _arg1;
3526 PyObject * _argo0 = 0;
3527 PyObject * _argo1 = 0;
3528 char *_kwnames[] = { "self","region", NULL };
3529
3530 self = self;
3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRegion",_kwnames,&_argo0,&_argo1))
3532 return NULL;
3533 if (_argo0) {
3534 if (_argo0 == Py_None) { _arg0 = NULL; }
3535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3537 return NULL;
3538 }
3539 }
3540 if (_argo1) {
3541 if (_argo1 == Py_None) { _arg1 = NULL; }
3542 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
3543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3544 return NULL;
3545 }
3546 }
3547{
3548 wxPy_BEGIN_ALLOW_THREADS;
3549 _result = (bool )wxRegion_UnionRegion(_arg0,*_arg1);
3550
3551 wxPy_END_ALLOW_THREADS;
3552} _resultobj = Py_BuildValue("i",_result);
3553 return _resultobj;
3554}
3555
3556#define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3557static PyObject *_wrap_wxRegion_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
3558 PyObject * _resultobj;
3559 bool _result;
3560 wxRegion * _arg0;
3561 long _arg1;
3562 long _arg2;
3563 long _arg3;
3564 long _arg4;
3565 PyObject * _argo0 = 0;
3566 char *_kwnames[] = { "self","x","y","width","height", NULL };
3567
3568 self = self;
3569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Subtract",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3570 return NULL;
3571 if (_argo0) {
3572 if (_argo0 == Py_None) { _arg0 = NULL; }
3573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3575 return NULL;
3576 }
3577 }
3578{
3579 wxPy_BEGIN_ALLOW_THREADS;
3580 _result = (bool )wxRegion_Subtract(_arg0,_arg1,_arg2,_arg3,_arg4);
3581
3582 wxPy_END_ALLOW_THREADS;
3583} _resultobj = Py_BuildValue("i",_result);
3584 return _resultobj;
3585}
3586
3587#define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3588static PyObject *_wrap_wxRegion_SubtractRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3589 PyObject * _resultobj;
3590 bool _result;
3591 wxRegion * _arg0;
3592 wxRect * _arg1;
3593 PyObject * _argo0 = 0;
3594 wxRect temp;
3595 PyObject * _obj1 = 0;
3596 char *_kwnames[] = { "self","rect", NULL };
3597
3598 self = self;
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRect",_kwnames,&_argo0,&_obj1))
3600 return NULL;
3601 if (_argo0) {
3602 if (_argo0 == Py_None) { _arg0 = NULL; }
3603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
3605 return NULL;
3606 }
3607 }
3608{
3609 _arg1 = &temp;
3610 if (! wxRect_helper(_obj1, &_arg1))
3611 return NULL;
3612}
3613{
3614 wxPy_BEGIN_ALLOW_THREADS;
3615 _result = (bool )wxRegion_SubtractRect(_arg0,*_arg1);
3616
3617 wxPy_END_ALLOW_THREADS;
3618} _resultobj = Py_BuildValue("i",_result);
3619 return _resultobj;
3620}
3621
3622#define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3623static PyObject *_wrap_wxRegion_SubtractRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
3624 PyObject * _resultobj;
3625 bool _result;
3626 wxRegion * _arg0;
3627 wxRegion * _arg1;
3628 PyObject * _argo0 = 0;
3629 PyObject * _argo1 = 0;
3630 char *_kwnames[] = { "self","region", NULL };
3631
3632 self = self;
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRegion",_kwnames,&_argo0,&_argo1))
3634 return NULL;
3635 if (_argo0) {
3636 if (_argo0 == Py_None) { _arg0 = NULL; }
3637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
3639 return NULL;
3640 }
3641 }
3642 if (_argo1) {
3643 if (_argo1 == Py_None) { _arg1 = NULL; }
3644 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
3645 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
3646 return NULL;
3647 }
3648 }
3649{
3650 wxPy_BEGIN_ALLOW_THREADS;
3651 _result = (bool )wxRegion_SubtractRegion(_arg0,*_arg1);
3652
3653 wxPy_END_ALLOW_THREADS;
3654} _resultobj = Py_BuildValue("i",_result);
3655 return _resultobj;
3656}
3657
3658#define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3659static PyObject *_wrap_wxRegion_Xor(PyObject *self, PyObject *args, PyObject *kwargs) {
3660 PyObject * _resultobj;
3661 bool _result;
3662 wxRegion * _arg0;
3663 long _arg1;
3664 long _arg2;
3665 long _arg3;
3666 long _arg4;
3667 PyObject * _argo0 = 0;
3668 char *_kwnames[] = { "self","x","y","width","height", NULL };
3669
3670 self = self;
3671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Xor",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3672 return NULL;
3673 if (_argo0) {
3674 if (_argo0 == Py_None) { _arg0 = NULL; }
3675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3677 return NULL;
3678 }
3679 }
3680{
3681 wxPy_BEGIN_ALLOW_THREADS;
3682 _result = (bool )wxRegion_Xor(_arg0,_arg1,_arg2,_arg3,_arg4);
3683
3684 wxPy_END_ALLOW_THREADS;
3685} _resultobj = Py_BuildValue("i",_result);
3686 return _resultobj;
3687}
3688
3689#define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3690static PyObject *_wrap_wxRegion_XorRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3691 PyObject * _resultobj;
3692 bool _result;
3693 wxRegion * _arg0;
3694 wxRect * _arg1;
3695 PyObject * _argo0 = 0;
3696 wxRect temp;
3697 PyObject * _obj1 = 0;
3698 char *_kwnames[] = { "self","rect", NULL };
3699
3700 self = self;
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRect",_kwnames,&_argo0,&_obj1))
3702 return NULL;
3703 if (_argo0) {
3704 if (_argo0 == Py_None) { _arg0 = NULL; }
3705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
3707 return NULL;
3708 }
3709 }
3710{
3711 _arg1 = &temp;
3712 if (! wxRect_helper(_obj1, &_arg1))
3713 return NULL;
3714}
3715{
3716 wxPy_BEGIN_ALLOW_THREADS;
3717 _result = (bool )wxRegion_XorRect(_arg0,*_arg1);
3718
3719 wxPy_END_ALLOW_THREADS;
3720} _resultobj = Py_BuildValue("i",_result);
3721 return _resultobj;
3722}
3723
3724#define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3725static PyObject *_wrap_wxRegion_XorRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
3726 PyObject * _resultobj;
3727 bool _result;
3728 wxRegion * _arg0;
3729 wxRegion * _arg1;
3730 PyObject * _argo0 = 0;
3731 PyObject * _argo1 = 0;
3732 char *_kwnames[] = { "self","region", NULL };
3733
3734 self = self;
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRegion",_kwnames,&_argo0,&_argo1))
3736 return NULL;
3737 if (_argo0) {
3738 if (_argo0 == Py_None) { _arg0 = NULL; }
3739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
3741 return NULL;
3742 }
3743 }
3744 if (_argo1) {
3745 if (_argo1 == Py_None) { _arg1 = NULL; }
3746 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
3747 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
3748 return NULL;
3749 }
3750 }
3751{
3752 wxPy_BEGIN_ALLOW_THREADS;
3753 _result = (bool )wxRegion_XorRegion(_arg0,*_arg1);
3754
3755 wxPy_END_ALLOW_THREADS;
3756} _resultobj = Py_BuildValue("i",_result);
3757 return _resultobj;
3758}
3759
3760#define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3761static PyObject *_wrap_new_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
3762 PyObject * _resultobj;
3763 wxRegionIterator * _result;
3764 wxRegion * _arg0;
3765 PyObject * _argo0 = 0;
3766 char *_kwnames[] = { "region", NULL };
3767 char _ptemp[128];
3768
3769 self = self;
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxRegionIterator",_kwnames,&_argo0))
3771 return NULL;
3772 if (_argo0) {
3773 if (_argo0 == Py_None) { _arg0 = NULL; }
3774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
3775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3776 return NULL;
3777 }
3778 }
3779{
3780 wxPy_BEGIN_ALLOW_THREADS;
3781 _result = (wxRegionIterator *)new_wxRegionIterator(*_arg0);
3782
3783 wxPy_END_ALLOW_THREADS;
3784} if (_result) {
3785 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegionIterator_p");
3786 _resultobj = Py_BuildValue("s",_ptemp);
3787 } else {
3788 Py_INCREF(Py_None);
3789 _resultobj = Py_None;
3790 }
3791 return _resultobj;
3792}
3793
3794#define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3795static PyObject *_wrap_delete_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject * _resultobj;
3797 wxRegionIterator * _arg0;
3798 PyObject * _argo0 = 0;
3799 char *_kwnames[] = { "self", NULL };
3800
3801 self = self;
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegionIterator",_kwnames,&_argo0))
3803 return NULL;
3804 if (_argo0) {
3805 if (_argo0 == Py_None) { _arg0 = NULL; }
3806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
3807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3808 return NULL;
3809 }
3810 }
3811{
3812 wxPy_BEGIN_ALLOW_THREADS;
3813 delete_wxRegionIterator(_arg0);
3814
3815 wxPy_END_ALLOW_THREADS;
3816} Py_INCREF(Py_None);
3817 _resultobj = Py_None;
3818 return _resultobj;
3819}
3820
3821#define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3822static PyObject *_wrap_wxRegionIterator_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject * _resultobj;
3824 long _result;
3825 wxRegionIterator * _arg0;
3826 PyObject * _argo0 = 0;
3827 char *_kwnames[] = { "self", NULL };
3828
3829 self = self;
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetX",_kwnames,&_argo0))
3831 return NULL;
3832 if (_argo0) {
3833 if (_argo0 == Py_None) { _arg0 = NULL; }
3834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
3835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3836 return NULL;
3837 }
3838 }
3839{
3840 wxPy_BEGIN_ALLOW_THREADS;
3841 _result = (long )wxRegionIterator_GetX(_arg0);
3842
3843 wxPy_END_ALLOW_THREADS;
3844} _resultobj = Py_BuildValue("l",_result);
3845 return _resultobj;
3846}
3847
3848#define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3849static PyObject *_wrap_wxRegionIterator_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject * _resultobj;
3851 long _result;
3852 wxRegionIterator * _arg0;
3853 PyObject * _argo0 = 0;
3854 char *_kwnames[] = { "self", NULL };
3855
3856 self = self;
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetY",_kwnames,&_argo0))
3858 return NULL;
3859 if (_argo0) {
3860 if (_argo0 == Py_None) { _arg0 = NULL; }
3861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
3862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3863 return NULL;
3864 }
3865 }
3866{
3867 wxPy_BEGIN_ALLOW_THREADS;
3868 _result = (long )wxRegionIterator_GetY(_arg0);
3869
3870 wxPy_END_ALLOW_THREADS;
3871} _resultobj = Py_BuildValue("l",_result);
3872 return _resultobj;
3873}
3874
3875#define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3876static PyObject *_wrap_wxRegionIterator_GetW(PyObject *self, PyObject *args, PyObject *kwargs) {
3877 PyObject * _resultobj;
3878 long _result;
3879 wxRegionIterator * _arg0;
3880 PyObject * _argo0 = 0;
3881 char *_kwnames[] = { "self", NULL };
3882
3883 self = self;
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetW",_kwnames,&_argo0))
3885 return NULL;
3886 if (_argo0) {
3887 if (_argo0 == Py_None) { _arg0 = NULL; }
3888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
3889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3890 return NULL;
3891 }
3892 }
3893{
3894 wxPy_BEGIN_ALLOW_THREADS;
3895 _result = (long )wxRegionIterator_GetW(_arg0);
3896
3897 wxPy_END_ALLOW_THREADS;
3898} _resultobj = Py_BuildValue("l",_result);
3899 return _resultobj;
3900}
3901
3902#define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3903static PyObject *_wrap_wxRegionIterator_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3904 PyObject * _resultobj;
3905 long _result;
3906 wxRegionIterator * _arg0;
3907 PyObject * _argo0 = 0;
3908 char *_kwnames[] = { "self", NULL };
3909
3910 self = self;
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetWidth",_kwnames,&_argo0))
3912 return NULL;
3913 if (_argo0) {
3914 if (_argo0 == Py_None) { _arg0 = NULL; }
3915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
3916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3917 return NULL;
3918 }
3919 }
3920{
3921 wxPy_BEGIN_ALLOW_THREADS;
3922 _result = (long )wxRegionIterator_GetWidth(_arg0);
3923
3924 wxPy_END_ALLOW_THREADS;
3925} _resultobj = Py_BuildValue("l",_result);
3926 return _resultobj;
3927}
3928
3929#define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3930static PyObject *_wrap_wxRegionIterator_GetH(PyObject *self, PyObject *args, PyObject *kwargs) {
3931 PyObject * _resultobj;
3932 long _result;
3933 wxRegionIterator * _arg0;
3934 PyObject * _argo0 = 0;
3935 char *_kwnames[] = { "self", NULL };
3936
3937 self = self;
3938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetH",_kwnames,&_argo0))
3939 return NULL;
3940 if (_argo0) {
3941 if (_argo0 == Py_None) { _arg0 = NULL; }
3942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
3943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3944 return NULL;
3945 }
3946 }
3947{
3948 wxPy_BEGIN_ALLOW_THREADS;
3949 _result = (long )wxRegionIterator_GetH(_arg0);
3950
3951 wxPy_END_ALLOW_THREADS;
3952} _resultobj = Py_BuildValue("l",_result);
3953 return _resultobj;
3954}
3955
3956#define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3957static PyObject *_wrap_wxRegionIterator_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3958 PyObject * _resultobj;
3959 long _result;
3960 wxRegionIterator * _arg0;
3961 PyObject * _argo0 = 0;
3962 char *_kwnames[] = { "self", NULL };
3963
3964 self = self;
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetHeight",_kwnames,&_argo0))
3966 return NULL;
3967 if (_argo0) {
3968 if (_argo0 == Py_None) { _arg0 = NULL; }
3969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
3970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3971 return NULL;
3972 }
3973 }
3974{
3975 wxPy_BEGIN_ALLOW_THREADS;
3976 _result = (long )wxRegionIterator_GetHeight(_arg0);
3977
3978 wxPy_END_ALLOW_THREADS;
3979} _resultobj = Py_BuildValue("l",_result);
3980 return _resultobj;
3981}
3982
3983#define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3984static PyObject *_wrap_wxRegionIterator_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3985 PyObject * _resultobj;
3986 wxRect * _result;
3987 wxRegionIterator * _arg0;
3988 PyObject * _argo0 = 0;
3989 char *_kwnames[] = { "self", NULL };
3990 char _ptemp[128];
3991
3992 self = self;
3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetRect",_kwnames,&_argo0))
3994 return NULL;
3995 if (_argo0) {
3996 if (_argo0 == Py_None) { _arg0 = NULL; }
3997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
3998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3999 return NULL;
4000 }
4001 }
4002{
4003 wxPy_BEGIN_ALLOW_THREADS;
4004 _result = new wxRect (wxRegionIterator_GetRect(_arg0));
4005
4006 wxPy_END_ALLOW_THREADS;
4007} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
4008 _resultobj = Py_BuildValue("s",_ptemp);
4009 return _resultobj;
4010}
4011
4012#define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4013static PyObject *_wrap_wxRegionIterator_HaveRects(PyObject *self, PyObject *args, PyObject *kwargs) {
4014 PyObject * _resultobj;
4015 bool _result;
4016 wxRegionIterator * _arg0;
4017 PyObject * _argo0 = 0;
4018 char *_kwnames[] = { "self", NULL };
4019
4020 self = self;
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_HaveRects",_kwnames,&_argo0))
4022 return NULL;
4023 if (_argo0) {
4024 if (_argo0 == Py_None) { _arg0 = NULL; }
4025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
4026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4027 return NULL;
4028 }
4029 }
4030{
4031 wxPy_BEGIN_ALLOW_THREADS;
4032 _result = (bool )wxRegionIterator_HaveRects(_arg0);
4033
4034 wxPy_END_ALLOW_THREADS;
4035} _resultobj = Py_BuildValue("i",_result);
4036 return _resultobj;
4037}
4038
4039#define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4040static PyObject *_wrap_wxRegionIterator_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
4041 PyObject * _resultobj;
4042 wxRegionIterator * _arg0;
4043 PyObject * _argo0 = 0;
4044 char *_kwnames[] = { "self", NULL };
4045
4046 self = self;
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Reset",_kwnames,&_argo0))
4048 return NULL;
4049 if (_argo0) {
4050 if (_argo0 == Py_None) { _arg0 = NULL; }
4051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
4052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4053 return NULL;
4054 }
4055 }
4056{
4057 wxPy_BEGIN_ALLOW_THREADS;
4058 wxRegionIterator_Reset(_arg0);
4059
4060 wxPy_END_ALLOW_THREADS;
4061} Py_INCREF(Py_None);
4062 _resultobj = Py_None;
4063 return _resultobj;
4064}
4065
4066static void wxRegionIterator_Next(wxRegionIterator *self) {
4067 (*self) ++;
4068 }
4069static PyObject *_wrap_wxRegionIterator_Next(PyObject *self, PyObject *args, PyObject *kwargs) {
4070 PyObject * _resultobj;
4071 wxRegionIterator * _arg0;
4072 PyObject * _argo0 = 0;
4073 char *_kwnames[] = { "self", NULL };
4074
4075 self = self;
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Next",_kwnames,&_argo0))
4077 return NULL;
4078 if (_argo0) {
4079 if (_argo0 == Py_None) { _arg0 = NULL; }
4080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
4081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4082 return NULL;
4083 }
4084 }
4085{
4086 wxPy_BEGIN_ALLOW_THREADS;
4087 wxRegionIterator_Next(_arg0);
4088
4089 wxPy_END_ALLOW_THREADS;
4090} Py_INCREF(Py_None);
4091 _resultobj = Py_None;
4092 return _resultobj;
4093}
4094
4095#define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4096static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
4097 PyObject * _resultobj;
4098 wxAcceleratorEntry * _result;
4099 int _arg0 = (int ) 0;
4100 int _arg1 = (int ) 0;
4101 int _arg2 = (int ) 0;
4102 char *_kwnames[] = { "flags","keyCode","cmd", NULL };
4103 char _ptemp[128];
4104
4105 self = self;
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxAcceleratorEntry",_kwnames,&_arg0,&_arg1,&_arg2))
4107 return NULL;
4108{
4109 wxPy_BEGIN_ALLOW_THREADS;
4110 _result = (wxAcceleratorEntry *)new_wxAcceleratorEntry(_arg0,_arg1,_arg2);
4111
4112 wxPy_END_ALLOW_THREADS;
4113} if (_result) {
4114 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
4115 _resultobj = Py_BuildValue("s",_ptemp);
4116 } else {
4117 Py_INCREF(Py_None);
4118 _resultobj = Py_None;
4119 }
4120 return _resultobj;
4121}
4122
4123#define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4124static PyObject *_wrap_delete_wxAcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
4125 PyObject * _resultobj;
4126 wxAcceleratorEntry * _arg0;
4127 PyObject * _argo0 = 0;
4128 char *_kwnames[] = { "self", NULL };
4129
4130 self = self;
4131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxAcceleratorEntry",_kwnames,&_argo0))
4132 return NULL;
4133 if (_argo0) {
4134 if (_argo0 == Py_None) { _arg0 = NULL; }
4135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
4136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4137 return NULL;
4138 }
4139 }
4140{
4141 wxPy_BEGIN_ALLOW_THREADS;
4142 delete_wxAcceleratorEntry(_arg0);
4143
4144 wxPy_END_ALLOW_THREADS;
4145} Py_INCREF(Py_None);
4146 _resultobj = Py_None;
4147 return _resultobj;
4148}
4149
4150#define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4151static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4152 PyObject * _resultobj;
4153 wxAcceleratorEntry * _arg0;
4154 int _arg1;
4155 int _arg2;
4156 int _arg3;
4157 PyObject * _argo0 = 0;
4158 char *_kwnames[] = { "self","flags","keyCode","Cmd", NULL };
4159
4160 self = self;
4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxAcceleratorEntry_Set",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4162 return NULL;
4163 if (_argo0) {
4164 if (_argo0 == Py_None) { _arg0 = NULL; }
4165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
4166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4167 return NULL;
4168 }
4169 }
4170{
4171 wxPy_BEGIN_ALLOW_THREADS;
4172 wxAcceleratorEntry_Set(_arg0,_arg1,_arg2,_arg3);
4173
4174 wxPy_END_ALLOW_THREADS;
4175} Py_INCREF(Py_None);
4176 _resultobj = Py_None;
4177 return _resultobj;
4178}
4179
4180#define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4181static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
4182 PyObject * _resultobj;
4183 int _result;
4184 wxAcceleratorEntry * _arg0;
4185 PyObject * _argo0 = 0;
4186 char *_kwnames[] = { "self", NULL };
4187
4188 self = self;
4189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetFlags",_kwnames,&_argo0))
4190 return NULL;
4191 if (_argo0) {
4192 if (_argo0 == Py_None) { _arg0 = NULL; }
4193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
4194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4195 return NULL;
4196 }
4197 }
4198{
4199 wxPy_BEGIN_ALLOW_THREADS;
4200 _result = (int )wxAcceleratorEntry_GetFlags(_arg0);
4201
4202 wxPy_END_ALLOW_THREADS;
4203} _resultobj = Py_BuildValue("i",_result);
4204 return _resultobj;
4205}
4206
4207#define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4208static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4209 PyObject * _resultobj;
4210 int _result;
4211 wxAcceleratorEntry * _arg0;
4212 PyObject * _argo0 = 0;
4213 char *_kwnames[] = { "self", NULL };
4214
4215 self = self;
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetKeyCode",_kwnames,&_argo0))
4217 return NULL;
4218 if (_argo0) {
4219 if (_argo0 == Py_None) { _arg0 = NULL; }
4220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
4221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4222 return NULL;
4223 }
4224 }
4225{
4226 wxPy_BEGIN_ALLOW_THREADS;
4227 _result = (int )wxAcceleratorEntry_GetKeyCode(_arg0);
4228
4229 wxPy_END_ALLOW_THREADS;
4230} _resultobj = Py_BuildValue("i",_result);
4231 return _resultobj;
4232}
4233
4234#define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4235static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
4236 PyObject * _resultobj;
4237 int _result;
4238 wxAcceleratorEntry * _arg0;
4239 PyObject * _argo0 = 0;
4240 char *_kwnames[] = { "self", NULL };
4241
4242 self = self;
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetCommand",_kwnames,&_argo0))
4244 return NULL;
4245 if (_argo0) {
4246 if (_argo0 == Py_None) { _arg0 = NULL; }
4247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
4248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4249 return NULL;
4250 }
4251 }
4252{
4253 wxPy_BEGIN_ALLOW_THREADS;
4254 _result = (int )wxAcceleratorEntry_GetCommand(_arg0);
4255
4256 wxPy_END_ALLOW_THREADS;
4257} _resultobj = Py_BuildValue("i",_result);
4258 return _resultobj;
4259}
4260
4261#define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4262static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject * _resultobj;
4264 wxAcceleratorTable * _result;
4265 int _arg0;
4266 wxAcceleratorEntry * _arg1;
4267 PyObject * _obj1 = 0;
4268 char *_kwnames[] = { "LIST", NULL };
4269 char _ptemp[128];
4270
4271 self = self;
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxAcceleratorTable",_kwnames,&_obj1))
4273 return NULL;
4274 if (_obj1)
4275{
4276 _arg1 = wxAcceleratorEntry_LIST_helper(_obj1);
4277 if (_arg1 == NULL) {
4278 return NULL;
4279 }
4280}
4281{
4282 if (_obj1) {
4283 _arg0 = PyList_Size(_obj1);
4284 }
4285 else {
4286 _arg0 = 0;
4287 }
4288}
4289{
4290 wxPy_BEGIN_ALLOW_THREADS;
4291 _result = (wxAcceleratorTable *)new_wxAcceleratorTable(_arg0,_arg1);
4292
4293 wxPy_END_ALLOW_THREADS;
4294} if (_result) {
4295 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
4296 _resultobj = Py_BuildValue("s",_ptemp);
4297 } else {
4298 Py_INCREF(Py_None);
4299 _resultobj = Py_None;
4300 }
4301{
4302 delete [] _arg1;
4303}
4304 return _resultobj;
4305}
4306
4307#define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4308static PyObject *_wrap_delete_wxAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
4309 PyObject * _resultobj;
4310 wxAcceleratorTable * _arg0;
4311 PyObject * _argo0 = 0;
4312 char *_kwnames[] = { "self", NULL };
4313
4314 self = self;
4315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxAcceleratorTable",_kwnames,&_argo0))
4316 return NULL;
4317 if (_argo0) {
4318 if (_argo0 == Py_None) { _arg0 = NULL; }
4319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorTable_p")) {
4320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4321 return NULL;
4322 }
4323 }
4324{
4325 wxPy_BEGIN_ALLOW_THREADS;
4326 delete_wxAcceleratorTable(_arg0);
4327
4328 wxPy_END_ALLOW_THREADS;
4329} Py_INCREF(Py_None);
4330 _resultobj = Py_None;
4331 return _resultobj;
4332}
4333
4334#define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4335static PyObject *_wrap_new_wxBusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject * _resultobj;
4337 wxBusyInfo * _result;
4338 wxString * _arg0;
4339 PyObject * _obj0 = 0;
4340 char *_kwnames[] = { "message", NULL };
4341 char _ptemp[128];
4342
4343 self = self;
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxBusyInfo",_kwnames,&_obj0))
4345 return NULL;
4346{
4347 if (!PyString_Check(_obj0)) {
4348 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4349 return NULL;
4350 }
4351 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
4352}
4353{
4354 wxPy_BEGIN_ALLOW_THREADS;
4355 _result = (wxBusyInfo *)new_wxBusyInfo(*_arg0);
4356
4357 wxPy_END_ALLOW_THREADS;
4358} if (_result) {
4359 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyInfo_p");
4360 _resultobj = Py_BuildValue("s",_ptemp);
4361 } else {
4362 Py_INCREF(Py_None);
4363 _resultobj = Py_None;
4364 }
4365{
4366 if (_obj0)
4367 delete _arg0;
4368}
4369 return _resultobj;
4370}
4371
4372#define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4373static PyObject *_wrap_delete_wxBusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject * _resultobj;
4375 wxBusyInfo * _arg0;
4376 PyObject * _argo0 = 0;
4377 char *_kwnames[] = { "self", NULL };
4378
4379 self = self;
4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyInfo",_kwnames,&_argo0))
4381 return NULL;
4382 if (_argo0) {
4383 if (_argo0 == Py_None) { _arg0 = NULL; }
4384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyInfo_p")) {
4385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4386 return NULL;
4387 }
4388 }
4389{
4390 wxPy_BEGIN_ALLOW_THREADS;
4391 delete_wxBusyInfo(_arg0);
4392
4393 wxPy_END_ALLOW_THREADS;
4394} Py_INCREF(Py_None);
4395 _resultobj = Py_None;
4396 return _resultobj;
4397}
4398
4399static PyMethodDef misccMethods[] = {
4400 { "delete_wxBusyInfo", (PyCFunction) _wrap_delete_wxBusyInfo, METH_VARARGS | METH_KEYWORDS },
4401 { "new_wxBusyInfo", (PyCFunction) _wrap_new_wxBusyInfo, METH_VARARGS | METH_KEYWORDS },
4402 { "delete_wxAcceleratorTable", (PyCFunction) _wrap_delete_wxAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
4403 { "new_wxAcceleratorTable", (PyCFunction) _wrap_new_wxAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
4404 { "wxAcceleratorEntry_GetCommand", (PyCFunction) _wrap_wxAcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
4405 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_wxAcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
4406 { "wxAcceleratorEntry_GetFlags", (PyCFunction) _wrap_wxAcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
4407 { "wxAcceleratorEntry_Set", (PyCFunction) _wrap_wxAcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
4408 { "delete_wxAcceleratorEntry", (PyCFunction) _wrap_delete_wxAcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
4409 { "new_wxAcceleratorEntry", (PyCFunction) _wrap_new_wxAcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
4410 { "wxRegionIterator_Next", (PyCFunction) _wrap_wxRegionIterator_Next, METH_VARARGS | METH_KEYWORDS },
4411 { "wxRegionIterator_Reset", (PyCFunction) _wrap_wxRegionIterator_Reset, METH_VARARGS | METH_KEYWORDS },
4412 { "wxRegionIterator_HaveRects", (PyCFunction) _wrap_wxRegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS },
4413 { "wxRegionIterator_GetRect", (PyCFunction) _wrap_wxRegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS },
4414 { "wxRegionIterator_GetHeight", (PyCFunction) _wrap_wxRegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS },
4415 { "wxRegionIterator_GetH", (PyCFunction) _wrap_wxRegionIterator_GetH, METH_VARARGS | METH_KEYWORDS },
4416 { "wxRegionIterator_GetWidth", (PyCFunction) _wrap_wxRegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS },
4417 { "wxRegionIterator_GetW", (PyCFunction) _wrap_wxRegionIterator_GetW, METH_VARARGS | METH_KEYWORDS },
4418 { "wxRegionIterator_GetY", (PyCFunction) _wrap_wxRegionIterator_GetY, METH_VARARGS | METH_KEYWORDS },
4419 { "wxRegionIterator_GetX", (PyCFunction) _wrap_wxRegionIterator_GetX, METH_VARARGS | METH_KEYWORDS },
4420 { "delete_wxRegionIterator", (PyCFunction) _wrap_delete_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
4421 { "new_wxRegionIterator", (PyCFunction) _wrap_new_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
4422 { "wxRegion_XorRegion", (PyCFunction) _wrap_wxRegion_XorRegion, METH_VARARGS | METH_KEYWORDS },
4423 { "wxRegion_XorRect", (PyCFunction) _wrap_wxRegion_XorRect, METH_VARARGS | METH_KEYWORDS },
4424 { "wxRegion_Xor", (PyCFunction) _wrap_wxRegion_Xor, METH_VARARGS | METH_KEYWORDS },
4425 { "wxRegion_SubtractRegion", (PyCFunction) _wrap_wxRegion_SubtractRegion, METH_VARARGS | METH_KEYWORDS },
4426 { "wxRegion_SubtractRect", (PyCFunction) _wrap_wxRegion_SubtractRect, METH_VARARGS | METH_KEYWORDS },
4427 { "wxRegion_Subtract", (PyCFunction) _wrap_wxRegion_Subtract, METH_VARARGS | METH_KEYWORDS },
4428 { "wxRegion_UnionRegion", (PyCFunction) _wrap_wxRegion_UnionRegion, METH_VARARGS | METH_KEYWORDS },
4429 { "wxRegion_UnionRect", (PyCFunction) _wrap_wxRegion_UnionRect, METH_VARARGS | METH_KEYWORDS },
4430 { "wxRegion_Union", (PyCFunction) _wrap_wxRegion_Union, METH_VARARGS | METH_KEYWORDS },
4431 { "wxRegion_IsEmpty", (PyCFunction) _wrap_wxRegion_IsEmpty, METH_VARARGS | METH_KEYWORDS },
4432 { "wxRegion_IntersectRegion", (PyCFunction) _wrap_wxRegion_IntersectRegion, METH_VARARGS | METH_KEYWORDS },
4433 { "wxRegion_IntersectRect", (PyCFunction) _wrap_wxRegion_IntersectRect, METH_VARARGS | METH_KEYWORDS },
4434 { "wxRegion_Intersect", (PyCFunction) _wrap_wxRegion_Intersect, METH_VARARGS | METH_KEYWORDS },
4435 { "wxRegion_GetBox", (PyCFunction) _wrap_wxRegion_GetBox, METH_VARARGS | METH_KEYWORDS },
4436 { "wxRegion_ContainsRectDim", (PyCFunction) _wrap_wxRegion_ContainsRectDim, METH_VARARGS | METH_KEYWORDS },
4437 { "wxRegion_ContainsRect", (PyCFunction) _wrap_wxRegion_ContainsRect, METH_VARARGS | METH_KEYWORDS },
4438 { "wxRegion_ContainsPoint", (PyCFunction) _wrap_wxRegion_ContainsPoint, METH_VARARGS | METH_KEYWORDS },
4439 { "wxRegion_Contains", (PyCFunction) _wrap_wxRegion_Contains, METH_VARARGS | METH_KEYWORDS },
4440 { "wxRegion_Clear", (PyCFunction) _wrap_wxRegion_Clear, METH_VARARGS | METH_KEYWORDS },
4441 { "delete_wxRegion", (PyCFunction) _wrap_delete_wxRegion, METH_VARARGS | METH_KEYWORDS },
4442 { "new_wxRegion", (PyCFunction) _wrap_new_wxRegion, METH_VARARGS | METH_KEYWORDS },
4443 { "wxLayoutConstraints_width_get", (PyCFunction) _wrap_wxLayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
4444 { "wxLayoutConstraints_top_get", (PyCFunction) _wrap_wxLayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
4445 { "wxLayoutConstraints_right_get", (PyCFunction) _wrap_wxLayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
4446 { "wxLayoutConstraints_left_get", (PyCFunction) _wrap_wxLayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
4447 { "wxLayoutConstraints_height_get", (PyCFunction) _wrap_wxLayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
4448 { "wxLayoutConstraints_centreY_get", (PyCFunction) _wrap_wxLayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
4449 { "wxLayoutConstraints_centreX_get", (PyCFunction) _wrap_wxLayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
4450 { "wxLayoutConstraints_bottom_get", (PyCFunction) _wrap_wxLayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
4451 { "new_wxLayoutConstraints", (PyCFunction) _wrap_new_wxLayoutConstraints, METH_VARARGS | METH_KEYWORDS },
4452 { "wxIndividualLayoutConstraint_Set", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
4453 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
4454 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
4455 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
4456 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
4457 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
4458 { "wxIndividualLayoutConstraint_Below", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
4459 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_wxIndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
4460 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
4461 { "wxIndividualLayoutConstraint_Above", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
4462 { "wxPyTimer_Stop", (PyCFunction) _wrap_wxPyTimer_Stop, METH_VARARGS | METH_KEYWORDS },
4463 { "wxPyTimer_Start", (PyCFunction) _wrap_wxPyTimer_Start, METH_VARARGS | METH_KEYWORDS },
4464 { "wxPyTimer_IsOneShot", (PyCFunction) _wrap_wxPyTimer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
4465 { "wxPyTimer_GetInterval", (PyCFunction) _wrap_wxPyTimer_GetInterval, METH_VARARGS | METH_KEYWORDS },
4466 { "delete_wxPyTimer", (PyCFunction) _wrap_delete_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
4467 { "new_wxPyTimer", (PyCFunction) _wrap_new_wxPyTimer, METH_VARARGS | METH_KEYWORDS },
4468 { "wxRect_asTuple", (PyCFunction) _wrap_wxRect_asTuple, METH_VARARGS | METH_KEYWORDS },
4469 { "wxRect_height_get", (PyCFunction) _wrap_wxRect_height_get, METH_VARARGS | METH_KEYWORDS },
4470 { "wxRect_height_set", (PyCFunction) _wrap_wxRect_height_set, METH_VARARGS | METH_KEYWORDS },
4471 { "wxRect_width_get", (PyCFunction) _wrap_wxRect_width_get, METH_VARARGS | METH_KEYWORDS },
4472 { "wxRect_width_set", (PyCFunction) _wrap_wxRect_width_set, METH_VARARGS | METH_KEYWORDS },
4473 { "wxRect_y_get", (PyCFunction) _wrap_wxRect_y_get, METH_VARARGS | METH_KEYWORDS },
4474 { "wxRect_y_set", (PyCFunction) _wrap_wxRect_y_set, METH_VARARGS | METH_KEYWORDS },
4475 { "wxRect_x_get", (PyCFunction) _wrap_wxRect_x_get, METH_VARARGS | METH_KEYWORDS },
4476 { "wxRect_x_set", (PyCFunction) _wrap_wxRect_x_set, METH_VARARGS | METH_KEYWORDS },
4477 { "wxRect_SetBottom", (PyCFunction) _wrap_wxRect_SetBottom, METH_VARARGS | METH_KEYWORDS },
4478 { "wxRect_SetTop", (PyCFunction) _wrap_wxRect_SetTop, METH_VARARGS | METH_KEYWORDS },
4479 { "wxRect_SetRight", (PyCFunction) _wrap_wxRect_SetRight, METH_VARARGS | METH_KEYWORDS },
4480 { "wxRect_SetLeft", (PyCFunction) _wrap_wxRect_SetLeft, METH_VARARGS | METH_KEYWORDS },
4481 { "wxRect_GetRight", (PyCFunction) _wrap_wxRect_GetRight, METH_VARARGS | METH_KEYWORDS },
4482 { "wxRect_GetBottom", (PyCFunction) _wrap_wxRect_GetBottom, METH_VARARGS | METH_KEYWORDS },
4483 { "wxRect_GetTop", (PyCFunction) _wrap_wxRect_GetTop, METH_VARARGS | METH_KEYWORDS },
4484 { "wxRect_GetLeft", (PyCFunction) _wrap_wxRect_GetLeft, METH_VARARGS | METH_KEYWORDS },
4485 { "wxRect_GetSize", (PyCFunction) _wrap_wxRect_GetSize, METH_VARARGS | METH_KEYWORDS },
4486 { "wxRect_GetPosition", (PyCFunction) _wrap_wxRect_GetPosition, METH_VARARGS | METH_KEYWORDS },
4487 { "wxRect_SetHeight", (PyCFunction) _wrap_wxRect_SetHeight, METH_VARARGS | METH_KEYWORDS },
4488 { "wxRect_GetHeight", (PyCFunction) _wrap_wxRect_GetHeight, METH_VARARGS | METH_KEYWORDS },
4489 { "wxRect_SetWidth", (PyCFunction) _wrap_wxRect_SetWidth, METH_VARARGS | METH_KEYWORDS },
4490 { "wxRect_GetWidth", (PyCFunction) _wrap_wxRect_GetWidth, METH_VARARGS | METH_KEYWORDS },
4491 { "wxRect_SetY", (PyCFunction) _wrap_wxRect_SetY, METH_VARARGS | METH_KEYWORDS },
4492 { "wxRect_GetY", (PyCFunction) _wrap_wxRect_GetY, METH_VARARGS | METH_KEYWORDS },
4493 { "wxRect_SetX", (PyCFunction) _wrap_wxRect_SetX, METH_VARARGS | METH_KEYWORDS },
4494 { "wxRect_GetX", (PyCFunction) _wrap_wxRect_GetX, METH_VARARGS | METH_KEYWORDS },
4495 { "delete_wxRect", (PyCFunction) _wrap_delete_wxRect, METH_VARARGS | METH_KEYWORDS },
4496 { "new_wxRect", (PyCFunction) _wrap_new_wxRect, METH_VARARGS | METH_KEYWORDS },
4497 { "wxPoint_asTuple", (PyCFunction) _wrap_wxPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
4498 { "wxPoint_Set", (PyCFunction) _wrap_wxPoint_Set, METH_VARARGS | METH_KEYWORDS },
4499 { "delete_wxPoint", (PyCFunction) _wrap_delete_wxPoint, METH_VARARGS | METH_KEYWORDS },
4500 { "new_wxPoint", (PyCFunction) _wrap_new_wxPoint, METH_VARARGS | METH_KEYWORDS },
4501 { "wxPoint_y_get", (PyCFunction) _wrap_wxPoint_y_get, METH_VARARGS | METH_KEYWORDS },
4502 { "wxPoint_y_set", (PyCFunction) _wrap_wxPoint_y_set, METH_VARARGS | METH_KEYWORDS },
4503 { "wxPoint_x_get", (PyCFunction) _wrap_wxPoint_x_get, METH_VARARGS | METH_KEYWORDS },
4504 { "wxPoint_x_set", (PyCFunction) _wrap_wxPoint_x_set, METH_VARARGS | METH_KEYWORDS },
4505 { "wxRealPoint_asTuple", (PyCFunction) _wrap_wxRealPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
4506 { "wxRealPoint_Set", (PyCFunction) _wrap_wxRealPoint_Set, METH_VARARGS | METH_KEYWORDS },
4507 { "delete_wxRealPoint", (PyCFunction) _wrap_delete_wxRealPoint, METH_VARARGS | METH_KEYWORDS },
4508 { "new_wxRealPoint", (PyCFunction) _wrap_new_wxRealPoint, METH_VARARGS | METH_KEYWORDS },
4509 { "wxRealPoint_y_get", (PyCFunction) _wrap_wxRealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
4510 { "wxRealPoint_y_set", (PyCFunction) _wrap_wxRealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
4511 { "wxRealPoint_x_get", (PyCFunction) _wrap_wxRealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
4512 { "wxRealPoint_x_set", (PyCFunction) _wrap_wxRealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
4513 { "wxSize_asTuple", (PyCFunction) _wrap_wxSize_asTuple, METH_VARARGS | METH_KEYWORDS },
4514 { "wxSize_SetHeight", (PyCFunction) _wrap_wxSize_SetHeight, METH_VARARGS | METH_KEYWORDS },
4515 { "wxSize_SetWidth", (PyCFunction) _wrap_wxSize_SetWidth, METH_VARARGS | METH_KEYWORDS },
4516 { "wxSize_GetHeight", (PyCFunction) _wrap_wxSize_GetHeight, METH_VARARGS | METH_KEYWORDS },
4517 { "wxSize_GetWidth", (PyCFunction) _wrap_wxSize_GetWidth, METH_VARARGS | METH_KEYWORDS },
4518 { "wxSize_GetY", (PyCFunction) _wrap_wxSize_GetY, METH_VARARGS | METH_KEYWORDS },
4519 { "wxSize_GetX", (PyCFunction) _wrap_wxSize_GetX, METH_VARARGS | METH_KEYWORDS },
4520 { "wxSize_Set", (PyCFunction) _wrap_wxSize_Set, METH_VARARGS | METH_KEYWORDS },
4521 { "delete_wxSize", (PyCFunction) _wrap_delete_wxSize, METH_VARARGS | METH_KEYWORDS },
4522 { "new_wxSize", (PyCFunction) _wrap_new_wxSize, METH_VARARGS | METH_KEYWORDS },
4523 { "wxSize_height_get", (PyCFunction) _wrap_wxSize_y_get, METH_VARARGS | METH_KEYWORDS },
4524 { "wxSize_height_set", (PyCFunction) _wrap_wxSize_y_set, METH_VARARGS | METH_KEYWORDS },
4525 { "wxSize_width_get", (PyCFunction) _wrap_wxSize_x_get, METH_VARARGS | METH_KEYWORDS },
4526 { "wxSize_width_set", (PyCFunction) _wrap_wxSize_x_set, METH_VARARGS | METH_KEYWORDS },
4527 { "wxSize_y_get", (PyCFunction) _wrap_wxSize_y_get, METH_VARARGS | METH_KEYWORDS },
4528 { "wxSize_y_set", (PyCFunction) _wrap_wxSize_y_set, METH_VARARGS | METH_KEYWORDS },
4529 { "wxSize_x_get", (PyCFunction) _wrap_wxSize_x_get, METH_VARARGS | METH_KEYWORDS },
4530 { "wxSize_x_set", (PyCFunction) _wrap_wxSize_x_set, METH_VARARGS | METH_KEYWORDS },
4531 { "wxStripMenuCodes", (PyCFunction) _wrap_wxStripMenuCodes, METH_VARARGS | METH_KEYWORDS },
4532 { "wxGetResource", (PyCFunction) _wrap_wxGetResource, METH_VARARGS | METH_KEYWORDS },
4533 { "wxEnableTopLevelWindows", (PyCFunction) _wrap_wxEnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
4534 { "wxSafeYield", (PyCFunction) _wrap_wxSafeYield, METH_VARARGS | METH_KEYWORDS },
4535 { "wxYield", (PyCFunction) _wrap_wxYield, METH_VARARGS | METH_KEYWORDS },
4536 { "wxSleep", (PyCFunction) _wrap_wxSleep, METH_VARARGS | METH_KEYWORDS },
4537 { "wxGetOsVersion", (PyCFunction) _wrap_wxGetOsVersion, METH_VARARGS | METH_KEYWORDS },
4538 { "wxStartTimer", (PyCFunction) _wrap_wxStartTimer, METH_VARARGS | METH_KEYWORDS },
4539 { "wxShell", (PyCFunction) _wrap_wxShell, METH_VARARGS | METH_KEYWORDS },
4540 { "wxNow", (PyCFunction) _wrap_wxNow, METH_VARARGS | METH_KEYWORDS },
4541 { "wxIsBusy", (PyCFunction) _wrap_wxIsBusy, METH_VARARGS | METH_KEYWORDS },
4542 { "wxGetMousePosition", (PyCFunction) _wrap_wxGetMousePosition, METH_VARARGS | METH_KEYWORDS },
4543 { "wxGetFreeMemory", (PyCFunction) _wrap_wxGetFreeMemory, METH_VARARGS | METH_KEYWORDS },
4544 { "wxGetElapsedTime", (PyCFunction) _wrap_wxGetElapsedTime, METH_VARARGS | METH_KEYWORDS },
4545 { "wxExecute", (PyCFunction) _wrap_wxExecute, METH_VARARGS | METH_KEYWORDS },
4546 { "wxEndBusyCursor", (PyCFunction) _wrap_wxEndBusyCursor, METH_VARARGS | METH_KEYWORDS },
4547 { "wxDisplaySize", (PyCFunction) _wrap_wxDisplaySize, METH_VARARGS | METH_KEYWORDS },
4548 { "wxBell", (PyCFunction) _wrap_wxBell, METH_VARARGS | METH_KEYWORDS },
4549 { "RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
4550 { "NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
4551 { "wxRegisterId", (PyCFunction) _wrap_wxRegisterId, METH_VARARGS | METH_KEYWORDS },
4552 { "wxNewId", (PyCFunction) _wrap_wxNewId, METH_VARARGS | METH_KEYWORDS },
4553 { "wxIntersectRect", (PyCFunction) _wrap_wxIntersectRect, METH_VARARGS | METH_KEYWORDS },
4554 { NULL, NULL }
4555};
4556#ifdef __cplusplus
4557}
4558#endif
4559/*
4560 * This table is used by the pointer type-checker
4561 */
4562static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
4563 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4564 { "_signed_long","_long",0},
4565 { "_wxPrintQuality","_wxCoord",0},
4566 { "_wxPrintQuality","_int",0},
4567 { "_wxPrintQuality","_signed_int",0},
4568 { "_wxPrintQuality","_unsigned_int",0},
4569 { "_wxPrintQuality","_wxWindowID",0},
4570 { "_wxPrintQuality","_uint",0},
4571 { "_wxPrintQuality","_EBool",0},
4572 { "_wxPrintQuality","_size_t",0},
4573 { "_class_wxRegionIterator","_wxRegionIterator",0},
4574 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4575 { "_byte","_unsigned_char",0},
4576 { "_long","_unsigned_long",0},
4577 { "_long","_signed_long",0},
4578 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4579 { "_size_t","_wxCoord",0},
4580 { "_size_t","_wxPrintQuality",0},
4581 { "_size_t","_unsigned_int",0},
4582 { "_size_t","_int",0},
4583 { "_size_t","_wxWindowID",0},
4584 { "_size_t","_uint",0},
4585 { "_class_wxRealPoint","_wxRealPoint",0},
4586 { "_uint","_wxCoord",0},
4587 { "_uint","_wxPrintQuality",0},
4588 { "_uint","_size_t",0},
4589 { "_uint","_unsigned_int",0},
4590 { "_uint","_int",0},
4591 { "_uint","_wxWindowID",0},
4592 { "_wxRect","_class_wxRect",0},
4593 { "_wxPoint","_class_wxPoint",0},
4594 { "_wxPyTimer","_class_wxPyTimer",0},
4595 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4596 { "_EBool","_wxCoord",0},
4597 { "_EBool","_wxPrintQuality",0},
4598 { "_EBool","_signed_int",0},
4599 { "_EBool","_int",0},
4600 { "_EBool","_wxWindowID",0},
4601 { "_class_wxRegion","_wxRegion",0},
4602 { "_unsigned_long","_long",0},
4603 { "_class_wxRect","_wxRect",0},
4604 { "_class_wxPyTimer","_wxPyTimer",0},
4605 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4606 { "_signed_int","_wxCoord",0},
4607 { "_signed_int","_wxPrintQuality",0},
4608 { "_signed_int","_EBool",0},
4609 { "_signed_int","_wxWindowID",0},
4610 { "_signed_int","_int",0},
4611 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4612 { "_WXTYPE","_short",0},
4613 { "_WXTYPE","_signed_short",0},
4614 { "_WXTYPE","_unsigned_short",0},
4615 { "_unsigned_short","_WXTYPE",0},
4616 { "_unsigned_short","_short",0},
4617 { "_wxBusyInfo","_class_wxBusyInfo",0},
4618 { "_class_wxPoint","_wxPoint",0},
4619 { "_wxRealPoint","_class_wxRealPoint",0},
4620 { "_signed_short","_WXTYPE",0},
4621 { "_signed_short","_short",0},
4622 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4623 { "_unsigned_char","_byte",0},
4624 { "_unsigned_int","_wxCoord",0},
4625 { "_unsigned_int","_wxPrintQuality",0},
4626 { "_unsigned_int","_size_t",0},
4627 { "_unsigned_int","_uint",0},
4628 { "_unsigned_int","_wxWindowID",0},
4629 { "_unsigned_int","_int",0},
4630 { "_short","_WXTYPE",0},
4631 { "_short","_unsigned_short",0},
4632 { "_short","_signed_short",0},
4633 { "_wxWindowID","_wxCoord",0},
4634 { "_wxWindowID","_wxPrintQuality",0},
4635 { "_wxWindowID","_size_t",0},
4636 { "_wxWindowID","_EBool",0},
4637 { "_wxWindowID","_uint",0},
4638 { "_wxWindowID","_int",0},
4639 { "_wxWindowID","_signed_int",0},
4640 { "_wxWindowID","_unsigned_int",0},
4641 { "_int","_wxCoord",0},
4642 { "_int","_wxPrintQuality",0},
4643 { "_int","_size_t",0},
4644 { "_int","_EBool",0},
4645 { "_int","_uint",0},
4646 { "_int","_wxWindowID",0},
4647 { "_int","_unsigned_int",0},
4648 { "_int","_signed_int",0},
4649 { "_wxSize","_class_wxSize",0},
4650 { "_wxRegionIterator","_class_wxRegionIterator",0},
4651 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4652 { "_wxCoord","_int",0},
4653 { "_wxCoord","_signed_int",0},
4654 { "_wxCoord","_unsigned_int",0},
4655 { "_wxCoord","_wxWindowID",0},
4656 { "_wxCoord","_uint",0},
4657 { "_wxCoord","_EBool",0},
4658 { "_wxCoord","_size_t",0},
4659 { "_wxCoord","_wxPrintQuality",0},
4660 { "_wxRegion","_class_wxRegion",0},
4661 { "_class_wxBusyInfo","_wxBusyInfo",0},
4662 { "_class_wxSize","_wxSize",0},
4663{0,0,0}};
4664
4665static PyObject *SWIG_globals;
4666#ifdef __cplusplus
4667extern "C"
4668#endif
4669SWIGEXPORT(void) initmiscc() {
4670 PyObject *m, *d;
4671 SWIG_globals = SWIG_newvarlink();
4672 m = Py_InitModule("miscc", misccMethods);
4673 d = PyModule_GetDict(m);
4674 PyDict_SetItemString(d,"wxLeft", PyInt_FromLong((long) wxLeft));
4675 PyDict_SetItemString(d,"wxTop", PyInt_FromLong((long) wxTop));
4676 PyDict_SetItemString(d,"wxRight", PyInt_FromLong((long) wxRight));
4677 PyDict_SetItemString(d,"wxBottom", PyInt_FromLong((long) wxBottom));
4678 PyDict_SetItemString(d,"wxWidth", PyInt_FromLong((long) wxWidth));
4679 PyDict_SetItemString(d,"wxHeight", PyInt_FromLong((long) wxHeight));
4680 PyDict_SetItemString(d,"wxCentre", PyInt_FromLong((long) wxCentre));
4681 PyDict_SetItemString(d,"wxCenter", PyInt_FromLong((long) wxCenter));
4682 PyDict_SetItemString(d,"wxCentreX", PyInt_FromLong((long) wxCentreX));
4683 PyDict_SetItemString(d,"wxCentreY", PyInt_FromLong((long) wxCentreY));
4684 PyDict_SetItemString(d,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained));
4685 PyDict_SetItemString(d,"wxAsIs", PyInt_FromLong((long) wxAsIs));
4686 PyDict_SetItemString(d,"wxPercentOf", PyInt_FromLong((long) wxPercentOf));
4687 PyDict_SetItemString(d,"wxAbove", PyInt_FromLong((long) wxAbove));
4688 PyDict_SetItemString(d,"wxBelow", PyInt_FromLong((long) wxBelow));
4689 PyDict_SetItemString(d,"wxLeftOf", PyInt_FromLong((long) wxLeftOf));
4690 PyDict_SetItemString(d,"wxRightOf", PyInt_FromLong((long) wxRightOf));
4691 PyDict_SetItemString(d,"wxSameAs", PyInt_FromLong((long) wxSameAs));
4692 PyDict_SetItemString(d,"wxAbsolute", PyInt_FromLong((long) wxAbsolute));
4693 PyDict_SetItemString(d,"wxOutRegion", PyInt_FromLong((long) wxOutRegion));
4694 PyDict_SetItemString(d,"wxPartRegion", PyInt_FromLong((long) wxPartRegion));
4695 PyDict_SetItemString(d,"wxInRegion", PyInt_FromLong((long) wxInRegion));
4696{
4697 int i;
4698 for (i = 0; _swig_mapping[i].n1; i++)
4699 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
4700}
4701}