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