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