]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/misc.cpp
Tweaks needed to be able to build wxPython with wxGTK.
[wxWidgets.git] / utils / wxPython / src / gtk / misc.cpp
1 /*
2 * FILE : gtk/misc.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (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
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 PyObject* o3;
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 char * _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 _result = (char *)wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8);
148 _resultobj = Py_BuildValue("s", _result);
149 return _resultobj;
150 }
151
152 static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args) {
153 PyObject * _resultobj;
154 wxString * _result;
155 wxString * _arg0;
156 wxString * _arg1 = &wxPyEmptyStr;
157 wxString * _arg2 = &wxPyEmptyStr;
158 wxWindow * _arg3 = NULL;
159 int _arg4 = -1;
160 int _arg5 = -1;
161 bool _arg6 = (1);
162 PyObject * _obj0 = 0;
163 PyObject * _obj1 = 0;
164 PyObject * _obj2 = 0;
165 char * _argc3 = 0;
166 int tempbool6;
167
168 self = self;
169 if(!PyArg_ParseTuple(args,"O|OOsiii:wxGetTextFromUser",&_obj0,&_obj1,&_obj2,&_argc3,&_arg4,&_arg5,&tempbool6))
170 return NULL;
171 {
172 if (!PyString_Check(_obj0)) {
173 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
174 return NULL;
175 }
176 _arg0 = new wxString(PyString_AsString(_obj0));
177 }
178 if (_obj1)
179 {
180 if (!PyString_Check(_obj1)) {
181 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
182 return NULL;
183 }
184 _arg1 = new wxString(PyString_AsString(_obj1));
185 }
186 if (_obj2)
187 {
188 if (!PyString_Check(_obj2)) {
189 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
190 return NULL;
191 }
192 _arg2 = new wxString(PyString_AsString(_obj2));
193 }
194 if (_argc3) {
195 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxWindow_p")) {
196 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
197 return NULL;
198 }
199 }
200 _arg6 = (bool ) tempbool6;
201 _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6));
202 {
203 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
204 }
205 {
206 if (_obj0)
207 delete _arg0;
208 }
209 {
210 if (_obj1)
211 delete _arg1;
212 }
213 {
214 if (_obj2)
215 delete _arg2;
216 }
217 {
218 delete _result;
219 }
220 return _resultobj;
221 }
222
223 static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args) {
224 PyObject * _resultobj;
225 wxString * _result;
226 wxString * _arg0;
227 wxString * _arg1;
228 int _arg2;
229 wxString * _arg3;
230 wxWindow * _arg4 = NULL;
231 int _arg5 = -1;
232 int _arg6 = -1;
233 bool _arg7 = (1);
234 int _arg8 = 150;
235 int _arg9 = 200;
236 PyObject * _obj0 = 0;
237 PyObject * _obj1 = 0;
238 PyObject * _obj3 = 0;
239 char * _argc4 = 0;
240 int tempbool7;
241
242 self = self;
243 if(!PyArg_ParseTuple(args,"OOO|siiiii:wxGetSingleChoice",&_obj0,&_obj1,&_obj3,&_argc4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
244 return NULL;
245 {
246 if (!PyString_Check(_obj0)) {
247 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
248 return NULL;
249 }
250 _arg0 = new wxString(PyString_AsString(_obj0));
251 }
252 {
253 if (!PyString_Check(_obj1)) {
254 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
255 return NULL;
256 }
257 _arg1 = new wxString(PyString_AsString(_obj1));
258 }
259 if (_obj3)
260 {
261 _arg3 = wxString_LIST_helper(_obj3);
262 if (_arg3 == NULL) {
263 return NULL;
264 }
265 }
266 if (_argc4) {
267 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxWindow_p")) {
268 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
269 return NULL;
270 }
271 }
272 _arg7 = (bool ) tempbool7;
273 {
274 _arg2 = PyList_Size(_obj3);
275 }
276 _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9));
277 {
278 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
279 }
280 {
281 if (_obj0)
282 delete _arg0;
283 }
284 {
285 if (_obj1)
286 delete _arg1;
287 }
288 {
289 delete [] _arg3;
290 }
291 {
292 delete _result;
293 }
294 return _resultobj;
295 }
296
297 static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args) {
298 PyObject * _resultobj;
299 int _result;
300 wxString * _arg0;
301 wxString * _arg1;
302 int _arg2;
303 wxString * _arg3;
304 wxWindow * _arg4 = NULL;
305 int _arg5 = -1;
306 int _arg6 = -1;
307 bool _arg7 = (1);
308 int _arg8 = 150;
309 int _arg9 = 200;
310 PyObject * _obj0 = 0;
311 PyObject * _obj1 = 0;
312 PyObject * _obj3 = 0;
313 char * _argc4 = 0;
314 int tempbool7;
315
316 self = self;
317 if(!PyArg_ParseTuple(args,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0,&_obj1,&_obj3,&_argc4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
318 return NULL;
319 {
320 if (!PyString_Check(_obj0)) {
321 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
322 return NULL;
323 }
324 _arg0 = new wxString(PyString_AsString(_obj0));
325 }
326 {
327 if (!PyString_Check(_obj1)) {
328 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
329 return NULL;
330 }
331 _arg1 = new wxString(PyString_AsString(_obj1));
332 }
333 if (_obj3)
334 {
335 _arg3 = wxString_LIST_helper(_obj3);
336 if (_arg3 == NULL) {
337 return NULL;
338 }
339 }
340 if (_argc4) {
341 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxWindow_p")) {
342 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
343 return NULL;
344 }
345 }
346 _arg7 = (bool ) tempbool7;
347 {
348 _arg2 = PyList_Size(_obj3);
349 }
350 _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
351 _resultobj = Py_BuildValue("i",_result);
352 {
353 if (_obj0)
354 delete _arg0;
355 }
356 {
357 if (_obj1)
358 delete _arg1;
359 }
360 {
361 delete [] _arg3;
362 }
363 return _resultobj;
364 }
365
366 static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args) {
367 PyObject * _resultobj;
368 int _result;
369 wxString * _arg0;
370 wxString * _arg1 = &wxPyEmptyStr;
371 int _arg2 = (wxOK)|(wxCENTRE);
372 wxWindow * _arg3 = NULL;
373 int _arg4 = -1;
374 int _arg5 = -1;
375 PyObject * _obj0 = 0;
376 PyObject * _obj1 = 0;
377 char * _argc3 = 0;
378
379 self = self;
380 if(!PyArg_ParseTuple(args,"O|Oisii:wxMessageBox",&_obj0,&_obj1,&_arg2,&_argc3,&_arg4,&_arg5))
381 return NULL;
382 {
383 if (!PyString_Check(_obj0)) {
384 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
385 return NULL;
386 }
387 _arg0 = new wxString(PyString_AsString(_obj0));
388 }
389 if (_obj1)
390 {
391 if (!PyString_Check(_obj1)) {
392 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
393 return NULL;
394 }
395 _arg1 = new wxString(PyString_AsString(_obj1));
396 }
397 if (_argc3) {
398 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxWindow_p")) {
399 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
400 return NULL;
401 }
402 }
403 _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
404 _resultobj = Py_BuildValue("i",_result);
405 {
406 if (_obj0)
407 delete _arg0;
408 }
409 {
410 if (_obj1)
411 delete _arg1;
412 }
413 return _resultobj;
414 }
415
416 static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args) {
417 PyObject * _resultobj;
418 bool _result;
419
420 self = self;
421 if(!PyArg_ParseTuple(args,":wxColourDisplay"))
422 return NULL;
423 _result = (bool )wxColourDisplay();
424 _resultobj = Py_BuildValue("i",_result);
425 return _resultobj;
426 }
427
428 static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args) {
429 PyObject * _resultobj;
430 int _result;
431
432 self = self;
433 if(!PyArg_ParseTuple(args,":wxDisplayDepth"))
434 return NULL;
435 _result = (int )wxDisplayDepth();
436 _resultobj = Py_BuildValue("i",_result);
437 return _resultobj;
438 }
439
440 static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args) {
441 PyObject * _resultobj;
442 wxCursor * _arg0;
443 char * _argc0 = 0;
444
445 self = self;
446 if(!PyArg_ParseTuple(args,"s:wxSetCursor",&_argc0))
447 return NULL;
448 if (_argc0) {
449 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) {
450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
451 return NULL;
452 }
453 }
454 wxSetCursor(*_arg0);
455 Py_INCREF(Py_None);
456 _resultobj = Py_None;
457 return _resultobj;
458 }
459
460 static PyObject *_wrap_NewId(PyObject *self, PyObject *args) {
461 PyObject * _resultobj;
462 long _result;
463
464 self = self;
465 if(!PyArg_ParseTuple(args,":NewId"))
466 return NULL;
467 _result = (long )NewId();
468 _resultobj = Py_BuildValue("l",_result);
469 return _resultobj;
470 }
471
472 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args) {
473 PyObject * _resultobj;
474 long _arg0;
475
476 self = self;
477 if(!PyArg_ParseTuple(args,"l:RegisterId",&_arg0))
478 return NULL;
479 RegisterId(_arg0);
480 Py_INCREF(Py_None);
481 _resultobj = Py_None;
482 return _resultobj;
483 }
484
485 static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args) {
486 PyObject * _resultobj;
487 wxCursor * _arg0 = wxHOURGLASS_CURSOR;
488 char * _argc0 = 0;
489
490 self = self;
491 if(!PyArg_ParseTuple(args,"|s:wxBeginBusyCursor",&_argc0))
492 return NULL;
493 if (_argc0) {
494 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
496 return NULL;
497 }
498 }
499 wxBeginBusyCursor(_arg0);
500 Py_INCREF(Py_None);
501 _resultobj = Py_None;
502 return _resultobj;
503 }
504
505 static PyObject *_wrap_wxBell(PyObject *self, PyObject *args) {
506 PyObject * _resultobj;
507
508 self = self;
509 if(!PyArg_ParseTuple(args,":wxBell"))
510 return NULL;
511 wxBell();
512 Py_INCREF(Py_None);
513 _resultobj = Py_None;
514 return _resultobj;
515 }
516
517 static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args) {
518 PyObject * _resultobj;
519 int * _arg0;
520 int temp;
521 int * _arg1;
522 int temp0;
523
524 self = self;
525 {
526 _arg0 = &temp;
527 }
528 {
529 _arg1 = &temp0;
530 }
531 if(!PyArg_ParseTuple(args,":wxDisplaySize"))
532 return NULL;
533 wxDisplaySize(_arg0,_arg1);
534 Py_INCREF(Py_None);
535 _resultobj = Py_None;
536 {
537 PyObject *o;
538 o = PyInt_FromLong((long) (*_arg0));
539 _resultobj = t_output_helper(_resultobj, o);
540 }
541 {
542 PyObject *o;
543 o = PyInt_FromLong((long) (*_arg1));
544 _resultobj = t_output_helper(_resultobj, o);
545 }
546 return _resultobj;
547 }
548
549 static PyObject *_wrap_wxEndBusyCursor(PyObject *self, PyObject *args) {
550 PyObject * _resultobj;
551
552 self = self;
553 if(!PyArg_ParseTuple(args,":wxEndBusyCursor"))
554 return NULL;
555 wxEndBusyCursor();
556 Py_INCREF(Py_None);
557 _resultobj = Py_None;
558 return _resultobj;
559 }
560
561 static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args) {
562 PyObject * _resultobj;
563 long _result;
564 wxString * _arg0;
565 bool _arg1 = (0);
566 PyObject * _obj0 = 0;
567 int tempbool1;
568
569 self = self;
570 if(!PyArg_ParseTuple(args,"O|i:wxExecute",&_obj0,&tempbool1))
571 return NULL;
572 {
573 if (!PyString_Check(_obj0)) {
574 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
575 return NULL;
576 }
577 _arg0 = new wxString(PyString_AsString(_obj0));
578 }
579 _arg1 = (bool ) tempbool1;
580 _result = (long )wxExecute(*_arg0,_arg1);
581 _resultobj = Py_BuildValue("l",_result);
582 {
583 if (_obj0)
584 delete _arg0;
585 }
586 return _resultobj;
587 }
588
589 static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
590 PyObject * _resultobj;
591 wxWindow * _result;
592 wxString * _arg0;
593 wxWindow * _arg1 = NULL;
594 PyObject * _obj0 = 0;
595 char * _argc1 = 0;
596 char _ptemp[128];
597
598 self = self;
599 if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByLabel",&_obj0,&_argc1))
600 return NULL;
601 {
602 if (!PyString_Check(_obj0)) {
603 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
604 return NULL;
605 }
606 _arg0 = new wxString(PyString_AsString(_obj0));
607 }
608 if (_argc1) {
609 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
610 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
611 return NULL;
612 }
613 }
614 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
615 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
616 _resultobj = Py_BuildValue("s",_ptemp);
617 {
618 if (_obj0)
619 delete _arg0;
620 }
621 return _resultobj;
622 }
623
624 static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
625 PyObject * _resultobj;
626 wxWindow * _result;
627 wxString * _arg0;
628 wxWindow * _arg1 = NULL;
629 PyObject * _obj0 = 0;
630 char * _argc1 = 0;
631 char _ptemp[128];
632
633 self = self;
634 if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByName",&_obj0,&_argc1))
635 return NULL;
636 {
637 if (!PyString_Check(_obj0)) {
638 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
639 return NULL;
640 }
641 _arg0 = new wxString(PyString_AsString(_obj0));
642 }
643 if (_argc1) {
644 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
645 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
646 return NULL;
647 }
648 }
649 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
650 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
651 _resultobj = Py_BuildValue("s",_ptemp);
652 {
653 if (_obj0)
654 delete _arg0;
655 }
656 return _resultobj;
657 }
658
659 static PyObject *_wrap_wxGetMousePosition(PyObject *self, PyObject *args) {
660 PyObject * _resultobj;
661 int * _arg0;
662 int temp;
663 int * _arg1;
664 int temp0;
665
666 self = self;
667 {
668 _arg0 = &temp;
669 }
670 {
671 _arg1 = &temp0;
672 }
673 if(!PyArg_ParseTuple(args,":wxGetMousePosition"))
674 return NULL;
675 wxGetMousePosition(_arg0,_arg1);
676 Py_INCREF(Py_None);
677 _resultobj = Py_None;
678 {
679 PyObject *o;
680 o = PyInt_FromLong((long) (*_arg0));
681 _resultobj = t_output_helper(_resultobj, o);
682 }
683 {
684 PyObject *o;
685 o = PyInt_FromLong((long) (*_arg1));
686 _resultobj = t_output_helper(_resultobj, o);
687 }
688 return _resultobj;
689 }
690
691 static PyObject *_wrap_wxIsBusy(PyObject *self, PyObject *args) {
692 PyObject * _resultobj;
693 bool _result;
694
695 self = self;
696 if(!PyArg_ParseTuple(args,":wxIsBusy"))
697 return NULL;
698 _result = (bool )wxIsBusy();
699 _resultobj = Py_BuildValue("i",_result);
700 return _resultobj;
701 }
702
703 static PyObject *_wrap_wxNow(PyObject *self, PyObject *args) {
704 PyObject * _resultobj;
705 wxString * _result;
706
707 self = self;
708 if(!PyArg_ParseTuple(args,":wxNow"))
709 return NULL;
710 _result = new wxString (wxNow());
711 {
712 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
713 }
714 {
715 delete _result;
716 }
717 return _resultobj;
718 }
719
720 static PyObject *_wrap_wxYield(PyObject *self, PyObject *args) {
721 PyObject * _resultobj;
722 bool _result;
723
724 self = self;
725 if(!PyArg_ParseTuple(args,":wxYield"))
726 return NULL;
727 _result = (bool )wxYield();
728 _resultobj = Py_BuildValue("i",_result);
729 return _resultobj;
730 }
731
732 static PyObject *_wrap_wxGetResource(PyObject *self, PyObject *args) {
733 PyObject * _resultobj;
734 char * _result;
735 char * _arg0;
736 char * _arg1;
737 char * _arg2 = NULL;
738
739 self = self;
740 if(!PyArg_ParseTuple(args,"ss|s:wxGetResource",&_arg0,&_arg1,&_arg2))
741 return NULL;
742 _result = (char *)wxGetResource(_arg0,_arg1,_arg2);
743 _resultobj = Py_BuildValue("s", _result);
744 return _resultobj;
745 }
746
747 static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args) {
748 PyObject * _resultobj;
749 bool _result;
750 char * _arg0;
751 int _arg1;
752
753 self = self;
754 if(!PyArg_ParseTuple(args,"si:wxResourceAddIdentifier",&_arg0,&_arg1))
755 return NULL;
756 _result = (bool )wxResourceAddIdentifier(_arg0,_arg1);
757 _resultobj = Py_BuildValue("i",_result);
758 return _resultobj;
759 }
760
761 static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args) {
762 PyObject * _resultobj;
763
764 self = self;
765 if(!PyArg_ParseTuple(args,":wxResourceClear"))
766 return NULL;
767 wxResourceClear();
768 Py_INCREF(Py_None);
769 _resultobj = Py_None;
770 return _resultobj;
771 }
772
773 static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args) {
774 PyObject * _resultobj;
775 wxBitmap * _result;
776 char * _arg0;
777 char _ptemp[128];
778
779 self = self;
780 if(!PyArg_ParseTuple(args,"s:wxResourceCreateBitmap",&_arg0))
781 return NULL;
782 _result = new wxBitmap (wxResourceCreateBitmap(_arg0));
783 SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
784 _resultobj = Py_BuildValue("s",_ptemp);
785 return _resultobj;
786 }
787
788 static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args) {
789 PyObject * _resultobj;
790 wxIcon * _result;
791 char * _arg0;
792 char _ptemp[128];
793
794 self = self;
795 if(!PyArg_ParseTuple(args,"s:wxResourceCreateIcon",&_arg0))
796 return NULL;
797 _result = new wxIcon (wxResourceCreateIcon(_arg0));
798 SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
799 _resultobj = Py_BuildValue("s",_ptemp);
800 return _resultobj;
801 }
802
803 static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args) {
804 PyObject * _resultobj;
805 wxMenuBar * _result;
806 char * _arg0;
807 char _ptemp[128];
808
809 self = self;
810 if(!PyArg_ParseTuple(args,"s:wxResourceCreateMenuBar",&_arg0))
811 return NULL;
812 _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0);
813 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
814 _resultobj = Py_BuildValue("s",_ptemp);
815 return _resultobj;
816 }
817
818 static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args) {
819 PyObject * _resultobj;
820 int _result;
821 char * _arg0;
822
823 self = self;
824 if(!PyArg_ParseTuple(args,"s:wxResourceGetIdentifier",&_arg0))
825 return NULL;
826 _result = (int )wxResourceGetIdentifier(_arg0);
827 _resultobj = Py_BuildValue("i",_result);
828 return _resultobj;
829 }
830
831 static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args) {
832 PyObject * _resultobj;
833 bool _result;
834 char * _arg0;
835 wxResourceTable * _arg1 = NULL;
836 char * _argc1 = 0;
837
838 self = self;
839 if(!PyArg_ParseTuple(args,"s|s:wxResourceParseData",&_arg0,&_argc1))
840 return NULL;
841 if (_argc1) {
842 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) {
843 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
844 return NULL;
845 }
846 }
847 _result = (bool )wxResourceParseData(_arg0,_arg1);
848 _resultobj = Py_BuildValue("i",_result);
849 return _resultobj;
850 }
851
852 static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args) {
853 PyObject * _resultobj;
854 bool _result;
855 char * _arg0;
856 wxResourceTable * _arg1 = NULL;
857 char * _argc1 = 0;
858
859 self = self;
860 if(!PyArg_ParseTuple(args,"s|s:wxResourceParseFile",&_arg0,&_argc1))
861 return NULL;
862 if (_argc1) {
863 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) {
864 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
865 return NULL;
866 }
867 }
868 _result = (bool )wxResourceParseFile(_arg0,_arg1);
869 _resultobj = Py_BuildValue("i",_result);
870 return _resultobj;
871 }
872
873 static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args) {
874 PyObject * _resultobj;
875 bool _result;
876 char * _arg0;
877 wxResourceTable * _arg1 = NULL;
878 char * _argc1 = 0;
879
880 self = self;
881 if(!PyArg_ParseTuple(args,"s|s:wxResourceParseString",&_arg0,&_argc1))
882 return NULL;
883 if (_argc1) {
884 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) {
885 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
886 return NULL;
887 }
888 }
889 _result = (bool )wxResourceParseString(_arg0,_arg1);
890 _resultobj = Py_BuildValue("i",_result);
891 return _resultobj;
892 }
893
894 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
895 static PyObject *_wrap_wxSize_width_set(PyObject *self, PyObject *args) {
896 PyObject * _resultobj;
897 long _result;
898 wxSize * _arg0;
899 long _arg1;
900 char * _argc0 = 0;
901
902 self = self;
903 if(!PyArg_ParseTuple(args,"sl:wxSize_width_set",&_argc0,&_arg1))
904 return NULL;
905 if (_argc0) {
906 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_width_set. Expected _wxSize_p.");
908 return NULL;
909 }
910 }
911 _result = (long )wxSize_x_set(_arg0,_arg1);
912 _resultobj = Py_BuildValue("l",_result);
913 return _resultobj;
914 }
915
916 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
917 static PyObject *_wrap_wxSize_width_get(PyObject *self, PyObject *args) {
918 PyObject * _resultobj;
919 long _result;
920 wxSize * _arg0;
921 char * _argc0 = 0;
922
923 self = self;
924 if(!PyArg_ParseTuple(args,"s:wxSize_width_get",&_argc0))
925 return NULL;
926 if (_argc0) {
927 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_width_get. Expected _wxSize_p.");
929 return NULL;
930 }
931 }
932 _result = (long )wxSize_x_get(_arg0);
933 _resultobj = Py_BuildValue("l",_result);
934 return _resultobj;
935 }
936
937 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
938 static PyObject *_wrap_wxSize_height_set(PyObject *self, PyObject *args) {
939 PyObject * _resultobj;
940 long _result;
941 wxSize * _arg0;
942 long _arg1;
943 char * _argc0 = 0;
944
945 self = self;
946 if(!PyArg_ParseTuple(args,"sl:wxSize_height_set",&_argc0,&_arg1))
947 return NULL;
948 if (_argc0) {
949 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_height_set. Expected _wxSize_p.");
951 return NULL;
952 }
953 }
954 _result = (long )wxSize_y_set(_arg0,_arg1);
955 _resultobj = Py_BuildValue("l",_result);
956 return _resultobj;
957 }
958
959 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
960 static PyObject *_wrap_wxSize_height_get(PyObject *self, PyObject *args) {
961 PyObject * _resultobj;
962 long _result;
963 wxSize * _arg0;
964 char * _argc0 = 0;
965
966 self = self;
967 if(!PyArg_ParseTuple(args,"s:wxSize_height_get",&_argc0))
968 return NULL;
969 if (_argc0) {
970 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_height_get. Expected _wxSize_p.");
972 return NULL;
973 }
974 }
975 _result = (long )wxSize_y_get(_arg0);
976 _resultobj = Py_BuildValue("l",_result);
977 return _resultobj;
978 }
979
980 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
981 static PyObject *_wrap_new_wxSize(PyObject *self, PyObject *args) {
982 PyObject * _resultobj;
983 wxSize * _result;
984 long _arg0 = 0;
985 long _arg1 = 0;
986 char _ptemp[128];
987
988 self = self;
989 if(!PyArg_ParseTuple(args,"|ll:new_wxSize",&_arg0,&_arg1))
990 return NULL;
991 _result = (wxSize *)new_wxSize(_arg0,_arg1);
992 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p");
993 _resultobj = Py_BuildValue("s",_ptemp);
994 return _resultobj;
995 }
996
997 #define delete_wxSize(_swigobj) (delete _swigobj)
998 static PyObject *_wrap_delete_wxSize(PyObject *self, PyObject *args) {
999 PyObject * _resultobj;
1000 wxSize * _arg0;
1001 char * _argc0 = 0;
1002
1003 self = self;
1004 if(!PyArg_ParseTuple(args,"s:delete_wxSize",&_argc0))
1005 return NULL;
1006 if (_argc0) {
1007 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1009 return NULL;
1010 }
1011 }
1012 delete_wxSize(_arg0);
1013 Py_INCREF(Py_None);
1014 _resultobj = Py_None;
1015 return _resultobj;
1016 }
1017
1018 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1019 static PyObject *_wrap_wxSize_Set(PyObject *self, PyObject *args) {
1020 PyObject * _resultobj;
1021 wxSize * _arg0;
1022 long _arg1;
1023 long _arg2;
1024 char * _argc0 = 0;
1025
1026 self = self;
1027 if(!PyArg_ParseTuple(args,"sll:wxSize_Set",&_argc0,&_arg1,&_arg2))
1028 return NULL;
1029 if (_argc0) {
1030 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1032 return NULL;
1033 }
1034 }
1035 wxSize_Set(_arg0,_arg1,_arg2);
1036 Py_INCREF(Py_None);
1037 _resultobj = Py_None;
1038 return _resultobj;
1039 }
1040
1041 #define wxSize_GetWidth(_swigobj) (_swigobj->GetX())
1042 static PyObject *_wrap_wxSize_GetWidth(PyObject *self, PyObject *args) {
1043 PyObject * _resultobj;
1044 long _result;
1045 wxSize * _arg0;
1046 char * _argc0 = 0;
1047
1048 self = self;
1049 if(!PyArg_ParseTuple(args,"s:wxSize_GetWidth",&_argc0))
1050 return NULL;
1051 if (_argc0) {
1052 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1054 return NULL;
1055 }
1056 }
1057 _result = (long )wxSize_GetWidth(_arg0);
1058 _resultobj = Py_BuildValue("l",_result);
1059 return _resultobj;
1060 }
1061
1062 #define wxSize_GetHeight(_swigobj) (_swigobj->GetY())
1063 static PyObject *_wrap_wxSize_GetHeight(PyObject *self, PyObject *args) {
1064 PyObject * _resultobj;
1065 long _result;
1066 wxSize * _arg0;
1067 char * _argc0 = 0;
1068
1069 self = self;
1070 if(!PyArg_ParseTuple(args,"s:wxSize_GetHeight",&_argc0))
1071 return NULL;
1072 if (_argc0) {
1073 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1075 return NULL;
1076 }
1077 }
1078 _result = (long )wxSize_GetHeight(_arg0);
1079 _resultobj = Py_BuildValue("l",_result);
1080 return _resultobj;
1081 }
1082
1083 static PyObject * wxSize___str__(wxSize *self) {
1084 PyObject* tup = PyTuple_New(2);
1085 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1086 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1087 return tup;
1088 }
1089 static PyObject *_wrap_wxSize___str__(PyObject *self, PyObject *args) {
1090 PyObject * _resultobj;
1091 PyObject * _result;
1092 wxSize * _arg0;
1093 char * _argc0 = 0;
1094
1095 self = self;
1096 if(!PyArg_ParseTuple(args,"s:wxSize___str__",&_argc0))
1097 return NULL;
1098 if (_argc0) {
1099 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize___str__. Expected _wxSize_p.");
1101 return NULL;
1102 }
1103 }
1104 _result = (PyObject *)wxSize___str__(_arg0);
1105 {
1106 _resultobj = _result;
1107 }
1108 return _resultobj;
1109 }
1110
1111 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1112 static PyObject *_wrap_wxRealPoint_x_set(PyObject *self, PyObject *args) {
1113 PyObject * _resultobj;
1114 double _result;
1115 wxRealPoint * _arg0;
1116 double _arg1;
1117 char * _argc0 = 0;
1118
1119 self = self;
1120 if(!PyArg_ParseTuple(args,"sd:wxRealPoint_x_set",&_argc0,&_arg1))
1121 return NULL;
1122 if (_argc0) {
1123 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1125 return NULL;
1126 }
1127 }
1128 _result = (double )wxRealPoint_x_set(_arg0,_arg1);
1129 _resultobj = Py_BuildValue("d",_result);
1130 return _resultobj;
1131 }
1132
1133 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1134 static PyObject *_wrap_wxRealPoint_x_get(PyObject *self, PyObject *args) {
1135 PyObject * _resultobj;
1136 double _result;
1137 wxRealPoint * _arg0;
1138 char * _argc0 = 0;
1139
1140 self = self;
1141 if(!PyArg_ParseTuple(args,"s:wxRealPoint_x_get",&_argc0))
1142 return NULL;
1143 if (_argc0) {
1144 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1146 return NULL;
1147 }
1148 }
1149 _result = (double )wxRealPoint_x_get(_arg0);
1150 _resultobj = Py_BuildValue("d",_result);
1151 return _resultobj;
1152 }
1153
1154 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1155 static PyObject *_wrap_wxRealPoint_y_set(PyObject *self, PyObject *args) {
1156 PyObject * _resultobj;
1157 double _result;
1158 wxRealPoint * _arg0;
1159 double _arg1;
1160 char * _argc0 = 0;
1161
1162 self = self;
1163 if(!PyArg_ParseTuple(args,"sd:wxRealPoint_y_set",&_argc0,&_arg1))
1164 return NULL;
1165 if (_argc0) {
1166 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1168 return NULL;
1169 }
1170 }
1171 _result = (double )wxRealPoint_y_set(_arg0,_arg1);
1172 _resultobj = Py_BuildValue("d",_result);
1173 return _resultobj;
1174 }
1175
1176 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1177 static PyObject *_wrap_wxRealPoint_y_get(PyObject *self, PyObject *args) {
1178 PyObject * _resultobj;
1179 double _result;
1180 wxRealPoint * _arg0;
1181 char * _argc0 = 0;
1182
1183 self = self;
1184 if(!PyArg_ParseTuple(args,"s:wxRealPoint_y_get",&_argc0))
1185 return NULL;
1186 if (_argc0) {
1187 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1189 return NULL;
1190 }
1191 }
1192 _result = (double )wxRealPoint_y_get(_arg0);
1193 _resultobj = Py_BuildValue("d",_result);
1194 return _resultobj;
1195 }
1196
1197 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1198 static PyObject *_wrap_new_wxRealPoint(PyObject *self, PyObject *args) {
1199 PyObject * _resultobj;
1200 wxRealPoint * _result;
1201 double _arg0 = 0.0;
1202 double _arg1 = 0.0;
1203 char _ptemp[128];
1204
1205 self = self;
1206 if(!PyArg_ParseTuple(args,"|dd:new_wxRealPoint",&_arg0,&_arg1))
1207 return NULL;
1208 _result = (wxRealPoint *)new_wxRealPoint(_arg0,_arg1);
1209 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p");
1210 _resultobj = Py_BuildValue("s",_ptemp);
1211 return _resultobj;
1212 }
1213
1214 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1215 static PyObject *_wrap_delete_wxRealPoint(PyObject *self, PyObject *args) {
1216 PyObject * _resultobj;
1217 wxRealPoint * _arg0;
1218 char * _argc0 = 0;
1219
1220 self = self;
1221 if(!PyArg_ParseTuple(args,"s:delete_wxRealPoint",&_argc0))
1222 return NULL;
1223 if (_argc0) {
1224 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1226 return NULL;
1227 }
1228 }
1229 delete_wxRealPoint(_arg0);
1230 Py_INCREF(Py_None);
1231 _resultobj = Py_None;
1232 return _resultobj;
1233 }
1234
1235 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1236 static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args) {
1237 PyObject * _resultobj;
1238 long _result;
1239 wxPoint * _arg0;
1240 long _arg1;
1241 char * _argc0 = 0;
1242
1243 self = self;
1244 if(!PyArg_ParseTuple(args,"sl:wxPoint_x_set",&_argc0,&_arg1))
1245 return NULL;
1246 if (_argc0) {
1247 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1249 return NULL;
1250 }
1251 }
1252 _result = (long )wxPoint_x_set(_arg0,_arg1);
1253 _resultobj = Py_BuildValue("l",_result);
1254 return _resultobj;
1255 }
1256
1257 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1258 static PyObject *_wrap_wxPoint_x_get(PyObject *self, PyObject *args) {
1259 PyObject * _resultobj;
1260 long _result;
1261 wxPoint * _arg0;
1262 char * _argc0 = 0;
1263
1264 self = self;
1265 if(!PyArg_ParseTuple(args,"s:wxPoint_x_get",&_argc0))
1266 return NULL;
1267 if (_argc0) {
1268 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1270 return NULL;
1271 }
1272 }
1273 _result = (long )wxPoint_x_get(_arg0);
1274 _resultobj = Py_BuildValue("l",_result);
1275 return _resultobj;
1276 }
1277
1278 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1279 static PyObject *_wrap_wxPoint_y_set(PyObject *self, PyObject *args) {
1280 PyObject * _resultobj;
1281 long _result;
1282 wxPoint * _arg0;
1283 long _arg1;
1284 char * _argc0 = 0;
1285
1286 self = self;
1287 if(!PyArg_ParseTuple(args,"sl:wxPoint_y_set",&_argc0,&_arg1))
1288 return NULL;
1289 if (_argc0) {
1290 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1292 return NULL;
1293 }
1294 }
1295 _result = (long )wxPoint_y_set(_arg0,_arg1);
1296 _resultobj = Py_BuildValue("l",_result);
1297 return _resultobj;
1298 }
1299
1300 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1301 static PyObject *_wrap_wxPoint_y_get(PyObject *self, PyObject *args) {
1302 PyObject * _resultobj;
1303 long _result;
1304 wxPoint * _arg0;
1305 char * _argc0 = 0;
1306
1307 self = self;
1308 if(!PyArg_ParseTuple(args,"s:wxPoint_y_get",&_argc0))
1309 return NULL;
1310 if (_argc0) {
1311 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1313 return NULL;
1314 }
1315 }
1316 _result = (long )wxPoint_y_get(_arg0);
1317 _resultobj = Py_BuildValue("l",_result);
1318 return _resultobj;
1319 }
1320
1321 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1322 static PyObject *_wrap_new_wxPoint(PyObject *self, PyObject *args) {
1323 PyObject * _resultobj;
1324 wxPoint * _result;
1325 long _arg0 = 0;
1326 long _arg1 = 0;
1327 char _ptemp[128];
1328
1329 self = self;
1330 if(!PyArg_ParseTuple(args,"|ll:new_wxPoint",&_arg0,&_arg1))
1331 return NULL;
1332 _result = (wxPoint *)new_wxPoint(_arg0,_arg1);
1333 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1334 _resultobj = Py_BuildValue("s",_ptemp);
1335 return _resultobj;
1336 }
1337
1338 #define delete_wxPoint(_swigobj) (delete _swigobj)
1339 static PyObject *_wrap_delete_wxPoint(PyObject *self, PyObject *args) {
1340 PyObject * _resultobj;
1341 wxPoint * _arg0;
1342 char * _argc0 = 0;
1343
1344 self = self;
1345 if(!PyArg_ParseTuple(args,"s:delete_wxPoint",&_argc0))
1346 return NULL;
1347 if (_argc0) {
1348 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1350 return NULL;
1351 }
1352 }
1353 delete_wxPoint(_arg0);
1354 Py_INCREF(Py_None);
1355 _resultobj = Py_None;
1356 return _resultobj;
1357 }
1358
1359 static void wxPoint_Set(wxPoint *self,long x,long y) {
1360 self->x = x;
1361 self->y = y;
1362 }
1363 static PyObject *_wrap_wxPoint_Set(PyObject *self, PyObject *args) {
1364 PyObject * _resultobj;
1365 wxPoint * _arg0;
1366 long _arg1;
1367 long _arg2;
1368 char * _argc0 = 0;
1369
1370 self = self;
1371 if(!PyArg_ParseTuple(args,"sll:wxPoint_Set",&_argc0,&_arg1,&_arg2))
1372 return NULL;
1373 if (_argc0) {
1374 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1376 return NULL;
1377 }
1378 }
1379 wxPoint_Set(_arg0,_arg1,_arg2);
1380 Py_INCREF(Py_None);
1381 _resultobj = Py_None;
1382 return _resultobj;
1383 }
1384
1385 static PyObject * wxPoint___str__(wxPoint *self) {
1386 PyObject* tup = PyTuple_New(2);
1387 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1388 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1389 return tup;
1390 }
1391 static PyObject *_wrap_wxPoint___str__(PyObject *self, PyObject *args) {
1392 PyObject * _resultobj;
1393 PyObject * _result;
1394 wxPoint * _arg0;
1395 char * _argc0 = 0;
1396
1397 self = self;
1398 if(!PyArg_ParseTuple(args,"s:wxPoint___str__",&_argc0))
1399 return NULL;
1400 if (_argc0) {
1401 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint___str__. Expected _wxPoint_p.");
1403 return NULL;
1404 }
1405 }
1406 _result = (PyObject *)wxPoint___str__(_arg0);
1407 {
1408 _resultobj = _result;
1409 }
1410 return _resultobj;
1411 }
1412
1413 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1414 static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args) {
1415 PyObject * _resultobj;
1416 wxRect * _result;
1417 long _arg0 = 0;
1418 long _arg1 = 0;
1419 long _arg2 = 0;
1420 long _arg3 = 0;
1421 char _ptemp[128];
1422
1423 self = self;
1424 if(!PyArg_ParseTuple(args,"|llll:new_wxRect",&_arg0,&_arg1,&_arg2,&_arg3))
1425 return NULL;
1426 _result = (wxRect *)new_wxRect(_arg0,_arg1,_arg2,_arg3);
1427 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1428 _resultobj = Py_BuildValue("s",_ptemp);
1429 return _resultobj;
1430 }
1431
1432 #define delete_wxRect(_swigobj) (delete _swigobj)
1433 static PyObject *_wrap_delete_wxRect(PyObject *self, PyObject *args) {
1434 PyObject * _resultobj;
1435 wxRect * _arg0;
1436 char * _argc0 = 0;
1437
1438 self = self;
1439 if(!PyArg_ParseTuple(args,"s:delete_wxRect",&_argc0))
1440 return NULL;
1441 if (_argc0) {
1442 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1444 return NULL;
1445 }
1446 }
1447 delete_wxRect(_arg0);
1448 Py_INCREF(Py_None);
1449 _resultobj = Py_None;
1450 return _resultobj;
1451 }
1452
1453 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1454 static PyObject *_wrap_wxRect_GetX(PyObject *self, PyObject *args) {
1455 PyObject * _resultobj;
1456 long _result;
1457 wxRect * _arg0;
1458 char * _argc0 = 0;
1459
1460 self = self;
1461 if(!PyArg_ParseTuple(args,"s:wxRect_GetX",&_argc0))
1462 return NULL;
1463 if (_argc0) {
1464 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1466 return NULL;
1467 }
1468 }
1469 _result = (long )wxRect_GetX(_arg0);
1470 _resultobj = Py_BuildValue("l",_result);
1471 return _resultobj;
1472 }
1473
1474 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1475 static PyObject *_wrap_wxRect_SetX(PyObject *self, PyObject *args) {
1476 PyObject * _resultobj;
1477 wxRect * _arg0;
1478 long _arg1;
1479 char * _argc0 = 0;
1480
1481 self = self;
1482 if(!PyArg_ParseTuple(args,"sl:wxRect_SetX",&_argc0,&_arg1))
1483 return NULL;
1484 if (_argc0) {
1485 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1487 return NULL;
1488 }
1489 }
1490 wxRect_SetX(_arg0,_arg1);
1491 Py_INCREF(Py_None);
1492 _resultobj = Py_None;
1493 return _resultobj;
1494 }
1495
1496 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1497 static PyObject *_wrap_wxRect_GetY(PyObject *self, PyObject *args) {
1498 PyObject * _resultobj;
1499 long _result;
1500 wxRect * _arg0;
1501 char * _argc0 = 0;
1502
1503 self = self;
1504 if(!PyArg_ParseTuple(args,"s:wxRect_GetY",&_argc0))
1505 return NULL;
1506 if (_argc0) {
1507 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
1509 return NULL;
1510 }
1511 }
1512 _result = (long )wxRect_GetY(_arg0);
1513 _resultobj = Py_BuildValue("l",_result);
1514 return _resultobj;
1515 }
1516
1517 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1518 static PyObject *_wrap_wxRect_SetY(PyObject *self, PyObject *args) {
1519 PyObject * _resultobj;
1520 wxRect * _arg0;
1521 long _arg1;
1522 char * _argc0 = 0;
1523
1524 self = self;
1525 if(!PyArg_ParseTuple(args,"sl:wxRect_SetY",&_argc0,&_arg1))
1526 return NULL;
1527 if (_argc0) {
1528 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
1530 return NULL;
1531 }
1532 }
1533 wxRect_SetY(_arg0,_arg1);
1534 Py_INCREF(Py_None);
1535 _resultobj = Py_None;
1536 return _resultobj;
1537 }
1538
1539 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1540 static PyObject *_wrap_wxRect_GetWidth(PyObject *self, PyObject *args) {
1541 PyObject * _resultobj;
1542 long _result;
1543 wxRect * _arg0;
1544 char * _argc0 = 0;
1545
1546 self = self;
1547 if(!PyArg_ParseTuple(args,"s:wxRect_GetWidth",&_argc0))
1548 return NULL;
1549 if (_argc0) {
1550 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
1552 return NULL;
1553 }
1554 }
1555 _result = (long )wxRect_GetWidth(_arg0);
1556 _resultobj = Py_BuildValue("l",_result);
1557 return _resultobj;
1558 }
1559
1560 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1561 static PyObject *_wrap_wxRect_SetWidth(PyObject *self, PyObject *args) {
1562 PyObject * _resultobj;
1563 wxRect * _arg0;
1564 long _arg1;
1565 char * _argc0 = 0;
1566
1567 self = self;
1568 if(!PyArg_ParseTuple(args,"sl:wxRect_SetWidth",&_argc0,&_arg1))
1569 return NULL;
1570 if (_argc0) {
1571 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
1573 return NULL;
1574 }
1575 }
1576 wxRect_SetWidth(_arg0,_arg1);
1577 Py_INCREF(Py_None);
1578 _resultobj = Py_None;
1579 return _resultobj;
1580 }
1581
1582 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1583 static PyObject *_wrap_wxRect_GetHeight(PyObject *self, PyObject *args) {
1584 PyObject * _resultobj;
1585 long _result;
1586 wxRect * _arg0;
1587 char * _argc0 = 0;
1588
1589 self = self;
1590 if(!PyArg_ParseTuple(args,"s:wxRect_GetHeight",&_argc0))
1591 return NULL;
1592 if (_argc0) {
1593 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
1595 return NULL;
1596 }
1597 }
1598 _result = (long )wxRect_GetHeight(_arg0);
1599 _resultobj = Py_BuildValue("l",_result);
1600 return _resultobj;
1601 }
1602
1603 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1604 static PyObject *_wrap_wxRect_SetHeight(PyObject *self, PyObject *args) {
1605 PyObject * _resultobj;
1606 wxRect * _arg0;
1607 long _arg1;
1608 char * _argc0 = 0;
1609
1610 self = self;
1611 if(!PyArg_ParseTuple(args,"sl:wxRect_SetHeight",&_argc0,&_arg1))
1612 return NULL;
1613 if (_argc0) {
1614 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
1616 return NULL;
1617 }
1618 }
1619 wxRect_SetHeight(_arg0,_arg1);
1620 Py_INCREF(Py_None);
1621 _resultobj = Py_None;
1622 return _resultobj;
1623 }
1624
1625 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1626 static PyObject *_wrap_wxRect_GetPosition(PyObject *self, PyObject *args) {
1627 PyObject * _resultobj;
1628 wxPoint * _result;
1629 wxRect * _arg0;
1630 char * _argc0 = 0;
1631 char _ptemp[128];
1632
1633 self = self;
1634 if(!PyArg_ParseTuple(args,"s:wxRect_GetPosition",&_argc0))
1635 return NULL;
1636 if (_argc0) {
1637 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
1639 return NULL;
1640 }
1641 }
1642 _result = new wxPoint (wxRect_GetPosition(_arg0));
1643 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1644 _resultobj = Py_BuildValue("s",_ptemp);
1645 return _resultobj;
1646 }
1647
1648 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1649 static PyObject *_wrap_wxRect_GetSize(PyObject *self, PyObject *args) {
1650 PyObject * _resultobj;
1651 wxSize * _result;
1652 wxRect * _arg0;
1653 char * _argc0 = 0;
1654 char _ptemp[128];
1655
1656 self = self;
1657 if(!PyArg_ParseTuple(args,"s:wxRect_GetSize",&_argc0))
1658 return NULL;
1659 if (_argc0) {
1660 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
1662 return NULL;
1663 }
1664 }
1665 _result = new wxSize (wxRect_GetSize(_arg0));
1666 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1667 _resultobj = Py_BuildValue("s",_ptemp);
1668 return _resultobj;
1669 }
1670
1671 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1672 static PyObject *_wrap_wxRect_GetLeft(PyObject *self, PyObject *args) {
1673 PyObject * _resultobj;
1674 long _result;
1675 wxRect * _arg0;
1676 char * _argc0 = 0;
1677
1678 self = self;
1679 if(!PyArg_ParseTuple(args,"s:wxRect_GetLeft",&_argc0))
1680 return NULL;
1681 if (_argc0) {
1682 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
1684 return NULL;
1685 }
1686 }
1687 _result = (long )wxRect_GetLeft(_arg0);
1688 _resultobj = Py_BuildValue("l",_result);
1689 return _resultobj;
1690 }
1691
1692 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1693 static PyObject *_wrap_wxRect_GetTop(PyObject *self, PyObject *args) {
1694 PyObject * _resultobj;
1695 long _result;
1696 wxRect * _arg0;
1697 char * _argc0 = 0;
1698
1699 self = self;
1700 if(!PyArg_ParseTuple(args,"s:wxRect_GetTop",&_argc0))
1701 return NULL;
1702 if (_argc0) {
1703 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
1705 return NULL;
1706 }
1707 }
1708 _result = (long )wxRect_GetTop(_arg0);
1709 _resultobj = Py_BuildValue("l",_result);
1710 return _resultobj;
1711 }
1712
1713 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1714 static PyObject *_wrap_wxRect_GetBottom(PyObject *self, PyObject *args) {
1715 PyObject * _resultobj;
1716 long _result;
1717 wxRect * _arg0;
1718 char * _argc0 = 0;
1719
1720 self = self;
1721 if(!PyArg_ParseTuple(args,"s:wxRect_GetBottom",&_argc0))
1722 return NULL;
1723 if (_argc0) {
1724 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
1726 return NULL;
1727 }
1728 }
1729 _result = (long )wxRect_GetBottom(_arg0);
1730 _resultobj = Py_BuildValue("l",_result);
1731 return _resultobj;
1732 }
1733
1734 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1735 static PyObject *_wrap_wxRect_GetRight(PyObject *self, PyObject *args) {
1736 PyObject * _resultobj;
1737 long _result;
1738 wxRect * _arg0;
1739 char * _argc0 = 0;
1740
1741 self = self;
1742 if(!PyArg_ParseTuple(args,"s:wxRect_GetRight",&_argc0))
1743 return NULL;
1744 if (_argc0) {
1745 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
1747 return NULL;
1748 }
1749 }
1750 _result = (long )wxRect_GetRight(_arg0);
1751 _resultobj = Py_BuildValue("l",_result);
1752 return _resultobj;
1753 }
1754
1755 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1756 static PyObject *_wrap_wxRect_x_set(PyObject *self, PyObject *args) {
1757 PyObject * _resultobj;
1758 long _result;
1759 wxRect * _arg0;
1760 long _arg1;
1761 char * _argc0 = 0;
1762
1763 self = self;
1764 if(!PyArg_ParseTuple(args,"sl:wxRect_x_set",&_argc0,&_arg1))
1765 return NULL;
1766 if (_argc0) {
1767 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
1769 return NULL;
1770 }
1771 }
1772 _result = (long )wxRect_x_set(_arg0,_arg1);
1773 _resultobj = Py_BuildValue("l",_result);
1774 return _resultobj;
1775 }
1776
1777 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
1778 static PyObject *_wrap_wxRect_x_get(PyObject *self, PyObject *args) {
1779 PyObject * _resultobj;
1780 long _result;
1781 wxRect * _arg0;
1782 char * _argc0 = 0;
1783
1784 self = self;
1785 if(!PyArg_ParseTuple(args,"s:wxRect_x_get",&_argc0))
1786 return NULL;
1787 if (_argc0) {
1788 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
1790 return NULL;
1791 }
1792 }
1793 _result = (long )wxRect_x_get(_arg0);
1794 _resultobj = Py_BuildValue("l",_result);
1795 return _resultobj;
1796 }
1797
1798 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1799 static PyObject *_wrap_wxRect_y_set(PyObject *self, PyObject *args) {
1800 PyObject * _resultobj;
1801 long _result;
1802 wxRect * _arg0;
1803 long _arg1;
1804 char * _argc0 = 0;
1805
1806 self = self;
1807 if(!PyArg_ParseTuple(args,"sl:wxRect_y_set",&_argc0,&_arg1))
1808 return NULL;
1809 if (_argc0) {
1810 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
1812 return NULL;
1813 }
1814 }
1815 _result = (long )wxRect_y_set(_arg0,_arg1);
1816 _resultobj = Py_BuildValue("l",_result);
1817 return _resultobj;
1818 }
1819
1820 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
1821 static PyObject *_wrap_wxRect_y_get(PyObject *self, PyObject *args) {
1822 PyObject * _resultobj;
1823 long _result;
1824 wxRect * _arg0;
1825 char * _argc0 = 0;
1826
1827 self = self;
1828 if(!PyArg_ParseTuple(args,"s:wxRect_y_get",&_argc0))
1829 return NULL;
1830 if (_argc0) {
1831 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
1833 return NULL;
1834 }
1835 }
1836 _result = (long )wxRect_y_get(_arg0);
1837 _resultobj = Py_BuildValue("l",_result);
1838 return _resultobj;
1839 }
1840
1841 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
1842 static PyObject *_wrap_wxRect_width_set(PyObject *self, PyObject *args) {
1843 PyObject * _resultobj;
1844 long _result;
1845 wxRect * _arg0;
1846 long _arg1;
1847 char * _argc0 = 0;
1848
1849 self = self;
1850 if(!PyArg_ParseTuple(args,"sl:wxRect_width_set",&_argc0,&_arg1))
1851 return NULL;
1852 if (_argc0) {
1853 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
1855 return NULL;
1856 }
1857 }
1858 _result = (long )wxRect_width_set(_arg0,_arg1);
1859 _resultobj = Py_BuildValue("l",_result);
1860 return _resultobj;
1861 }
1862
1863 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
1864 static PyObject *_wrap_wxRect_width_get(PyObject *self, PyObject *args) {
1865 PyObject * _resultobj;
1866 long _result;
1867 wxRect * _arg0;
1868 char * _argc0 = 0;
1869
1870 self = self;
1871 if(!PyArg_ParseTuple(args,"s:wxRect_width_get",&_argc0))
1872 return NULL;
1873 if (_argc0) {
1874 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
1876 return NULL;
1877 }
1878 }
1879 _result = (long )wxRect_width_get(_arg0);
1880 _resultobj = Py_BuildValue("l",_result);
1881 return _resultobj;
1882 }
1883
1884 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
1885 static PyObject *_wrap_wxRect_height_set(PyObject *self, PyObject *args) {
1886 PyObject * _resultobj;
1887 long _result;
1888 wxRect * _arg0;
1889 long _arg1;
1890 char * _argc0 = 0;
1891
1892 self = self;
1893 if(!PyArg_ParseTuple(args,"sl:wxRect_height_set",&_argc0,&_arg1))
1894 return NULL;
1895 if (_argc0) {
1896 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
1898 return NULL;
1899 }
1900 }
1901 _result = (long )wxRect_height_set(_arg0,_arg1);
1902 _resultobj = Py_BuildValue("l",_result);
1903 return _resultobj;
1904 }
1905
1906 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
1907 static PyObject *_wrap_wxRect_height_get(PyObject *self, PyObject *args) {
1908 PyObject * _resultobj;
1909 long _result;
1910 wxRect * _arg0;
1911 char * _argc0 = 0;
1912
1913 self = self;
1914 if(!PyArg_ParseTuple(args,"s:wxRect_height_get",&_argc0))
1915 return NULL;
1916 if (_argc0) {
1917 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
1919 return NULL;
1920 }
1921 }
1922 _result = (long )wxRect_height_get(_arg0);
1923 _resultobj = Py_BuildValue("l",_result);
1924 return _resultobj;
1925 }
1926
1927 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
1928 static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args) {
1929 PyObject * _resultobj;
1930 wxPyTimer * _result;
1931 PyObject * _arg0;
1932 PyObject * _obj0 = 0;
1933 char _ptemp[128];
1934
1935 self = self;
1936 if(!PyArg_ParseTuple(args,"O:new_wxPyTimer",&_obj0))
1937 return NULL;
1938 {
1939 _arg0 = _obj0;
1940 }
1941 _result = (wxPyTimer *)new_wxPyTimer(_arg0);
1942 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p");
1943 _resultobj = Py_BuildValue("s",_ptemp);
1944 return _resultobj;
1945 }
1946
1947 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
1948 static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args) {
1949 PyObject * _resultobj;
1950 wxPyTimer * _arg0;
1951 char * _argc0 = 0;
1952
1953 self = self;
1954 if(!PyArg_ParseTuple(args,"s:delete_wxPyTimer",&_argc0))
1955 return NULL;
1956 if (_argc0) {
1957 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
1958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
1959 return NULL;
1960 }
1961 }
1962 delete_wxPyTimer(_arg0);
1963 Py_INCREF(Py_None);
1964 _resultobj = Py_None;
1965 return _resultobj;
1966 }
1967
1968 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
1969 static PyObject *_wrap_wxPyTimer_Interval(PyObject *self, PyObject *args) {
1970 PyObject * _resultobj;
1971 int _result;
1972 wxPyTimer * _arg0;
1973 char * _argc0 = 0;
1974
1975 self = self;
1976 if(!PyArg_ParseTuple(args,"s:wxPyTimer_Interval",&_argc0))
1977 return NULL;
1978 if (_argc0) {
1979 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
1980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
1981 return NULL;
1982 }
1983 }
1984 _result = (int )wxPyTimer_Interval(_arg0);
1985 _resultobj = Py_BuildValue("i",_result);
1986 return _resultobj;
1987 }
1988
1989 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
1990 static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args) {
1991 PyObject * _resultobj;
1992 wxPyTimer * _arg0;
1993 int _arg1 = -1;
1994 int _arg2 = (0);
1995 char * _argc0 = 0;
1996
1997 self = self;
1998 if(!PyArg_ParseTuple(args,"s|ii:wxPyTimer_Start",&_argc0,&_arg1,&_arg2))
1999 return NULL;
2000 if (_argc0) {
2001 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
2002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2003 return NULL;
2004 }
2005 }
2006 wxPyTimer_Start(_arg0,_arg1,_arg2);
2007 Py_INCREF(Py_None);
2008 _resultobj = Py_None;
2009 return _resultobj;
2010 }
2011
2012 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2013 static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args) {
2014 PyObject * _resultobj;
2015 wxPyTimer * _arg0;
2016 char * _argc0 = 0;
2017
2018 self = self;
2019 if(!PyArg_ParseTuple(args,"s:wxPyTimer_Stop",&_argc0))
2020 return NULL;
2021 if (_argc0) {
2022 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
2023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2024 return NULL;
2025 }
2026 }
2027 wxPyTimer_Stop(_arg0);
2028 Py_INCREF(Py_None);
2029 _resultobj = Py_None;
2030 return _resultobj;
2031 }
2032
2033 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2034 static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *self, PyObject *args) {
2035 PyObject * _resultobj;
2036 wxIndividualLayoutConstraint * _arg0;
2037 wxWindow * _arg1;
2038 int _arg2 = 0;
2039 char * _argc0 = 0;
2040 char * _argc1 = 0;
2041
2042 self = self;
2043 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0,&_argc1,&_arg2))
2044 return NULL;
2045 if (_argc0) {
2046 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2048 return NULL;
2049 }
2050 }
2051 if (_argc1) {
2052 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2053 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2054 return NULL;
2055 }
2056 }
2057 wxIndividualLayoutConstraint_Above(_arg0,_arg1,_arg2);
2058 Py_INCREF(Py_None);
2059 _resultobj = Py_None;
2060 return _resultobj;
2061 }
2062
2063 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2064 static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args) {
2065 PyObject * _resultobj;
2066 wxIndividualLayoutConstraint * _arg0;
2067 int _arg1;
2068 char * _argc0 = 0;
2069
2070 self = self;
2071 if(!PyArg_ParseTuple(args,"si:wxIndividualLayoutConstraint_Absolute",&_argc0,&_arg1))
2072 return NULL;
2073 if (_argc0) {
2074 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2076 return NULL;
2077 }
2078 }
2079 wxIndividualLayoutConstraint_Absolute(_arg0,_arg1);
2080 Py_INCREF(Py_None);
2081 _resultobj = Py_None;
2082 return _resultobj;
2083 }
2084
2085 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2086 static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args) {
2087 PyObject * _resultobj;
2088 wxIndividualLayoutConstraint * _arg0;
2089 char * _argc0 = 0;
2090
2091 self = self;
2092 if(!PyArg_ParseTuple(args,"s:wxIndividualLayoutConstraint_AsIs",&_argc0))
2093 return NULL;
2094 if (_argc0) {
2095 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2097 return NULL;
2098 }
2099 }
2100 wxIndividualLayoutConstraint_AsIs(_arg0);
2101 Py_INCREF(Py_None);
2102 _resultobj = Py_None;
2103 return _resultobj;
2104 }
2105
2106 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2107 static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *self, PyObject *args) {
2108 PyObject * _resultobj;
2109 wxIndividualLayoutConstraint * _arg0;
2110 wxWindow * _arg1;
2111 int _arg2 = 0;
2112 char * _argc0 = 0;
2113 char * _argc1 = 0;
2114
2115 self = self;
2116 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0,&_argc1,&_arg2))
2117 return NULL;
2118 if (_argc0) {
2119 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2121 return NULL;
2122 }
2123 }
2124 if (_argc1) {
2125 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2126 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2127 return NULL;
2128 }
2129 }
2130 wxIndividualLayoutConstraint_Below(_arg0,_arg1,_arg2);
2131 Py_INCREF(Py_None);
2132 _resultobj = Py_None;
2133 return _resultobj;
2134 }
2135
2136 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2137 static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args) {
2138 PyObject * _resultobj;
2139 wxIndividualLayoutConstraint * _arg0;
2140 char * _argc0 = 0;
2141
2142 self = self;
2143 if(!PyArg_ParseTuple(args,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0))
2144 return NULL;
2145 if (_argc0) {
2146 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2148 return NULL;
2149 }
2150 }
2151 wxIndividualLayoutConstraint_Unconstrained(_arg0);
2152 Py_INCREF(Py_None);
2153 _resultobj = Py_None;
2154 return _resultobj;
2155 }
2156
2157 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2158 static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args) {
2159 PyObject * _resultobj;
2160 wxIndividualLayoutConstraint * _arg0;
2161 wxWindow * _arg1;
2162 int _arg2 = 0;
2163 char * _argc0 = 0;
2164 char * _argc1 = 0;
2165
2166 self = self;
2167 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0,&_argc1,&_arg2))
2168 return NULL;
2169 if (_argc0) {
2170 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2172 return NULL;
2173 }
2174 }
2175 if (_argc1) {
2176 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2177 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2178 return NULL;
2179 }
2180 }
2181 wxIndividualLayoutConstraint_LeftOf(_arg0,_arg1,_arg2);
2182 Py_INCREF(Py_None);
2183 _resultobj = Py_None;
2184 return _resultobj;
2185 }
2186
2187 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2188 static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args) {
2189 PyObject * _resultobj;
2190 wxIndividualLayoutConstraint * _arg0;
2191 wxWindow * _arg1;
2192 wxEdge _arg2;
2193 int _arg3;
2194 char * _argc0 = 0;
2195 char * _argc1 = 0;
2196
2197 self = self;
2198 if(!PyArg_ParseTuple(args,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0,&_argc1,&_arg2,&_arg3))
2199 return NULL;
2200 if (_argc0) {
2201 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2203 return NULL;
2204 }
2205 }
2206 if (_argc1) {
2207 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2208 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2209 return NULL;
2210 }
2211 }
2212 wxIndividualLayoutConstraint_PercentOf(_arg0,_arg1,_arg2,_arg3);
2213 Py_INCREF(Py_None);
2214 _resultobj = Py_None;
2215 return _resultobj;
2216 }
2217
2218 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2219 static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args) {
2220 PyObject * _resultobj;
2221 wxIndividualLayoutConstraint * _arg0;
2222 wxWindow * _arg1;
2223 int _arg2 = 0;
2224 char * _argc0 = 0;
2225 char * _argc1 = 0;
2226
2227 self = self;
2228 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0,&_argc1,&_arg2))
2229 return NULL;
2230 if (_argc0) {
2231 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2233 return NULL;
2234 }
2235 }
2236 if (_argc1) {
2237 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2238 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2239 return NULL;
2240 }
2241 }
2242 wxIndividualLayoutConstraint_RightOf(_arg0,_arg1,_arg2);
2243 Py_INCREF(Py_None);
2244 _resultobj = Py_None;
2245 return _resultobj;
2246 }
2247
2248 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2249 static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args) {
2250 PyObject * _resultobj;
2251 wxIndividualLayoutConstraint * _arg0;
2252 wxWindow * _arg1;
2253 wxEdge _arg2;
2254 int _arg3 = 0;
2255 char * _argc0 = 0;
2256 char * _argc1 = 0;
2257
2258 self = self;
2259 if(!PyArg_ParseTuple(args,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0,&_argc1,&_arg2,&_arg3))
2260 return NULL;
2261 if (_argc0) {
2262 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2264 return NULL;
2265 }
2266 }
2267 if (_argc1) {
2268 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2269 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2270 return NULL;
2271 }
2272 }
2273 wxIndividualLayoutConstraint_SameAs(_arg0,_arg1,_arg2,_arg3);
2274 Py_INCREF(Py_None);
2275 _resultobj = Py_None;
2276 return _resultobj;
2277 }
2278
2279 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2280 static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *self, PyObject *args) {
2281 PyObject * _resultobj;
2282 wxIndividualLayoutConstraint * _arg0;
2283 wxRelationship _arg1;
2284 wxWindow * _arg2;
2285 wxEdge _arg3;
2286 int _arg4 = 0;
2287 int _arg5 = 0;
2288 char * _argc0 = 0;
2289 char * _argc2 = 0;
2290
2291 self = self;
2292 if(!PyArg_ParseTuple(args,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0,&_arg1,&_argc2,&_arg3,&_arg4,&_arg5))
2293 return NULL;
2294 if (_argc0) {
2295 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2297 return NULL;
2298 }
2299 }
2300 if (_argc2) {
2301 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
2302 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2303 return NULL;
2304 }
2305 }
2306 wxIndividualLayoutConstraint_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2307 Py_INCREF(Py_None);
2308 _resultobj = Py_None;
2309 return _resultobj;
2310 }
2311
2312 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2313 static PyObject *_wrap_new_wxLayoutConstraints(PyObject *self, PyObject *args) {
2314 PyObject * _resultobj;
2315 wxLayoutConstraints * _result;
2316 char _ptemp[128];
2317
2318 self = self;
2319 if(!PyArg_ParseTuple(args,":new_wxLayoutConstraints"))
2320 return NULL;
2321 _result = (wxLayoutConstraints *)new_wxLayoutConstraints();
2322 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
2323 _resultobj = Py_BuildValue("s",_ptemp);
2324 return _resultobj;
2325 }
2326
2327 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2328 static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *self, PyObject *args) {
2329 PyObject * _resultobj;
2330 wxIndividualLayoutConstraint * _result;
2331 wxLayoutConstraints * _arg0;
2332 char * _argc0 = 0;
2333 char _ptemp[128];
2334
2335 self = self;
2336 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_bottom_get",&_argc0))
2337 return NULL;
2338 if (_argc0) {
2339 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2341 return NULL;
2342 }
2343 }
2344 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_bottom_get(_arg0);
2345 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2346 _resultobj = Py_BuildValue("s",_ptemp);
2347 return _resultobj;
2348 }
2349
2350 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2351 static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *self, PyObject *args) {
2352 PyObject * _resultobj;
2353 wxIndividualLayoutConstraint * _result;
2354 wxLayoutConstraints * _arg0;
2355 char * _argc0 = 0;
2356 char _ptemp[128];
2357
2358 self = self;
2359 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_centreX_get",&_argc0))
2360 return NULL;
2361 if (_argc0) {
2362 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2364 return NULL;
2365 }
2366 }
2367 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreX_get(_arg0);
2368 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2369 _resultobj = Py_BuildValue("s",_ptemp);
2370 return _resultobj;
2371 }
2372
2373 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2374 static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *self, PyObject *args) {
2375 PyObject * _resultobj;
2376 wxIndividualLayoutConstraint * _result;
2377 wxLayoutConstraints * _arg0;
2378 char * _argc0 = 0;
2379 char _ptemp[128];
2380
2381 self = self;
2382 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_centreY_get",&_argc0))
2383 return NULL;
2384 if (_argc0) {
2385 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2387 return NULL;
2388 }
2389 }
2390 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreY_get(_arg0);
2391 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2392 _resultobj = Py_BuildValue("s",_ptemp);
2393 return _resultobj;
2394 }
2395
2396 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2397 static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *self, PyObject *args) {
2398 PyObject * _resultobj;
2399 wxIndividualLayoutConstraint * _result;
2400 wxLayoutConstraints * _arg0;
2401 char * _argc0 = 0;
2402 char _ptemp[128];
2403
2404 self = self;
2405 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_height_get",&_argc0))
2406 return NULL;
2407 if (_argc0) {
2408 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2410 return NULL;
2411 }
2412 }
2413 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_height_get(_arg0);
2414 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2415 _resultobj = Py_BuildValue("s",_ptemp);
2416 return _resultobj;
2417 }
2418
2419 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2420 static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *self, PyObject *args) {
2421 PyObject * _resultobj;
2422 wxIndividualLayoutConstraint * _result;
2423 wxLayoutConstraints * _arg0;
2424 char * _argc0 = 0;
2425 char _ptemp[128];
2426
2427 self = self;
2428 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_left_get",&_argc0))
2429 return NULL;
2430 if (_argc0) {
2431 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2433 return NULL;
2434 }
2435 }
2436 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_left_get(_arg0);
2437 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2438 _resultobj = Py_BuildValue("s",_ptemp);
2439 return _resultobj;
2440 }
2441
2442 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2443 static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *self, PyObject *args) {
2444 PyObject * _resultobj;
2445 wxIndividualLayoutConstraint * _result;
2446 wxLayoutConstraints * _arg0;
2447 char * _argc0 = 0;
2448 char _ptemp[128];
2449
2450 self = self;
2451 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_right_get",&_argc0))
2452 return NULL;
2453 if (_argc0) {
2454 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2456 return NULL;
2457 }
2458 }
2459 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_right_get(_arg0);
2460 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2461 _resultobj = Py_BuildValue("s",_ptemp);
2462 return _resultobj;
2463 }
2464
2465 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2466 static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *self, PyObject *args) {
2467 PyObject * _resultobj;
2468 wxIndividualLayoutConstraint * _result;
2469 wxLayoutConstraints * _arg0;
2470 char * _argc0 = 0;
2471 char _ptemp[128];
2472
2473 self = self;
2474 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_top_get",&_argc0))
2475 return NULL;
2476 if (_argc0) {
2477 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
2479 return NULL;
2480 }
2481 }
2482 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_top_get(_arg0);
2483 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2484 _resultobj = Py_BuildValue("s",_ptemp);
2485 return _resultobj;
2486 }
2487
2488 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
2489 static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *self, PyObject *args) {
2490 PyObject * _resultobj;
2491 wxIndividualLayoutConstraint * _result;
2492 wxLayoutConstraints * _arg0;
2493 char * _argc0 = 0;
2494 char _ptemp[128];
2495
2496 self = self;
2497 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_width_get",&_argc0))
2498 return NULL;
2499 if (_argc0) {
2500 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
2502 return NULL;
2503 }
2504 }
2505 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_width_get(_arg0);
2506 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2507 _resultobj = Py_BuildValue("s",_ptemp);
2508 return _resultobj;
2509 }
2510
2511 #define new_wxRegion() (new wxRegion())
2512 static PyObject *_wrap_new_wxRegion(PyObject *self, PyObject *args) {
2513 PyObject * _resultobj;
2514 wxRegion * _result;
2515 char _ptemp[128];
2516
2517 self = self;
2518 if(!PyArg_ParseTuple(args,":new_wxRegion"))
2519 return NULL;
2520 _result = (wxRegion *)new_wxRegion();
2521 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p");
2522 _resultobj = Py_BuildValue("s",_ptemp);
2523 return _resultobj;
2524 }
2525
2526 #define delete_wxRegion(_swigobj) (delete _swigobj)
2527 static PyObject *_wrap_delete_wxRegion(PyObject *self, PyObject *args) {
2528 PyObject * _resultobj;
2529 wxRegion * _arg0;
2530 char * _argc0 = 0;
2531
2532 self = self;
2533 if(!PyArg_ParseTuple(args,"s:delete_wxRegion",&_argc0))
2534 return NULL;
2535 if (_argc0) {
2536 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
2538 return NULL;
2539 }
2540 }
2541 delete_wxRegion(_arg0);
2542 Py_INCREF(Py_None);
2543 _resultobj = Py_None;
2544 return _resultobj;
2545 }
2546
2547 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
2548 static PyObject *_wrap_wxRegion_Clear(PyObject *self, PyObject *args) {
2549 PyObject * _resultobj;
2550 wxRegion * _arg0;
2551 char * _argc0 = 0;
2552
2553 self = self;
2554 if(!PyArg_ParseTuple(args,"s:wxRegion_Clear",&_argc0))
2555 return NULL;
2556 if (_argc0) {
2557 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
2559 return NULL;
2560 }
2561 }
2562 wxRegion_Clear(_arg0);
2563 Py_INCREF(Py_None);
2564 _resultobj = Py_None;
2565 return _resultobj;
2566 }
2567
2568 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
2569 static PyObject *_wrap_wxRegion_Contains(PyObject *self, PyObject *args) {
2570 PyObject * _resultobj;
2571 wxRegionContain _result;
2572 wxRegion * _arg0;
2573 long _arg1;
2574 long _arg2;
2575 char * _argc0 = 0;
2576
2577 self = self;
2578 if(!PyArg_ParseTuple(args,"sll:wxRegion_Contains",&_argc0,&_arg1,&_arg2))
2579 return NULL;
2580 if (_argc0) {
2581 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
2583 return NULL;
2584 }
2585 }
2586 _result = (wxRegionContain )wxRegion_Contains(_arg0,_arg1,_arg2);
2587 _resultobj = Py_BuildValue("i",_result);
2588 return _resultobj;
2589 }
2590
2591 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
2592 static PyObject *_wrap_wxRegion_ContainsPoint(PyObject *self, PyObject *args) {
2593 PyObject * _resultobj;
2594 wxRegionContain _result;
2595 wxRegion * _arg0;
2596 wxPoint * _arg1;
2597 char * _argc0 = 0;
2598 char * _argc1 = 0;
2599
2600 self = self;
2601 if(!PyArg_ParseTuple(args,"ss:wxRegion_ContainsPoint",&_argc0,&_argc1))
2602 return NULL;
2603 if (_argc0) {
2604 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
2606 return NULL;
2607 }
2608 }
2609 if (_argc1) {
2610 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
2611 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p.");
2612 return NULL;
2613 }
2614 }
2615 _result = (wxRegionContain )wxRegion_ContainsPoint(_arg0,*_arg1);
2616 _resultobj = Py_BuildValue("i",_result);
2617 return _resultobj;
2618 }
2619
2620 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
2621 static PyObject *_wrap_wxRegion_ContainsRect(PyObject *self, PyObject *args) {
2622 PyObject * _resultobj;
2623 wxRegionContain _result;
2624 wxRegion * _arg0;
2625 wxRect * _arg1;
2626 char * _argc0 = 0;
2627 char * _argc1 = 0;
2628
2629 self = self;
2630 if(!PyArg_ParseTuple(args,"ss:wxRegion_ContainsRect",&_argc0,&_argc1))
2631 return NULL;
2632 if (_argc0) {
2633 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
2635 return NULL;
2636 }
2637 }
2638 if (_argc1) {
2639 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) {
2640 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p.");
2641 return NULL;
2642 }
2643 }
2644 _result = (wxRegionContain )wxRegion_ContainsRect(_arg0,*_arg1);
2645 _resultobj = Py_BuildValue("i",_result);
2646 return _resultobj;
2647 }
2648
2649 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
2650 static PyObject *_wrap_wxRegion_GetBox(PyObject *self, PyObject *args) {
2651 PyObject * _resultobj;
2652 wxRect * _result;
2653 wxRegion * _arg0;
2654 char * _argc0 = 0;
2655 char _ptemp[128];
2656
2657 self = self;
2658 if(!PyArg_ParseTuple(args,"s:wxRegion_GetBox",&_argc0))
2659 return NULL;
2660 if (_argc0) {
2661 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
2663 return NULL;
2664 }
2665 }
2666 _result = new wxRect (wxRegion_GetBox(_arg0));
2667 SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
2668 _resultobj = Py_BuildValue("s",_ptemp);
2669 return _resultobj;
2670 }
2671
2672 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
2673 static PyObject *_wrap_wxRegion_Intersect(PyObject *self, PyObject *args) {
2674 PyObject * _resultobj;
2675 bool _result;
2676 wxRegion * _arg0;
2677 wxRect * _arg1;
2678 char * _argc0 = 0;
2679 char * _argc1 = 0;
2680
2681 self = self;
2682 if(!PyArg_ParseTuple(args,"ss:wxRegion_Intersect",&_argc0,&_argc1))
2683 return NULL;
2684 if (_argc0) {
2685 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
2687 return NULL;
2688 }
2689 }
2690 if (_argc1) {
2691 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) {
2692 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p.");
2693 return NULL;
2694 }
2695 }
2696 _result = (bool )wxRegion_Intersect(_arg0,*_arg1);
2697 _resultobj = Py_BuildValue("i",_result);
2698 return _resultobj;
2699 }
2700
2701 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
2702 static PyObject *_wrap_wxRegion_Subtract(PyObject *self, PyObject *args) {
2703 PyObject * _resultobj;
2704 bool _result;
2705 wxRegion * _arg0;
2706 wxRect * _arg1;
2707 char * _argc0 = 0;
2708 char * _argc1 = 0;
2709
2710 self = self;
2711 if(!PyArg_ParseTuple(args,"ss:wxRegion_Subtract",&_argc0,&_argc1))
2712 return NULL;
2713 if (_argc0) {
2714 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
2716 return NULL;
2717 }
2718 }
2719 if (_argc1) {
2720 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) {
2721 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p.");
2722 return NULL;
2723 }
2724 }
2725 _result = (bool )wxRegion_Subtract(_arg0,*_arg1);
2726 _resultobj = Py_BuildValue("i",_result);
2727 return _resultobj;
2728 }
2729
2730 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
2731 static PyObject *_wrap_wxRegion_Union(PyObject *self, PyObject *args) {
2732 PyObject * _resultobj;
2733 bool _result;
2734 wxRegion * _arg0;
2735 wxRect * _arg1;
2736 char * _argc0 = 0;
2737 char * _argc1 = 0;
2738
2739 self = self;
2740 if(!PyArg_ParseTuple(args,"ss:wxRegion_Union",&_argc0,&_argc1))
2741 return NULL;
2742 if (_argc0) {
2743 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
2745 return NULL;
2746 }
2747 }
2748 if (_argc1) {
2749 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) {
2750 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p.");
2751 return NULL;
2752 }
2753 }
2754 _result = (bool )wxRegion_Union(_arg0,*_arg1);
2755 _resultobj = Py_BuildValue("i",_result);
2756 return _resultobj;
2757 }
2758
2759 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
2760 static PyObject *_wrap_wxRegion_Xor(PyObject *self, PyObject *args) {
2761 PyObject * _resultobj;
2762 bool _result;
2763 wxRegion * _arg0;
2764 wxRect * _arg1;
2765 char * _argc0 = 0;
2766 char * _argc1 = 0;
2767
2768 self = self;
2769 if(!PyArg_ParseTuple(args,"ss:wxRegion_Xor",&_argc0,&_argc1))
2770 return NULL;
2771 if (_argc0) {
2772 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
2774 return NULL;
2775 }
2776 }
2777 if (_argc1) {
2778 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) {
2779 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p.");
2780 return NULL;
2781 }
2782 }
2783 _result = (bool )wxRegion_Xor(_arg0,*_arg1);
2784 _resultobj = Py_BuildValue("i",_result);
2785 return _resultobj;
2786 }
2787
2788 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
2789 static PyObject *_wrap_new_wxRegionIterator(PyObject *self, PyObject *args) {
2790 PyObject * _resultobj;
2791 wxRegionIterator * _result;
2792 wxRegion * _arg0;
2793 char * _argc0 = 0;
2794 char _ptemp[128];
2795
2796 self = self;
2797 if(!PyArg_ParseTuple(args,"s:new_wxRegionIterator",&_argc0))
2798 return NULL;
2799 if (_argc0) {
2800 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) {
2801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
2802 return NULL;
2803 }
2804 }
2805 _result = (wxRegionIterator *)new_wxRegionIterator(*_arg0);
2806 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegionIterator_p");
2807 _resultobj = Py_BuildValue("s",_ptemp);
2808 return _resultobj;
2809 }
2810
2811 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
2812 static PyObject *_wrap_delete_wxRegionIterator(PyObject *self, PyObject *args) {
2813 PyObject * _resultobj;
2814 wxRegionIterator * _arg0;
2815 char * _argc0 = 0;
2816
2817 self = self;
2818 if(!PyArg_ParseTuple(args,"s:delete_wxRegionIterator",&_argc0))
2819 return NULL;
2820 if (_argc0) {
2821 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
2822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
2823 return NULL;
2824 }
2825 }
2826 delete_wxRegionIterator(_arg0);
2827 Py_INCREF(Py_None);
2828 _resultobj = Py_None;
2829 return _resultobj;
2830 }
2831
2832 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
2833 static PyObject *_wrap_wxRegionIterator_GetX(PyObject *self, PyObject *args) {
2834 PyObject * _resultobj;
2835 long _result;
2836 wxRegionIterator * _arg0;
2837 char * _argc0 = 0;
2838
2839 self = self;
2840 if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetX",&_argc0))
2841 return NULL;
2842 if (_argc0) {
2843 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
2844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
2845 return NULL;
2846 }
2847 }
2848 _result = (long )wxRegionIterator_GetX(_arg0);
2849 _resultobj = Py_BuildValue("l",_result);
2850 return _resultobj;
2851 }
2852
2853 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
2854 static PyObject *_wrap_wxRegionIterator_GetY(PyObject *self, PyObject *args) {
2855 PyObject * _resultobj;
2856 long _result;
2857 wxRegionIterator * _arg0;
2858 char * _argc0 = 0;
2859
2860 self = self;
2861 if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetY",&_argc0))
2862 return NULL;
2863 if (_argc0) {
2864 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
2865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
2866 return NULL;
2867 }
2868 }
2869 _result = (long )wxRegionIterator_GetY(_arg0);
2870 _resultobj = Py_BuildValue("l",_result);
2871 return _resultobj;
2872 }
2873
2874 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
2875 static PyObject *_wrap_wxRegionIterator_GetW(PyObject *self, PyObject *args) {
2876 PyObject * _resultobj;
2877 long _result;
2878 wxRegionIterator * _arg0;
2879 char * _argc0 = 0;
2880
2881 self = self;
2882 if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetW",&_argc0))
2883 return NULL;
2884 if (_argc0) {
2885 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
2886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
2887 return NULL;
2888 }
2889 }
2890 _result = (long )wxRegionIterator_GetW(_arg0);
2891 _resultobj = Py_BuildValue("l",_result);
2892 return _resultobj;
2893 }
2894
2895 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
2896 static PyObject *_wrap_wxRegionIterator_GetWidth(PyObject *self, PyObject *args) {
2897 PyObject * _resultobj;
2898 long _result;
2899 wxRegionIterator * _arg0;
2900 char * _argc0 = 0;
2901
2902 self = self;
2903 if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetWidth",&_argc0))
2904 return NULL;
2905 if (_argc0) {
2906 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
2907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
2908 return NULL;
2909 }
2910 }
2911 _result = (long )wxRegionIterator_GetWidth(_arg0);
2912 _resultobj = Py_BuildValue("l",_result);
2913 return _resultobj;
2914 }
2915
2916 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
2917 static PyObject *_wrap_wxRegionIterator_GetH(PyObject *self, PyObject *args) {
2918 PyObject * _resultobj;
2919 long _result;
2920 wxRegionIterator * _arg0;
2921 char * _argc0 = 0;
2922
2923 self = self;
2924 if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetH",&_argc0))
2925 return NULL;
2926 if (_argc0) {
2927 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
2928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
2929 return NULL;
2930 }
2931 }
2932 _result = (long )wxRegionIterator_GetH(_arg0);
2933 _resultobj = Py_BuildValue("l",_result);
2934 return _resultobj;
2935 }
2936
2937 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
2938 static PyObject *_wrap_wxRegionIterator_GetHeight(PyObject *self, PyObject *args) {
2939 PyObject * _resultobj;
2940 long _result;
2941 wxRegionIterator * _arg0;
2942 char * _argc0 = 0;
2943
2944 self = self;
2945 if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetHeight",&_argc0))
2946 return NULL;
2947 if (_argc0) {
2948 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
2949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
2950 return NULL;
2951 }
2952 }
2953 _result = (long )wxRegionIterator_GetHeight(_arg0);
2954 _resultobj = Py_BuildValue("l",_result);
2955 return _resultobj;
2956 }
2957
2958 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
2959 static PyObject *_wrap_wxRegionIterator_GetRect(PyObject *self, PyObject *args) {
2960 PyObject * _resultobj;
2961 wxRect * _result;
2962 wxRegionIterator * _arg0;
2963 char * _argc0 = 0;
2964 char _ptemp[128];
2965
2966 self = self;
2967 if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetRect",&_argc0))
2968 return NULL;
2969 if (_argc0) {
2970 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
2971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
2972 return NULL;
2973 }
2974 }
2975 _result = new wxRect (wxRegionIterator_GetRect(_arg0));
2976 SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
2977 _resultobj = Py_BuildValue("s",_ptemp);
2978 return _resultobj;
2979 }
2980
2981 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
2982 static PyObject *_wrap_wxRegionIterator_HaveRects(PyObject *self, PyObject *args) {
2983 PyObject * _resultobj;
2984 bool _result;
2985 wxRegionIterator * _arg0;
2986 char * _argc0 = 0;
2987
2988 self = self;
2989 if(!PyArg_ParseTuple(args,"s:wxRegionIterator_HaveRects",&_argc0))
2990 return NULL;
2991 if (_argc0) {
2992 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
2993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
2994 return NULL;
2995 }
2996 }
2997 _result = (bool )wxRegionIterator_HaveRects(_arg0);
2998 _resultobj = Py_BuildValue("i",_result);
2999 return _resultobj;
3000 }
3001
3002 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
3003 static PyObject *_wrap_wxRegionIterator_Reset(PyObject *self, PyObject *args) {
3004 PyObject * _resultobj;
3005 wxRegionIterator * _arg0;
3006 char * _argc0 = 0;
3007
3008 self = self;
3009 if(!PyArg_ParseTuple(args,"s:wxRegionIterator_Reset",&_argc0))
3010 return NULL;
3011 if (_argc0) {
3012 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
3013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
3014 return NULL;
3015 }
3016 }
3017 wxRegionIterator_Reset(_arg0);
3018 Py_INCREF(Py_None);
3019 _resultobj = Py_None;
3020 return _resultobj;
3021 }
3022
3023 static void wxRegionIterator_Next(wxRegionIterator *self) {
3024 (*self) ++;
3025 }
3026 static PyObject *_wrap_wxRegionIterator_Next(PyObject *self, PyObject *args) {
3027 PyObject * _resultobj;
3028 wxRegionIterator * _arg0;
3029 char * _argc0 = 0;
3030
3031 self = self;
3032 if(!PyArg_ParseTuple(args,"s:wxRegionIterator_Next",&_argc0))
3033 return NULL;
3034 if (_argc0) {
3035 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) {
3036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
3037 return NULL;
3038 }
3039 }
3040 wxRegionIterator_Next(_arg0);
3041 Py_INCREF(Py_None);
3042 _resultobj = Py_None;
3043 return _resultobj;
3044 }
3045
3046 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3047 static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *self, PyObject *args) {
3048 PyObject * _resultobj;
3049 wxAcceleratorEntry * _result;
3050 int _arg0 = 0;
3051 int _arg1 = 0;
3052 int _arg2 = 0;
3053 char _ptemp[128];
3054
3055 self = self;
3056 if(!PyArg_ParseTuple(args,"|iii:new_wxAcceleratorEntry",&_arg0,&_arg1,&_arg2))
3057 return NULL;
3058 _result = (wxAcceleratorEntry *)new_wxAcceleratorEntry(_arg0,_arg1,_arg2);
3059 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
3060 _resultobj = Py_BuildValue("s",_ptemp);
3061 return _resultobj;
3062 }
3063
3064 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3065 static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *self, PyObject *args) {
3066 PyObject * _resultobj;
3067 wxAcceleratorEntry * _arg0;
3068 int _arg1;
3069 int _arg2;
3070 int _arg3;
3071 char * _argc0 = 0;
3072
3073 self = self;
3074 if(!PyArg_ParseTuple(args,"siii:wxAcceleratorEntry_Set",&_argc0,&_arg1,&_arg2,&_arg3))
3075 return NULL;
3076 if (_argc0) {
3077 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
3078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3079 return NULL;
3080 }
3081 }
3082 wxAcceleratorEntry_Set(_arg0,_arg1,_arg2,_arg3);
3083 Py_INCREF(Py_None);
3084 _resultobj = Py_None;
3085 return _resultobj;
3086 }
3087
3088 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3089 static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *self, PyObject *args) {
3090 PyObject * _resultobj;
3091 int _result;
3092 wxAcceleratorEntry * _arg0;
3093 char * _argc0 = 0;
3094
3095 self = self;
3096 if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetFlags",&_argc0))
3097 return NULL;
3098 if (_argc0) {
3099 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
3100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3101 return NULL;
3102 }
3103 }
3104 _result = (int )wxAcceleratorEntry_GetFlags(_arg0);
3105 _resultobj = Py_BuildValue("i",_result);
3106 return _resultobj;
3107 }
3108
3109 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3110 static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args) {
3111 PyObject * _resultobj;
3112 int _result;
3113 wxAcceleratorEntry * _arg0;
3114 char * _argc0 = 0;
3115
3116 self = self;
3117 if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetKeyCode",&_argc0))
3118 return NULL;
3119 if (_argc0) {
3120 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
3121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3122 return NULL;
3123 }
3124 }
3125 _result = (int )wxAcceleratorEntry_GetKeyCode(_arg0);
3126 _resultobj = Py_BuildValue("i",_result);
3127 return _resultobj;
3128 }
3129
3130 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3131 static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *self, PyObject *args) {
3132 PyObject * _resultobj;
3133 int _result;
3134 wxAcceleratorEntry * _arg0;
3135 char * _argc0 = 0;
3136
3137 self = self;
3138 if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetCommand",&_argc0))
3139 return NULL;
3140 if (_argc0) {
3141 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
3142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3143 return NULL;
3144 }
3145 }
3146 _result = (int )wxAcceleratorEntry_GetCommand(_arg0);
3147 _resultobj = Py_BuildValue("i",_result);
3148 return _resultobj;
3149 }
3150
3151 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3152 static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args) {
3153 PyObject * _resultobj;
3154 wxAcceleratorTable * _result;
3155 int _arg0;
3156 wxAcceleratorEntry * _arg1;
3157 PyObject * _obj1 = 0;
3158 char _ptemp[128];
3159
3160 self = self;
3161 if(!PyArg_ParseTuple(args,"O:new_wxAcceleratorTable",&_obj1))
3162 return NULL;
3163 if (_obj1)
3164 {
3165 _arg1 = wxAcceleratorEntry_LIST_helper(_obj1);
3166 if (_arg1 == NULL) {
3167 return NULL;
3168 }
3169 }
3170 {
3171 _arg0 = PyList_Size(_obj1);
3172 }
3173 _result = (wxAcceleratorTable *)new_wxAcceleratorTable(_arg0,_arg1);
3174 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
3175 _resultobj = Py_BuildValue("s",_ptemp);
3176 {
3177 delete [] _arg1;
3178 }
3179 return _resultobj;
3180 }
3181
3182 static PyMethodDef misccMethods[] = {
3183 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable, 1 },
3184 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand, 1 },
3185 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode, 1 },
3186 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags, 1 },
3187 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set, 1 },
3188 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry, 1 },
3189 { "wxRegionIterator_Next", _wrap_wxRegionIterator_Next, 1 },
3190 { "wxRegionIterator_Reset", _wrap_wxRegionIterator_Reset, 1 },
3191 { "wxRegionIterator_HaveRects", _wrap_wxRegionIterator_HaveRects, 1 },
3192 { "wxRegionIterator_GetRect", _wrap_wxRegionIterator_GetRect, 1 },
3193 { "wxRegionIterator_GetHeight", _wrap_wxRegionIterator_GetHeight, 1 },
3194 { "wxRegionIterator_GetH", _wrap_wxRegionIterator_GetH, 1 },
3195 { "wxRegionIterator_GetWidth", _wrap_wxRegionIterator_GetWidth, 1 },
3196 { "wxRegionIterator_GetW", _wrap_wxRegionIterator_GetW, 1 },
3197 { "wxRegionIterator_GetY", _wrap_wxRegionIterator_GetY, 1 },
3198 { "wxRegionIterator_GetX", _wrap_wxRegionIterator_GetX, 1 },
3199 { "delete_wxRegionIterator", _wrap_delete_wxRegionIterator, 1 },
3200 { "new_wxRegionIterator", _wrap_new_wxRegionIterator, 1 },
3201 { "wxRegion_Xor", _wrap_wxRegion_Xor, 1 },
3202 { "wxRegion_Union", _wrap_wxRegion_Union, 1 },
3203 { "wxRegion_Subtract", _wrap_wxRegion_Subtract, 1 },
3204 { "wxRegion_Intersect", _wrap_wxRegion_Intersect, 1 },
3205 { "wxRegion_GetBox", _wrap_wxRegion_GetBox, 1 },
3206 { "wxRegion_ContainsRect", _wrap_wxRegion_ContainsRect, 1 },
3207 { "wxRegion_ContainsPoint", _wrap_wxRegion_ContainsPoint, 1 },
3208 { "wxRegion_Contains", _wrap_wxRegion_Contains, 1 },
3209 { "wxRegion_Clear", _wrap_wxRegion_Clear, 1 },
3210 { "delete_wxRegion", _wrap_delete_wxRegion, 1 },
3211 { "new_wxRegion", _wrap_new_wxRegion, 1 },
3212 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get, 1 },
3213 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get, 1 },
3214 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get, 1 },
3215 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get, 1 },
3216 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get, 1 },
3217 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get, 1 },
3218 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get, 1 },
3219 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get, 1 },
3220 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints, 1 },
3221 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set, 1 },
3222 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs, 1 },
3223 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf, 1 },
3224 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf, 1 },
3225 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf, 1 },
3226 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained, 1 },
3227 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below, 1 },
3228 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs, 1 },
3229 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute, 1 },
3230 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above, 1 },
3231 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop, 1 },
3232 { "wxPyTimer_Start", _wrap_wxPyTimer_Start, 1 },
3233 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval, 1 },
3234 { "delete_wxPyTimer", _wrap_delete_wxPyTimer, 1 },
3235 { "new_wxPyTimer", _wrap_new_wxPyTimer, 1 },
3236 { "wxRect_height_get", _wrap_wxRect_height_get, 1 },
3237 { "wxRect_height_set", _wrap_wxRect_height_set, 1 },
3238 { "wxRect_width_get", _wrap_wxRect_width_get, 1 },
3239 { "wxRect_width_set", _wrap_wxRect_width_set, 1 },
3240 { "wxRect_y_get", _wrap_wxRect_y_get, 1 },
3241 { "wxRect_y_set", _wrap_wxRect_y_set, 1 },
3242 { "wxRect_x_get", _wrap_wxRect_x_get, 1 },
3243 { "wxRect_x_set", _wrap_wxRect_x_set, 1 },
3244 { "wxRect_GetRight", _wrap_wxRect_GetRight, 1 },
3245 { "wxRect_GetBottom", _wrap_wxRect_GetBottom, 1 },
3246 { "wxRect_GetTop", _wrap_wxRect_GetTop, 1 },
3247 { "wxRect_GetLeft", _wrap_wxRect_GetLeft, 1 },
3248 { "wxRect_GetSize", _wrap_wxRect_GetSize, 1 },
3249 { "wxRect_GetPosition", _wrap_wxRect_GetPosition, 1 },
3250 { "wxRect_SetHeight", _wrap_wxRect_SetHeight, 1 },
3251 { "wxRect_GetHeight", _wrap_wxRect_GetHeight, 1 },
3252 { "wxRect_SetWidth", _wrap_wxRect_SetWidth, 1 },
3253 { "wxRect_GetWidth", _wrap_wxRect_GetWidth, 1 },
3254 { "wxRect_SetY", _wrap_wxRect_SetY, 1 },
3255 { "wxRect_GetY", _wrap_wxRect_GetY, 1 },
3256 { "wxRect_SetX", _wrap_wxRect_SetX, 1 },
3257 { "wxRect_GetX", _wrap_wxRect_GetX, 1 },
3258 { "delete_wxRect", _wrap_delete_wxRect, 1 },
3259 { "new_wxRect", _wrap_new_wxRect, 1 },
3260 { "wxPoint___str__", _wrap_wxPoint___str__, 1 },
3261 { "wxPoint_Set", _wrap_wxPoint_Set, 1 },
3262 { "delete_wxPoint", _wrap_delete_wxPoint, 1 },
3263 { "new_wxPoint", _wrap_new_wxPoint, 1 },
3264 { "wxPoint_y_get", _wrap_wxPoint_y_get, 1 },
3265 { "wxPoint_y_set", _wrap_wxPoint_y_set, 1 },
3266 { "wxPoint_x_get", _wrap_wxPoint_x_get, 1 },
3267 { "wxPoint_x_set", _wrap_wxPoint_x_set, 1 },
3268 { "delete_wxRealPoint", _wrap_delete_wxRealPoint, 1 },
3269 { "new_wxRealPoint", _wrap_new_wxRealPoint, 1 },
3270 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get, 1 },
3271 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set, 1 },
3272 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get, 1 },
3273 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set, 1 },
3274 { "wxSize___str__", _wrap_wxSize___str__, 1 },
3275 { "wxSize_GetHeight", _wrap_wxSize_GetHeight, 1 },
3276 { "wxSize_GetWidth", _wrap_wxSize_GetWidth, 1 },
3277 { "wxSize_Set", _wrap_wxSize_Set, 1 },
3278 { "delete_wxSize", _wrap_delete_wxSize, 1 },
3279 { "new_wxSize", _wrap_new_wxSize, 1 },
3280 { "wxSize_height_get", _wrap_wxSize_height_get, 1 },
3281 { "wxSize_height_set", _wrap_wxSize_height_set, 1 },
3282 { "wxSize_width_get", _wrap_wxSize_width_get, 1 },
3283 { "wxSize_width_set", _wrap_wxSize_width_set, 1 },
3284 { "wxResourceParseString", _wrap_wxResourceParseString, 1 },
3285 { "wxResourceParseFile", _wrap_wxResourceParseFile, 1 },
3286 { "wxResourceParseData", _wrap_wxResourceParseData, 1 },
3287 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier, 1 },
3288 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar, 1 },
3289 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon, 1 },
3290 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap, 1 },
3291 { "wxResourceClear", _wrap_wxResourceClear, 1 },
3292 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier, 1 },
3293 { "wxGetResource", _wrap_wxGetResource, 1 },
3294 { "wxYield", _wrap_wxYield, 1 },
3295 { "wxNow", _wrap_wxNow, 1 },
3296 { "wxIsBusy", _wrap_wxIsBusy, 1 },
3297 { "wxGetMousePosition", _wrap_wxGetMousePosition, 1 },
3298 { "wxFindWindowByName", _wrap_wxFindWindowByName, 1 },
3299 { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel, 1 },
3300 { "wxExecute", _wrap_wxExecute, 1 },
3301 { "wxEndBusyCursor", _wrap_wxEndBusyCursor, 1 },
3302 { "wxDisplaySize", _wrap_wxDisplaySize, 1 },
3303 { "wxBell", _wrap_wxBell, 1 },
3304 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor, 1 },
3305 { "RegisterId", _wrap_RegisterId, 1 },
3306 { "NewId", _wrap_NewId, 1 },
3307 { "wxSetCursor", _wrap_wxSetCursor, 1 },
3308 { "wxDisplayDepth", _wrap_wxDisplayDepth, 1 },
3309 { "wxColourDisplay", _wrap_wxColourDisplay, 1 },
3310 { "wxMessageBox", _wrap_wxMessageBox, 1 },
3311 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex, 1 },
3312 { "wxGetSingleChoice", _wrap_wxGetSingleChoice, 1 },
3313 { "wxGetTextFromUser", _wrap_wxGetTextFromUser, 1 },
3314 { "wxFileSelector", _wrap_wxFileSelector, 1 },
3315 { NULL, NULL }
3316 };
3317 static PyObject *SWIG_globals;
3318 #ifdef __cplusplus
3319 extern "C"
3320 #endif
3321 SWIGEXPORT(void,initmiscc)() {
3322 PyObject *m, *d;
3323 SWIG_globals = SWIG_newvarlink();
3324 m = Py_InitModule("miscc", misccMethods);
3325 d = PyModule_GetDict(m);
3326 PyDict_SetItemString(d,"wxLeft", PyInt_FromLong((long) wxLeft));
3327 PyDict_SetItemString(d,"wxTop", PyInt_FromLong((long) wxTop));
3328 PyDict_SetItemString(d,"wxRight", PyInt_FromLong((long) wxRight));
3329 PyDict_SetItemString(d,"wxBottom", PyInt_FromLong((long) wxBottom));
3330 PyDict_SetItemString(d,"wxWidth", PyInt_FromLong((long) wxWidth));
3331 PyDict_SetItemString(d,"wxHeight", PyInt_FromLong((long) wxHeight));
3332 PyDict_SetItemString(d,"wxCentre", PyInt_FromLong((long) wxCentre));
3333 PyDict_SetItemString(d,"wxCenter", PyInt_FromLong((long) wxCenter));
3334 PyDict_SetItemString(d,"wxCentreX", PyInt_FromLong((long) wxCentreX));
3335 PyDict_SetItemString(d,"wxCentreY", PyInt_FromLong((long) wxCentreY));
3336 PyDict_SetItemString(d,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained));
3337 PyDict_SetItemString(d,"wxAsIs", PyInt_FromLong((long) wxAsIs));
3338 PyDict_SetItemString(d,"wxPercentOf", PyInt_FromLong((long) wxPercentOf));
3339 PyDict_SetItemString(d,"wxAbove", PyInt_FromLong((long) wxAbove));
3340 PyDict_SetItemString(d,"wxBelow", PyInt_FromLong((long) wxBelow));
3341 PyDict_SetItemString(d,"wxLeftOf", PyInt_FromLong((long) wxLeftOf));
3342 PyDict_SetItemString(d,"wxRightOf", PyInt_FromLong((long) wxRightOf));
3343 PyDict_SetItemString(d,"wxSameAs", PyInt_FromLong((long) wxSameAs));
3344 PyDict_SetItemString(d,"wxAbsolute", PyInt_FromLong((long) wxAbsolute));
3345 PyDict_SetItemString(d,"wxOutRegion", PyInt_FromLong((long) wxOutRegion));
3346 PyDict_SetItemString(d,"wxPartRegion", PyInt_FromLong((long) wxPartRegion));
3347 PyDict_SetItemString(d,"wxInRegion", PyInt_FromLong((long) wxInRegion));
3348 /*
3349 * These are the pointer type-equivalency mappings.
3350 * (Used by the SWIG pointer type-checker).
3351 */
3352 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3353 SWIG_RegisterMapping("_signed_long","_long",0);
3354 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3355 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3356 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3357 SWIG_RegisterMapping("_long","_unsigned_long",0);
3358 SWIG_RegisterMapping("_long","_signed_long",0);
3359 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3360 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3361 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3362 SWIG_RegisterMapping("_uint","_int",0);
3363 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3364 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3365 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3366 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3367 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3368 SWIG_RegisterMapping("_EBool","_signed_int",0);
3369 SWIG_RegisterMapping("_EBool","_int",0);
3370 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3371 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
3372 SWIG_RegisterMapping("_unsigned_long","_long",0);
3373 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3374 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3375 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3376 SWIG_RegisterMapping("_signed_int","_EBool",0);
3377 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3378 SWIG_RegisterMapping("_signed_int","_int",0);
3379 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3380 SWIG_RegisterMapping("_WXTYPE","_short",0);
3381 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3382 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3383 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3384 SWIG_RegisterMapping("_unsigned_short","_short",0);
3385 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3386 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3387 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3388 SWIG_RegisterMapping("_signed_short","_short",0);
3389 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3390 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3391 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3392 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3393 SWIG_RegisterMapping("_unsigned_int","_int",0);
3394 SWIG_RegisterMapping("_short","_WXTYPE",0);
3395 SWIG_RegisterMapping("_short","_unsigned_short",0);
3396 SWIG_RegisterMapping("_short","_signed_short",0);
3397 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3398 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3399 SWIG_RegisterMapping("_wxWindowID","_int",0);
3400 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3401 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3402 SWIG_RegisterMapping("_int","_EBool",0);
3403 SWIG_RegisterMapping("_int","_uint",0);
3404 SWIG_RegisterMapping("_int","_wxWindowID",0);
3405 SWIG_RegisterMapping("_int","_unsigned_int",0);
3406 SWIG_RegisterMapping("_int","_signed_int",0);
3407 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3408 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
3409 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3410 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
3411 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3412 }