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