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