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