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