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