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