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