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