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