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