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