]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/misc.cpp
Regenerated makefiles in the correct place.
[wxWidgets.git] / wxPython / src / gtk / misc.cpp
1 /*
2 * FILE : src/gtk/misc.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initmiscc
54
55 #define SWIG_name "miscc"
56
57 #include "helpers.h"
58 #include <wx/tooltip.h>
59 #include <wx/busyinfo.h>
60 #include <wx/geometry.h>
61
62
63 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
80
81 o2 = target;
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
84 Py_DECREF(o3);
85 }
86 return target;
87 }
88
89 // Put some wx default wxChar* values into wxStrings.
90 static const wxString wxPyEmptyString(wxT(""));
91
92 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
93 wxRegion reg1(*r1);
94 wxRegion reg2(*r2);
95 wxRect dest(0,0,0,0);
96 PyObject* obj;
97
98 reg1.Intersect(reg2);
99 dest = reg1.GetBox();
100
101 if (dest != wxRect(0,0,0,0)) {
102 wxPyBeginBlockThreads();
103 wxRect* newRect = new wxRect(dest);
104 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"));
105 PyObject* one = PyInt_FromLong(1);
106 PyObject_SetAttrString(obj, "thisown", one);
107 Py_DECREF(one);
108 wxPyEndBlockThreads();
109 return obj;
110 }
111 Py_INCREF(Py_None);
112 return Py_None;
113 }
114
115 #if 0 // we want to use the definition from the header, not the
116 // one SWIG will generate.
117 extern wxAcceleratorTable wxNullAcceleratorTable;
118
119 #endif
120 #ifdef __cplusplus
121 extern "C" {
122 #endif
123 static PyObject *_wrap_wxIntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
124 PyObject * _resultobj;
125 PyObject * _result;
126 wxRect * _arg0;
127 wxRect * _arg1;
128 wxRect temp;
129 PyObject * _obj0 = 0;
130 wxRect temp0;
131 PyObject * _obj1 = 0;
132 char *_kwnames[] = { "r1","r2", NULL };
133
134 self = self;
135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIntersectRect",_kwnames,&_obj0,&_obj1))
136 return NULL;
137 {
138 _arg0 = &temp;
139 if (! wxRect_helper(_obj0, &_arg0))
140 return NULL;
141 }
142 {
143 _arg1 = &temp0;
144 if (! wxRect_helper(_obj1, &_arg1))
145 return NULL;
146 }
147 {
148 PyThreadState* __tstate = wxPyBeginAllowThreads();
149 _result = (PyObject *)wxIntersectRect(_arg0,_arg1);
150
151 wxPyEndAllowThreads(__tstate);
152 if (PyErr_Occurred()) return NULL;
153 }{
154 _resultobj = _result;
155 }
156 return _resultobj;
157 }
158
159 static PyObject *_wrap_wxNewId(PyObject *self, PyObject *args, PyObject *kwargs) {
160 PyObject * _resultobj;
161 long _result;
162 char *_kwnames[] = { NULL };
163
164 self = self;
165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxNewId",_kwnames))
166 return NULL;
167 {
168 PyThreadState* __tstate = wxPyBeginAllowThreads();
169 _result = (long )wxNewId();
170
171 wxPyEndAllowThreads(__tstate);
172 if (PyErr_Occurred()) return NULL;
173 } _resultobj = Py_BuildValue("l",_result);
174 return _resultobj;
175 }
176
177 static PyObject *_wrap_wxRegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
178 PyObject * _resultobj;
179 long _arg0;
180 char *_kwnames[] = { "id", NULL };
181
182 self = self;
183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxRegisterId",_kwnames,&_arg0))
184 return NULL;
185 {
186 PyThreadState* __tstate = wxPyBeginAllowThreads();
187 wxRegisterId(_arg0);
188
189 wxPyEndAllowThreads(__tstate);
190 if (PyErr_Occurred()) return NULL;
191 } Py_INCREF(Py_None);
192 _resultobj = Py_None;
193 return _resultobj;
194 }
195
196 static PyObject *_wrap_wxGetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
197 PyObject * _resultobj;
198 long _result;
199 char *_kwnames[] = { NULL };
200
201 self = self;
202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetCurrentId",_kwnames))
203 return NULL;
204 {
205 PyThreadState* __tstate = wxPyBeginAllowThreads();
206 _result = (long )wxGetCurrentId();
207
208 wxPyEndAllowThreads(__tstate);
209 if (PyErr_Occurred()) return NULL;
210 } _resultobj = Py_BuildValue("l",_result);
211 return _resultobj;
212 }
213
214 static PyObject *_wrap_wxBell(PyObject *self, PyObject *args, PyObject *kwargs) {
215 PyObject * _resultobj;
216 char *_kwnames[] = { NULL };
217
218 self = self;
219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxBell",_kwnames))
220 return NULL;
221 {
222 PyThreadState* __tstate = wxPyBeginAllowThreads();
223 wxBell();
224
225 wxPyEndAllowThreads(__tstate);
226 if (PyErr_Occurred()) return NULL;
227 } Py_INCREF(Py_None);
228 _resultobj = Py_None;
229 return _resultobj;
230 }
231
232 static PyObject *_wrap_wxEndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
233 PyObject * _resultobj;
234 char *_kwnames[] = { NULL };
235
236 self = self;
237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxEndBusyCursor",_kwnames))
238 return NULL;
239 {
240 PyThreadState* __tstate = wxPyBeginAllowThreads();
241 wxEndBusyCursor();
242
243 wxPyEndAllowThreads(__tstate);
244 if (PyErr_Occurred()) return NULL;
245 } Py_INCREF(Py_None);
246 _resultobj = Py_None;
247 return _resultobj;
248 }
249
250 static PyObject *_wrap_wxGetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
251 PyObject * _resultobj;
252 long _result;
253 bool _arg0 = (bool ) TRUE;
254 int tempbool0 = (int) TRUE;
255 char *_kwnames[] = { "resetTimer", NULL };
256
257 self = self;
258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxGetElapsedTime",_kwnames,&tempbool0))
259 return NULL;
260 _arg0 = (bool ) tempbool0;
261 {
262 PyThreadState* __tstate = wxPyBeginAllowThreads();
263 _result = (long )wxGetElapsedTime(_arg0);
264
265 wxPyEndAllowThreads(__tstate);
266 if (PyErr_Occurred()) return NULL;
267 } _resultobj = Py_BuildValue("l",_result);
268 return _resultobj;
269 }
270
271 static PyObject *_wrap_wxGetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
272 PyObject * _resultobj;
273 int * _arg0;
274 int temp;
275 int * _arg1;
276 int temp0;
277 char *_kwnames[] = { NULL };
278
279 self = self;
280 {
281 _arg0 = &temp;
282 }
283 {
284 _arg1 = &temp0;
285 }
286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetMousePosition",_kwnames))
287 return NULL;
288 {
289 PyThreadState* __tstate = wxPyBeginAllowThreads();
290 wxGetMousePosition(_arg0,_arg1);
291
292 wxPyEndAllowThreads(__tstate);
293 if (PyErr_Occurred()) return NULL;
294 } Py_INCREF(Py_None);
295 _resultobj = Py_None;
296 {
297 PyObject *o;
298 o = PyInt_FromLong((long) (*_arg0));
299 _resultobj = t_output_helper(_resultobj, o);
300 }
301 {
302 PyObject *o;
303 o = PyInt_FromLong((long) (*_arg1));
304 _resultobj = t_output_helper(_resultobj, o);
305 }
306 return _resultobj;
307 }
308
309 static PyObject *_wrap_wxIsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
310 PyObject * _resultobj;
311 bool _result;
312 char *_kwnames[] = { NULL };
313
314 self = self;
315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxIsBusy",_kwnames))
316 return NULL;
317 {
318 PyThreadState* __tstate = wxPyBeginAllowThreads();
319 _result = (bool )wxIsBusy();
320
321 wxPyEndAllowThreads(__tstate);
322 if (PyErr_Occurred()) return NULL;
323 } _resultobj = Py_BuildValue("i",_result);
324 return _resultobj;
325 }
326
327 static PyObject *_wrap_wxNow(PyObject *self, PyObject *args, PyObject *kwargs) {
328 PyObject * _resultobj;
329 wxString * _result;
330 char *_kwnames[] = { NULL };
331
332 self = self;
333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxNow",_kwnames))
334 return NULL;
335 {
336 PyThreadState* __tstate = wxPyBeginAllowThreads();
337 _result = new wxString (wxNow());
338
339 wxPyEndAllowThreads(__tstate);
340 if (PyErr_Occurred()) return NULL;
341 }{
342 #if wxUSE_UNICODE
343 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
344 #else
345 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
346 #endif
347 }
348 {
349 delete _result;
350 }
351 return _resultobj;
352 }
353
354 static PyObject *_wrap_wxShell(PyObject *self, PyObject *args, PyObject *kwargs) {
355 PyObject * _resultobj;
356 bool _result;
357 wxString * _arg0 = (wxString *) &wxPyEmptyString;
358 PyObject * _obj0 = 0;
359 char *_kwnames[] = { "command", NULL };
360
361 self = self;
362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxShell",_kwnames,&_obj0))
363 return NULL;
364 if (_obj0)
365 {
366 _arg0 = wxString_in_helper(_obj0);
367 if (_arg0 == NULL)
368 return NULL;
369 }
370 {
371 PyThreadState* __tstate = wxPyBeginAllowThreads();
372 _result = (bool )wxShell(*_arg0);
373
374 wxPyEndAllowThreads(__tstate);
375 if (PyErr_Occurred()) return NULL;
376 } _resultobj = Py_BuildValue("i",_result);
377 {
378 if (_obj0)
379 delete _arg0;
380 }
381 return _resultobj;
382 }
383
384 static PyObject *_wrap_wxStartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
385 PyObject * _resultobj;
386 char *_kwnames[] = { NULL };
387
388 self = self;
389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxStartTimer",_kwnames))
390 return NULL;
391 {
392 PyThreadState* __tstate = wxPyBeginAllowThreads();
393 wxStartTimer();
394
395 wxPyEndAllowThreads(__tstate);
396 if (PyErr_Occurred()) return NULL;
397 } Py_INCREF(Py_None);
398 _resultobj = Py_None;
399 return _resultobj;
400 }
401
402 static PyObject *_wrap_wxGetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
403 PyObject * _resultobj;
404 int _result;
405 int * _arg0;
406 int temp;
407 int * _arg1;
408 int temp0;
409 char *_kwnames[] = { NULL };
410
411 self = self;
412 {
413 _arg0 = &temp;
414 }
415 {
416 _arg1 = &temp0;
417 }
418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetOsVersion",_kwnames))
419 return NULL;
420 {
421 PyThreadState* __tstate = wxPyBeginAllowThreads();
422 _result = (int )wxGetOsVersion(_arg0,_arg1);
423
424 wxPyEndAllowThreads(__tstate);
425 if (PyErr_Occurred()) return NULL;
426 } _resultobj = Py_BuildValue("i",_result);
427 {
428 PyObject *o;
429 o = PyInt_FromLong((long) (*_arg0));
430 _resultobj = t_output_helper(_resultobj, o);
431 }
432 {
433 PyObject *o;
434 o = PyInt_FromLong((long) (*_arg1));
435 _resultobj = t_output_helper(_resultobj, o);
436 }
437 return _resultobj;
438 }
439
440 static PyObject *_wrap_wxGetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
441 PyObject * _resultobj;
442 wxString * _result;
443 char *_kwnames[] = { NULL };
444
445 self = self;
446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetOsDescription",_kwnames))
447 return NULL;
448 {
449 PyThreadState* __tstate = wxPyBeginAllowThreads();
450 _result = new wxString (wxGetOsDescription());
451
452 wxPyEndAllowThreads(__tstate);
453 if (PyErr_Occurred()) return NULL;
454 }{
455 #if wxUSE_UNICODE
456 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
457 #else
458 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
459 #endif
460 }
461 {
462 delete _result;
463 }
464 return _resultobj;
465 }
466
467 static PyObject *_wrap_wxShutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
468 PyObject * _resultobj;
469 bool _result;
470 wxShutdownFlags _arg0;
471 char *_kwnames[] = { "wFlags", NULL };
472
473 self = self;
474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxShutdown",_kwnames,&_arg0))
475 return NULL;
476 {
477 PyThreadState* __tstate = wxPyBeginAllowThreads();
478 _result = (bool )wxShutdown(_arg0);
479
480 wxPyEndAllowThreads(__tstate);
481 if (PyErr_Occurred()) return NULL;
482 } _resultobj = Py_BuildValue("i",_result);
483 return _resultobj;
484 }
485
486 static PyObject *_wrap_wxSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
487 PyObject * _resultobj;
488 int _arg0;
489 char *_kwnames[] = { "secs", NULL };
490
491 self = self;
492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSleep",_kwnames,&_arg0))
493 return NULL;
494 {
495 PyThreadState* __tstate = wxPyBeginAllowThreads();
496 wxSleep(_arg0);
497
498 wxPyEndAllowThreads(__tstate);
499 if (PyErr_Occurred()) return NULL;
500 } Py_INCREF(Py_None);
501 _resultobj = Py_None;
502 return _resultobj;
503 }
504
505 static PyObject *_wrap_wxUsleep(PyObject *self, PyObject *args, PyObject *kwargs) {
506 PyObject * _resultobj;
507 unsigned long _arg0;
508 char *_kwnames[] = { "milliseconds", NULL };
509
510 self = self;
511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxUsleep",_kwnames,&_arg0))
512 return NULL;
513 {
514 PyThreadState* __tstate = wxPyBeginAllowThreads();
515 wxUsleep(_arg0);
516
517 wxPyEndAllowThreads(__tstate);
518 if (PyErr_Occurred()) return NULL;
519 } Py_INCREF(Py_None);
520 _resultobj = Py_None;
521 return _resultobj;
522 }
523
524 static PyObject *_wrap_wxYield(PyObject *self, PyObject *args, PyObject *kwargs) {
525 PyObject * _resultobj;
526 bool _result;
527 char *_kwnames[] = { NULL };
528
529 self = self;
530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxYield",_kwnames))
531 return NULL;
532 {
533 PyThreadState* __tstate = wxPyBeginAllowThreads();
534 _result = (bool )wxYield();
535
536 wxPyEndAllowThreads(__tstate);
537 if (PyErr_Occurred()) return NULL;
538 } _resultobj = Py_BuildValue("i",_result);
539 return _resultobj;
540 }
541
542 static PyObject *_wrap_wxYieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
543 PyObject * _resultobj;
544 bool _result;
545 char *_kwnames[] = { NULL };
546
547 self = self;
548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxYieldIfNeeded",_kwnames))
549 return NULL;
550 {
551 PyThreadState* __tstate = wxPyBeginAllowThreads();
552 _result = (bool )wxYieldIfNeeded();
553
554 wxPyEndAllowThreads(__tstate);
555 if (PyErr_Occurred()) return NULL;
556 } _resultobj = Py_BuildValue("i",_result);
557 return _resultobj;
558 }
559
560 static PyObject *_wrap_wxEnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
561 PyObject * _resultobj;
562 bool _arg0;
563 int tempbool0;
564 char *_kwnames[] = { "enable", NULL };
565
566 self = self;
567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxEnableTopLevelWindows",_kwnames,&tempbool0))
568 return NULL;
569 _arg0 = (bool ) tempbool0;
570 {
571 PyThreadState* __tstate = wxPyBeginAllowThreads();
572 wxEnableTopLevelWindows(_arg0);
573
574 wxPyEndAllowThreads(__tstate);
575 if (PyErr_Occurred()) return NULL;
576 } Py_INCREF(Py_None);
577 _resultobj = Py_None;
578 return _resultobj;
579 }
580
581 static PyObject *_wrap_wxStripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
582 PyObject * _resultobj;
583 wxString * _result;
584 wxString * _arg0;
585 PyObject * _obj0 = 0;
586 char *_kwnames[] = { "in", NULL };
587
588 self = self;
589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStripMenuCodes",_kwnames,&_obj0))
590 return NULL;
591 {
592 _arg0 = wxString_in_helper(_obj0);
593 if (_arg0 == NULL)
594 return NULL;
595 }
596 {
597 PyThreadState* __tstate = wxPyBeginAllowThreads();
598 _result = new wxString (wxStripMenuCodes(*_arg0));
599
600 wxPyEndAllowThreads(__tstate);
601 if (PyErr_Occurred()) return NULL;
602 }{
603 #if wxUSE_UNICODE
604 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
605 #else
606 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
607 #endif
608 }
609 {
610 if (_obj0)
611 delete _arg0;
612 }
613 {
614 delete _result;
615 }
616 return _resultobj;
617 }
618
619 static PyObject *_wrap_wxGetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
620 PyObject * _resultobj;
621 wxString * _result;
622 char *_kwnames[] = { NULL };
623
624 self = self;
625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetEmailAddress",_kwnames))
626 return NULL;
627 {
628 PyThreadState* __tstate = wxPyBeginAllowThreads();
629 _result = new wxString (wxGetEmailAddress());
630
631 wxPyEndAllowThreads(__tstate);
632 if (PyErr_Occurred()) return NULL;
633 }{
634 #if wxUSE_UNICODE
635 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
636 #else
637 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
638 #endif
639 }
640 {
641 delete _result;
642 }
643 return _resultobj;
644 }
645
646 static PyObject *_wrap_wxGetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
647 PyObject * _resultobj;
648 wxString * _result;
649 char *_kwnames[] = { NULL };
650
651 self = self;
652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetHostName",_kwnames))
653 return NULL;
654 {
655 PyThreadState* __tstate = wxPyBeginAllowThreads();
656 _result = new wxString (wxGetHostName());
657
658 wxPyEndAllowThreads(__tstate);
659 if (PyErr_Occurred()) return NULL;
660 }{
661 #if wxUSE_UNICODE
662 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
663 #else
664 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
665 #endif
666 }
667 {
668 delete _result;
669 }
670 return _resultobj;
671 }
672
673 static PyObject *_wrap_wxGetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
674 PyObject * _resultobj;
675 wxString * _result;
676 char *_kwnames[] = { NULL };
677
678 self = self;
679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetFullHostName",_kwnames))
680 return NULL;
681 {
682 PyThreadState* __tstate = wxPyBeginAllowThreads();
683 _result = new wxString (wxGetFullHostName());
684
685 wxPyEndAllowThreads(__tstate);
686 if (PyErr_Occurred()) return NULL;
687 }{
688 #if wxUSE_UNICODE
689 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
690 #else
691 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
692 #endif
693 }
694 {
695 delete _result;
696 }
697 return _resultobj;
698 }
699
700 static PyObject *_wrap_wxGetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
701 PyObject * _resultobj;
702 wxString * _result;
703 char *_kwnames[] = { NULL };
704
705 self = self;
706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetUserId",_kwnames))
707 return NULL;
708 {
709 PyThreadState* __tstate = wxPyBeginAllowThreads();
710 _result = new wxString (wxGetUserId());
711
712 wxPyEndAllowThreads(__tstate);
713 if (PyErr_Occurred()) return NULL;
714 }{
715 #if wxUSE_UNICODE
716 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
717 #else
718 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
719 #endif
720 }
721 {
722 delete _result;
723 }
724 return _resultobj;
725 }
726
727 static PyObject *_wrap_wxGetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
728 PyObject * _resultobj;
729 wxString * _result;
730 char *_kwnames[] = { NULL };
731
732 self = self;
733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetUserName",_kwnames))
734 return NULL;
735 {
736 PyThreadState* __tstate = wxPyBeginAllowThreads();
737 _result = new wxString (wxGetUserName());
738
739 wxPyEndAllowThreads(__tstate);
740 if (PyErr_Occurred()) return NULL;
741 }{
742 #if wxUSE_UNICODE
743 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
744 #else
745 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
746 #endif
747 }
748 {
749 delete _result;
750 }
751 return _resultobj;
752 }
753
754 static PyObject *_wrap_wxGetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
755 PyObject * _resultobj;
756 wxString * _result;
757 char *_kwnames[] = { NULL };
758
759 self = self;
760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetHomeDir",_kwnames))
761 return NULL;
762 {
763 PyThreadState* __tstate = wxPyBeginAllowThreads();
764 _result = new wxString (wxGetHomeDir());
765
766 wxPyEndAllowThreads(__tstate);
767 if (PyErr_Occurred()) return NULL;
768 }{
769 #if wxUSE_UNICODE
770 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
771 #else
772 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
773 #endif
774 }
775 {
776 delete _result;
777 }
778 return _resultobj;
779 }
780
781 static PyObject *_wrap_wxGetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
782 PyObject * _resultobj;
783 wxString * _result;
784 wxString * _arg0 = (wxString *) &wxPyEmptyString;
785 PyObject * _obj0 = 0;
786 char *_kwnames[] = { "user", NULL };
787
788 self = self;
789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxGetUserHome",_kwnames,&_obj0))
790 return NULL;
791 if (_obj0)
792 {
793 _arg0 = wxString_in_helper(_obj0);
794 if (_arg0 == NULL)
795 return NULL;
796 }
797 {
798 PyThreadState* __tstate = wxPyBeginAllowThreads();
799 _result = new wxString (wxGetUserHome(*_arg0));
800
801 wxPyEndAllowThreads(__tstate);
802 if (PyErr_Occurred()) return NULL;
803 }{
804 #if wxUSE_UNICODE
805 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
806 #else
807 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
808 #endif
809 }
810 {
811 if (_obj0)
812 delete _arg0;
813 }
814 {
815 delete _result;
816 }
817 return _resultobj;
818 }
819
820 static PyObject *_wrap_wxGetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
821 PyObject * _resultobj;
822 unsigned long _result;
823 char *_kwnames[] = { NULL };
824
825 self = self;
826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetProcessId",_kwnames))
827 return NULL;
828 {
829 PyThreadState* __tstate = wxPyBeginAllowThreads();
830 _result = (unsigned long )wxGetProcessId();
831
832 wxPyEndAllowThreads(__tstate);
833 if (PyErr_Occurred()) return NULL;
834 } _resultobj = Py_BuildValue("l",_result);
835 return _resultobj;
836 }
837
838 static PyObject *_wrap_wxTrap(PyObject *self, PyObject *args, PyObject *kwargs) {
839 PyObject * _resultobj;
840 char *_kwnames[] = { NULL };
841
842 self = self;
843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxTrap",_kwnames))
844 return NULL;
845 {
846 PyThreadState* __tstate = wxPyBeginAllowThreads();
847 wxTrap();
848
849 wxPyEndAllowThreads(__tstate);
850 if (PyErr_Occurred()) return NULL;
851 } Py_INCREF(Py_None);
852 _resultobj = Py_None;
853 return _resultobj;
854 }
855
856 static PyObject *_wrap_wxGetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
857 PyObject * _resultobj;
858 wxAcceleratorEntry * _result;
859 wxString * _arg0;
860 PyObject * _obj0 = 0;
861 char *_kwnames[] = { "label", NULL };
862 char _ptemp[128];
863
864 self = self;
865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGetAccelFromString",_kwnames,&_obj0))
866 return NULL;
867 {
868 _arg0 = wxString_in_helper(_obj0);
869 if (_arg0 == NULL)
870 return NULL;
871 }
872 {
873 PyThreadState* __tstate = wxPyBeginAllowThreads();
874 _result = (wxAcceleratorEntry *)wxGetAccelFromString(*_arg0);
875
876 wxPyEndAllowThreads(__tstate);
877 if (PyErr_Occurred()) return NULL;
878 } if (_result) {
879 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
880 _resultobj = Py_BuildValue("s",_ptemp);
881 } else {
882 Py_INCREF(Py_None);
883 _resultobj = Py_None;
884 }
885 {
886 if (_obj0)
887 delete _arg0;
888 }
889 return _resultobj;
890 }
891
892 static int _wrap_wxNullAcceleratorTable_set(PyObject *val) {
893
894 PyErr_SetString(PyExc_TypeError,"Variable wxNullAcceleratorTable is read-only.");
895 return 1;
896 }
897
898 static PyObject *_wrap_wxNullAcceleratorTable_get() {
899 PyObject * pyobj;
900 char ptemp[128];
901
902 SWIG_MakePtr(ptemp,(char *) &wxNullAcceleratorTable,"_wxAcceleratorTable_p");
903 pyobj = PyString_FromString(ptemp);
904 return pyobj;
905 }
906
907 static wxString wxObject_GetClassName(wxObject *self) {
908 return self->GetClassInfo()->GetClassName();
909 }
910 static PyObject *_wrap_wxObject_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
911 PyObject * _resultobj;
912 wxString * _result;
913 wxObject * _arg0;
914 PyObject * _argo0 = 0;
915 char *_kwnames[] = { "self", NULL };
916
917 self = self;
918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxObject_GetClassName",_kwnames,&_argo0))
919 return NULL;
920 if (_argo0) {
921 if (_argo0 == Py_None) { _arg0 = NULL; }
922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxObject_p")) {
923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
924 return NULL;
925 }
926 }
927 {
928 PyThreadState* __tstate = wxPyBeginAllowThreads();
929 _result = new wxString (wxObject_GetClassName(_arg0));
930
931 wxPyEndAllowThreads(__tstate);
932 if (PyErr_Occurred()) return NULL;
933 }{
934 #if wxUSE_UNICODE
935 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
936 #else
937 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
938 #endif
939 }
940 {
941 delete _result;
942 }
943 return _resultobj;
944 }
945
946 static void wxObject_Destroy(wxObject *self) {
947 delete self;
948 }
949 static PyObject *_wrap_wxObject_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
950 PyObject * _resultobj;
951 wxObject * _arg0;
952 PyObject * _argo0 = 0;
953 char *_kwnames[] = { "self", NULL };
954
955 self = self;
956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxObject_Destroy",_kwnames,&_argo0))
957 return NULL;
958 if (_argo0) {
959 if (_argo0 == Py_None) { _arg0 = NULL; }
960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxObject_p")) {
961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
962 return NULL;
963 }
964 }
965 {
966 PyThreadState* __tstate = wxPyBeginAllowThreads();
967 wxObject_Destroy(_arg0);
968
969 wxPyEndAllowThreads(__tstate);
970 if (PyErr_Occurred()) return NULL;
971 } Py_INCREF(Py_None);
972 _resultobj = Py_None;
973 return _resultobj;
974 }
975
976 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
977 static PyObject *_wrap_wxSize_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
978 PyObject * _resultobj;
979 long _result;
980 wxSize * _arg0;
981 long _arg1;
982 wxSize temp;
983 PyObject * _obj0 = 0;
984 char *_kwnames[] = { "self","x", NULL };
985
986 self = self;
987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_x_set",_kwnames,&_obj0,&_arg1))
988 return NULL;
989 {
990 _arg0 = &temp;
991 if (! wxSize_helper(_obj0, &_arg0))
992 return NULL;
993 }
994 {
995 PyThreadState* __tstate = wxPyBeginAllowThreads();
996 _result = (long )wxSize_x_set(_arg0,_arg1);
997
998 wxPyEndAllowThreads(__tstate);
999 if (PyErr_Occurred()) return NULL;
1000 } _resultobj = Py_BuildValue("l",_result);
1001 return _resultobj;
1002 }
1003
1004 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1005 static PyObject *_wrap_wxSize_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1006 PyObject * _resultobj;
1007 long _result;
1008 wxSize * _arg0;
1009 wxSize temp;
1010 PyObject * _obj0 = 0;
1011 char *_kwnames[] = { "self", NULL };
1012
1013 self = self;
1014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_x_get",_kwnames,&_obj0))
1015 return NULL;
1016 {
1017 _arg0 = &temp;
1018 if (! wxSize_helper(_obj0, &_arg0))
1019 return NULL;
1020 }
1021 {
1022 PyThreadState* __tstate = wxPyBeginAllowThreads();
1023 _result = (long )wxSize_x_get(_arg0);
1024
1025 wxPyEndAllowThreads(__tstate);
1026 if (PyErr_Occurred()) return NULL;
1027 } _resultobj = Py_BuildValue("l",_result);
1028 return _resultobj;
1029 }
1030
1031 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1032 static PyObject *_wrap_wxSize_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1033 PyObject * _resultobj;
1034 long _result;
1035 wxSize * _arg0;
1036 long _arg1;
1037 wxSize temp;
1038 PyObject * _obj0 = 0;
1039 char *_kwnames[] = { "self","y", NULL };
1040
1041 self = self;
1042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_y_set",_kwnames,&_obj0,&_arg1))
1043 return NULL;
1044 {
1045 _arg0 = &temp;
1046 if (! wxSize_helper(_obj0, &_arg0))
1047 return NULL;
1048 }
1049 {
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 _result = (long )wxSize_y_set(_arg0,_arg1);
1052
1053 wxPyEndAllowThreads(__tstate);
1054 if (PyErr_Occurred()) return NULL;
1055 } _resultobj = Py_BuildValue("l",_result);
1056 return _resultobj;
1057 }
1058
1059 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1060 static PyObject *_wrap_wxSize_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1061 PyObject * _resultobj;
1062 long _result;
1063 wxSize * _arg0;
1064 wxSize temp;
1065 PyObject * _obj0 = 0;
1066 char *_kwnames[] = { "self", NULL };
1067
1068 self = self;
1069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_y_get",_kwnames,&_obj0))
1070 return NULL;
1071 {
1072 _arg0 = &temp;
1073 if (! wxSize_helper(_obj0, &_arg0))
1074 return NULL;
1075 }
1076 {
1077 PyThreadState* __tstate = wxPyBeginAllowThreads();
1078 _result = (long )wxSize_y_get(_arg0);
1079
1080 wxPyEndAllowThreads(__tstate);
1081 if (PyErr_Occurred()) return NULL;
1082 } _resultobj = Py_BuildValue("l",_result);
1083 return _resultobj;
1084 }
1085
1086 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1087 static PyObject *_wrap_new_wxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1088 PyObject * _resultobj;
1089 wxSize * _result;
1090 long _arg0 = (long ) 0;
1091 long _arg1 = (long ) 0;
1092 char *_kwnames[] = { "w","h", NULL };
1093 char _ptemp[128];
1094
1095 self = self;
1096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ll:new_wxSize",_kwnames,&_arg0,&_arg1))
1097 return NULL;
1098 {
1099 PyThreadState* __tstate = wxPyBeginAllowThreads();
1100 _result = (wxSize *)new_wxSize(_arg0,_arg1);
1101
1102 wxPyEndAllowThreads(__tstate);
1103 if (PyErr_Occurred()) return NULL;
1104 } if (_result) {
1105 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p");
1106 _resultobj = Py_BuildValue("s",_ptemp);
1107 } else {
1108 Py_INCREF(Py_None);
1109 _resultobj = Py_None;
1110 }
1111 return _resultobj;
1112 }
1113
1114 #define delete_wxSize(_swigobj) (delete _swigobj)
1115 static PyObject *_wrap_delete_wxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1116 PyObject * _resultobj;
1117 wxSize * _arg0;
1118 wxSize temp;
1119 PyObject * _obj0 = 0;
1120 char *_kwnames[] = { "self", NULL };
1121
1122 self = self;
1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxSize",_kwnames,&_obj0))
1124 return NULL;
1125 {
1126 _arg0 = &temp;
1127 if (! wxSize_helper(_obj0, &_arg0))
1128 return NULL;
1129 }
1130 {
1131 PyThreadState* __tstate = wxPyBeginAllowThreads();
1132 delete_wxSize(_arg0);
1133
1134 wxPyEndAllowThreads(__tstate);
1135 if (PyErr_Occurred()) return NULL;
1136 } Py_INCREF(Py_None);
1137 _resultobj = Py_None;
1138 return _resultobj;
1139 }
1140
1141 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1142 static PyObject *_wrap_wxSize_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1143 PyObject * _resultobj;
1144 wxSize * _arg0;
1145 long _arg1;
1146 long _arg2;
1147 wxSize temp;
1148 PyObject * _obj0 = 0;
1149 char *_kwnames[] = { "self","w","h", NULL };
1150
1151 self = self;
1152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxSize_Set",_kwnames,&_obj0,&_arg1,&_arg2))
1153 return NULL;
1154 {
1155 _arg0 = &temp;
1156 if (! wxSize_helper(_obj0, &_arg0))
1157 return NULL;
1158 }
1159 {
1160 PyThreadState* __tstate = wxPyBeginAllowThreads();
1161 wxSize_Set(_arg0,_arg1,_arg2);
1162
1163 wxPyEndAllowThreads(__tstate);
1164 if (PyErr_Occurred()) return NULL;
1165 } Py_INCREF(Py_None);
1166 _resultobj = Py_None;
1167 return _resultobj;
1168 }
1169
1170 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1171 static PyObject *_wrap_wxSize_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
1172 PyObject * _resultobj;
1173 long _result;
1174 wxSize * _arg0;
1175 wxSize temp;
1176 PyObject * _obj0 = 0;
1177 char *_kwnames[] = { "self", NULL };
1178
1179 self = self;
1180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetX",_kwnames,&_obj0))
1181 return NULL;
1182 {
1183 _arg0 = &temp;
1184 if (! wxSize_helper(_obj0, &_arg0))
1185 return NULL;
1186 }
1187 {
1188 PyThreadState* __tstate = wxPyBeginAllowThreads();
1189 _result = (long )wxSize_GetX(_arg0);
1190
1191 wxPyEndAllowThreads(__tstate);
1192 if (PyErr_Occurred()) return NULL;
1193 } _resultobj = Py_BuildValue("l",_result);
1194 return _resultobj;
1195 }
1196
1197 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1198 static PyObject *_wrap_wxSize_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
1199 PyObject * _resultobj;
1200 long _result;
1201 wxSize * _arg0;
1202 wxSize temp;
1203 PyObject * _obj0 = 0;
1204 char *_kwnames[] = { "self", NULL };
1205
1206 self = self;
1207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetY",_kwnames,&_obj0))
1208 return NULL;
1209 {
1210 _arg0 = &temp;
1211 if (! wxSize_helper(_obj0, &_arg0))
1212 return NULL;
1213 }
1214 {
1215 PyThreadState* __tstate = wxPyBeginAllowThreads();
1216 _result = (long )wxSize_GetY(_arg0);
1217
1218 wxPyEndAllowThreads(__tstate);
1219 if (PyErr_Occurred()) return NULL;
1220 } _resultobj = Py_BuildValue("l",_result);
1221 return _resultobj;
1222 }
1223
1224 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1225 static PyObject *_wrap_wxSize_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1226 PyObject * _resultobj;
1227 long _result;
1228 wxSize * _arg0;
1229 wxSize temp;
1230 PyObject * _obj0 = 0;
1231 char *_kwnames[] = { "self", NULL };
1232
1233 self = self;
1234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetWidth",_kwnames,&_obj0))
1235 return NULL;
1236 {
1237 _arg0 = &temp;
1238 if (! wxSize_helper(_obj0, &_arg0))
1239 return NULL;
1240 }
1241 {
1242 PyThreadState* __tstate = wxPyBeginAllowThreads();
1243 _result = (long )wxSize_GetWidth(_arg0);
1244
1245 wxPyEndAllowThreads(__tstate);
1246 if (PyErr_Occurred()) return NULL;
1247 } _resultobj = Py_BuildValue("l",_result);
1248 return _resultobj;
1249 }
1250
1251 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1252 static PyObject *_wrap_wxSize_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1253 PyObject * _resultobj;
1254 long _result;
1255 wxSize * _arg0;
1256 wxSize temp;
1257 PyObject * _obj0 = 0;
1258 char *_kwnames[] = { "self", NULL };
1259
1260 self = self;
1261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetHeight",_kwnames,&_obj0))
1262 return NULL;
1263 {
1264 _arg0 = &temp;
1265 if (! wxSize_helper(_obj0, &_arg0))
1266 return NULL;
1267 }
1268 {
1269 PyThreadState* __tstate = wxPyBeginAllowThreads();
1270 _result = (long )wxSize_GetHeight(_arg0);
1271
1272 wxPyEndAllowThreads(__tstate);
1273 if (PyErr_Occurred()) return NULL;
1274 } _resultobj = Py_BuildValue("l",_result);
1275 return _resultobj;
1276 }
1277
1278 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1279 static PyObject *_wrap_wxSize_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1280 PyObject * _resultobj;
1281 wxSize * _arg0;
1282 long _arg1;
1283 wxSize temp;
1284 PyObject * _obj0 = 0;
1285 char *_kwnames[] = { "self","w", NULL };
1286
1287 self = self;
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_SetWidth",_kwnames,&_obj0,&_arg1))
1289 return NULL;
1290 {
1291 _arg0 = &temp;
1292 if (! wxSize_helper(_obj0, &_arg0))
1293 return NULL;
1294 }
1295 {
1296 PyThreadState* __tstate = wxPyBeginAllowThreads();
1297 wxSize_SetWidth(_arg0,_arg1);
1298
1299 wxPyEndAllowThreads(__tstate);
1300 if (PyErr_Occurred()) return NULL;
1301 } Py_INCREF(Py_None);
1302 _resultobj = Py_None;
1303 return _resultobj;
1304 }
1305
1306 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1307 static PyObject *_wrap_wxSize_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1308 PyObject * _resultobj;
1309 wxSize * _arg0;
1310 long _arg1;
1311 wxSize temp;
1312 PyObject * _obj0 = 0;
1313 char *_kwnames[] = { "self","h", NULL };
1314
1315 self = self;
1316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_SetHeight",_kwnames,&_obj0,&_arg1))
1317 return NULL;
1318 {
1319 _arg0 = &temp;
1320 if (! wxSize_helper(_obj0, &_arg0))
1321 return NULL;
1322 }
1323 {
1324 PyThreadState* __tstate = wxPyBeginAllowThreads();
1325 wxSize_SetHeight(_arg0,_arg1);
1326
1327 wxPyEndAllowThreads(__tstate);
1328 if (PyErr_Occurred()) return NULL;
1329 } Py_INCREF(Py_None);
1330 _resultobj = Py_None;
1331 return _resultobj;
1332 }
1333
1334 #define wxSize_IncTo(_swigobj,_swigarg0) (_swigobj->IncTo(_swigarg0))
1335 static PyObject *_wrap_wxSize_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1336 PyObject * _resultobj;
1337 wxSize * _arg0;
1338 wxSize * _arg1;
1339 wxSize temp;
1340 PyObject * _obj0 = 0;
1341 wxSize temp0;
1342 PyObject * _obj1 = 0;
1343 char *_kwnames[] = { "self","sz", NULL };
1344
1345 self = self;
1346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSize_IncTo",_kwnames,&_obj0,&_obj1))
1347 return NULL;
1348 {
1349 _arg0 = &temp;
1350 if (! wxSize_helper(_obj0, &_arg0))
1351 return NULL;
1352 }
1353 {
1354 _arg1 = &temp0;
1355 if (! wxSize_helper(_obj1, &_arg1))
1356 return NULL;
1357 }
1358 {
1359 PyThreadState* __tstate = wxPyBeginAllowThreads();
1360 wxSize_IncTo(_arg0,*_arg1);
1361
1362 wxPyEndAllowThreads(__tstate);
1363 if (PyErr_Occurred()) return NULL;
1364 } Py_INCREF(Py_None);
1365 _resultobj = Py_None;
1366 return _resultobj;
1367 }
1368
1369 #define wxSize_DecTo(_swigobj,_swigarg0) (_swigobj->DecTo(_swigarg0))
1370 static PyObject *_wrap_wxSize_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject * _resultobj;
1372 wxSize * _arg0;
1373 wxSize * _arg1;
1374 wxSize temp;
1375 PyObject * _obj0 = 0;
1376 wxSize temp0;
1377 PyObject * _obj1 = 0;
1378 char *_kwnames[] = { "self","sz", NULL };
1379
1380 self = self;
1381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSize_DecTo",_kwnames,&_obj0,&_obj1))
1382 return NULL;
1383 {
1384 _arg0 = &temp;
1385 if (! wxSize_helper(_obj0, &_arg0))
1386 return NULL;
1387 }
1388 {
1389 _arg1 = &temp0;
1390 if (! wxSize_helper(_obj1, &_arg1))
1391 return NULL;
1392 }
1393 {
1394 PyThreadState* __tstate = wxPyBeginAllowThreads();
1395 wxSize_DecTo(_arg0,*_arg1);
1396
1397 wxPyEndAllowThreads(__tstate);
1398 if (PyErr_Occurred()) return NULL;
1399 } Py_INCREF(Py_None);
1400 _resultobj = Py_None;
1401 return _resultobj;
1402 }
1403
1404 static PyObject * wxSize_asTuple(wxSize *self) {
1405 wxPyBeginBlockThreads();
1406 PyObject* tup = PyTuple_New(2);
1407 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1408 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1409 wxPyEndBlockThreads();
1410 return tup;
1411 }
1412 static PyObject *_wrap_wxSize_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1413 PyObject * _resultobj;
1414 PyObject * _result;
1415 wxSize * _arg0;
1416 wxSize temp;
1417 PyObject * _obj0 = 0;
1418 char *_kwnames[] = { "self", NULL };
1419
1420 self = self;
1421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_asTuple",_kwnames,&_obj0))
1422 return NULL;
1423 {
1424 _arg0 = &temp;
1425 if (! wxSize_helper(_obj0, &_arg0))
1426 return NULL;
1427 }
1428 {
1429 PyThreadState* __tstate = wxPyBeginAllowThreads();
1430 _result = (PyObject *)wxSize_asTuple(_arg0);
1431
1432 wxPyEndAllowThreads(__tstate);
1433 if (PyErr_Occurred()) return NULL;
1434 }{
1435 _resultobj = _result;
1436 }
1437 return _resultobj;
1438 }
1439
1440 static bool wxSize___eq__(wxSize *self,PyObject * obj) {
1441 wxSize tmp;
1442 wxSize* ptr = &tmp;
1443 if (obj == Py_None) return FALSE;
1444 wxPyBLOCK_THREADS(bool success = wxSize_helper(obj, &ptr); PyErr_Clear());
1445 if (! success) return FALSE;
1446 return *self == *ptr;
1447 }
1448 static PyObject *_wrap_wxSize___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject * _resultobj;
1450 bool _result;
1451 wxSize * _arg0;
1452 PyObject * _arg1;
1453 wxSize temp;
1454 PyObject * _obj0 = 0;
1455 PyObject * _obj1 = 0;
1456 char *_kwnames[] = { "self","obj", NULL };
1457
1458 self = self;
1459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSize___eq__",_kwnames,&_obj0,&_obj1))
1460 return NULL;
1461 {
1462 _arg0 = &temp;
1463 if (! wxSize_helper(_obj0, &_arg0))
1464 return NULL;
1465 }
1466 {
1467 _arg1 = _obj1;
1468 }
1469 {
1470 PyThreadState* __tstate = wxPyBeginAllowThreads();
1471 _result = (bool )wxSize___eq__(_arg0,_arg1);
1472
1473 wxPyEndAllowThreads(__tstate);
1474 if (PyErr_Occurred()) return NULL;
1475 } _resultobj = Py_BuildValue("i",_result);
1476 return _resultobj;
1477 }
1478
1479 static bool wxSize___ne__(wxSize *self,PyObject * obj) {
1480 wxSize tmp;
1481 wxSize* ptr = &tmp;
1482 if (obj == Py_None) return TRUE;
1483 wxPyBLOCK_THREADS(bool success = wxSize_helper(obj, &ptr); PyErr_Clear());
1484 if (! success) return TRUE;
1485 return *self != *ptr;
1486 }
1487 static PyObject *_wrap_wxSize___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject * _resultobj;
1489 bool _result;
1490 wxSize * _arg0;
1491 PyObject * _arg1;
1492 wxSize temp;
1493 PyObject * _obj0 = 0;
1494 PyObject * _obj1 = 0;
1495 char *_kwnames[] = { "self","obj", NULL };
1496
1497 self = self;
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSize___ne__",_kwnames,&_obj0,&_obj1))
1499 return NULL;
1500 {
1501 _arg0 = &temp;
1502 if (! wxSize_helper(_obj0, &_arg0))
1503 return NULL;
1504 }
1505 {
1506 _arg1 = _obj1;
1507 }
1508 {
1509 PyThreadState* __tstate = wxPyBeginAllowThreads();
1510 _result = (bool )wxSize___ne__(_arg0,_arg1);
1511
1512 wxPyEndAllowThreads(__tstate);
1513 if (PyErr_Occurred()) return NULL;
1514 } _resultobj = Py_BuildValue("i",_result);
1515 return _resultobj;
1516 }
1517
1518 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1519 static PyObject *_wrap_wxRealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1520 PyObject * _resultobj;
1521 double _result;
1522 wxRealPoint * _arg0;
1523 double _arg1;
1524 wxRealPoint temp;
1525 PyObject * _obj0 = 0;
1526 char *_kwnames[] = { "self","x", NULL };
1527
1528 self = self;
1529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxRealPoint_x_set",_kwnames,&_obj0,&_arg1))
1530 return NULL;
1531 {
1532 _arg0 = &temp;
1533 if (! wxRealPoint_helper(_obj0, &_arg0))
1534 return NULL;
1535 }
1536 {
1537 PyThreadState* __tstate = wxPyBeginAllowThreads();
1538 _result = (double )wxRealPoint_x_set(_arg0,_arg1);
1539
1540 wxPyEndAllowThreads(__tstate);
1541 if (PyErr_Occurred()) return NULL;
1542 } _resultobj = Py_BuildValue("d",_result);
1543 return _resultobj;
1544 }
1545
1546 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1547 static PyObject *_wrap_wxRealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject * _resultobj;
1549 double _result;
1550 wxRealPoint * _arg0;
1551 wxRealPoint temp;
1552 PyObject * _obj0 = 0;
1553 char *_kwnames[] = { "self", NULL };
1554
1555 self = self;
1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_x_get",_kwnames,&_obj0))
1557 return NULL;
1558 {
1559 _arg0 = &temp;
1560 if (! wxRealPoint_helper(_obj0, &_arg0))
1561 return NULL;
1562 }
1563 {
1564 PyThreadState* __tstate = wxPyBeginAllowThreads();
1565 _result = (double )wxRealPoint_x_get(_arg0);
1566
1567 wxPyEndAllowThreads(__tstate);
1568 if (PyErr_Occurred()) return NULL;
1569 } _resultobj = Py_BuildValue("d",_result);
1570 return _resultobj;
1571 }
1572
1573 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1574 static PyObject *_wrap_wxRealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1575 PyObject * _resultobj;
1576 double _result;
1577 wxRealPoint * _arg0;
1578 double _arg1;
1579 wxRealPoint temp;
1580 PyObject * _obj0 = 0;
1581 char *_kwnames[] = { "self","y", NULL };
1582
1583 self = self;
1584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxRealPoint_y_set",_kwnames,&_obj0,&_arg1))
1585 return NULL;
1586 {
1587 _arg0 = &temp;
1588 if (! wxRealPoint_helper(_obj0, &_arg0))
1589 return NULL;
1590 }
1591 {
1592 PyThreadState* __tstate = wxPyBeginAllowThreads();
1593 _result = (double )wxRealPoint_y_set(_arg0,_arg1);
1594
1595 wxPyEndAllowThreads(__tstate);
1596 if (PyErr_Occurred()) return NULL;
1597 } _resultobj = Py_BuildValue("d",_result);
1598 return _resultobj;
1599 }
1600
1601 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1602 static PyObject *_wrap_wxRealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1603 PyObject * _resultobj;
1604 double _result;
1605 wxRealPoint * _arg0;
1606 wxRealPoint temp;
1607 PyObject * _obj0 = 0;
1608 char *_kwnames[] = { "self", NULL };
1609
1610 self = self;
1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_y_get",_kwnames,&_obj0))
1612 return NULL;
1613 {
1614 _arg0 = &temp;
1615 if (! wxRealPoint_helper(_obj0, &_arg0))
1616 return NULL;
1617 }
1618 {
1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
1620 _result = (double )wxRealPoint_y_get(_arg0);
1621
1622 wxPyEndAllowThreads(__tstate);
1623 if (PyErr_Occurred()) return NULL;
1624 } _resultobj = Py_BuildValue("d",_result);
1625 return _resultobj;
1626 }
1627
1628 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1629 static PyObject *_wrap_new_wxRealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1630 PyObject * _resultobj;
1631 wxRealPoint * _result;
1632 double _arg0 = (double ) 0.0;
1633 double _arg1 = (double ) 0.0;
1634 char *_kwnames[] = { "x","y", NULL };
1635 char _ptemp[128];
1636
1637 self = self;
1638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxRealPoint",_kwnames,&_arg0,&_arg1))
1639 return NULL;
1640 {
1641 PyThreadState* __tstate = wxPyBeginAllowThreads();
1642 _result = (wxRealPoint *)new_wxRealPoint(_arg0,_arg1);
1643
1644 wxPyEndAllowThreads(__tstate);
1645 if (PyErr_Occurred()) return NULL;
1646 } if (_result) {
1647 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p");
1648 _resultobj = Py_BuildValue("s",_ptemp);
1649 } else {
1650 Py_INCREF(Py_None);
1651 _resultobj = Py_None;
1652 }
1653 return _resultobj;
1654 }
1655
1656 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1657 static PyObject *_wrap_delete_wxRealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1658 PyObject * _resultobj;
1659 wxRealPoint * _arg0;
1660 wxRealPoint temp;
1661 PyObject * _obj0 = 0;
1662 char *_kwnames[] = { "self", NULL };
1663
1664 self = self;
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRealPoint",_kwnames,&_obj0))
1666 return NULL;
1667 {
1668 _arg0 = &temp;
1669 if (! wxRealPoint_helper(_obj0, &_arg0))
1670 return NULL;
1671 }
1672 {
1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
1674 delete_wxRealPoint(_arg0);
1675
1676 wxPyEndAllowThreads(__tstate);
1677 if (PyErr_Occurred()) return NULL;
1678 } Py_INCREF(Py_None);
1679 _resultobj = Py_None;
1680 return _resultobj;
1681 }
1682
1683 static void wxRealPoint_Set(wxRealPoint *self,double x,double y) {
1684 self->x = x;
1685 self->y = y;
1686 }
1687 static PyObject *_wrap_wxRealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1688 PyObject * _resultobj;
1689 wxRealPoint * _arg0;
1690 double _arg1;
1691 double _arg2;
1692 wxRealPoint temp;
1693 PyObject * _obj0 = 0;
1694 char *_kwnames[] = { "self","x","y", NULL };
1695
1696 self = self;
1697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxRealPoint_Set",_kwnames,&_obj0,&_arg1,&_arg2))
1698 return NULL;
1699 {
1700 _arg0 = &temp;
1701 if (! wxRealPoint_helper(_obj0, &_arg0))
1702 return NULL;
1703 }
1704 {
1705 PyThreadState* __tstate = wxPyBeginAllowThreads();
1706 wxRealPoint_Set(_arg0,_arg1,_arg2);
1707
1708 wxPyEndAllowThreads(__tstate);
1709 if (PyErr_Occurred()) return NULL;
1710 } Py_INCREF(Py_None);
1711 _resultobj = Py_None;
1712 return _resultobj;
1713 }
1714
1715 static PyObject * wxRealPoint_asTuple(wxRealPoint *self) {
1716 wxPyBeginBlockThreads();
1717 PyObject* tup = PyTuple_New(2);
1718 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
1719 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
1720 wxPyEndBlockThreads();
1721 return tup;
1722 }
1723 static PyObject *_wrap_wxRealPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1724 PyObject * _resultobj;
1725 PyObject * _result;
1726 wxRealPoint * _arg0;
1727 wxRealPoint temp;
1728 PyObject * _obj0 = 0;
1729 char *_kwnames[] = { "self", NULL };
1730
1731 self = self;
1732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_asTuple",_kwnames,&_obj0))
1733 return NULL;
1734 {
1735 _arg0 = &temp;
1736 if (! wxRealPoint_helper(_obj0, &_arg0))
1737 return NULL;
1738 }
1739 {
1740 PyThreadState* __tstate = wxPyBeginAllowThreads();
1741 _result = (PyObject *)wxRealPoint_asTuple(_arg0);
1742
1743 wxPyEndAllowThreads(__tstate);
1744 if (PyErr_Occurred()) return NULL;
1745 }{
1746 _resultobj = _result;
1747 }
1748 return _resultobj;
1749 }
1750
1751 static wxRealPoint wxRealPoint___add__(wxRealPoint *self,const wxRealPoint & p) {
1752 return *self + p;
1753 }
1754 static PyObject *_wrap_wxRealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject * _resultobj;
1756 wxRealPoint * _result;
1757 wxRealPoint * _arg0;
1758 wxRealPoint * _arg1;
1759 wxRealPoint temp;
1760 PyObject * _obj0 = 0;
1761 wxRealPoint temp0;
1762 PyObject * _obj1 = 0;
1763 char *_kwnames[] = { "self","p", NULL };
1764 char _ptemp[128];
1765
1766 self = self;
1767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___add__",_kwnames,&_obj0,&_obj1))
1768 return NULL;
1769 {
1770 _arg0 = &temp;
1771 if (! wxRealPoint_helper(_obj0, &_arg0))
1772 return NULL;
1773 }
1774 {
1775 _arg1 = &temp0;
1776 if (! wxRealPoint_helper(_obj1, &_arg1))
1777 return NULL;
1778 }
1779 {
1780 PyThreadState* __tstate = wxPyBeginAllowThreads();
1781 _result = new wxRealPoint (wxRealPoint___add__(_arg0,*_arg1));
1782
1783 wxPyEndAllowThreads(__tstate);
1784 if (PyErr_Occurred()) return NULL;
1785 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
1786 _resultobj = Py_BuildValue("s",_ptemp);
1787 return _resultobj;
1788 }
1789
1790 static wxRealPoint wxRealPoint___sub__(wxRealPoint *self,const wxRealPoint & p) {
1791 return *self - p;
1792 }
1793 static PyObject *_wrap_wxRealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject * _resultobj;
1795 wxRealPoint * _result;
1796 wxRealPoint * _arg0;
1797 wxRealPoint * _arg1;
1798 wxRealPoint temp;
1799 PyObject * _obj0 = 0;
1800 wxRealPoint temp0;
1801 PyObject * _obj1 = 0;
1802 char *_kwnames[] = { "self","p", NULL };
1803 char _ptemp[128];
1804
1805 self = self;
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___sub__",_kwnames,&_obj0,&_obj1))
1807 return NULL;
1808 {
1809 _arg0 = &temp;
1810 if (! wxRealPoint_helper(_obj0, &_arg0))
1811 return NULL;
1812 }
1813 {
1814 _arg1 = &temp0;
1815 if (! wxRealPoint_helper(_obj1, &_arg1))
1816 return NULL;
1817 }
1818 {
1819 PyThreadState* __tstate = wxPyBeginAllowThreads();
1820 _result = new wxRealPoint (wxRealPoint___sub__(_arg0,*_arg1));
1821
1822 wxPyEndAllowThreads(__tstate);
1823 if (PyErr_Occurred()) return NULL;
1824 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
1825 _resultobj = Py_BuildValue("s",_ptemp);
1826 return _resultobj;
1827 }
1828
1829 static bool wxRealPoint___eq__(wxRealPoint *self,PyObject * obj) {
1830 wxRealPoint tmp;
1831 wxRealPoint* ptr = &tmp;
1832 if (obj == Py_None) return FALSE;
1833 wxPyBLOCK_THREADS(bool success = wxRealPoint_helper(obj, &ptr); PyErr_Clear());
1834 if (! success) return FALSE;
1835 return *self == *ptr;
1836 }
1837 static PyObject *_wrap_wxRealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1838 PyObject * _resultobj;
1839 bool _result;
1840 wxRealPoint * _arg0;
1841 PyObject * _arg1;
1842 wxRealPoint temp;
1843 PyObject * _obj0 = 0;
1844 PyObject * _obj1 = 0;
1845 char *_kwnames[] = { "self","obj", NULL };
1846
1847 self = self;
1848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___eq__",_kwnames,&_obj0,&_obj1))
1849 return NULL;
1850 {
1851 _arg0 = &temp;
1852 if (! wxRealPoint_helper(_obj0, &_arg0))
1853 return NULL;
1854 }
1855 {
1856 _arg1 = _obj1;
1857 }
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 _result = (bool )wxRealPoint___eq__(_arg0,_arg1);
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) return NULL;
1864 } _resultobj = Py_BuildValue("i",_result);
1865 return _resultobj;
1866 }
1867
1868 static bool wxRealPoint___ne__(wxRealPoint *self,PyObject * obj) {
1869 wxRealPoint tmp;
1870 wxRealPoint* ptr = &tmp;
1871 if (obj == Py_None) return TRUE;
1872 wxPyBLOCK_THREADS(bool success = wxRealPoint_helper(obj, &ptr); PyErr_Clear());
1873 if (! success) return TRUE;
1874 return *self != *ptr;
1875 }
1876 static PyObject *_wrap_wxRealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1877 PyObject * _resultobj;
1878 bool _result;
1879 wxRealPoint * _arg0;
1880 PyObject * _arg1;
1881 wxRealPoint temp;
1882 PyObject * _obj0 = 0;
1883 PyObject * _obj1 = 0;
1884 char *_kwnames[] = { "self","obj", NULL };
1885
1886 self = self;
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___ne__",_kwnames,&_obj0,&_obj1))
1888 return NULL;
1889 {
1890 _arg0 = &temp;
1891 if (! wxRealPoint_helper(_obj0, &_arg0))
1892 return NULL;
1893 }
1894 {
1895 _arg1 = _obj1;
1896 }
1897 {
1898 PyThreadState* __tstate = wxPyBeginAllowThreads();
1899 _result = (bool )wxRealPoint___ne__(_arg0,_arg1);
1900
1901 wxPyEndAllowThreads(__tstate);
1902 if (PyErr_Occurred()) return NULL;
1903 } _resultobj = Py_BuildValue("i",_result);
1904 return _resultobj;
1905 }
1906
1907 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1908 static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject * _resultobj;
1910 long _result;
1911 wxPoint * _arg0;
1912 long _arg1;
1913 wxPoint temp;
1914 PyObject * _obj0 = 0;
1915 char *_kwnames[] = { "self","x", NULL };
1916
1917 self = self;
1918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPoint_x_set",_kwnames,&_obj0,&_arg1))
1919 return NULL;
1920 {
1921 _arg0 = &temp;
1922 if (! wxPoint_helper(_obj0, &_arg0))
1923 return NULL;
1924 }
1925 {
1926 PyThreadState* __tstate = wxPyBeginAllowThreads();
1927 _result = (long )wxPoint_x_set(_arg0,_arg1);
1928
1929 wxPyEndAllowThreads(__tstate);
1930 if (PyErr_Occurred()) return NULL;
1931 } _resultobj = Py_BuildValue("l",_result);
1932 return _resultobj;
1933 }
1934
1935 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1936 static PyObject *_wrap_wxPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1937 PyObject * _resultobj;
1938 long _result;
1939 wxPoint * _arg0;
1940 wxPoint temp;
1941 PyObject * _obj0 = 0;
1942 char *_kwnames[] = { "self", NULL };
1943
1944 self = self;
1945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_x_get",_kwnames,&_obj0))
1946 return NULL;
1947 {
1948 _arg0 = &temp;
1949 if (! wxPoint_helper(_obj0, &_arg0))
1950 return NULL;
1951 }
1952 {
1953 PyThreadState* __tstate = wxPyBeginAllowThreads();
1954 _result = (long )wxPoint_x_get(_arg0);
1955
1956 wxPyEndAllowThreads(__tstate);
1957 if (PyErr_Occurred()) return NULL;
1958 } _resultobj = Py_BuildValue("l",_result);
1959 return _resultobj;
1960 }
1961
1962 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1963 static PyObject *_wrap_wxPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1964 PyObject * _resultobj;
1965 long _result;
1966 wxPoint * _arg0;
1967 long _arg1;
1968 wxPoint temp;
1969 PyObject * _obj0 = 0;
1970 char *_kwnames[] = { "self","y", NULL };
1971
1972 self = self;
1973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPoint_y_set",_kwnames,&_obj0,&_arg1))
1974 return NULL;
1975 {
1976 _arg0 = &temp;
1977 if (! wxPoint_helper(_obj0, &_arg0))
1978 return NULL;
1979 }
1980 {
1981 PyThreadState* __tstate = wxPyBeginAllowThreads();
1982 _result = (long )wxPoint_y_set(_arg0,_arg1);
1983
1984 wxPyEndAllowThreads(__tstate);
1985 if (PyErr_Occurred()) return NULL;
1986 } _resultobj = Py_BuildValue("l",_result);
1987 return _resultobj;
1988 }
1989
1990 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1991 static PyObject *_wrap_wxPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1992 PyObject * _resultobj;
1993 long _result;
1994 wxPoint * _arg0;
1995 wxPoint temp;
1996 PyObject * _obj0 = 0;
1997 char *_kwnames[] = { "self", NULL };
1998
1999 self = self;
2000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_y_get",_kwnames,&_obj0))
2001 return NULL;
2002 {
2003 _arg0 = &temp;
2004 if (! wxPoint_helper(_obj0, &_arg0))
2005 return NULL;
2006 }
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 _result = (long )wxPoint_y_get(_arg0);
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) return NULL;
2013 } _resultobj = Py_BuildValue("l",_result);
2014 return _resultobj;
2015 }
2016
2017 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
2018 static PyObject *_wrap_new_wxPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2019 PyObject * _resultobj;
2020 wxPoint * _result;
2021 long _arg0 = (long ) 0;
2022 long _arg1 = (long ) 0;
2023 char *_kwnames[] = { "x","y", NULL };
2024 char _ptemp[128];
2025
2026 self = self;
2027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ll:new_wxPoint",_kwnames,&_arg0,&_arg1))
2028 return NULL;
2029 {
2030 PyThreadState* __tstate = wxPyBeginAllowThreads();
2031 _result = (wxPoint *)new_wxPoint(_arg0,_arg1);
2032
2033 wxPyEndAllowThreads(__tstate);
2034 if (PyErr_Occurred()) return NULL;
2035 } if (_result) {
2036 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
2037 _resultobj = Py_BuildValue("s",_ptemp);
2038 } else {
2039 Py_INCREF(Py_None);
2040 _resultobj = Py_None;
2041 }
2042 return _resultobj;
2043 }
2044
2045 #define delete_wxPoint(_swigobj) (delete _swigobj)
2046 static PyObject *_wrap_delete_wxPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2047 PyObject * _resultobj;
2048 wxPoint * _arg0;
2049 wxPoint temp;
2050 PyObject * _obj0 = 0;
2051 char *_kwnames[] = { "self", NULL };
2052
2053 self = self;
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPoint",_kwnames,&_obj0))
2055 return NULL;
2056 {
2057 _arg0 = &temp;
2058 if (! wxPoint_helper(_obj0, &_arg0))
2059 return NULL;
2060 }
2061 {
2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
2063 delete_wxPoint(_arg0);
2064
2065 wxPyEndAllowThreads(__tstate);
2066 if (PyErr_Occurred()) return NULL;
2067 } Py_INCREF(Py_None);
2068 _resultobj = Py_None;
2069 return _resultobj;
2070 }
2071
2072 static void wxPoint_Set(wxPoint *self,long x,long y) {
2073 self->x = x;
2074 self->y = y;
2075 }
2076 static PyObject *_wrap_wxPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2077 PyObject * _resultobj;
2078 wxPoint * _arg0;
2079 long _arg1;
2080 long _arg2;
2081 wxPoint temp;
2082 PyObject * _obj0 = 0;
2083 char *_kwnames[] = { "self","x","y", NULL };
2084
2085 self = self;
2086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxPoint_Set",_kwnames,&_obj0,&_arg1,&_arg2))
2087 return NULL;
2088 {
2089 _arg0 = &temp;
2090 if (! wxPoint_helper(_obj0, &_arg0))
2091 return NULL;
2092 }
2093 {
2094 PyThreadState* __tstate = wxPyBeginAllowThreads();
2095 wxPoint_Set(_arg0,_arg1,_arg2);
2096
2097 wxPyEndAllowThreads(__tstate);
2098 if (PyErr_Occurred()) return NULL;
2099 } Py_INCREF(Py_None);
2100 _resultobj = Py_None;
2101 return _resultobj;
2102 }
2103
2104 static PyObject * wxPoint_asTuple(wxPoint *self) {
2105 wxPyBeginBlockThreads();
2106 PyObject* tup = PyTuple_New(2);
2107 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
2108 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
2109 wxPyEndBlockThreads();
2110 return tup;
2111 }
2112 static PyObject *_wrap_wxPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2113 PyObject * _resultobj;
2114 PyObject * _result;
2115 wxPoint * _arg0;
2116 wxPoint temp;
2117 PyObject * _obj0 = 0;
2118 char *_kwnames[] = { "self", NULL };
2119
2120 self = self;
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_asTuple",_kwnames,&_obj0))
2122 return NULL;
2123 {
2124 _arg0 = &temp;
2125 if (! wxPoint_helper(_obj0, &_arg0))
2126 return NULL;
2127 }
2128 {
2129 PyThreadState* __tstate = wxPyBeginAllowThreads();
2130 _result = (PyObject *)wxPoint_asTuple(_arg0);
2131
2132 wxPyEndAllowThreads(__tstate);
2133 if (PyErr_Occurred()) return NULL;
2134 }{
2135 _resultobj = _result;
2136 }
2137 return _resultobj;
2138 }
2139
2140 static wxPoint wxPoint___add__(wxPoint *self,const wxPoint & p) {
2141 return *self + p;
2142 }
2143 static PyObject *_wrap_wxPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2144 PyObject * _resultobj;
2145 wxPoint * _result;
2146 wxPoint * _arg0;
2147 wxPoint * _arg1;
2148 wxPoint temp;
2149 PyObject * _obj0 = 0;
2150 wxPoint temp0;
2151 PyObject * _obj1 = 0;
2152 char *_kwnames[] = { "self","p", NULL };
2153 char _ptemp[128];
2154
2155 self = self;
2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___add__",_kwnames,&_obj0,&_obj1))
2157 return NULL;
2158 {
2159 _arg0 = &temp;
2160 if (! wxPoint_helper(_obj0, &_arg0))
2161 return NULL;
2162 }
2163 {
2164 _arg1 = &temp0;
2165 if (! wxPoint_helper(_obj1, &_arg1))
2166 return NULL;
2167 }
2168 {
2169 PyThreadState* __tstate = wxPyBeginAllowThreads();
2170 _result = new wxPoint (wxPoint___add__(_arg0,*_arg1));
2171
2172 wxPyEndAllowThreads(__tstate);
2173 if (PyErr_Occurred()) return NULL;
2174 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2175 _resultobj = Py_BuildValue("s",_ptemp);
2176 return _resultobj;
2177 }
2178
2179 static wxPoint wxPoint___sub__(wxPoint *self,const wxPoint & p) {
2180 return *self - p;
2181 }
2182 static PyObject *_wrap_wxPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2183 PyObject * _resultobj;
2184 wxPoint * _result;
2185 wxPoint * _arg0;
2186 wxPoint * _arg1;
2187 wxPoint temp;
2188 PyObject * _obj0 = 0;
2189 wxPoint temp0;
2190 PyObject * _obj1 = 0;
2191 char *_kwnames[] = { "self","p", NULL };
2192 char _ptemp[128];
2193
2194 self = self;
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___sub__",_kwnames,&_obj0,&_obj1))
2196 return NULL;
2197 {
2198 _arg0 = &temp;
2199 if (! wxPoint_helper(_obj0, &_arg0))
2200 return NULL;
2201 }
2202 {
2203 _arg1 = &temp0;
2204 if (! wxPoint_helper(_obj1, &_arg1))
2205 return NULL;
2206 }
2207 {
2208 PyThreadState* __tstate = wxPyBeginAllowThreads();
2209 _result = new wxPoint (wxPoint___sub__(_arg0,*_arg1));
2210
2211 wxPyEndAllowThreads(__tstate);
2212 if (PyErr_Occurred()) return NULL;
2213 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2214 _resultobj = Py_BuildValue("s",_ptemp);
2215 return _resultobj;
2216 }
2217
2218 static bool wxPoint___eq__(wxPoint *self,PyObject * obj) {
2219 wxPoint tmp;
2220 wxPoint* ptr = &tmp;
2221 if (obj == Py_None) return FALSE;
2222 wxPyBLOCK_THREADS(bool success = wxPoint_helper(obj, &ptr); PyErr_Clear());
2223 if (! success) return FALSE;
2224 return *self == *ptr;
2225 }
2226 static PyObject *_wrap_wxPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2227 PyObject * _resultobj;
2228 bool _result;
2229 wxPoint * _arg0;
2230 PyObject * _arg1;
2231 wxPoint temp;
2232 PyObject * _obj0 = 0;
2233 PyObject * _obj1 = 0;
2234 char *_kwnames[] = { "self","obj", NULL };
2235
2236 self = self;
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___eq__",_kwnames,&_obj0,&_obj1))
2238 return NULL;
2239 {
2240 _arg0 = &temp;
2241 if (! wxPoint_helper(_obj0, &_arg0))
2242 return NULL;
2243 }
2244 {
2245 _arg1 = _obj1;
2246 }
2247 {
2248 PyThreadState* __tstate = wxPyBeginAllowThreads();
2249 _result = (bool )wxPoint___eq__(_arg0,_arg1);
2250
2251 wxPyEndAllowThreads(__tstate);
2252 if (PyErr_Occurred()) return NULL;
2253 } _resultobj = Py_BuildValue("i",_result);
2254 return _resultobj;
2255 }
2256
2257 static bool wxPoint___ne__(wxPoint *self,PyObject * obj) {
2258 wxPoint tmp;
2259 wxPoint* ptr = &tmp;
2260 if (obj == Py_None) return TRUE;
2261 wxPyBLOCK_THREADS(bool success = wxPoint_helper(obj, &ptr); PyErr_Clear());
2262 if (! success) return TRUE;
2263 return *self != *ptr;
2264 }
2265 static PyObject *_wrap_wxPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2266 PyObject * _resultobj;
2267 bool _result;
2268 wxPoint * _arg0;
2269 PyObject * _arg1;
2270 wxPoint temp;
2271 PyObject * _obj0 = 0;
2272 PyObject * _obj1 = 0;
2273 char *_kwnames[] = { "self","obj", NULL };
2274
2275 self = self;
2276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___ne__",_kwnames,&_obj0,&_obj1))
2277 return NULL;
2278 {
2279 _arg0 = &temp;
2280 if (! wxPoint_helper(_obj0, &_arg0))
2281 return NULL;
2282 }
2283 {
2284 _arg1 = _obj1;
2285 }
2286 {
2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
2288 _result = (bool )wxPoint___ne__(_arg0,_arg1);
2289
2290 wxPyEndAllowThreads(__tstate);
2291 if (PyErr_Occurred()) return NULL;
2292 } _resultobj = Py_BuildValue("i",_result);
2293 return _resultobj;
2294 }
2295
2296 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2297 static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2298 PyObject * _resultobj;
2299 wxRect * _result;
2300 int _arg0 = (int ) 0;
2301 int _arg1 = (int ) 0;
2302 int _arg2 = (int ) 0;
2303 int _arg3 = (int ) 0;
2304 char *_kwnames[] = { "x","y","width","height", NULL };
2305 char _ptemp[128];
2306
2307 self = self;
2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxRect",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
2309 return NULL;
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 _result = (wxRect *)new_wxRect(_arg0,_arg1,_arg2,_arg3);
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) return NULL;
2316 } if (_result) {
2317 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
2318 _resultobj = Py_BuildValue("s",_ptemp);
2319 } else {
2320 Py_INCREF(Py_None);
2321 _resultobj = Py_None;
2322 }
2323 return _resultobj;
2324 }
2325
2326 #define delete_wxRect(_swigobj) (delete _swigobj)
2327 static PyObject *_wrap_delete_wxRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject * _resultobj;
2329 wxRect * _arg0;
2330 wxRect temp;
2331 PyObject * _obj0 = 0;
2332 char *_kwnames[] = { "self", NULL };
2333
2334 self = self;
2335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRect",_kwnames,&_obj0))
2336 return NULL;
2337 {
2338 _arg0 = &temp;
2339 if (! wxRect_helper(_obj0, &_arg0))
2340 return NULL;
2341 }
2342 {
2343 PyThreadState* __tstate = wxPyBeginAllowThreads();
2344 delete_wxRect(_arg0);
2345
2346 wxPyEndAllowThreads(__tstate);
2347 if (PyErr_Occurred()) return NULL;
2348 } Py_INCREF(Py_None);
2349 _resultobj = Py_None;
2350 return _resultobj;
2351 }
2352
2353 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2354 static PyObject *_wrap_wxRect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2355 PyObject * _resultobj;
2356 int _result;
2357 wxRect * _arg0;
2358 wxRect temp;
2359 PyObject * _obj0 = 0;
2360 char *_kwnames[] = { "self", NULL };
2361
2362 self = self;
2363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetX",_kwnames,&_obj0))
2364 return NULL;
2365 {
2366 _arg0 = &temp;
2367 if (! wxRect_helper(_obj0, &_arg0))
2368 return NULL;
2369 }
2370 {
2371 PyThreadState* __tstate = wxPyBeginAllowThreads();
2372 _result = (int )wxRect_GetX(_arg0);
2373
2374 wxPyEndAllowThreads(__tstate);
2375 if (PyErr_Occurred()) return NULL;
2376 } _resultobj = Py_BuildValue("i",_result);
2377 return _resultobj;
2378 }
2379
2380 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2381 static PyObject *_wrap_wxRect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2382 PyObject * _resultobj;
2383 wxRect * _arg0;
2384 int _arg1;
2385 wxRect temp;
2386 PyObject * _obj0 = 0;
2387 char *_kwnames[] = { "self","X", NULL };
2388
2389 self = self;
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetX",_kwnames,&_obj0,&_arg1))
2391 return NULL;
2392 {
2393 _arg0 = &temp;
2394 if (! wxRect_helper(_obj0, &_arg0))
2395 return NULL;
2396 }
2397 {
2398 PyThreadState* __tstate = wxPyBeginAllowThreads();
2399 wxRect_SetX(_arg0,_arg1);
2400
2401 wxPyEndAllowThreads(__tstate);
2402 if (PyErr_Occurred()) return NULL;
2403 } Py_INCREF(Py_None);
2404 _resultobj = Py_None;
2405 return _resultobj;
2406 }
2407
2408 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2409 static PyObject *_wrap_wxRect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2410 PyObject * _resultobj;
2411 int _result;
2412 wxRect * _arg0;
2413 wxRect temp;
2414 PyObject * _obj0 = 0;
2415 char *_kwnames[] = { "self", NULL };
2416
2417 self = self;
2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetY",_kwnames,&_obj0))
2419 return NULL;
2420 {
2421 _arg0 = &temp;
2422 if (! wxRect_helper(_obj0, &_arg0))
2423 return NULL;
2424 }
2425 {
2426 PyThreadState* __tstate = wxPyBeginAllowThreads();
2427 _result = (int )wxRect_GetY(_arg0);
2428
2429 wxPyEndAllowThreads(__tstate);
2430 if (PyErr_Occurred()) return NULL;
2431 } _resultobj = Py_BuildValue("i",_result);
2432 return _resultobj;
2433 }
2434
2435 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2436 static PyObject *_wrap_wxRect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject * _resultobj;
2438 wxRect * _arg0;
2439 int _arg1;
2440 wxRect temp;
2441 PyObject * _obj0 = 0;
2442 char *_kwnames[] = { "self","Y", NULL };
2443
2444 self = self;
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetY",_kwnames,&_obj0,&_arg1))
2446 return NULL;
2447 {
2448 _arg0 = &temp;
2449 if (! wxRect_helper(_obj0, &_arg0))
2450 return NULL;
2451 }
2452 {
2453 PyThreadState* __tstate = wxPyBeginAllowThreads();
2454 wxRect_SetY(_arg0,_arg1);
2455
2456 wxPyEndAllowThreads(__tstate);
2457 if (PyErr_Occurred()) return NULL;
2458 } Py_INCREF(Py_None);
2459 _resultobj = Py_None;
2460 return _resultobj;
2461 }
2462
2463 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2464 static PyObject *_wrap_wxRect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject * _resultobj;
2466 int _result;
2467 wxRect * _arg0;
2468 wxRect temp;
2469 PyObject * _obj0 = 0;
2470 char *_kwnames[] = { "self", NULL };
2471
2472 self = self;
2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetWidth",_kwnames,&_obj0))
2474 return NULL;
2475 {
2476 _arg0 = &temp;
2477 if (! wxRect_helper(_obj0, &_arg0))
2478 return NULL;
2479 }
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 _result = (int )wxRect_GetWidth(_arg0);
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) return NULL;
2486 } _resultobj = Py_BuildValue("i",_result);
2487 return _resultobj;
2488 }
2489
2490 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2491 static PyObject *_wrap_wxRect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2492 PyObject * _resultobj;
2493 wxRect * _arg0;
2494 int _arg1;
2495 wxRect temp;
2496 PyObject * _obj0 = 0;
2497 char *_kwnames[] = { "self","w", NULL };
2498
2499 self = self;
2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetWidth",_kwnames,&_obj0,&_arg1))
2501 return NULL;
2502 {
2503 _arg0 = &temp;
2504 if (! wxRect_helper(_obj0, &_arg0))
2505 return NULL;
2506 }
2507 {
2508 PyThreadState* __tstate = wxPyBeginAllowThreads();
2509 wxRect_SetWidth(_arg0,_arg1);
2510
2511 wxPyEndAllowThreads(__tstate);
2512 if (PyErr_Occurred()) return NULL;
2513 } Py_INCREF(Py_None);
2514 _resultobj = Py_None;
2515 return _resultobj;
2516 }
2517
2518 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2519 static PyObject *_wrap_wxRect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2520 PyObject * _resultobj;
2521 int _result;
2522 wxRect * _arg0;
2523 wxRect temp;
2524 PyObject * _obj0 = 0;
2525 char *_kwnames[] = { "self", NULL };
2526
2527 self = self;
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetHeight",_kwnames,&_obj0))
2529 return NULL;
2530 {
2531 _arg0 = &temp;
2532 if (! wxRect_helper(_obj0, &_arg0))
2533 return NULL;
2534 }
2535 {
2536 PyThreadState* __tstate = wxPyBeginAllowThreads();
2537 _result = (int )wxRect_GetHeight(_arg0);
2538
2539 wxPyEndAllowThreads(__tstate);
2540 if (PyErr_Occurred()) return NULL;
2541 } _resultobj = Py_BuildValue("i",_result);
2542 return _resultobj;
2543 }
2544
2545 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2546 static PyObject *_wrap_wxRect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2547 PyObject * _resultobj;
2548 wxRect * _arg0;
2549 int _arg1;
2550 wxRect temp;
2551 PyObject * _obj0 = 0;
2552 char *_kwnames[] = { "self","h", NULL };
2553
2554 self = self;
2555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetHeight",_kwnames,&_obj0,&_arg1))
2556 return NULL;
2557 {
2558 _arg0 = &temp;
2559 if (! wxRect_helper(_obj0, &_arg0))
2560 return NULL;
2561 }
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 wxRect_SetHeight(_arg0,_arg1);
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) return NULL;
2568 } Py_INCREF(Py_None);
2569 _resultobj = Py_None;
2570 return _resultobj;
2571 }
2572
2573 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2574 static PyObject *_wrap_wxRect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2575 PyObject * _resultobj;
2576 wxPoint * _result;
2577 wxRect * _arg0;
2578 wxRect temp;
2579 PyObject * _obj0 = 0;
2580 char *_kwnames[] = { "self", NULL };
2581 char _ptemp[128];
2582
2583 self = self;
2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetPosition",_kwnames,&_obj0))
2585 return NULL;
2586 {
2587 _arg0 = &temp;
2588 if (! wxRect_helper(_obj0, &_arg0))
2589 return NULL;
2590 }
2591 {
2592 PyThreadState* __tstate = wxPyBeginAllowThreads();
2593 _result = new wxPoint (wxRect_GetPosition(_arg0));
2594
2595 wxPyEndAllowThreads(__tstate);
2596 if (PyErr_Occurred()) return NULL;
2597 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2598 _resultobj = Py_BuildValue("s",_ptemp);
2599 return _resultobj;
2600 }
2601
2602 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2603 static PyObject *_wrap_wxRect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2604 PyObject * _resultobj;
2605 wxSize * _result;
2606 wxRect * _arg0;
2607 wxRect temp;
2608 PyObject * _obj0 = 0;
2609 char *_kwnames[] = { "self", NULL };
2610 char _ptemp[128];
2611
2612 self = self;
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetSize",_kwnames,&_obj0))
2614 return NULL;
2615 {
2616 _arg0 = &temp;
2617 if (! wxRect_helper(_obj0, &_arg0))
2618 return NULL;
2619 }
2620 {
2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
2622 _result = new wxSize (wxRect_GetSize(_arg0));
2623
2624 wxPyEndAllowThreads(__tstate);
2625 if (PyErr_Occurred()) return NULL;
2626 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2627 _resultobj = Py_BuildValue("s",_ptemp);
2628 return _resultobj;
2629 }
2630
2631 #define wxRect_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2632 static PyObject *_wrap_wxRect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject * _resultobj;
2634 wxRect * _arg0;
2635 wxPoint * _arg1;
2636 wxRect temp;
2637 PyObject * _obj0 = 0;
2638 wxPoint temp0;
2639 PyObject * _obj1 = 0;
2640 char *_kwnames[] = { "self","p", NULL };
2641
2642 self = self;
2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect_SetPosition",_kwnames,&_obj0,&_obj1))
2644 return NULL;
2645 {
2646 _arg0 = &temp;
2647 if (! wxRect_helper(_obj0, &_arg0))
2648 return NULL;
2649 }
2650 {
2651 _arg1 = &temp0;
2652 if (! wxPoint_helper(_obj1, &_arg1))
2653 return NULL;
2654 }
2655 {
2656 PyThreadState* __tstate = wxPyBeginAllowThreads();
2657 wxRect_SetPosition(_arg0,*_arg1);
2658
2659 wxPyEndAllowThreads(__tstate);
2660 if (PyErr_Occurred()) return NULL;
2661 } Py_INCREF(Py_None);
2662 _resultobj = Py_None;
2663 return _resultobj;
2664 }
2665
2666 #define wxRect_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2667 static PyObject *_wrap_wxRect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2668 PyObject * _resultobj;
2669 wxRect * _arg0;
2670 wxSize * _arg1;
2671 wxRect temp;
2672 PyObject * _obj0 = 0;
2673 wxSize temp0;
2674 PyObject * _obj1 = 0;
2675 char *_kwnames[] = { "self","s", NULL };
2676
2677 self = self;
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect_SetSize",_kwnames,&_obj0,&_obj1))
2679 return NULL;
2680 {
2681 _arg0 = &temp;
2682 if (! wxRect_helper(_obj0, &_arg0))
2683 return NULL;
2684 }
2685 {
2686 _arg1 = &temp0;
2687 if (! wxSize_helper(_obj1, &_arg1))
2688 return NULL;
2689 }
2690 {
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 wxRect_SetSize(_arg0,*_arg1);
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) return NULL;
2696 } Py_INCREF(Py_None);
2697 _resultobj = Py_None;
2698 return _resultobj;
2699 }
2700
2701 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2702 static PyObject *_wrap_wxRect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2703 PyObject * _resultobj;
2704 int _result;
2705 wxRect * _arg0;
2706 wxRect temp;
2707 PyObject * _obj0 = 0;
2708 char *_kwnames[] = { "self", NULL };
2709
2710 self = self;
2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetLeft",_kwnames,&_obj0))
2712 return NULL;
2713 {
2714 _arg0 = &temp;
2715 if (! wxRect_helper(_obj0, &_arg0))
2716 return NULL;
2717 }
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
2720 _result = (int )wxRect_GetLeft(_arg0);
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) return NULL;
2724 } _resultobj = Py_BuildValue("i",_result);
2725 return _resultobj;
2726 }
2727
2728 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2729 static PyObject *_wrap_wxRect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
2730 PyObject * _resultobj;
2731 int _result;
2732 wxRect * _arg0;
2733 wxRect temp;
2734 PyObject * _obj0 = 0;
2735 char *_kwnames[] = { "self", NULL };
2736
2737 self = self;
2738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetTop",_kwnames,&_obj0))
2739 return NULL;
2740 {
2741 _arg0 = &temp;
2742 if (! wxRect_helper(_obj0, &_arg0))
2743 return NULL;
2744 }
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 _result = (int )wxRect_GetTop(_arg0);
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) return NULL;
2751 } _resultobj = Py_BuildValue("i",_result);
2752 return _resultobj;
2753 }
2754
2755 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2756 static PyObject *_wrap_wxRect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject * _resultobj;
2758 int _result;
2759 wxRect * _arg0;
2760 wxRect temp;
2761 PyObject * _obj0 = 0;
2762 char *_kwnames[] = { "self", NULL };
2763
2764 self = self;
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetBottom",_kwnames,&_obj0))
2766 return NULL;
2767 {
2768 _arg0 = &temp;
2769 if (! wxRect_helper(_obj0, &_arg0))
2770 return NULL;
2771 }
2772 {
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 _result = (int )wxRect_GetBottom(_arg0);
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) return NULL;
2778 } _resultobj = Py_BuildValue("i",_result);
2779 return _resultobj;
2780 }
2781
2782 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2783 static PyObject *_wrap_wxRect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject * _resultobj;
2785 int _result;
2786 wxRect * _arg0;
2787 wxRect temp;
2788 PyObject * _obj0 = 0;
2789 char *_kwnames[] = { "self", NULL };
2790
2791 self = self;
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetRight",_kwnames,&_obj0))
2793 return NULL;
2794 {
2795 _arg0 = &temp;
2796 if (! wxRect_helper(_obj0, &_arg0))
2797 return NULL;
2798 }
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 _result = (int )wxRect_GetRight(_arg0);
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) return NULL;
2805 } _resultobj = Py_BuildValue("i",_result);
2806 return _resultobj;
2807 }
2808
2809 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2810 static PyObject *_wrap_wxRect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject * _resultobj;
2812 wxRect * _arg0;
2813 int _arg1;
2814 wxRect temp;
2815 PyObject * _obj0 = 0;
2816 char *_kwnames[] = { "self","left", NULL };
2817
2818 self = self;
2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetLeft",_kwnames,&_obj0,&_arg1))
2820 return NULL;
2821 {
2822 _arg0 = &temp;
2823 if (! wxRect_helper(_obj0, &_arg0))
2824 return NULL;
2825 }
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 wxRect_SetLeft(_arg0,_arg1);
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) return NULL;
2832 } Py_INCREF(Py_None);
2833 _resultobj = Py_None;
2834 return _resultobj;
2835 }
2836
2837 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2838 static PyObject *_wrap_wxRect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2839 PyObject * _resultobj;
2840 wxRect * _arg0;
2841 int _arg1;
2842 wxRect temp;
2843 PyObject * _obj0 = 0;
2844 char *_kwnames[] = { "self","right", NULL };
2845
2846 self = self;
2847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetRight",_kwnames,&_obj0,&_arg1))
2848 return NULL;
2849 {
2850 _arg0 = &temp;
2851 if (! wxRect_helper(_obj0, &_arg0))
2852 return NULL;
2853 }
2854 {
2855 PyThreadState* __tstate = wxPyBeginAllowThreads();
2856 wxRect_SetRight(_arg0,_arg1);
2857
2858 wxPyEndAllowThreads(__tstate);
2859 if (PyErr_Occurred()) return NULL;
2860 } Py_INCREF(Py_None);
2861 _resultobj = Py_None;
2862 return _resultobj;
2863 }
2864
2865 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2866 static PyObject *_wrap_wxRect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
2867 PyObject * _resultobj;
2868 wxRect * _arg0;
2869 int _arg1;
2870 wxRect temp;
2871 PyObject * _obj0 = 0;
2872 char *_kwnames[] = { "self","top", NULL };
2873
2874 self = self;
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetTop",_kwnames,&_obj0,&_arg1))
2876 return NULL;
2877 {
2878 _arg0 = &temp;
2879 if (! wxRect_helper(_obj0, &_arg0))
2880 return NULL;
2881 }
2882 {
2883 PyThreadState* __tstate = wxPyBeginAllowThreads();
2884 wxRect_SetTop(_arg0,_arg1);
2885
2886 wxPyEndAllowThreads(__tstate);
2887 if (PyErr_Occurred()) return NULL;
2888 } Py_INCREF(Py_None);
2889 _resultobj = Py_None;
2890 return _resultobj;
2891 }
2892
2893 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2894 static PyObject *_wrap_wxRect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
2895 PyObject * _resultobj;
2896 wxRect * _arg0;
2897 int _arg1;
2898 wxRect temp;
2899 PyObject * _obj0 = 0;
2900 char *_kwnames[] = { "self","bottom", NULL };
2901
2902 self = self;
2903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetBottom",_kwnames,&_obj0,&_arg1))
2904 return NULL;
2905 {
2906 _arg0 = &temp;
2907 if (! wxRect_helper(_obj0, &_arg0))
2908 return NULL;
2909 }
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 wxRect_SetBottom(_arg0,_arg1);
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) return NULL;
2916 } Py_INCREF(Py_None);
2917 _resultobj = Py_None;
2918 return _resultobj;
2919 }
2920
2921 #define wxRect_Deflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Deflate(_swigarg0,_swigarg1))
2922 static PyObject *_wrap_wxRect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
2923 PyObject * _resultobj;
2924 wxRect * _arg0;
2925 int _arg1;
2926 int _arg2;
2927 wxRect temp;
2928 PyObject * _obj0 = 0;
2929 char *_kwnames[] = { "self","dx","dy", NULL };
2930
2931 self = self;
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRect_Deflate",_kwnames,&_obj0,&_arg1,&_arg2))
2933 return NULL;
2934 {
2935 _arg0 = &temp;
2936 if (! wxRect_helper(_obj0, &_arg0))
2937 return NULL;
2938 }
2939 {
2940 PyThreadState* __tstate = wxPyBeginAllowThreads();
2941 wxRect_Deflate(_arg0,_arg1,_arg2);
2942
2943 wxPyEndAllowThreads(__tstate);
2944 if (PyErr_Occurred()) return NULL;
2945 } Py_INCREF(Py_None);
2946 _resultobj = Py_None;
2947 return _resultobj;
2948 }
2949
2950 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2951 static PyObject *_wrap_wxRect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
2952 PyObject * _resultobj;
2953 wxRect * _arg0;
2954 int _arg1;
2955 int _arg2;
2956 wxRect temp;
2957 PyObject * _obj0 = 0;
2958 char *_kwnames[] = { "self","dx","dy", NULL };
2959
2960 self = self;
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRect_Inflate",_kwnames,&_obj0,&_arg1,&_arg2))
2962 return NULL;
2963 {
2964 _arg0 = &temp;
2965 if (! wxRect_helper(_obj0, &_arg0))
2966 return NULL;
2967 }
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 wxRect_Inflate(_arg0,_arg1,_arg2);
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) return NULL;
2974 } Py_INCREF(Py_None);
2975 _resultobj = Py_None;
2976 return _resultobj;
2977 }
2978
2979 #define wxRect_InsideXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2980 static PyObject *_wrap_wxRect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject * _resultobj;
2982 bool _result;
2983 wxRect * _arg0;
2984 int _arg1;
2985 int _arg2;
2986 wxRect temp;
2987 PyObject * _obj0 = 0;
2988 char *_kwnames[] = { "self","cx","cy", NULL };
2989
2990 self = self;
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRect_InsideXY",_kwnames,&_obj0,&_arg1,&_arg2))
2992 return NULL;
2993 {
2994 _arg0 = &temp;
2995 if (! wxRect_helper(_obj0, &_arg0))
2996 return NULL;
2997 }
2998 {
2999 PyThreadState* __tstate = wxPyBeginAllowThreads();
3000 _result = (bool )wxRect_InsideXY(_arg0,_arg1,_arg2);
3001
3002 wxPyEndAllowThreads(__tstate);
3003 if (PyErr_Occurred()) return NULL;
3004 } _resultobj = Py_BuildValue("i",_result);
3005 return _resultobj;
3006 }
3007
3008 #define wxRect_Inside(_swigobj,_swigarg0) (_swigobj->Inside(_swigarg0))
3009 static PyObject *_wrap_wxRect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
3010 PyObject * _resultobj;
3011 bool _result;
3012 wxRect * _arg0;
3013 wxPoint * _arg1;
3014 wxRect temp;
3015 PyObject * _obj0 = 0;
3016 wxPoint temp0;
3017 PyObject * _obj1 = 0;
3018 char *_kwnames[] = { "self","pt", NULL };
3019
3020 self = self;
3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect_Inside",_kwnames,&_obj0,&_obj1))
3022 return NULL;
3023 {
3024 _arg0 = &temp;
3025 if (! wxRect_helper(_obj0, &_arg0))
3026 return NULL;
3027 }
3028 {
3029 _arg1 = &temp0;
3030 if (! wxPoint_helper(_obj1, &_arg1))
3031 return NULL;
3032 }
3033 {
3034 PyThreadState* __tstate = wxPyBeginAllowThreads();
3035 _result = (bool )wxRect_Inside(_arg0,*_arg1);
3036
3037 wxPyEndAllowThreads(__tstate);
3038 if (PyErr_Occurred()) return NULL;
3039 } _resultobj = Py_BuildValue("i",_result);
3040 return _resultobj;
3041 }
3042
3043 #define wxRect_Intersects(_swigobj,_swigarg0) (_swigobj->Intersects(_swigarg0))
3044 static PyObject *_wrap_wxRect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
3045 PyObject * _resultobj;
3046 bool _result;
3047 wxRect * _arg0;
3048 wxRect * _arg1;
3049 wxRect temp;
3050 PyObject * _obj0 = 0;
3051 wxRect temp0;
3052 PyObject * _obj1 = 0;
3053 char *_kwnames[] = { "self","rect", NULL };
3054
3055 self = self;
3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect_Intersects",_kwnames,&_obj0,&_obj1))
3057 return NULL;
3058 {
3059 _arg0 = &temp;
3060 if (! wxRect_helper(_obj0, &_arg0))
3061 return NULL;
3062 }
3063 {
3064 _arg1 = &temp0;
3065 if (! wxRect_helper(_obj1, &_arg1))
3066 return NULL;
3067 }
3068 {
3069 PyThreadState* __tstate = wxPyBeginAllowThreads();
3070 _result = (bool )wxRect_Intersects(_arg0,*_arg1);
3071
3072 wxPyEndAllowThreads(__tstate);
3073 if (PyErr_Occurred()) return NULL;
3074 } _resultobj = Py_BuildValue("i",_result);
3075 return _resultobj;
3076 }
3077
3078 #define wxRect_OffsetXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
3079 static PyObject *_wrap_wxRect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject * _resultobj;
3081 wxRect * _arg0;
3082 int _arg1;
3083 int _arg2;
3084 wxRect temp;
3085 PyObject * _obj0 = 0;
3086 char *_kwnames[] = { "self","dx","dy", NULL };
3087
3088 self = self;
3089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRect_OffsetXY",_kwnames,&_obj0,&_arg1,&_arg2))
3090 return NULL;
3091 {
3092 _arg0 = &temp;
3093 if (! wxRect_helper(_obj0, &_arg0))
3094 return NULL;
3095 }
3096 {
3097 PyThreadState* __tstate = wxPyBeginAllowThreads();
3098 wxRect_OffsetXY(_arg0,_arg1,_arg2);
3099
3100 wxPyEndAllowThreads(__tstate);
3101 if (PyErr_Occurred()) return NULL;
3102 } Py_INCREF(Py_None);
3103 _resultobj = Py_None;
3104 return _resultobj;
3105 }
3106
3107 #define wxRect_Offset(_swigobj,_swigarg0) (_swigobj->Offset(_swigarg0))
3108 static PyObject *_wrap_wxRect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
3109 PyObject * _resultobj;
3110 wxRect * _arg0;
3111 wxPoint * _arg1;
3112 wxRect temp;
3113 PyObject * _obj0 = 0;
3114 wxPoint temp0;
3115 PyObject * _obj1 = 0;
3116 char *_kwnames[] = { "self","pt", NULL };
3117
3118 self = self;
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect_Offset",_kwnames,&_obj0,&_obj1))
3120 return NULL;
3121 {
3122 _arg0 = &temp;
3123 if (! wxRect_helper(_obj0, &_arg0))
3124 return NULL;
3125 }
3126 {
3127 _arg1 = &temp0;
3128 if (! wxPoint_helper(_obj1, &_arg1))
3129 return NULL;
3130 }
3131 {
3132 PyThreadState* __tstate = wxPyBeginAllowThreads();
3133 wxRect_Offset(_arg0,*_arg1);
3134
3135 wxPyEndAllowThreads(__tstate);
3136 if (PyErr_Occurred()) return NULL;
3137 } Py_INCREF(Py_None);
3138 _resultobj = Py_None;
3139 return _resultobj;
3140 }
3141
3142 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
3143 static PyObject *_wrap_wxRect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3144 PyObject * _resultobj;
3145 int _result;
3146 wxRect * _arg0;
3147 int _arg1;
3148 wxRect temp;
3149 PyObject * _obj0 = 0;
3150 char *_kwnames[] = { "self","x", NULL };
3151
3152 self = self;
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_x_set",_kwnames,&_obj0,&_arg1))
3154 return NULL;
3155 {
3156 _arg0 = &temp;
3157 if (! wxRect_helper(_obj0, &_arg0))
3158 return NULL;
3159 }
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 _result = (int )wxRect_x_set(_arg0,_arg1);
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) return NULL;
3166 } _resultobj = Py_BuildValue("i",_result);
3167 return _resultobj;
3168 }
3169
3170 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
3171 static PyObject *_wrap_wxRect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3172 PyObject * _resultobj;
3173 int _result;
3174 wxRect * _arg0;
3175 wxRect temp;
3176 PyObject * _obj0 = 0;
3177 char *_kwnames[] = { "self", NULL };
3178
3179 self = self;
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_x_get",_kwnames,&_obj0))
3181 return NULL;
3182 {
3183 _arg0 = &temp;
3184 if (! wxRect_helper(_obj0, &_arg0))
3185 return NULL;
3186 }
3187 {
3188 PyThreadState* __tstate = wxPyBeginAllowThreads();
3189 _result = (int )wxRect_x_get(_arg0);
3190
3191 wxPyEndAllowThreads(__tstate);
3192 if (PyErr_Occurred()) return NULL;
3193 } _resultobj = Py_BuildValue("i",_result);
3194 return _resultobj;
3195 }
3196
3197 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
3198 static PyObject *_wrap_wxRect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3199 PyObject * _resultobj;
3200 int _result;
3201 wxRect * _arg0;
3202 int _arg1;
3203 wxRect temp;
3204 PyObject * _obj0 = 0;
3205 char *_kwnames[] = { "self","y", NULL };
3206
3207 self = self;
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_y_set",_kwnames,&_obj0,&_arg1))
3209 return NULL;
3210 {
3211 _arg0 = &temp;
3212 if (! wxRect_helper(_obj0, &_arg0))
3213 return NULL;
3214 }
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 _result = (int )wxRect_y_set(_arg0,_arg1);
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) return NULL;
3221 } _resultobj = Py_BuildValue("i",_result);
3222 return _resultobj;
3223 }
3224
3225 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
3226 static PyObject *_wrap_wxRect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3227 PyObject * _resultobj;
3228 int _result;
3229 wxRect * _arg0;
3230 wxRect temp;
3231 PyObject * _obj0 = 0;
3232 char *_kwnames[] = { "self", NULL };
3233
3234 self = self;
3235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_y_get",_kwnames,&_obj0))
3236 return NULL;
3237 {
3238 _arg0 = &temp;
3239 if (! wxRect_helper(_obj0, &_arg0))
3240 return NULL;
3241 }
3242 {
3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
3244 _result = (int )wxRect_y_get(_arg0);
3245
3246 wxPyEndAllowThreads(__tstate);
3247 if (PyErr_Occurred()) return NULL;
3248 } _resultobj = Py_BuildValue("i",_result);
3249 return _resultobj;
3250 }
3251
3252 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
3253 static PyObject *_wrap_wxRect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3254 PyObject * _resultobj;
3255 int _result;
3256 wxRect * _arg0;
3257 int _arg1;
3258 wxRect temp;
3259 PyObject * _obj0 = 0;
3260 char *_kwnames[] = { "self","width", NULL };
3261
3262 self = self;
3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_width_set",_kwnames,&_obj0,&_arg1))
3264 return NULL;
3265 {
3266 _arg0 = &temp;
3267 if (! wxRect_helper(_obj0, &_arg0))
3268 return NULL;
3269 }
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 _result = (int )wxRect_width_set(_arg0,_arg1);
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) return NULL;
3276 } _resultobj = Py_BuildValue("i",_result);
3277 return _resultobj;
3278 }
3279
3280 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
3281 static PyObject *_wrap_wxRect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3282 PyObject * _resultobj;
3283 int _result;
3284 wxRect * _arg0;
3285 wxRect temp;
3286 PyObject * _obj0 = 0;
3287 char *_kwnames[] = { "self", NULL };
3288
3289 self = self;
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_width_get",_kwnames,&_obj0))
3291 return NULL;
3292 {
3293 _arg0 = &temp;
3294 if (! wxRect_helper(_obj0, &_arg0))
3295 return NULL;
3296 }
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 _result = (int )wxRect_width_get(_arg0);
3300
3301 wxPyEndAllowThreads(__tstate);
3302 if (PyErr_Occurred()) return NULL;
3303 } _resultobj = Py_BuildValue("i",_result);
3304 return _resultobj;
3305 }
3306
3307 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
3308 static PyObject *_wrap_wxRect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3309 PyObject * _resultobj;
3310 int _result;
3311 wxRect * _arg0;
3312 int _arg1;
3313 wxRect temp;
3314 PyObject * _obj0 = 0;
3315 char *_kwnames[] = { "self","height", NULL };
3316
3317 self = self;
3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_height_set",_kwnames,&_obj0,&_arg1))
3319 return NULL;
3320 {
3321 _arg0 = &temp;
3322 if (! wxRect_helper(_obj0, &_arg0))
3323 return NULL;
3324 }
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 _result = (int )wxRect_height_set(_arg0,_arg1);
3328
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) return NULL;
3331 } _resultobj = Py_BuildValue("i",_result);
3332 return _resultobj;
3333 }
3334
3335 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
3336 static PyObject *_wrap_wxRect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3337 PyObject * _resultobj;
3338 int _result;
3339 wxRect * _arg0;
3340 wxRect temp;
3341 PyObject * _obj0 = 0;
3342 char *_kwnames[] = { "self", NULL };
3343
3344 self = self;
3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_height_get",_kwnames,&_obj0))
3346 return NULL;
3347 {
3348 _arg0 = &temp;
3349 if (! wxRect_helper(_obj0, &_arg0))
3350 return NULL;
3351 }
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 _result = (int )wxRect_height_get(_arg0);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) return NULL;
3358 } _resultobj = Py_BuildValue("i",_result);
3359 return _resultobj;
3360 }
3361
3362 static void wxRect_Set(wxRect *self,int x,int y,int width,int height) {
3363 self->x = x;
3364 self->y = y;
3365 self->width = width;
3366 self->height = height;
3367 }
3368 static PyObject *_wrap_wxRect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject * _resultobj;
3370 wxRect * _arg0;
3371 int _arg1 = (int ) 0;
3372 int _arg2 = (int ) 0;
3373 int _arg3 = (int ) 0;
3374 int _arg4 = (int ) 0;
3375 wxRect temp;
3376 PyObject * _obj0 = 0;
3377 char *_kwnames[] = { "self","x","y","width","height", NULL };
3378
3379 self = self;
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iiii:wxRect_Set",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3,&_arg4))
3381 return NULL;
3382 {
3383 _arg0 = &temp;
3384 if (! wxRect_helper(_obj0, &_arg0))
3385 return NULL;
3386 }
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 wxRect_Set(_arg0,_arg1,_arg2,_arg3,_arg4);
3390
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) return NULL;
3393 } Py_INCREF(Py_None);
3394 _resultobj = Py_None;
3395 return _resultobj;
3396 }
3397
3398 static PyObject * wxRect_asTuple(wxRect *self) {
3399 wxPyBeginBlockThreads();
3400 PyObject* tup = PyTuple_New(4);
3401 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
3402 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
3403 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
3404 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
3405 wxPyEndBlockThreads();
3406 return tup;
3407 }
3408 static PyObject *_wrap_wxRect_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
3409 PyObject * _resultobj;
3410 PyObject * _result;
3411 wxRect * _arg0;
3412 wxRect temp;
3413 PyObject * _obj0 = 0;
3414 char *_kwnames[] = { "self", NULL };
3415
3416 self = self;
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_asTuple",_kwnames,&_obj0))
3418 return NULL;
3419 {
3420 _arg0 = &temp;
3421 if (! wxRect_helper(_obj0, &_arg0))
3422 return NULL;
3423 }
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 _result = (PyObject *)wxRect_asTuple(_arg0);
3427
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) return NULL;
3430 }{
3431 _resultobj = _result;
3432 }
3433 return _resultobj;
3434 }
3435
3436 static wxRect wxRect___add__(wxRect *self,const wxRect & rect) {
3437 return *self + rect;
3438 }
3439 static PyObject *_wrap_wxRect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3440 PyObject * _resultobj;
3441 wxRect * _result;
3442 wxRect * _arg0;
3443 wxRect * _arg1;
3444 wxRect temp;
3445 PyObject * _obj0 = 0;
3446 wxRect temp0;
3447 PyObject * _obj1 = 0;
3448 char *_kwnames[] = { "self","rect", NULL };
3449 char _ptemp[128];
3450
3451 self = self;
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect___add__",_kwnames,&_obj0,&_obj1))
3453 return NULL;
3454 {
3455 _arg0 = &temp;
3456 if (! wxRect_helper(_obj0, &_arg0))
3457 return NULL;
3458 }
3459 {
3460 _arg1 = &temp0;
3461 if (! wxRect_helper(_obj1, &_arg1))
3462 return NULL;
3463 }
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 _result = new wxRect (wxRect___add__(_arg0,*_arg1));
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) return NULL;
3470 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
3471 _resultobj = Py_BuildValue("s",_ptemp);
3472 return _resultobj;
3473 }
3474
3475 static bool wxRect___eq__(wxRect *self,PyObject * obj) {
3476 wxRect tmp;
3477 wxRect* ptr = &tmp;
3478 if (obj == Py_None) return FALSE;
3479 wxPyBLOCK_THREADS(bool success = wxRect_helper(obj, &ptr); PyErr_Clear());
3480 if (! success) return FALSE;
3481 return *self == *ptr;
3482 }
3483 static PyObject *_wrap_wxRect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject * _resultobj;
3485 bool _result;
3486 wxRect * _arg0;
3487 PyObject * _arg1;
3488 wxRect temp;
3489 PyObject * _obj0 = 0;
3490 PyObject * _obj1 = 0;
3491 char *_kwnames[] = { "self","obj", NULL };
3492
3493 self = self;
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect___eq__",_kwnames,&_obj0,&_obj1))
3495 return NULL;
3496 {
3497 _arg0 = &temp;
3498 if (! wxRect_helper(_obj0, &_arg0))
3499 return NULL;
3500 }
3501 {
3502 _arg1 = _obj1;
3503 }
3504 {
3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
3506 _result = (bool )wxRect___eq__(_arg0,_arg1);
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) return NULL;
3510 } _resultobj = Py_BuildValue("i",_result);
3511 return _resultobj;
3512 }
3513
3514 static bool wxRect___ne__(wxRect *self,PyObject * obj) {
3515 wxRect tmp;
3516 wxRect* ptr = &tmp;
3517 if (obj == Py_None) return TRUE;
3518 wxPyBLOCK_THREADS(bool success = wxRect_helper(obj, &ptr); PyErr_Clear());
3519 if (! success) return TRUE;
3520 return *self != *ptr;
3521 }
3522 static PyObject *_wrap_wxRect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject * _resultobj;
3524 bool _result;
3525 wxRect * _arg0;
3526 PyObject * _arg1;
3527 wxRect temp;
3528 PyObject * _obj0 = 0;
3529 PyObject * _obj1 = 0;
3530 char *_kwnames[] = { "self","obj", NULL };
3531
3532 self = self;
3533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect___ne__",_kwnames,&_obj0,&_obj1))
3534 return NULL;
3535 {
3536 _arg0 = &temp;
3537 if (! wxRect_helper(_obj0, &_arg0))
3538 return NULL;
3539 }
3540 {
3541 _arg1 = _obj1;
3542 }
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 _result = (bool )wxRect___ne__(_arg0,_arg1);
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) return NULL;
3549 } _resultobj = Py_BuildValue("i",_result);
3550 return _resultobj;
3551 }
3552
3553 #define wxPoint2DDouble_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3554 static PyObject *_wrap_wxPoint2DDouble_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3555 PyObject * _resultobj;
3556 double _result;
3557 wxPoint2DDouble * _arg0;
3558 double _arg1;
3559 wxPoint2DDouble temp;
3560 PyObject * _obj0 = 0;
3561 char *_kwnames[] = { "self","m_x", NULL };
3562
3563 self = self;
3564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPoint2DDouble_m_x_set",_kwnames,&_obj0,&_arg1))
3565 return NULL;
3566 {
3567 _arg0 = &temp;
3568 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3569 return NULL;
3570 }
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 _result = (double )wxPoint2DDouble_m_x_set(_arg0,_arg1);
3574
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) return NULL;
3577 } _resultobj = Py_BuildValue("d",_result);
3578 return _resultobj;
3579 }
3580
3581 #define wxPoint2DDouble_m_x_get(_swigobj) ((double ) _swigobj->m_x)
3582 static PyObject *_wrap_wxPoint2DDouble_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3583 PyObject * _resultobj;
3584 double _result;
3585 wxPoint2DDouble * _arg0;
3586 wxPoint2DDouble temp;
3587 PyObject * _obj0 = 0;
3588 char *_kwnames[] = { "self", NULL };
3589
3590 self = self;
3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_m_x_get",_kwnames,&_obj0))
3592 return NULL;
3593 {
3594 _arg0 = &temp;
3595 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3596 return NULL;
3597 }
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 _result = (double )wxPoint2DDouble_m_x_get(_arg0);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) return NULL;
3604 } _resultobj = Py_BuildValue("d",_result);
3605 return _resultobj;
3606 }
3607
3608 #define wxPoint2DDouble_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3609 static PyObject *_wrap_wxPoint2DDouble_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3610 PyObject * _resultobj;
3611 double _result;
3612 wxPoint2DDouble * _arg0;
3613 double _arg1;
3614 wxPoint2DDouble temp;
3615 PyObject * _obj0 = 0;
3616 char *_kwnames[] = { "self","m_y", NULL };
3617
3618 self = self;
3619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPoint2DDouble_m_y_set",_kwnames,&_obj0,&_arg1))
3620 return NULL;
3621 {
3622 _arg0 = &temp;
3623 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3624 return NULL;
3625 }
3626 {
3627 PyThreadState* __tstate = wxPyBeginAllowThreads();
3628 _result = (double )wxPoint2DDouble_m_y_set(_arg0,_arg1);
3629
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) return NULL;
3632 } _resultobj = Py_BuildValue("d",_result);
3633 return _resultobj;
3634 }
3635
3636 #define wxPoint2DDouble_m_y_get(_swigobj) ((double ) _swigobj->m_y)
3637 static PyObject *_wrap_wxPoint2DDouble_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3638 PyObject * _resultobj;
3639 double _result;
3640 wxPoint2DDouble * _arg0;
3641 wxPoint2DDouble temp;
3642 PyObject * _obj0 = 0;
3643 char *_kwnames[] = { "self", NULL };
3644
3645 self = self;
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_m_y_get",_kwnames,&_obj0))
3647 return NULL;
3648 {
3649 _arg0 = &temp;
3650 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3651 return NULL;
3652 }
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 _result = (double )wxPoint2DDouble_m_y_get(_arg0);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) return NULL;
3659 } _resultobj = Py_BuildValue("d",_result);
3660 return _resultobj;
3661 }
3662
3663 #define new_wxPoint2DDouble(_swigarg0,_swigarg1) (new wxPoint2DDouble(_swigarg0,_swigarg1))
3664 static PyObject *_wrap_new_wxPoint2DDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject * _resultobj;
3666 wxPoint2DDouble * _result;
3667 double _arg0 = (double ) 0;
3668 double _arg1 = (double ) 0;
3669 char *_kwnames[] = { "x","y", NULL };
3670 char _ptemp[128];
3671
3672 self = self;
3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPoint2DDouble",_kwnames,&_arg0,&_arg1))
3674 return NULL;
3675 {
3676 PyThreadState* __tstate = wxPyBeginAllowThreads();
3677 _result = (wxPoint2DDouble *)new_wxPoint2DDouble(_arg0,_arg1);
3678
3679 wxPyEndAllowThreads(__tstate);
3680 if (PyErr_Occurred()) return NULL;
3681 } if (_result) {
3682 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
3683 _resultobj = Py_BuildValue("s",_ptemp);
3684 } else {
3685 Py_INCREF(Py_None);
3686 _resultobj = Py_None;
3687 }
3688 return _resultobj;
3689 }
3690
3691 #define new_wxPoint2DDoubleCopy(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3692 static PyObject *_wrap_new_wxPoint2DDoubleCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
3693 PyObject * _resultobj;
3694 wxPoint2DDouble * _result;
3695 wxPoint2DDouble * _arg0;
3696 wxPoint2DDouble temp;
3697 PyObject * _obj0 = 0;
3698 char *_kwnames[] = { "pt", NULL };
3699 char _ptemp[128];
3700
3701 self = self;
3702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPoint2DDoubleCopy",_kwnames,&_obj0))
3703 return NULL;
3704 {
3705 _arg0 = &temp;
3706 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3707 return NULL;
3708 }
3709 {
3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
3711 _result = (wxPoint2DDouble *)new_wxPoint2DDoubleCopy(*_arg0);
3712
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) return NULL;
3715 } if (_result) {
3716 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
3717 _resultobj = Py_BuildValue("s",_ptemp);
3718 } else {
3719 Py_INCREF(Py_None);
3720 _resultobj = Py_None;
3721 }
3722 return _resultobj;
3723 }
3724
3725 #define new_wxPoint2DDoubleFromPoint(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3726 static PyObject *_wrap_new_wxPoint2DDoubleFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject * _resultobj;
3728 wxPoint2DDouble * _result;
3729 wxPoint * _arg0;
3730 wxPoint temp;
3731 PyObject * _obj0 = 0;
3732 char *_kwnames[] = { "pt", NULL };
3733 char _ptemp[128];
3734
3735 self = self;
3736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPoint2DDoubleFromPoint",_kwnames,&_obj0))
3737 return NULL;
3738 {
3739 _arg0 = &temp;
3740 if (! wxPoint_helper(_obj0, &_arg0))
3741 return NULL;
3742 }
3743 {
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 _result = (wxPoint2DDouble *)new_wxPoint2DDoubleFromPoint(*_arg0);
3746
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) return NULL;
3749 } if (_result) {
3750 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
3751 _resultobj = Py_BuildValue("s",_ptemp);
3752 } else {
3753 Py_INCREF(Py_None);
3754 _resultobj = Py_None;
3755 }
3756 return _resultobj;
3757 }
3758
3759 #define wxPoint2DDouble_GetFloor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFloor(_swigarg0,_swigarg1))
3760 static PyObject *_wrap_wxPoint2DDouble_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
3761 PyObject * _resultobj;
3762 wxPoint2DDouble * _arg0;
3763 int * _arg1;
3764 int temp;
3765 int * _arg2;
3766 int temp0;
3767 wxPoint2DDouble temp1;
3768 PyObject * _obj0 = 0;
3769 char *_kwnames[] = { "self", NULL };
3770
3771 self = self;
3772 {
3773 _arg1 = &temp;
3774 }
3775 {
3776 _arg2 = &temp0;
3777 }
3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_GetFloor",_kwnames,&_obj0))
3779 return NULL;
3780 {
3781 _arg0 = &temp1;
3782 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3783 return NULL;
3784 }
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 wxPoint2DDouble_GetFloor(_arg0,_arg1,_arg2);
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) return NULL;
3791 } Py_INCREF(Py_None);
3792 _resultobj = Py_None;
3793 {
3794 PyObject *o;
3795 o = PyInt_FromLong((long) (*_arg1));
3796 _resultobj = t_output_helper(_resultobj, o);
3797 }
3798 {
3799 PyObject *o;
3800 o = PyInt_FromLong((long) (*_arg2));
3801 _resultobj = t_output_helper(_resultobj, o);
3802 }
3803 return _resultobj;
3804 }
3805
3806 #define wxPoint2DDouble_GetRounded(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRounded(_swigarg0,_swigarg1))
3807 static PyObject *_wrap_wxPoint2DDouble_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject * _resultobj;
3809 wxPoint2DDouble * _arg0;
3810 int * _arg1;
3811 int temp;
3812 int * _arg2;
3813 int temp0;
3814 wxPoint2DDouble temp1;
3815 PyObject * _obj0 = 0;
3816 char *_kwnames[] = { "self", NULL };
3817
3818 self = self;
3819 {
3820 _arg1 = &temp;
3821 }
3822 {
3823 _arg2 = &temp0;
3824 }
3825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_GetRounded",_kwnames,&_obj0))
3826 return NULL;
3827 {
3828 _arg0 = &temp1;
3829 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3830 return NULL;
3831 }
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 wxPoint2DDouble_GetRounded(_arg0,_arg1,_arg2);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) return NULL;
3838 } Py_INCREF(Py_None);
3839 _resultobj = Py_None;
3840 {
3841 PyObject *o;
3842 o = PyInt_FromLong((long) (*_arg1));
3843 _resultobj = t_output_helper(_resultobj, o);
3844 }
3845 {
3846 PyObject *o;
3847 o = PyInt_FromLong((long) (*_arg2));
3848 _resultobj = t_output_helper(_resultobj, o);
3849 }
3850 return _resultobj;
3851 }
3852
3853 #define wxPoint2DDouble_GetVectorLength(_swigobj) (_swigobj->GetVectorLength())
3854 static PyObject *_wrap_wxPoint2DDouble_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
3855 PyObject * _resultobj;
3856 double _result;
3857 wxPoint2DDouble * _arg0;
3858 wxPoint2DDouble temp;
3859 PyObject * _obj0 = 0;
3860 char *_kwnames[] = { "self", NULL };
3861
3862 self = self;
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_GetVectorLength",_kwnames,&_obj0))
3864 return NULL;
3865 {
3866 _arg0 = &temp;
3867 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3868 return NULL;
3869 }
3870 {
3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
3872 _result = (double )wxPoint2DDouble_GetVectorLength(_arg0);
3873
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) return NULL;
3876 } _resultobj = Py_BuildValue("d",_result);
3877 return _resultobj;
3878 }
3879
3880 #define wxPoint2DDouble_GetVectorAngle(_swigobj) (_swigobj->GetVectorAngle())
3881 static PyObject *_wrap_wxPoint2DDouble_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
3882 PyObject * _resultobj;
3883 double _result;
3884 wxPoint2DDouble * _arg0;
3885 wxPoint2DDouble temp;
3886 PyObject * _obj0 = 0;
3887 char *_kwnames[] = { "self", NULL };
3888
3889 self = self;
3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_GetVectorAngle",_kwnames,&_obj0))
3891 return NULL;
3892 {
3893 _arg0 = &temp;
3894 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3895 return NULL;
3896 }
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 _result = (double )wxPoint2DDouble_GetVectorAngle(_arg0);
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) return NULL;
3903 } _resultobj = Py_BuildValue("d",_result);
3904 return _resultobj;
3905 }
3906
3907 #define wxPoint2DDouble_SetVectorLength(_swigobj,_swigarg0) (_swigobj->SetVectorLength(_swigarg0))
3908 static PyObject *_wrap_wxPoint2DDouble_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
3909 PyObject * _resultobj;
3910 wxPoint2DDouble * _arg0;
3911 double _arg1;
3912 wxPoint2DDouble temp;
3913 PyObject * _obj0 = 0;
3914 char *_kwnames[] = { "self","length", NULL };
3915
3916 self = self;
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPoint2DDouble_SetVectorLength",_kwnames,&_obj0,&_arg1))
3918 return NULL;
3919 {
3920 _arg0 = &temp;
3921 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3922 return NULL;
3923 }
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 wxPoint2DDouble_SetVectorLength(_arg0,_arg1);
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) return NULL;
3930 } Py_INCREF(Py_None);
3931 _resultobj = Py_None;
3932 return _resultobj;
3933 }
3934
3935 #define wxPoint2DDouble_SetVectorAngle(_swigobj,_swigarg0) (_swigobj->SetVectorAngle(_swigarg0))
3936 static PyObject *_wrap_wxPoint2DDouble_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
3937 PyObject * _resultobj;
3938 wxPoint2DDouble * _arg0;
3939 double _arg1;
3940 wxPoint2DDouble temp;
3941 PyObject * _obj0 = 0;
3942 char *_kwnames[] = { "self","degrees", NULL };
3943
3944 self = self;
3945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPoint2DDouble_SetVectorAngle",_kwnames,&_obj0,&_arg1))
3946 return NULL;
3947 {
3948 _arg0 = &temp;
3949 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3950 return NULL;
3951 }
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 wxPoint2DDouble_SetVectorAngle(_arg0,_arg1);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) return NULL;
3958 } Py_INCREF(Py_None);
3959 _resultobj = Py_None;
3960 return _resultobj;
3961 }
3962
3963 #define wxPoint2DDouble_GetDistance(_swigobj,_swigarg0) (_swigobj->GetDistance(_swigarg0))
3964 static PyObject *_wrap_wxPoint2DDouble_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
3965 PyObject * _resultobj;
3966 double _result;
3967 wxPoint2DDouble * _arg0;
3968 wxPoint2DDouble * _arg1;
3969 wxPoint2DDouble temp;
3970 PyObject * _obj0 = 0;
3971 wxPoint2DDouble temp0;
3972 PyObject * _obj1 = 0;
3973 char *_kwnames[] = { "self","pt", NULL };
3974
3975 self = self;
3976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble_GetDistance",_kwnames,&_obj0,&_obj1))
3977 return NULL;
3978 {
3979 _arg0 = &temp;
3980 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3981 return NULL;
3982 }
3983 {
3984 _arg1 = &temp0;
3985 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
3986 return NULL;
3987 }
3988 {
3989 PyThreadState* __tstate = wxPyBeginAllowThreads();
3990 _result = (double )wxPoint2DDouble_GetDistance(_arg0,*_arg1);
3991
3992 wxPyEndAllowThreads(__tstate);
3993 if (PyErr_Occurred()) return NULL;
3994 } _resultobj = Py_BuildValue("d",_result);
3995 return _resultobj;
3996 }
3997
3998 #define wxPoint2DDouble_GetDistanceSquare(_swigobj,_swigarg0) (_swigobj->GetDistanceSquare(_swigarg0))
3999 static PyObject *_wrap_wxPoint2DDouble_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject * _resultobj;
4001 double _result;
4002 wxPoint2DDouble * _arg0;
4003 wxPoint2DDouble * _arg1;
4004 wxPoint2DDouble temp;
4005 PyObject * _obj0 = 0;
4006 wxPoint2DDouble temp0;
4007 PyObject * _obj1 = 0;
4008 char *_kwnames[] = { "self","pt", NULL };
4009
4010 self = self;
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble_GetDistanceSquare",_kwnames,&_obj0,&_obj1))
4012 return NULL;
4013 {
4014 _arg0 = &temp;
4015 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4016 return NULL;
4017 }
4018 {
4019 _arg1 = &temp0;
4020 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4021 return NULL;
4022 }
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 _result = (double )wxPoint2DDouble_GetDistanceSquare(_arg0,*_arg1);
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) return NULL;
4029 } _resultobj = Py_BuildValue("d",_result);
4030 return _resultobj;
4031 }
4032
4033 #define wxPoint2DDouble_GetDotProduct(_swigobj,_swigarg0) (_swigobj->GetDotProduct(_swigarg0))
4034 static PyObject *_wrap_wxPoint2DDouble_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4035 PyObject * _resultobj;
4036 double _result;
4037 wxPoint2DDouble * _arg0;
4038 wxPoint2DDouble * _arg1;
4039 wxPoint2DDouble temp;
4040 PyObject * _obj0 = 0;
4041 wxPoint2DDouble temp0;
4042 PyObject * _obj1 = 0;
4043 char *_kwnames[] = { "self","vec", NULL };
4044
4045 self = self;
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble_GetDotProduct",_kwnames,&_obj0,&_obj1))
4047 return NULL;
4048 {
4049 _arg0 = &temp;
4050 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4051 return NULL;
4052 }
4053 {
4054 _arg1 = &temp0;
4055 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4056 return NULL;
4057 }
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 _result = (double )wxPoint2DDouble_GetDotProduct(_arg0,*_arg1);
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) return NULL;
4064 } _resultobj = Py_BuildValue("d",_result);
4065 return _resultobj;
4066 }
4067
4068 #define wxPoint2DDouble_GetCrossProduct(_swigobj,_swigarg0) (_swigobj->GetCrossProduct(_swigarg0))
4069 static PyObject *_wrap_wxPoint2DDouble_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4070 PyObject * _resultobj;
4071 double _result;
4072 wxPoint2DDouble * _arg0;
4073 wxPoint2DDouble * _arg1;
4074 wxPoint2DDouble temp;
4075 PyObject * _obj0 = 0;
4076 wxPoint2DDouble temp0;
4077 PyObject * _obj1 = 0;
4078 char *_kwnames[] = { "self","vec", NULL };
4079
4080 self = self;
4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble_GetCrossProduct",_kwnames,&_obj0,&_obj1))
4082 return NULL;
4083 {
4084 _arg0 = &temp;
4085 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4086 return NULL;
4087 }
4088 {
4089 _arg1 = &temp0;
4090 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4091 return NULL;
4092 }
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 _result = (double )wxPoint2DDouble_GetCrossProduct(_arg0,*_arg1);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) return NULL;
4099 } _resultobj = Py_BuildValue("d",_result);
4100 return _resultobj;
4101 }
4102
4103 static void wxPoint2DDouble_Set(wxPoint2DDouble *self,double x,double y) {
4104 self->m_x = x;
4105 self->m_y = y;
4106 }
4107 static PyObject *_wrap_wxPoint2DDouble_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject * _resultobj;
4109 wxPoint2DDouble * _arg0;
4110 double _arg1 = (double ) 0;
4111 double _arg2 = (double ) 0;
4112 wxPoint2DDouble temp;
4113 PyObject * _obj0 = 0;
4114 char *_kwnames[] = { "self","x","y", NULL };
4115
4116 self = self;
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|dd:wxPoint2DDouble_Set",_kwnames,&_obj0,&_arg1,&_arg2))
4118 return NULL;
4119 {
4120 _arg0 = &temp;
4121 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4122 return NULL;
4123 }
4124 {
4125 PyThreadState* __tstate = wxPyBeginAllowThreads();
4126 wxPoint2DDouble_Set(_arg0,_arg1,_arg2);
4127
4128 wxPyEndAllowThreads(__tstate);
4129 if (PyErr_Occurred()) return NULL;
4130 } Py_INCREF(Py_None);
4131 _resultobj = Py_None;
4132 return _resultobj;
4133 }
4134
4135 static wxPoint2DDouble wxPoint2DDouble___neg__(wxPoint2DDouble *self) { return -(*self); }
4136 static PyObject *_wrap_wxPoint2DDouble___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject * _resultobj;
4138 wxPoint2DDouble * _result;
4139 wxPoint2DDouble * _arg0;
4140 wxPoint2DDouble temp;
4141 PyObject * _obj0 = 0;
4142 char *_kwnames[] = { "self", NULL };
4143 char _ptemp[128];
4144
4145 self = self;
4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble___neg__",_kwnames,&_obj0))
4147 return NULL;
4148 {
4149 _arg0 = &temp;
4150 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4151 return NULL;
4152 }
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 _result = new wxPoint2DDouble (wxPoint2DDouble___neg__(_arg0));
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) return NULL;
4159 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint2DDouble_p");
4160 _resultobj = Py_BuildValue("s",_ptemp);
4161 return _resultobj;
4162 }
4163
4164 static wxPoint2DDouble & wxPoint2DDouble___iadd__(wxPoint2DDouble *self,const wxPoint2DDouble & pt) { return (*self) += pt; }
4165 static PyObject *_wrap_wxPoint2DDouble___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4166 PyObject * _resultobj;
4167 wxPoint2DDouble * _result;
4168 wxPoint2DDouble * _arg0;
4169 wxPoint2DDouble * _arg1;
4170 wxPoint2DDouble temp;
4171 PyObject * _obj0 = 0;
4172 wxPoint2DDouble temp0;
4173 PyObject * _obj1 = 0;
4174 char *_kwnames[] = { "self","pt", NULL };
4175 char _ptemp[128];
4176
4177 self = self;
4178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___iadd__",_kwnames,&_obj0,&_obj1))
4179 return NULL;
4180 {
4181 _arg0 = &temp;
4182 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4183 return NULL;
4184 }
4185 {
4186 _arg1 = &temp0;
4187 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4188 return NULL;
4189 }
4190 {
4191 PyThreadState* __tstate = wxPyBeginAllowThreads();
4192 wxPoint2DDouble & _result_ref = wxPoint2DDouble___iadd__(_arg0,*_arg1);
4193 _result = (wxPoint2DDouble *) &_result_ref;
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) return NULL;
4197 } if (_result) {
4198 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
4199 _resultobj = Py_BuildValue("s",_ptemp);
4200 } else {
4201 Py_INCREF(Py_None);
4202 _resultobj = Py_None;
4203 }
4204 return _resultobj;
4205 }
4206
4207 static wxPoint2DDouble & wxPoint2DDouble___isub__(wxPoint2DDouble *self,const wxPoint2DDouble & pt) { return (*self) -= pt; }
4208 static PyObject *_wrap_wxPoint2DDouble___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
4209 PyObject * _resultobj;
4210 wxPoint2DDouble * _result;
4211 wxPoint2DDouble * _arg0;
4212 wxPoint2DDouble * _arg1;
4213 wxPoint2DDouble temp;
4214 PyObject * _obj0 = 0;
4215 wxPoint2DDouble temp0;
4216 PyObject * _obj1 = 0;
4217 char *_kwnames[] = { "self","pt", NULL };
4218 char _ptemp[128];
4219
4220 self = self;
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___isub__",_kwnames,&_obj0,&_obj1))
4222 return NULL;
4223 {
4224 _arg0 = &temp;
4225 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4226 return NULL;
4227 }
4228 {
4229 _arg1 = &temp0;
4230 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4231 return NULL;
4232 }
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 wxPoint2DDouble & _result_ref = wxPoint2DDouble___isub__(_arg0,*_arg1);
4236 _result = (wxPoint2DDouble *) &_result_ref;
4237
4238 wxPyEndAllowThreads(__tstate);
4239 if (PyErr_Occurred()) return NULL;
4240 } if (_result) {
4241 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
4242 _resultobj = Py_BuildValue("s",_ptemp);
4243 } else {
4244 Py_INCREF(Py_None);
4245 _resultobj = Py_None;
4246 }
4247 return _resultobj;
4248 }
4249
4250 static wxPoint2DDouble & wxPoint2DDouble___imul__(wxPoint2DDouble *self,const wxPoint2DDouble & pt) { return (*self) *= pt; }
4251 static PyObject *_wrap_wxPoint2DDouble___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
4252 PyObject * _resultobj;
4253 wxPoint2DDouble * _result;
4254 wxPoint2DDouble * _arg0;
4255 wxPoint2DDouble * _arg1;
4256 wxPoint2DDouble temp;
4257 PyObject * _obj0 = 0;
4258 wxPoint2DDouble temp0;
4259 PyObject * _obj1 = 0;
4260 char *_kwnames[] = { "self","pt", NULL };
4261 char _ptemp[128];
4262
4263 self = self;
4264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___imul__",_kwnames,&_obj0,&_obj1))
4265 return NULL;
4266 {
4267 _arg0 = &temp;
4268 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4269 return NULL;
4270 }
4271 {
4272 _arg1 = &temp0;
4273 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4274 return NULL;
4275 }
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 wxPoint2DDouble & _result_ref = wxPoint2DDouble___imul__(_arg0,*_arg1);
4279 _result = (wxPoint2DDouble *) &_result_ref;
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) return NULL;
4283 } if (_result) {
4284 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
4285 _resultobj = Py_BuildValue("s",_ptemp);
4286 } else {
4287 Py_INCREF(Py_None);
4288 _resultobj = Py_None;
4289 }
4290 return _resultobj;
4291 }
4292
4293 static wxPoint2DDouble & wxPoint2DDouble___idiv__(wxPoint2DDouble *self,const wxPoint2DDouble & pt) { return (*self) /= pt; }
4294 static PyObject *_wrap_wxPoint2DDouble___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject * _resultobj;
4296 wxPoint2DDouble * _result;
4297 wxPoint2DDouble * _arg0;
4298 wxPoint2DDouble * _arg1;
4299 wxPoint2DDouble temp;
4300 PyObject * _obj0 = 0;
4301 wxPoint2DDouble temp0;
4302 PyObject * _obj1 = 0;
4303 char *_kwnames[] = { "self","pt", NULL };
4304 char _ptemp[128];
4305
4306 self = self;
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___idiv__",_kwnames,&_obj0,&_obj1))
4308 return NULL;
4309 {
4310 _arg0 = &temp;
4311 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4312 return NULL;
4313 }
4314 {
4315 _arg1 = &temp0;
4316 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4317 return NULL;
4318 }
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 wxPoint2DDouble & _result_ref = wxPoint2DDouble___idiv__(_arg0,*_arg1);
4322 _result = (wxPoint2DDouble *) &_result_ref;
4323
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) return NULL;
4326 } if (_result) {
4327 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
4328 _resultobj = Py_BuildValue("s",_ptemp);
4329 } else {
4330 Py_INCREF(Py_None);
4331 _resultobj = Py_None;
4332 }
4333 return _resultobj;
4334 }
4335
4336 static bool wxPoint2DDouble___eq__(wxPoint2DDouble *self,PyObject * obj) {
4337 wxPoint2DDouble tmp;
4338 wxPoint2DDouble* ptr = &tmp;
4339 if (obj == Py_None) return FALSE;
4340 wxPyBLOCK_THREADS(bool success = wxPoint2DDouble_helper(obj, &ptr); PyErr_Clear());
4341 if (! success) return FALSE;
4342 return *self == *ptr;
4343 }
4344 static PyObject *_wrap_wxPoint2DDouble___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4345 PyObject * _resultobj;
4346 bool _result;
4347 wxPoint2DDouble * _arg0;
4348 PyObject * _arg1;
4349 wxPoint2DDouble temp;
4350 PyObject * _obj0 = 0;
4351 PyObject * _obj1 = 0;
4352 char *_kwnames[] = { "self","obj", NULL };
4353
4354 self = self;
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___eq__",_kwnames,&_obj0,&_obj1))
4356 return NULL;
4357 {
4358 _arg0 = &temp;
4359 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4360 return NULL;
4361 }
4362 {
4363 _arg1 = _obj1;
4364 }
4365 {
4366 PyThreadState* __tstate = wxPyBeginAllowThreads();
4367 _result = (bool )wxPoint2DDouble___eq__(_arg0,_arg1);
4368
4369 wxPyEndAllowThreads(__tstate);
4370 if (PyErr_Occurred()) return NULL;
4371 } _resultobj = Py_BuildValue("i",_result);
4372 return _resultobj;
4373 }
4374
4375 static bool wxPoint2DDouble___ne__(wxPoint2DDouble *self,PyObject * obj) {
4376 wxPoint2DDouble tmp;
4377 wxPoint2DDouble* ptr = &tmp;
4378 if (obj == Py_None) return TRUE;
4379 wxPyBLOCK_THREADS(bool success = wxPoint2DDouble_helper(obj, &ptr); PyErr_Clear());
4380 if (! success) return TRUE;
4381 return *self != *ptr;
4382 }
4383 static PyObject *_wrap_wxPoint2DDouble___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4384 PyObject * _resultobj;
4385 bool _result;
4386 wxPoint2DDouble * _arg0;
4387 PyObject * _arg1;
4388 wxPoint2DDouble temp;
4389 PyObject * _obj0 = 0;
4390 PyObject * _obj1 = 0;
4391 char *_kwnames[] = { "self","obj", NULL };
4392
4393 self = self;
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___ne__",_kwnames,&_obj0,&_obj1))
4395 return NULL;
4396 {
4397 _arg0 = &temp;
4398 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4399 return NULL;
4400 }
4401 {
4402 _arg1 = _obj1;
4403 }
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 _result = (bool )wxPoint2DDouble___ne__(_arg0,_arg1);
4407
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) return NULL;
4410 } _resultobj = Py_BuildValue("i",_result);
4411 return _resultobj;
4412 }
4413
4414 static PyObject * wxPoint2DDouble_asTuple(wxPoint2DDouble *self) {
4415 wxPyBeginBlockThreads();
4416 PyObject* tup = PyTuple_New(2);
4417 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
4418 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
4419 wxPyEndBlockThreads();
4420 return tup;
4421 }
4422 static PyObject *_wrap_wxPoint2DDouble_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject * _resultobj;
4424 PyObject * _result;
4425 wxPoint2DDouble * _arg0;
4426 wxPoint2DDouble temp;
4427 PyObject * _obj0 = 0;
4428 char *_kwnames[] = { "self", NULL };
4429
4430 self = self;
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_asTuple",_kwnames,&_obj0))
4432 return NULL;
4433 {
4434 _arg0 = &temp;
4435 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4436 return NULL;
4437 }
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4440 _result = (PyObject *)wxPoint2DDouble_asTuple(_arg0);
4441
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) return NULL;
4444 }{
4445 _resultobj = _result;
4446 }
4447 return _resultobj;
4448 }
4449
4450 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr) {
4451 wxIndividualLayoutConstraint *src;
4452 wxObject *dest;
4453 src = (wxIndividualLayoutConstraint *) ptr;
4454 dest = (wxObject *) src;
4455 return (void *) dest;
4456 }
4457
4458 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
4459 static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
4460 PyObject * _resultobj;
4461 wxIndividualLayoutConstraint * _arg0;
4462 wxWindow * _arg1;
4463 int _arg2 = (int ) 0;
4464 PyObject * _argo0 = 0;
4465 PyObject * _argo1 = 0;
4466 char *_kwnames[] = { "self","otherWin","margin", NULL };
4467
4468 self = self;
4469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames,&_argo0,&_argo1,&_arg2))
4470 return NULL;
4471 if (_argo0) {
4472 if (_argo0 == Py_None) { _arg0 = NULL; }
4473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
4474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
4475 return NULL;
4476 }
4477 }
4478 if (_argo1) {
4479 if (_argo1 == Py_None) { _arg1 = NULL; }
4480 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4481 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
4482 return NULL;
4483 }
4484 }
4485 {
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 wxIndividualLayoutConstraint_Above(_arg0,_arg1,_arg2);
4488
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) return NULL;
4491 } Py_INCREF(Py_None);
4492 _resultobj = Py_None;
4493 return _resultobj;
4494 }
4495
4496 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
4497 static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
4498 PyObject * _resultobj;
4499 wxIndividualLayoutConstraint * _arg0;
4500 int _arg1;
4501 PyObject * _argo0 = 0;
4502 char *_kwnames[] = { "self","value", NULL };
4503
4504 self = self;
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames,&_argo0,&_arg1))
4506 return NULL;
4507 if (_argo0) {
4508 if (_argo0 == Py_None) { _arg0 = NULL; }
4509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
4510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
4511 return NULL;
4512 }
4513 }
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 wxIndividualLayoutConstraint_Absolute(_arg0,_arg1);
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) return NULL;
4520 } Py_INCREF(Py_None);
4521 _resultobj = Py_None;
4522 return _resultobj;
4523 }
4524
4525 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
4526 static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject * _resultobj;
4528 wxIndividualLayoutConstraint * _arg0;
4529 PyObject * _argo0 = 0;
4530 char *_kwnames[] = { "self", NULL };
4531
4532 self = self;
4533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIndividualLayoutConstraint_AsIs",_kwnames,&_argo0))
4534 return NULL;
4535 if (_argo0) {
4536 if (_argo0 == Py_None) { _arg0 = NULL; }
4537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
4538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
4539 return NULL;
4540 }
4541 }
4542 {
4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4544 wxIndividualLayoutConstraint_AsIs(_arg0);
4545
4546 wxPyEndAllowThreads(__tstate);
4547 if (PyErr_Occurred()) return NULL;
4548 } Py_INCREF(Py_None);
4549 _resultobj = Py_None;
4550 return _resultobj;
4551 }
4552
4553 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
4554 static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
4555 PyObject * _resultobj;
4556 wxIndividualLayoutConstraint * _arg0;
4557 wxWindow * _arg1;
4558 int _arg2 = (int ) 0;
4559 PyObject * _argo0 = 0;
4560 PyObject * _argo1 = 0;
4561 char *_kwnames[] = { "self","otherWin","margin", NULL };
4562
4563 self = self;
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames,&_argo0,&_argo1,&_arg2))
4565 return NULL;
4566 if (_argo0) {
4567 if (_argo0 == Py_None) { _arg0 = NULL; }
4568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
4569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
4570 return NULL;
4571 }
4572 }
4573 if (_argo1) {
4574 if (_argo1 == Py_None) { _arg1 = NULL; }
4575 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4576 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
4577 return NULL;
4578 }
4579 }
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 wxIndividualLayoutConstraint_Below(_arg0,_arg1,_arg2);
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) return NULL;
4586 } Py_INCREF(Py_None);
4587 _resultobj = Py_None;
4588 return _resultobj;
4589 }
4590
4591 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
4592 static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
4593 PyObject * _resultobj;
4594 wxIndividualLayoutConstraint * _arg0;
4595 PyObject * _argo0 = 0;
4596 char *_kwnames[] = { "self", NULL };
4597
4598 self = self;
4599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames,&_argo0))
4600 return NULL;
4601 if (_argo0) {
4602 if (_argo0 == Py_None) { _arg0 = NULL; }
4603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
4604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
4605 return NULL;
4606 }
4607 }
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 wxIndividualLayoutConstraint_Unconstrained(_arg0);
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) return NULL;
4614 } Py_INCREF(Py_None);
4615 _resultobj = Py_None;
4616 return _resultobj;
4617 }
4618
4619 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
4620 static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject * _resultobj;
4622 wxIndividualLayoutConstraint * _arg0;
4623 wxWindow * _arg1;
4624 int _arg2 = (int ) 0;
4625 PyObject * _argo0 = 0;
4626 PyObject * _argo1 = 0;
4627 char *_kwnames[] = { "self","otherWin","margin", NULL };
4628
4629 self = self;
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames,&_argo0,&_argo1,&_arg2))
4631 return NULL;
4632 if (_argo0) {
4633 if (_argo0 == Py_None) { _arg0 = NULL; }
4634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
4635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
4636 return NULL;
4637 }
4638 }
4639 if (_argo1) {
4640 if (_argo1 == Py_None) { _arg1 = NULL; }
4641 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4642 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
4643 return NULL;
4644 }
4645 }
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 wxIndividualLayoutConstraint_LeftOf(_arg0,_arg1,_arg2);
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) return NULL;
4652 } Py_INCREF(Py_None);
4653 _resultobj = Py_None;
4654 return _resultobj;
4655 }
4656
4657 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
4658 static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
4659 PyObject * _resultobj;
4660 wxIndividualLayoutConstraint * _arg0;
4661 wxWindow * _arg1;
4662 wxEdge _arg2;
4663 int _arg3;
4664 PyObject * _argo0 = 0;
4665 PyObject * _argo1 = 0;
4666 char *_kwnames[] = { "self","otherWin","edge","percent", NULL };
4667
4668 self = self;
4669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4670 return NULL;
4671 if (_argo0) {
4672 if (_argo0 == Py_None) { _arg0 = NULL; }
4673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
4674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
4675 return NULL;
4676 }
4677 }
4678 if (_argo1) {
4679 if (_argo1 == Py_None) { _arg1 = NULL; }
4680 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4681 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
4682 return NULL;
4683 }
4684 }
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 wxIndividualLayoutConstraint_PercentOf(_arg0,_arg1,_arg2,_arg3);
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) return NULL;
4691 } Py_INCREF(Py_None);
4692 _resultobj = Py_None;
4693 return _resultobj;
4694 }
4695
4696 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
4697 static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
4698 PyObject * _resultobj;
4699 wxIndividualLayoutConstraint * _arg0;
4700 wxWindow * _arg1;
4701 int _arg2 = (int ) 0;
4702 PyObject * _argo0 = 0;
4703 PyObject * _argo1 = 0;
4704 char *_kwnames[] = { "self","otherWin","margin", NULL };
4705
4706 self = self;
4707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames,&_argo0,&_argo1,&_arg2))
4708 return NULL;
4709 if (_argo0) {
4710 if (_argo0 == Py_None) { _arg0 = NULL; }
4711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
4712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
4713 return NULL;
4714 }
4715 }
4716 if (_argo1) {
4717 if (_argo1 == Py_None) { _arg1 = NULL; }
4718 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4719 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
4720 return NULL;
4721 }
4722 }
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 wxIndividualLayoutConstraint_RightOf(_arg0,_arg1,_arg2);
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) return NULL;
4729 } Py_INCREF(Py_None);
4730 _resultobj = Py_None;
4731 return _resultobj;
4732 }
4733
4734 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
4735 static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject * _resultobj;
4737 wxIndividualLayoutConstraint * _arg0;
4738 wxWindow * _arg1;
4739 wxEdge _arg2;
4740 int _arg3 = (int ) 0;
4741 PyObject * _argo0 = 0;
4742 PyObject * _argo1 = 0;
4743 char *_kwnames[] = { "self","otherWin","edge","margin", NULL };
4744
4745 self = self;
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4747 return NULL;
4748 if (_argo0) {
4749 if (_argo0 == Py_None) { _arg0 = NULL; }
4750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
4751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
4752 return NULL;
4753 }
4754 }
4755 if (_argo1) {
4756 if (_argo1 == Py_None) { _arg1 = NULL; }
4757 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4758 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
4759 return NULL;
4760 }
4761 }
4762 {
4763 PyThreadState* __tstate = wxPyBeginAllowThreads();
4764 wxIndividualLayoutConstraint_SameAs(_arg0,_arg1,_arg2,_arg3);
4765
4766 wxPyEndAllowThreads(__tstate);
4767 if (PyErr_Occurred()) return NULL;
4768 } Py_INCREF(Py_None);
4769 _resultobj = Py_None;
4770 return _resultobj;
4771 }
4772
4773 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4774 static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject * _resultobj;
4776 wxIndividualLayoutConstraint * _arg0;
4777 wxRelationship _arg1;
4778 wxWindow * _arg2;
4779 wxEdge _arg3;
4780 int _arg4 = (int ) 0;
4781 int _arg5 = (int ) 0;
4782 PyObject * _argo0 = 0;
4783 PyObject * _argo2 = 0;
4784 char *_kwnames[] = { "self","rel","otherWin","otherEdge","value","margin", NULL };
4785
4786 self = self;
4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5))
4788 return NULL;
4789 if (_argo0) {
4790 if (_argo0 == Py_None) { _arg0 = NULL; }
4791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
4792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
4793 return NULL;
4794 }
4795 }
4796 if (_argo2) {
4797 if (_argo2 == Py_None) { _arg2 = NULL; }
4798 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
4799 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
4800 return NULL;
4801 }
4802 }
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 wxIndividualLayoutConstraint_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) return NULL;
4809 } Py_INCREF(Py_None);
4810 _resultobj = Py_None;
4811 return _resultobj;
4812 }
4813
4814 static void *SwigwxLayoutConstraintsTowxObject(void *ptr) {
4815 wxLayoutConstraints *src;
4816 wxObject *dest;
4817 src = (wxLayoutConstraints *) ptr;
4818 dest = (wxObject *) src;
4819 return (void *) dest;
4820 }
4821
4822 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
4823 static PyObject *_wrap_new_wxLayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
4824 PyObject * _resultobj;
4825 wxLayoutConstraints * _result;
4826 char *_kwnames[] = { NULL };
4827 char _ptemp[128];
4828
4829 self = self;
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutConstraints",_kwnames))
4831 return NULL;
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 _result = (wxLayoutConstraints *)new_wxLayoutConstraints();
4835
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) return NULL;
4838 } if (_result) {
4839 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
4840 _resultobj = Py_BuildValue("s",_ptemp);
4841 } else {
4842 Py_INCREF(Py_None);
4843 _resultobj = Py_None;
4844 }
4845 return _resultobj;
4846 }
4847
4848 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
4849 static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject * _resultobj;
4851 wxIndividualLayoutConstraint * _result;
4852 wxLayoutConstraints * _arg0;
4853 PyObject * _argo0 = 0;
4854 char *_kwnames[] = { "self", NULL };
4855 char _ptemp[128];
4856
4857 self = self;
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_bottom_get",_kwnames,&_argo0))
4859 return NULL;
4860 if (_argo0) {
4861 if (_argo0 == Py_None) { _arg0 = NULL; }
4862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
4863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
4864 return NULL;
4865 }
4866 }
4867 {
4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4869 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_bottom_get(_arg0);
4870
4871 wxPyEndAllowThreads(__tstate);
4872 if (PyErr_Occurred()) return NULL;
4873 } if (_result) {
4874 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4875 _resultobj = Py_BuildValue("s",_ptemp);
4876 } else {
4877 Py_INCREF(Py_None);
4878 _resultobj = Py_None;
4879 }
4880 return _resultobj;
4881 }
4882
4883 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
4884 static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4885 PyObject * _resultobj;
4886 wxIndividualLayoutConstraint * _result;
4887 wxLayoutConstraints * _arg0;
4888 PyObject * _argo0 = 0;
4889 char *_kwnames[] = { "self", NULL };
4890 char _ptemp[128];
4891
4892 self = self;
4893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_centreX_get",_kwnames,&_argo0))
4894 return NULL;
4895 if (_argo0) {
4896 if (_argo0 == Py_None) { _arg0 = NULL; }
4897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
4898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
4899 return NULL;
4900 }
4901 }
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreX_get(_arg0);
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) return NULL;
4908 } if (_result) {
4909 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4910 _resultobj = Py_BuildValue("s",_ptemp);
4911 } else {
4912 Py_INCREF(Py_None);
4913 _resultobj = Py_None;
4914 }
4915 return _resultobj;
4916 }
4917
4918 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
4919 static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject * _resultobj;
4921 wxIndividualLayoutConstraint * _result;
4922 wxLayoutConstraints * _arg0;
4923 PyObject * _argo0 = 0;
4924 char *_kwnames[] = { "self", NULL };
4925 char _ptemp[128];
4926
4927 self = self;
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_centreY_get",_kwnames,&_argo0))
4929 return NULL;
4930 if (_argo0) {
4931 if (_argo0 == Py_None) { _arg0 = NULL; }
4932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
4933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
4934 return NULL;
4935 }
4936 }
4937 {
4938 PyThreadState* __tstate = wxPyBeginAllowThreads();
4939 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreY_get(_arg0);
4940
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) return NULL;
4943 } if (_result) {
4944 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4945 _resultobj = Py_BuildValue("s",_ptemp);
4946 } else {
4947 Py_INCREF(Py_None);
4948 _resultobj = Py_None;
4949 }
4950 return _resultobj;
4951 }
4952
4953 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
4954 static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4955 PyObject * _resultobj;
4956 wxIndividualLayoutConstraint * _result;
4957 wxLayoutConstraints * _arg0;
4958 PyObject * _argo0 = 0;
4959 char *_kwnames[] = { "self", NULL };
4960 char _ptemp[128];
4961
4962 self = self;
4963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_height_get",_kwnames,&_argo0))
4964 return NULL;
4965 if (_argo0) {
4966 if (_argo0 == Py_None) { _arg0 = NULL; }
4967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
4968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
4969 return NULL;
4970 }
4971 }
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_height_get(_arg0);
4975
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) return NULL;
4978 } if (_result) {
4979 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4980 _resultobj = Py_BuildValue("s",_ptemp);
4981 } else {
4982 Py_INCREF(Py_None);
4983 _resultobj = Py_None;
4984 }
4985 return _resultobj;
4986 }
4987
4988 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
4989 static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4990 PyObject * _resultobj;
4991 wxIndividualLayoutConstraint * _result;
4992 wxLayoutConstraints * _arg0;
4993 PyObject * _argo0 = 0;
4994 char *_kwnames[] = { "self", NULL };
4995 char _ptemp[128];
4996
4997 self = self;
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_left_get",_kwnames,&_argo0))
4999 return NULL;
5000 if (_argo0) {
5001 if (_argo0 == Py_None) { _arg0 = NULL; }
5002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
5003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
5004 return NULL;
5005 }
5006 }
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_left_get(_arg0);
5010
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) return NULL;
5013 } if (_result) {
5014 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
5015 _resultobj = Py_BuildValue("s",_ptemp);
5016 } else {
5017 Py_INCREF(Py_None);
5018 _resultobj = Py_None;
5019 }
5020 return _resultobj;
5021 }
5022
5023 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
5024 static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5025 PyObject * _resultobj;
5026 wxIndividualLayoutConstraint * _result;
5027 wxLayoutConstraints * _arg0;
5028 PyObject * _argo0 = 0;
5029 char *_kwnames[] = { "self", NULL };
5030 char _ptemp[128];
5031
5032 self = self;
5033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_right_get",_kwnames,&_argo0))
5034 return NULL;
5035 if (_argo0) {
5036 if (_argo0 == Py_None) { _arg0 = NULL; }
5037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
5038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
5039 return NULL;
5040 }
5041 }
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_right_get(_arg0);
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) return NULL;
5048 } if (_result) {
5049 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
5050 _resultobj = Py_BuildValue("s",_ptemp);
5051 } else {
5052 Py_INCREF(Py_None);
5053 _resultobj = Py_None;
5054 }
5055 return _resultobj;
5056 }
5057
5058 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
5059 static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject * _resultobj;
5061 wxIndividualLayoutConstraint * _result;
5062 wxLayoutConstraints * _arg0;
5063 PyObject * _argo0 = 0;
5064 char *_kwnames[] = { "self", NULL };
5065 char _ptemp[128];
5066
5067 self = self;
5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_top_get",_kwnames,&_argo0))
5069 return NULL;
5070 if (_argo0) {
5071 if (_argo0 == Py_None) { _arg0 = NULL; }
5072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
5073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
5074 return NULL;
5075 }
5076 }
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_top_get(_arg0);
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) return NULL;
5083 } if (_result) {
5084 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
5085 _resultobj = Py_BuildValue("s",_ptemp);
5086 } else {
5087 Py_INCREF(Py_None);
5088 _resultobj = Py_None;
5089 }
5090 return _resultobj;
5091 }
5092
5093 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
5094 static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5095 PyObject * _resultobj;
5096 wxIndividualLayoutConstraint * _result;
5097 wxLayoutConstraints * _arg0;
5098 PyObject * _argo0 = 0;
5099 char *_kwnames[] = { "self", NULL };
5100 char _ptemp[128];
5101
5102 self = self;
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_width_get",_kwnames,&_argo0))
5104 return NULL;
5105 if (_argo0) {
5106 if (_argo0 == Py_None) { _arg0 = NULL; }
5107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
5108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
5109 return NULL;
5110 }
5111 }
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_width_get(_arg0);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) return NULL;
5118 } if (_result) {
5119 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
5120 _resultobj = Py_BuildValue("s",_ptemp);
5121 } else {
5122 Py_INCREF(Py_None);
5123 _resultobj = Py_None;
5124 }
5125 return _resultobj;
5126 }
5127
5128 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
5129 static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
5130 PyObject * _resultobj;
5131 wxAcceleratorEntry * _result;
5132 int _arg0 = (int ) 0;
5133 int _arg1 = (int ) 0;
5134 int _arg2 = (int ) 0;
5135 char *_kwnames[] = { "flags","keyCode","cmd", NULL };
5136 char _ptemp[128];
5137
5138 self = self;
5139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxAcceleratorEntry",_kwnames,&_arg0,&_arg1,&_arg2))
5140 return NULL;
5141 {
5142 PyThreadState* __tstate = wxPyBeginAllowThreads();
5143 _result = (wxAcceleratorEntry *)new_wxAcceleratorEntry(_arg0,_arg1,_arg2);
5144
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) return NULL;
5147 } if (_result) {
5148 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
5149 _resultobj = Py_BuildValue("s",_ptemp);
5150 } else {
5151 Py_INCREF(Py_None);
5152 _resultobj = Py_None;
5153 }
5154 return _resultobj;
5155 }
5156
5157 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
5158 static PyObject *_wrap_delete_wxAcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
5159 PyObject * _resultobj;
5160 wxAcceleratorEntry * _arg0;
5161 PyObject * _argo0 = 0;
5162 char *_kwnames[] = { "self", NULL };
5163
5164 self = self;
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxAcceleratorEntry",_kwnames,&_argo0))
5166 return NULL;
5167 if (_argo0) {
5168 if (_argo0 == Py_None) { _arg0 = NULL; }
5169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
5170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
5171 return NULL;
5172 }
5173 }
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 delete_wxAcceleratorEntry(_arg0);
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) return NULL;
5180 } Py_INCREF(Py_None);
5181 _resultobj = Py_None;
5182 return _resultobj;
5183 }
5184
5185 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
5186 static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5187 PyObject * _resultobj;
5188 wxAcceleratorEntry * _arg0;
5189 int _arg1;
5190 int _arg2;
5191 int _arg3;
5192 PyObject * _argo0 = 0;
5193 char *_kwnames[] = { "self","flags","keyCode","Cmd", NULL };
5194
5195 self = self;
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxAcceleratorEntry_Set",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5197 return NULL;
5198 if (_argo0) {
5199 if (_argo0 == Py_None) { _arg0 = NULL; }
5200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
5201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
5202 return NULL;
5203 }
5204 }
5205 {
5206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5207 wxAcceleratorEntry_Set(_arg0,_arg1,_arg2,_arg3);
5208
5209 wxPyEndAllowThreads(__tstate);
5210 if (PyErr_Occurred()) return NULL;
5211 } Py_INCREF(Py_None);
5212 _resultobj = Py_None;
5213 return _resultobj;
5214 }
5215
5216 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
5217 static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject * _resultobj;
5219 int _result;
5220 wxAcceleratorEntry * _arg0;
5221 PyObject * _argo0 = 0;
5222 char *_kwnames[] = { "self", NULL };
5223
5224 self = self;
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetFlags",_kwnames,&_argo0))
5226 return NULL;
5227 if (_argo0) {
5228 if (_argo0 == Py_None) { _arg0 = NULL; }
5229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
5230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
5231 return NULL;
5232 }
5233 }
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 _result = (int )wxAcceleratorEntry_GetFlags(_arg0);
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) return NULL;
5240 } _resultobj = Py_BuildValue("i",_result);
5241 return _resultobj;
5242 }
5243
5244 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
5245 static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
5246 PyObject * _resultobj;
5247 int _result;
5248 wxAcceleratorEntry * _arg0;
5249 PyObject * _argo0 = 0;
5250 char *_kwnames[] = { "self", NULL };
5251
5252 self = self;
5253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetKeyCode",_kwnames,&_argo0))
5254 return NULL;
5255 if (_argo0) {
5256 if (_argo0 == Py_None) { _arg0 = NULL; }
5257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
5258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
5259 return NULL;
5260 }
5261 }
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 _result = (int )wxAcceleratorEntry_GetKeyCode(_arg0);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) return NULL;
5268 } _resultobj = Py_BuildValue("i",_result);
5269 return _resultobj;
5270 }
5271
5272 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
5273 static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
5274 PyObject * _resultobj;
5275 int _result;
5276 wxAcceleratorEntry * _arg0;
5277 PyObject * _argo0 = 0;
5278 char *_kwnames[] = { "self", NULL };
5279
5280 self = self;
5281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetCommand",_kwnames,&_argo0))
5282 return NULL;
5283 if (_argo0) {
5284 if (_argo0 == Py_None) { _arg0 = NULL; }
5285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
5286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
5287 return NULL;
5288 }
5289 }
5290 {
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 _result = (int )wxAcceleratorEntry_GetCommand(_arg0);
5293
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) return NULL;
5296 } _resultobj = Py_BuildValue("i",_result);
5297 return _resultobj;
5298 }
5299
5300 static void *SwigwxAcceleratorTableTowxObject(void *ptr) {
5301 wxAcceleratorTable *src;
5302 wxObject *dest;
5303 src = (wxAcceleratorTable *) ptr;
5304 dest = (wxObject *) src;
5305 return (void *) dest;
5306 }
5307
5308 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
5309 static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
5310 PyObject * _resultobj;
5311 wxAcceleratorTable * _result;
5312 int _arg0;
5313 wxAcceleratorEntry * _arg1;
5314 PyObject * _obj1 = 0;
5315 char *_kwnames[] = { "choices", NULL };
5316 char _ptemp[128];
5317
5318 self = self;
5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxAcceleratorTable",_kwnames,&_obj1))
5320 return NULL;
5321 if (_obj1)
5322 {
5323 _arg1 = wxAcceleratorEntry_LIST_helper(_obj1);
5324 if (_arg1 == NULL) {
5325 return NULL;
5326 }
5327 }
5328 {
5329 if (_obj1) {
5330 _arg0 = PyList_Size(_obj1);
5331 }
5332 else {
5333 _arg0 = 0;
5334 }
5335 }
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 _result = (wxAcceleratorTable *)new_wxAcceleratorTable(_arg0,_arg1);
5339
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) return NULL;
5342 } if (_result) {
5343 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
5344 _resultobj = Py_BuildValue("s",_ptemp);
5345 } else {
5346 Py_INCREF(Py_None);
5347 _resultobj = Py_None;
5348 }
5349 {
5350 delete [] _arg1;
5351 }
5352 return _resultobj;
5353 }
5354
5355 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
5356 static PyObject *_wrap_delete_wxAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
5357 PyObject * _resultobj;
5358 wxAcceleratorTable * _arg0;
5359 PyObject * _argo0 = 0;
5360 char *_kwnames[] = { "self", NULL };
5361
5362 self = self;
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxAcceleratorTable",_kwnames,&_argo0))
5364 return NULL;
5365 if (_argo0) {
5366 if (_argo0 == Py_None) { _arg0 = NULL; }
5367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorTable_p")) {
5368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
5369 return NULL;
5370 }
5371 }
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 delete_wxAcceleratorTable(_arg0);
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) return NULL;
5378 } Py_INCREF(Py_None);
5379 _resultobj = Py_None;
5380 return _resultobj;
5381 }
5382
5383 static void *SwigwxBusyInfoTowxObject(void *ptr) {
5384 wxBusyInfo *src;
5385 wxObject *dest;
5386 src = (wxBusyInfo *) ptr;
5387 dest = (wxObject *) src;
5388 return (void *) dest;
5389 }
5390
5391 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
5392 static PyObject *_wrap_new_wxBusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5393 PyObject * _resultobj;
5394 wxBusyInfo * _result;
5395 wxString * _arg0;
5396 PyObject * _obj0 = 0;
5397 char *_kwnames[] = { "message", NULL };
5398 char _ptemp[128];
5399
5400 self = self;
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxBusyInfo",_kwnames,&_obj0))
5402 return NULL;
5403 {
5404 _arg0 = wxString_in_helper(_obj0);
5405 if (_arg0 == NULL)
5406 return NULL;
5407 }
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 _result = (wxBusyInfo *)new_wxBusyInfo(*_arg0);
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) return NULL;
5414 } if (_result) {
5415 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyInfo_p");
5416 _resultobj = Py_BuildValue("s",_ptemp);
5417 } else {
5418 Py_INCREF(Py_None);
5419 _resultobj = Py_None;
5420 }
5421 {
5422 if (_obj0)
5423 delete _arg0;
5424 }
5425 return _resultobj;
5426 }
5427
5428 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
5429 static PyObject *_wrap_delete_wxBusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5430 PyObject * _resultobj;
5431 wxBusyInfo * _arg0;
5432 PyObject * _argo0 = 0;
5433 char *_kwnames[] = { "self", NULL };
5434
5435 self = self;
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyInfo",_kwnames,&_argo0))
5437 return NULL;
5438 if (_argo0) {
5439 if (_argo0 == Py_None) { _arg0 = NULL; }
5440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyInfo_p")) {
5441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
5442 return NULL;
5443 }
5444 }
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 delete_wxBusyInfo(_arg0);
5448
5449 wxPyEndAllowThreads(__tstate);
5450 if (PyErr_Occurred()) return NULL;
5451 } Py_INCREF(Py_None);
5452 _resultobj = Py_None;
5453 return _resultobj;
5454 }
5455
5456 static PyMethodDef misccMethods[] = {
5457 { "delete_wxBusyInfo", (PyCFunction) _wrap_delete_wxBusyInfo, METH_VARARGS | METH_KEYWORDS },
5458 { "new_wxBusyInfo", (PyCFunction) _wrap_new_wxBusyInfo, METH_VARARGS | METH_KEYWORDS },
5459 { "delete_wxAcceleratorTable", (PyCFunction) _wrap_delete_wxAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
5460 { "new_wxAcceleratorTable", (PyCFunction) _wrap_new_wxAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
5461 { "wxAcceleratorEntry_GetCommand", (PyCFunction) _wrap_wxAcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
5462 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_wxAcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
5463 { "wxAcceleratorEntry_GetFlags", (PyCFunction) _wrap_wxAcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
5464 { "wxAcceleratorEntry_Set", (PyCFunction) _wrap_wxAcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
5465 { "delete_wxAcceleratorEntry", (PyCFunction) _wrap_delete_wxAcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
5466 { "new_wxAcceleratorEntry", (PyCFunction) _wrap_new_wxAcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
5467 { "wxLayoutConstraints_width_get", (PyCFunction) _wrap_wxLayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
5468 { "wxLayoutConstraints_top_get", (PyCFunction) _wrap_wxLayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
5469 { "wxLayoutConstraints_right_get", (PyCFunction) _wrap_wxLayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
5470 { "wxLayoutConstraints_left_get", (PyCFunction) _wrap_wxLayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
5471 { "wxLayoutConstraints_height_get", (PyCFunction) _wrap_wxLayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
5472 { "wxLayoutConstraints_centreY_get", (PyCFunction) _wrap_wxLayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
5473 { "wxLayoutConstraints_centreX_get", (PyCFunction) _wrap_wxLayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
5474 { "wxLayoutConstraints_bottom_get", (PyCFunction) _wrap_wxLayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
5475 { "new_wxLayoutConstraints", (PyCFunction) _wrap_new_wxLayoutConstraints, METH_VARARGS | METH_KEYWORDS },
5476 { "wxIndividualLayoutConstraint_Set", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
5477 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
5478 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
5479 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
5480 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
5481 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
5482 { "wxIndividualLayoutConstraint_Below", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
5483 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_wxIndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
5484 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
5485 { "wxIndividualLayoutConstraint_Above", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
5486 { "wxPoint2DDouble_asTuple", (PyCFunction) _wrap_wxPoint2DDouble_asTuple, METH_VARARGS | METH_KEYWORDS },
5487 { "wxPoint2DDouble___ne__", (PyCFunction) _wrap_wxPoint2DDouble___ne__, METH_VARARGS | METH_KEYWORDS },
5488 { "wxPoint2DDouble___eq__", (PyCFunction) _wrap_wxPoint2DDouble___eq__, METH_VARARGS | METH_KEYWORDS },
5489 { "wxPoint2DDouble___idiv__", (PyCFunction) _wrap_wxPoint2DDouble___idiv__, METH_VARARGS | METH_KEYWORDS },
5490 { "wxPoint2DDouble___imul__", (PyCFunction) _wrap_wxPoint2DDouble___imul__, METH_VARARGS | METH_KEYWORDS },
5491 { "wxPoint2DDouble___isub__", (PyCFunction) _wrap_wxPoint2DDouble___isub__, METH_VARARGS | METH_KEYWORDS },
5492 { "wxPoint2DDouble___iadd__", (PyCFunction) _wrap_wxPoint2DDouble___iadd__, METH_VARARGS | METH_KEYWORDS },
5493 { "wxPoint2DDouble___neg__", (PyCFunction) _wrap_wxPoint2DDouble___neg__, METH_VARARGS | METH_KEYWORDS },
5494 { "wxPoint2DDouble_Set", (PyCFunction) _wrap_wxPoint2DDouble_Set, METH_VARARGS | METH_KEYWORDS },
5495 { "wxPoint2DDouble_GetCrossProduct", (PyCFunction) _wrap_wxPoint2DDouble_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
5496 { "wxPoint2DDouble_GetDotProduct", (PyCFunction) _wrap_wxPoint2DDouble_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
5497 { "wxPoint2DDouble_GetDistanceSquare", (PyCFunction) _wrap_wxPoint2DDouble_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
5498 { "wxPoint2DDouble_GetDistance", (PyCFunction) _wrap_wxPoint2DDouble_GetDistance, METH_VARARGS | METH_KEYWORDS },
5499 { "wxPoint2DDouble_SetVectorAngle", (PyCFunction) _wrap_wxPoint2DDouble_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
5500 { "wxPoint2DDouble_SetVectorLength", (PyCFunction) _wrap_wxPoint2DDouble_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
5501 { "wxPoint2DDouble_GetVectorAngle", (PyCFunction) _wrap_wxPoint2DDouble_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
5502 { "wxPoint2DDouble_GetVectorLength", (PyCFunction) _wrap_wxPoint2DDouble_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
5503 { "wxPoint2DDouble_GetRounded", (PyCFunction) _wrap_wxPoint2DDouble_GetRounded, METH_VARARGS | METH_KEYWORDS },
5504 { "wxPoint2DDouble_GetFloor", (PyCFunction) _wrap_wxPoint2DDouble_GetFloor, METH_VARARGS | METH_KEYWORDS },
5505 { "new_wxPoint2DDoubleFromPoint", (PyCFunction) _wrap_new_wxPoint2DDoubleFromPoint, METH_VARARGS | METH_KEYWORDS },
5506 { "new_wxPoint2DDoubleCopy", (PyCFunction) _wrap_new_wxPoint2DDoubleCopy, METH_VARARGS | METH_KEYWORDS },
5507 { "new_wxPoint2DDouble", (PyCFunction) _wrap_new_wxPoint2DDouble, METH_VARARGS | METH_KEYWORDS },
5508 { "wxPoint2DDouble_y_get", (PyCFunction) _wrap_wxPoint2DDouble_m_y_get, METH_VARARGS | METH_KEYWORDS },
5509 { "wxPoint2DDouble_y_set", (PyCFunction) _wrap_wxPoint2DDouble_m_y_set, METH_VARARGS | METH_KEYWORDS },
5510 { "wxPoint2DDouble_x_get", (PyCFunction) _wrap_wxPoint2DDouble_m_x_get, METH_VARARGS | METH_KEYWORDS },
5511 { "wxPoint2DDouble_x_set", (PyCFunction) _wrap_wxPoint2DDouble_m_x_set, METH_VARARGS | METH_KEYWORDS },
5512 { "wxPoint2DDouble_m_y_get", (PyCFunction) _wrap_wxPoint2DDouble_m_y_get, METH_VARARGS | METH_KEYWORDS },
5513 { "wxPoint2DDouble_m_y_set", (PyCFunction) _wrap_wxPoint2DDouble_m_y_set, METH_VARARGS | METH_KEYWORDS },
5514 { "wxPoint2DDouble_m_x_get", (PyCFunction) _wrap_wxPoint2DDouble_m_x_get, METH_VARARGS | METH_KEYWORDS },
5515 { "wxPoint2DDouble_m_x_set", (PyCFunction) _wrap_wxPoint2DDouble_m_x_set, METH_VARARGS | METH_KEYWORDS },
5516 { "wxRect___ne__", (PyCFunction) _wrap_wxRect___ne__, METH_VARARGS | METH_KEYWORDS },
5517 { "wxRect___eq__", (PyCFunction) _wrap_wxRect___eq__, METH_VARARGS | METH_KEYWORDS },
5518 { "wxRect___add__", (PyCFunction) _wrap_wxRect___add__, METH_VARARGS | METH_KEYWORDS },
5519 { "wxRect_asTuple", (PyCFunction) _wrap_wxRect_asTuple, METH_VARARGS | METH_KEYWORDS },
5520 { "wxRect_Set", (PyCFunction) _wrap_wxRect_Set, METH_VARARGS | METH_KEYWORDS },
5521 { "wxRect_height_get", (PyCFunction) _wrap_wxRect_height_get, METH_VARARGS | METH_KEYWORDS },
5522 { "wxRect_height_set", (PyCFunction) _wrap_wxRect_height_set, METH_VARARGS | METH_KEYWORDS },
5523 { "wxRect_width_get", (PyCFunction) _wrap_wxRect_width_get, METH_VARARGS | METH_KEYWORDS },
5524 { "wxRect_width_set", (PyCFunction) _wrap_wxRect_width_set, METH_VARARGS | METH_KEYWORDS },
5525 { "wxRect_y_get", (PyCFunction) _wrap_wxRect_y_get, METH_VARARGS | METH_KEYWORDS },
5526 { "wxRect_y_set", (PyCFunction) _wrap_wxRect_y_set, METH_VARARGS | METH_KEYWORDS },
5527 { "wxRect_x_get", (PyCFunction) _wrap_wxRect_x_get, METH_VARARGS | METH_KEYWORDS },
5528 { "wxRect_x_set", (PyCFunction) _wrap_wxRect_x_set, METH_VARARGS | METH_KEYWORDS },
5529 { "wxRect_Offset", (PyCFunction) _wrap_wxRect_Offset, METH_VARARGS | METH_KEYWORDS },
5530 { "wxRect_OffsetXY", (PyCFunction) _wrap_wxRect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
5531 { "wxRect_Intersects", (PyCFunction) _wrap_wxRect_Intersects, METH_VARARGS | METH_KEYWORDS },
5532 { "wxRect_Inside", (PyCFunction) _wrap_wxRect_Inside, METH_VARARGS | METH_KEYWORDS },
5533 { "wxRect_InsideXY", (PyCFunction) _wrap_wxRect_InsideXY, METH_VARARGS | METH_KEYWORDS },
5534 { "wxRect_Inflate", (PyCFunction) _wrap_wxRect_Inflate, METH_VARARGS | METH_KEYWORDS },
5535 { "wxRect_Deflate", (PyCFunction) _wrap_wxRect_Deflate, METH_VARARGS | METH_KEYWORDS },
5536 { "wxRect_SetBottom", (PyCFunction) _wrap_wxRect_SetBottom, METH_VARARGS | METH_KEYWORDS },
5537 { "wxRect_SetTop", (PyCFunction) _wrap_wxRect_SetTop, METH_VARARGS | METH_KEYWORDS },
5538 { "wxRect_SetRight", (PyCFunction) _wrap_wxRect_SetRight, METH_VARARGS | METH_KEYWORDS },
5539 { "wxRect_SetLeft", (PyCFunction) _wrap_wxRect_SetLeft, METH_VARARGS | METH_KEYWORDS },
5540 { "wxRect_GetRight", (PyCFunction) _wrap_wxRect_GetRight, METH_VARARGS | METH_KEYWORDS },
5541 { "wxRect_GetBottom", (PyCFunction) _wrap_wxRect_GetBottom, METH_VARARGS | METH_KEYWORDS },
5542 { "wxRect_GetTop", (PyCFunction) _wrap_wxRect_GetTop, METH_VARARGS | METH_KEYWORDS },
5543 { "wxRect_GetLeft", (PyCFunction) _wrap_wxRect_GetLeft, METH_VARARGS | METH_KEYWORDS },
5544 { "wxRect_SetSize", (PyCFunction) _wrap_wxRect_SetSize, METH_VARARGS | METH_KEYWORDS },
5545 { "wxRect_SetPosition", (PyCFunction) _wrap_wxRect_SetPosition, METH_VARARGS | METH_KEYWORDS },
5546 { "wxRect_GetSize", (PyCFunction) _wrap_wxRect_GetSize, METH_VARARGS | METH_KEYWORDS },
5547 { "wxRect_GetPosition", (PyCFunction) _wrap_wxRect_GetPosition, METH_VARARGS | METH_KEYWORDS },
5548 { "wxRect_SetHeight", (PyCFunction) _wrap_wxRect_SetHeight, METH_VARARGS | METH_KEYWORDS },
5549 { "wxRect_GetHeight", (PyCFunction) _wrap_wxRect_GetHeight, METH_VARARGS | METH_KEYWORDS },
5550 { "wxRect_SetWidth", (PyCFunction) _wrap_wxRect_SetWidth, METH_VARARGS | METH_KEYWORDS },
5551 { "wxRect_GetWidth", (PyCFunction) _wrap_wxRect_GetWidth, METH_VARARGS | METH_KEYWORDS },
5552 { "wxRect_SetY", (PyCFunction) _wrap_wxRect_SetY, METH_VARARGS | METH_KEYWORDS },
5553 { "wxRect_GetY", (PyCFunction) _wrap_wxRect_GetY, METH_VARARGS | METH_KEYWORDS },
5554 { "wxRect_SetX", (PyCFunction) _wrap_wxRect_SetX, METH_VARARGS | METH_KEYWORDS },
5555 { "wxRect_GetX", (PyCFunction) _wrap_wxRect_GetX, METH_VARARGS | METH_KEYWORDS },
5556 { "delete_wxRect", (PyCFunction) _wrap_delete_wxRect, METH_VARARGS | METH_KEYWORDS },
5557 { "new_wxRect", (PyCFunction) _wrap_new_wxRect, METH_VARARGS | METH_KEYWORDS },
5558 { "wxPoint___ne__", (PyCFunction) _wrap_wxPoint___ne__, METH_VARARGS | METH_KEYWORDS },
5559 { "wxPoint___eq__", (PyCFunction) _wrap_wxPoint___eq__, METH_VARARGS | METH_KEYWORDS },
5560 { "wxPoint___sub__", (PyCFunction) _wrap_wxPoint___sub__, METH_VARARGS | METH_KEYWORDS },
5561 { "wxPoint___add__", (PyCFunction) _wrap_wxPoint___add__, METH_VARARGS | METH_KEYWORDS },
5562 { "wxPoint_asTuple", (PyCFunction) _wrap_wxPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
5563 { "wxPoint_Set", (PyCFunction) _wrap_wxPoint_Set, METH_VARARGS | METH_KEYWORDS },
5564 { "delete_wxPoint", (PyCFunction) _wrap_delete_wxPoint, METH_VARARGS | METH_KEYWORDS },
5565 { "new_wxPoint", (PyCFunction) _wrap_new_wxPoint, METH_VARARGS | METH_KEYWORDS },
5566 { "wxPoint_y_get", (PyCFunction) _wrap_wxPoint_y_get, METH_VARARGS | METH_KEYWORDS },
5567 { "wxPoint_y_set", (PyCFunction) _wrap_wxPoint_y_set, METH_VARARGS | METH_KEYWORDS },
5568 { "wxPoint_x_get", (PyCFunction) _wrap_wxPoint_x_get, METH_VARARGS | METH_KEYWORDS },
5569 { "wxPoint_x_set", (PyCFunction) _wrap_wxPoint_x_set, METH_VARARGS | METH_KEYWORDS },
5570 { "wxRealPoint___ne__", (PyCFunction) _wrap_wxRealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
5571 { "wxRealPoint___eq__", (PyCFunction) _wrap_wxRealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
5572 { "wxRealPoint___sub__", (PyCFunction) _wrap_wxRealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
5573 { "wxRealPoint___add__", (PyCFunction) _wrap_wxRealPoint___add__, METH_VARARGS | METH_KEYWORDS },
5574 { "wxRealPoint_asTuple", (PyCFunction) _wrap_wxRealPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
5575 { "wxRealPoint_Set", (PyCFunction) _wrap_wxRealPoint_Set, METH_VARARGS | METH_KEYWORDS },
5576 { "delete_wxRealPoint", (PyCFunction) _wrap_delete_wxRealPoint, METH_VARARGS | METH_KEYWORDS },
5577 { "new_wxRealPoint", (PyCFunction) _wrap_new_wxRealPoint, METH_VARARGS | METH_KEYWORDS },
5578 { "wxRealPoint_y_get", (PyCFunction) _wrap_wxRealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
5579 { "wxRealPoint_y_set", (PyCFunction) _wrap_wxRealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
5580 { "wxRealPoint_x_get", (PyCFunction) _wrap_wxRealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
5581 { "wxRealPoint_x_set", (PyCFunction) _wrap_wxRealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
5582 { "wxSize___ne__", (PyCFunction) _wrap_wxSize___ne__, METH_VARARGS | METH_KEYWORDS },
5583 { "wxSize___eq__", (PyCFunction) _wrap_wxSize___eq__, METH_VARARGS | METH_KEYWORDS },
5584 { "wxSize_asTuple", (PyCFunction) _wrap_wxSize_asTuple, METH_VARARGS | METH_KEYWORDS },
5585 { "wxSize_DecTo", (PyCFunction) _wrap_wxSize_DecTo, METH_VARARGS | METH_KEYWORDS },
5586 { "wxSize_IncTo", (PyCFunction) _wrap_wxSize_IncTo, METH_VARARGS | METH_KEYWORDS },
5587 { "wxSize_SetHeight", (PyCFunction) _wrap_wxSize_SetHeight, METH_VARARGS | METH_KEYWORDS },
5588 { "wxSize_SetWidth", (PyCFunction) _wrap_wxSize_SetWidth, METH_VARARGS | METH_KEYWORDS },
5589 { "wxSize_GetHeight", (PyCFunction) _wrap_wxSize_GetHeight, METH_VARARGS | METH_KEYWORDS },
5590 { "wxSize_GetWidth", (PyCFunction) _wrap_wxSize_GetWidth, METH_VARARGS | METH_KEYWORDS },
5591 { "wxSize_GetY", (PyCFunction) _wrap_wxSize_GetY, METH_VARARGS | METH_KEYWORDS },
5592 { "wxSize_GetX", (PyCFunction) _wrap_wxSize_GetX, METH_VARARGS | METH_KEYWORDS },
5593 { "wxSize_Set", (PyCFunction) _wrap_wxSize_Set, METH_VARARGS | METH_KEYWORDS },
5594 { "delete_wxSize", (PyCFunction) _wrap_delete_wxSize, METH_VARARGS | METH_KEYWORDS },
5595 { "new_wxSize", (PyCFunction) _wrap_new_wxSize, METH_VARARGS | METH_KEYWORDS },
5596 { "wxSize_height_get", (PyCFunction) _wrap_wxSize_y_get, METH_VARARGS | METH_KEYWORDS },
5597 { "wxSize_height_set", (PyCFunction) _wrap_wxSize_y_set, METH_VARARGS | METH_KEYWORDS },
5598 { "wxSize_width_get", (PyCFunction) _wrap_wxSize_x_get, METH_VARARGS | METH_KEYWORDS },
5599 { "wxSize_width_set", (PyCFunction) _wrap_wxSize_x_set, METH_VARARGS | METH_KEYWORDS },
5600 { "wxSize_y_get", (PyCFunction) _wrap_wxSize_y_get, METH_VARARGS | METH_KEYWORDS },
5601 { "wxSize_y_set", (PyCFunction) _wrap_wxSize_y_set, METH_VARARGS | METH_KEYWORDS },
5602 { "wxSize_x_get", (PyCFunction) _wrap_wxSize_x_get, METH_VARARGS | METH_KEYWORDS },
5603 { "wxSize_x_set", (PyCFunction) _wrap_wxSize_x_set, METH_VARARGS | METH_KEYWORDS },
5604 { "wxObject_Destroy", (PyCFunction) _wrap_wxObject_Destroy, METH_VARARGS | METH_KEYWORDS },
5605 { "wxObject_GetClassName", (PyCFunction) _wrap_wxObject_GetClassName, METH_VARARGS | METH_KEYWORDS },
5606 { "wxGetAccelFromString", (PyCFunction) _wrap_wxGetAccelFromString, METH_VARARGS | METH_KEYWORDS },
5607 { "wxTrap", (PyCFunction) _wrap_wxTrap, METH_VARARGS | METH_KEYWORDS },
5608 { "wxGetProcessId", (PyCFunction) _wrap_wxGetProcessId, METH_VARARGS | METH_KEYWORDS },
5609 { "wxGetUserHome", (PyCFunction) _wrap_wxGetUserHome, METH_VARARGS | METH_KEYWORDS },
5610 { "wxGetHomeDir", (PyCFunction) _wrap_wxGetHomeDir, METH_VARARGS | METH_KEYWORDS },
5611 { "wxGetUserName", (PyCFunction) _wrap_wxGetUserName, METH_VARARGS | METH_KEYWORDS },
5612 { "wxGetUserId", (PyCFunction) _wrap_wxGetUserId, METH_VARARGS | METH_KEYWORDS },
5613 { "wxGetFullHostName", (PyCFunction) _wrap_wxGetFullHostName, METH_VARARGS | METH_KEYWORDS },
5614 { "wxGetHostName", (PyCFunction) _wrap_wxGetHostName, METH_VARARGS | METH_KEYWORDS },
5615 { "wxGetEmailAddress", (PyCFunction) _wrap_wxGetEmailAddress, METH_VARARGS | METH_KEYWORDS },
5616 { "wxStripMenuCodes", (PyCFunction) _wrap_wxStripMenuCodes, METH_VARARGS | METH_KEYWORDS },
5617 { "wxEnableTopLevelWindows", (PyCFunction) _wrap_wxEnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
5618 { "wxYieldIfNeeded", (PyCFunction) _wrap_wxYieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
5619 { "wxYield", (PyCFunction) _wrap_wxYield, METH_VARARGS | METH_KEYWORDS },
5620 { "wxUsleep", (PyCFunction) _wrap_wxUsleep, METH_VARARGS | METH_KEYWORDS },
5621 { "wxSleep", (PyCFunction) _wrap_wxSleep, METH_VARARGS | METH_KEYWORDS },
5622 { "wxShutdown", (PyCFunction) _wrap_wxShutdown, METH_VARARGS | METH_KEYWORDS },
5623 { "wxGetOsDescription", (PyCFunction) _wrap_wxGetOsDescription, METH_VARARGS | METH_KEYWORDS },
5624 { "wxGetOsVersion", (PyCFunction) _wrap_wxGetOsVersion, METH_VARARGS | METH_KEYWORDS },
5625 { "wxStartTimer", (PyCFunction) _wrap_wxStartTimer, METH_VARARGS | METH_KEYWORDS },
5626 { "wxShell", (PyCFunction) _wrap_wxShell, METH_VARARGS | METH_KEYWORDS },
5627 { "wxNow", (PyCFunction) _wrap_wxNow, METH_VARARGS | METH_KEYWORDS },
5628 { "wxIsBusy", (PyCFunction) _wrap_wxIsBusy, METH_VARARGS | METH_KEYWORDS },
5629 { "wxGetMousePosition", (PyCFunction) _wrap_wxGetMousePosition, METH_VARARGS | METH_KEYWORDS },
5630 { "wxGetElapsedTime", (PyCFunction) _wrap_wxGetElapsedTime, METH_VARARGS | METH_KEYWORDS },
5631 { "wxEndBusyCursor", (PyCFunction) _wrap_wxEndBusyCursor, METH_VARARGS | METH_KEYWORDS },
5632 { "wxBell", (PyCFunction) _wrap_wxBell, METH_VARARGS | METH_KEYWORDS },
5633 { "wxGetCurrentId", (PyCFunction) _wrap_wxGetCurrentId, METH_VARARGS | METH_KEYWORDS },
5634 { "wxRegisterId", (PyCFunction) _wrap_wxRegisterId, METH_VARARGS | METH_KEYWORDS },
5635 { "wxNewId", (PyCFunction) _wrap_wxNewId, METH_VARARGS | METH_KEYWORDS },
5636 { "wxIntersectRect", (PyCFunction) _wrap_wxIntersectRect, METH_VARARGS | METH_KEYWORDS },
5637 { NULL, NULL }
5638 };
5639 #ifdef __cplusplus
5640 }
5641 #endif
5642 /*
5643 * This table is used by the pointer type-checker
5644 */
5645 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5646 { "_signed_long","_long",0},
5647 { "_wxPrintQuality","_wxCoord",0},
5648 { "_wxPrintQuality","_int",0},
5649 { "_wxPrintQuality","_signed_int",0},
5650 { "_wxPrintQuality","_unsigned_int",0},
5651 { "_wxPrintQuality","_wxWindowID",0},
5652 { "_wxPrintQuality","_uint",0},
5653 { "_wxPrintQuality","_EBool",0},
5654 { "_wxPrintQuality","_size_t",0},
5655 { "_wxPrintQuality","_time_t",0},
5656 { "_byte","_unsigned_char",0},
5657 { "_long","_unsigned_long",0},
5658 { "_long","_signed_long",0},
5659 { "_size_t","_wxCoord",0},
5660 { "_size_t","_wxPrintQuality",0},
5661 { "_size_t","_time_t",0},
5662 { "_size_t","_unsigned_int",0},
5663 { "_size_t","_int",0},
5664 { "_size_t","_wxWindowID",0},
5665 { "_size_t","_uint",0},
5666 { "_uint","_wxCoord",0},
5667 { "_uint","_wxPrintQuality",0},
5668 { "_uint","_time_t",0},
5669 { "_uint","_size_t",0},
5670 { "_uint","_unsigned_int",0},
5671 { "_uint","_int",0},
5672 { "_uint","_wxWindowID",0},
5673 { "_wxChar","_char",0},
5674 { "_char","_wxChar",0},
5675 { "_EBool","_wxCoord",0},
5676 { "_EBool","_wxPrintQuality",0},
5677 { "_EBool","_signed_int",0},
5678 { "_EBool","_int",0},
5679 { "_EBool","_wxWindowID",0},
5680 { "_unsigned_long","_long",0},
5681 { "_signed_int","_wxCoord",0},
5682 { "_signed_int","_wxPrintQuality",0},
5683 { "_signed_int","_EBool",0},
5684 { "_signed_int","_wxWindowID",0},
5685 { "_signed_int","_int",0},
5686 { "_WXTYPE","_short",0},
5687 { "_WXTYPE","_signed_short",0},
5688 { "_WXTYPE","_unsigned_short",0},
5689 { "_unsigned_short","_WXTYPE",0},
5690 { "_unsigned_short","_short",0},
5691 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject},
5692 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject},
5693 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject},
5694 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject},
5695 { "_signed_short","_WXTYPE",0},
5696 { "_signed_short","_short",0},
5697 { "_unsigned_char","_byte",0},
5698 { "_unsigned_int","_wxCoord",0},
5699 { "_unsigned_int","_wxPrintQuality",0},
5700 { "_unsigned_int","_time_t",0},
5701 { "_unsigned_int","_size_t",0},
5702 { "_unsigned_int","_uint",0},
5703 { "_unsigned_int","_wxWindowID",0},
5704 { "_unsigned_int","_int",0},
5705 { "_short","_WXTYPE",0},
5706 { "_short","_unsigned_short",0},
5707 { "_short","_signed_short",0},
5708 { "_wxWindowID","_wxCoord",0},
5709 { "_wxWindowID","_wxPrintQuality",0},
5710 { "_wxWindowID","_time_t",0},
5711 { "_wxWindowID","_size_t",0},
5712 { "_wxWindowID","_EBool",0},
5713 { "_wxWindowID","_uint",0},
5714 { "_wxWindowID","_int",0},
5715 { "_wxWindowID","_signed_int",0},
5716 { "_wxWindowID","_unsigned_int",0},
5717 { "_int","_wxCoord",0},
5718 { "_int","_wxPrintQuality",0},
5719 { "_int","_time_t",0},
5720 { "_int","_size_t",0},
5721 { "_int","_EBool",0},
5722 { "_int","_uint",0},
5723 { "_int","_wxWindowID",0},
5724 { "_int","_unsigned_int",0},
5725 { "_int","_signed_int",0},
5726 { "_time_t","_wxCoord",0},
5727 { "_time_t","_wxPrintQuality",0},
5728 { "_time_t","_unsigned_int",0},
5729 { "_time_t","_int",0},
5730 { "_time_t","_wxWindowID",0},
5731 { "_time_t","_uint",0},
5732 { "_time_t","_size_t",0},
5733 { "_wxCoord","_int",0},
5734 { "_wxCoord","_signed_int",0},
5735 { "_wxCoord","_unsigned_int",0},
5736 { "_wxCoord","_wxWindowID",0},
5737 { "_wxCoord","_uint",0},
5738 { "_wxCoord","_EBool",0},
5739 { "_wxCoord","_size_t",0},
5740 { "_wxCoord","_time_t",0},
5741 { "_wxCoord","_wxPrintQuality",0},
5742 {0,0,0}};
5743
5744 static PyObject *SWIG_globals;
5745 #ifdef __cplusplus
5746 extern "C"
5747 #endif
5748 SWIGEXPORT(void) initmiscc() {
5749 PyObject *m, *d;
5750 SWIG_globals = SWIG_newvarlink();
5751 m = Py_InitModule("miscc", misccMethods);
5752 d = PyModule_GetDict(m);
5753 PyDict_SetItemString(d,"wxSHUTDOWN_POWEROFF", PyInt_FromLong((long) wxSHUTDOWN_POWEROFF));
5754 PyDict_SetItemString(d,"wxSHUTDOWN_REBOOT", PyInt_FromLong((long) wxSHUTDOWN_REBOOT));
5755 PyDict_SetItemString(d,"wxLeft", PyInt_FromLong((long) wxLeft));
5756 PyDict_SetItemString(d,"wxTop", PyInt_FromLong((long) wxTop));
5757 PyDict_SetItemString(d,"wxRight", PyInt_FromLong((long) wxRight));
5758 PyDict_SetItemString(d,"wxBottom", PyInt_FromLong((long) wxBottom));
5759 PyDict_SetItemString(d,"wxWidth", PyInt_FromLong((long) wxWidth));
5760 PyDict_SetItemString(d,"wxHeight", PyInt_FromLong((long) wxHeight));
5761 PyDict_SetItemString(d,"wxCentre", PyInt_FromLong((long) wxCentre));
5762 PyDict_SetItemString(d,"wxCenter", PyInt_FromLong((long) wxCenter));
5763 PyDict_SetItemString(d,"wxCentreX", PyInt_FromLong((long) wxCentreX));
5764 PyDict_SetItemString(d,"wxCentreY", PyInt_FromLong((long) wxCentreY));
5765 PyDict_SetItemString(d,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained));
5766 PyDict_SetItemString(d,"wxAsIs", PyInt_FromLong((long) wxAsIs));
5767 PyDict_SetItemString(d,"wxPercentOf", PyInt_FromLong((long) wxPercentOf));
5768 PyDict_SetItemString(d,"wxAbove", PyInt_FromLong((long) wxAbove));
5769 PyDict_SetItemString(d,"wxBelow", PyInt_FromLong((long) wxBelow));
5770 PyDict_SetItemString(d,"wxLeftOf", PyInt_FromLong((long) wxLeftOf));
5771 PyDict_SetItemString(d,"wxRightOf", PyInt_FromLong((long) wxRightOf));
5772 PyDict_SetItemString(d,"wxSameAs", PyInt_FromLong((long) wxSameAs));
5773 PyDict_SetItemString(d,"wxAbsolute", PyInt_FromLong((long) wxAbsolute));
5774 PyDict_SetItemString(d,"cvar", SWIG_globals);
5775 SWIG_addvarlink(SWIG_globals,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get, _wrap_wxNullAcceleratorTable_set);
5776 {
5777 int i;
5778 for (i = 0; _swig_mapping[i].n1; i++)
5779 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
5780 }
5781 }