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