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