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