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