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