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