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