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