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