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