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