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