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