]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/misc.cpp
fixed bug in generation of thumb scroll events
[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) {
7cdaed0b 1404 wxPyBeginBlockThreads();
70551f47
RD
1405 PyObject* tup = PyTuple_New(2);
1406 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1407 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
7cdaed0b 1408 wxPyEndBlockThreads();
70551f47
RD
1409 return tup;
1410 }
107e4716 1411static PyObject *_wrap_wxSize_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1412 PyObject * _resultobj;
1413 PyObject * _result;
1414 wxSize * _arg0;
37f6a977
RD
1415 wxSize temp;
1416 PyObject * _obj0 = 0;
107e4716 1417 char *_kwnames[] = { "self", NULL };
70551f47
RD
1418
1419 self = self;
37f6a977 1420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_asTuple",_kwnames,&_obj0))
70551f47 1421 return NULL;
37f6a977
RD
1422{
1423 _arg0 = &temp;
1424 if (! wxSize_helper(_obj0, &_arg0))
70551f47 1425 return NULL;
37f6a977 1426}
70551f47 1427{
4268f798 1428 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1429 _result = (PyObject *)wxSize_asTuple(_arg0);
ab9bc19b 1430
4268f798 1431 wxPyEndAllowThreads(__tstate);
493f1553 1432 if (PyErr_Occurred()) return NULL;
ab9bc19b 1433}{
70551f47
RD
1434 _resultobj = _result;
1435}
1436 return _resultobj;
1437}
1438
419c299a
RD
1439static int wxSize___cmp__(wxSize *self,const wxSize * sz) {
1440 if (! sz) return 1;
1441 if (*self == *sz) return 0;
1442 return -1;
1443 }
1444static PyObject *_wrap_wxSize___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
1445 PyObject * _resultobj;
1446 int _result;
1447 wxSize * _arg0;
1448 wxSize * _arg1;
1449 wxSize temp;
1450 PyObject * _obj0 = 0;
1451 wxSize temp0;
1452 PyObject * _obj1 = 0;
1453 char *_kwnames[] = { "self","sz", NULL };
1454
1455 self = self;
1456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSize___cmp__",_kwnames,&_obj0,&_obj1))
1457 return NULL;
1458{
1459 _arg0 = &temp;
1460 if (! wxSize_helper(_obj0, &_arg0))
1461 return NULL;
1462}
1463{
1464 _arg1 = &temp0;
1465 if (! wxSize_helper(_obj1, &_arg1))
1466 return NULL;
1467}
1468{
4268f798 1469 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1470 _result = (int )wxSize___cmp__(_arg0,_arg1);
419c299a 1471
4268f798 1472 wxPyEndAllowThreads(__tstate);
493f1553 1473 if (PyErr_Occurred()) return NULL;
419c299a
RD
1474} _resultobj = Py_BuildValue("i",_result);
1475 return _resultobj;
1476}
1477
70551f47 1478#define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
107e4716 1479static PyObject *_wrap_wxRealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1480 PyObject * _resultobj;
1481 double _result;
1482 wxRealPoint * _arg0;
1483 double _arg1;
37f6a977
RD
1484 wxRealPoint temp;
1485 PyObject * _obj0 = 0;
107e4716 1486 char *_kwnames[] = { "self","x", NULL };
70551f47
RD
1487
1488 self = self;
37f6a977 1489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxRealPoint_x_set",_kwnames,&_obj0,&_arg1))
70551f47 1490 return NULL;
37f6a977
RD
1491{
1492 _arg0 = &temp;
1493 if (! wxRealPoint_helper(_obj0, &_arg0))
70551f47 1494 return NULL;
37f6a977 1495}
ab9bc19b 1496{
4268f798 1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1498 _result = (double )wxRealPoint_x_set(_arg0,_arg1);
ab9bc19b 1499
4268f798 1500 wxPyEndAllowThreads(__tstate);
493f1553 1501 if (PyErr_Occurred()) return NULL;
ab9bc19b 1502} _resultobj = Py_BuildValue("d",_result);
70551f47
RD
1503 return _resultobj;
1504}
1505
1506#define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
107e4716 1507static PyObject *_wrap_wxRealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1508 PyObject * _resultobj;
1509 double _result;
1510 wxRealPoint * _arg0;
37f6a977
RD
1511 wxRealPoint temp;
1512 PyObject * _obj0 = 0;
107e4716 1513 char *_kwnames[] = { "self", NULL };
70551f47
RD
1514
1515 self = self;
37f6a977 1516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_x_get",_kwnames,&_obj0))
70551f47 1517 return NULL;
37f6a977
RD
1518{
1519 _arg0 = &temp;
1520 if (! wxRealPoint_helper(_obj0, &_arg0))
70551f47 1521 return NULL;
37f6a977 1522}
ab9bc19b 1523{
4268f798 1524 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1525 _result = (double )wxRealPoint_x_get(_arg0);
ab9bc19b 1526
4268f798 1527 wxPyEndAllowThreads(__tstate);
493f1553 1528 if (PyErr_Occurred()) return NULL;
ab9bc19b 1529} _resultobj = Py_BuildValue("d",_result);
70551f47
RD
1530 return _resultobj;
1531}
1532
1533#define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
107e4716 1534static PyObject *_wrap_wxRealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1535 PyObject * _resultobj;
1536 double _result;
1537 wxRealPoint * _arg0;
1538 double _arg1;
37f6a977
RD
1539 wxRealPoint temp;
1540 PyObject * _obj0 = 0;
107e4716 1541 char *_kwnames[] = { "self","y", NULL };
70551f47
RD
1542
1543 self = self;
37f6a977 1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxRealPoint_y_set",_kwnames,&_obj0,&_arg1))
70551f47 1545 return NULL;
37f6a977
RD
1546{
1547 _arg0 = &temp;
1548 if (! wxRealPoint_helper(_obj0, &_arg0))
70551f47 1549 return NULL;
37f6a977 1550}
ab9bc19b 1551{
4268f798 1552 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1553 _result = (double )wxRealPoint_y_set(_arg0,_arg1);
ab9bc19b 1554
4268f798 1555 wxPyEndAllowThreads(__tstate);
493f1553 1556 if (PyErr_Occurred()) return NULL;
ab9bc19b 1557} _resultobj = Py_BuildValue("d",_result);
70551f47
RD
1558 return _resultobj;
1559}
1560
1561#define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
107e4716 1562static PyObject *_wrap_wxRealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1563 PyObject * _resultobj;
1564 double _result;
1565 wxRealPoint * _arg0;
37f6a977
RD
1566 wxRealPoint temp;
1567 PyObject * _obj0 = 0;
107e4716 1568 char *_kwnames[] = { "self", NULL };
70551f47
RD
1569
1570 self = self;
37f6a977 1571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_y_get",_kwnames,&_obj0))
70551f47 1572 return NULL;
37f6a977
RD
1573{
1574 _arg0 = &temp;
1575 if (! wxRealPoint_helper(_obj0, &_arg0))
70551f47 1576 return NULL;
37f6a977 1577}
ab9bc19b 1578{
4268f798 1579 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1580 _result = (double )wxRealPoint_y_get(_arg0);
ab9bc19b 1581
4268f798 1582 wxPyEndAllowThreads(__tstate);
493f1553 1583 if (PyErr_Occurred()) return NULL;
ab9bc19b 1584} _resultobj = Py_BuildValue("d",_result);
70551f47
RD
1585 return _resultobj;
1586}
1587
1588#define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
107e4716 1589static PyObject *_wrap_new_wxRealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1590 PyObject * _resultobj;
1591 wxRealPoint * _result;
2d091820
RD
1592 double _arg0 = (double ) 0.0;
1593 double _arg1 = (double ) 0.0;
107e4716 1594 char *_kwnames[] = { "x","y", NULL };
70551f47
RD
1595 char _ptemp[128];
1596
1597 self = self;
107e4716 1598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxRealPoint",_kwnames,&_arg0,&_arg1))
70551f47 1599 return NULL;
ab9bc19b 1600{
4268f798 1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1602 _result = (wxRealPoint *)new_wxRealPoint(_arg0,_arg1);
ab9bc19b 1603
4268f798 1604 wxPyEndAllowThreads(__tstate);
493f1553 1605 if (PyErr_Occurred()) return NULL;
2d091820
RD
1606} if (_result) {
1607 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p");
1608 _resultobj = Py_BuildValue("s",_ptemp);
1609 } else {
1610 Py_INCREF(Py_None);
1611 _resultobj = Py_None;
1612 }
70551f47
RD
1613 return _resultobj;
1614}
1615
1616#define delete_wxRealPoint(_swigobj) (delete _swigobj)
107e4716 1617static PyObject *_wrap_delete_wxRealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1618 PyObject * _resultobj;
1619 wxRealPoint * _arg0;
37f6a977
RD
1620 wxRealPoint temp;
1621 PyObject * _obj0 = 0;
107e4716 1622 char *_kwnames[] = { "self", NULL };
70551f47
RD
1623
1624 self = self;
37f6a977 1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRealPoint",_kwnames,&_obj0))
70551f47 1626 return NULL;
37f6a977
RD
1627{
1628 _arg0 = &temp;
1629 if (! wxRealPoint_helper(_obj0, &_arg0))
70551f47 1630 return NULL;
37f6a977 1631}
ab9bc19b 1632{
4268f798 1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1634 delete_wxRealPoint(_arg0);
ab9bc19b 1635
4268f798 1636 wxPyEndAllowThreads(__tstate);
493f1553 1637 if (PyErr_Occurred()) return NULL;
ab9bc19b 1638} Py_INCREF(Py_None);
70551f47
RD
1639 _resultobj = Py_None;
1640 return _resultobj;
1641}
1642
107e4716
RD
1643static void wxRealPoint_Set(wxRealPoint *self,double x,double y) {
1644 self->x = x;
1645 self->y = y;
1646 }
1647static PyObject *_wrap_wxRealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1648 PyObject * _resultobj;
1649 wxRealPoint * _arg0;
1650 double _arg1;
1651 double _arg2;
37f6a977
RD
1652 wxRealPoint temp;
1653 PyObject * _obj0 = 0;
107e4716
RD
1654 char *_kwnames[] = { "self","x","y", NULL };
1655
1656 self = self;
37f6a977 1657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxRealPoint_Set",_kwnames,&_obj0,&_arg1,&_arg2))
107e4716 1658 return NULL;
37f6a977
RD
1659{
1660 _arg0 = &temp;
1661 if (! wxRealPoint_helper(_obj0, &_arg0))
107e4716 1662 return NULL;
37f6a977 1663}
107e4716 1664{
4268f798 1665 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1666 wxRealPoint_Set(_arg0,_arg1,_arg2);
107e4716 1667
4268f798 1668 wxPyEndAllowThreads(__tstate);
493f1553 1669 if (PyErr_Occurred()) return NULL;
107e4716
RD
1670} Py_INCREF(Py_None);
1671 _resultobj = Py_None;
1672 return _resultobj;
1673}
1674
1675static PyObject * wxRealPoint_asTuple(wxRealPoint *self) {
7cdaed0b 1676 wxPyBeginBlockThreads();
107e4716
RD
1677 PyObject* tup = PyTuple_New(2);
1678 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
1679 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
7cdaed0b 1680 wxPyEndBlockThreads();
107e4716
RD
1681 return tup;
1682 }
1683static PyObject *_wrap_wxRealPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1684 PyObject * _resultobj;
1685 PyObject * _result;
1686 wxRealPoint * _arg0;
37f6a977
RD
1687 wxRealPoint temp;
1688 PyObject * _obj0 = 0;
107e4716
RD
1689 char *_kwnames[] = { "self", NULL };
1690
1691 self = self;
37f6a977 1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_asTuple",_kwnames,&_obj0))
107e4716 1693 return NULL;
37f6a977
RD
1694{
1695 _arg0 = &temp;
1696 if (! wxRealPoint_helper(_obj0, &_arg0))
107e4716 1697 return NULL;
37f6a977 1698}
107e4716 1699{
4268f798 1700 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1701 _result = (PyObject *)wxRealPoint_asTuple(_arg0);
107e4716 1702
4268f798 1703 wxPyEndAllowThreads(__tstate);
493f1553 1704 if (PyErr_Occurred()) return NULL;
107e4716
RD
1705}{
1706 _resultobj = _result;
1707}
1708 return _resultobj;
1709}
1710
c368d904
RD
1711static wxRealPoint wxRealPoint___add__(wxRealPoint *self,const wxRealPoint * p) {
1712 if (! p) return *self;
1713 return *self + *p;
1714 }
1715static PyObject *_wrap_wxRealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1716 PyObject * _resultobj;
1717 wxRealPoint * _result;
1718 wxRealPoint * _arg0;
1719 wxRealPoint * _arg1;
1720 wxRealPoint temp;
1721 PyObject * _obj0 = 0;
1722 wxRealPoint temp0;
1723 PyObject * _obj1 = 0;
1724 char *_kwnames[] = { "self","p", NULL };
1725 char _ptemp[128];
1726
1727 self = self;
1728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___add__",_kwnames,&_obj0,&_obj1))
1729 return NULL;
1730{
1731 _arg0 = &temp;
1732 if (! wxRealPoint_helper(_obj0, &_arg0))
1733 return NULL;
1734}
1735{
1736 _arg1 = &temp0;
1737 if (! wxRealPoint_helper(_obj1, &_arg1))
1738 return NULL;
1739}
1740{
4268f798 1741 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1742 _result = new wxRealPoint (wxRealPoint___add__(_arg0,_arg1));
c368d904 1743
4268f798 1744 wxPyEndAllowThreads(__tstate);
493f1553 1745 if (PyErr_Occurred()) return NULL;
c368d904
RD
1746} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
1747 _resultobj = Py_BuildValue("s",_ptemp);
1748 return _resultobj;
1749}
1750
1751static wxRealPoint wxRealPoint___sub__(wxRealPoint *self,const wxRealPoint * p) {
1752 if (! p) return *self;
1753 return *self - *p;
1754 }
1755static PyObject *_wrap_wxRealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject * _resultobj;
1757 wxRealPoint * _result;
1758 wxRealPoint * _arg0;
1759 wxRealPoint * _arg1;
1760 wxRealPoint temp;
1761 PyObject * _obj0 = 0;
1762 wxRealPoint temp0;
1763 PyObject * _obj1 = 0;
1764 char *_kwnames[] = { "self","p", NULL };
1765 char _ptemp[128];
1766
1767 self = self;
1768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___sub__",_kwnames,&_obj0,&_obj1))
1769 return NULL;
1770{
1771 _arg0 = &temp;
1772 if (! wxRealPoint_helper(_obj0, &_arg0))
1773 return NULL;
1774}
1775{
1776 _arg1 = &temp0;
1777 if (! wxRealPoint_helper(_obj1, &_arg1))
1778 return NULL;
1779}
1780{
4268f798 1781 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1782 _result = new wxRealPoint (wxRealPoint___sub__(_arg0,_arg1));
c368d904 1783
4268f798 1784 wxPyEndAllowThreads(__tstate);
493f1553 1785 if (PyErr_Occurred()) return NULL;
c368d904
RD
1786} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
1787 _resultobj = Py_BuildValue("s",_ptemp);
1788 return _resultobj;
1789}
1790
1791static int wxRealPoint___cmp__(wxRealPoint *self,const wxRealPoint * p) {
419c299a
RD
1792 if (! p) return 1;
1793 if (*self == *p) return 0;
1794 return -1;
c368d904
RD
1795 }
1796static PyObject *_wrap_wxRealPoint___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
1797 PyObject * _resultobj;
1798 int _result;
1799 wxRealPoint * _arg0;
1800 wxRealPoint * _arg1;
1801 wxRealPoint temp;
1802 PyObject * _obj0 = 0;
1803 wxRealPoint temp0;
1804 PyObject * _obj1 = 0;
1805 char *_kwnames[] = { "self","p", NULL };
1806
1807 self = self;
1808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___cmp__",_kwnames,&_obj0,&_obj1))
1809 return NULL;
1810{
1811 _arg0 = &temp;
1812 if (! wxRealPoint_helper(_obj0, &_arg0))
1813 return NULL;
1814}
1815{
1816 _arg1 = &temp0;
1817 if (! wxRealPoint_helper(_obj1, &_arg1))
1818 return NULL;
1819}
1820{
4268f798 1821 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1822 _result = (int )wxRealPoint___cmp__(_arg0,_arg1);
c368d904 1823
4268f798 1824 wxPyEndAllowThreads(__tstate);
493f1553 1825 if (PyErr_Occurred()) return NULL;
c368d904
RD
1826} _resultobj = Py_BuildValue("i",_result);
1827 return _resultobj;
1828}
1829
70551f47 1830#define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
107e4716 1831static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1832 PyObject * _resultobj;
1833 long _result;
1834 wxPoint * _arg0;
1835 long _arg1;
37f6a977
RD
1836 wxPoint temp;
1837 PyObject * _obj0 = 0;
107e4716 1838 char *_kwnames[] = { "self","x", NULL };
70551f47
RD
1839
1840 self = self;
37f6a977 1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPoint_x_set",_kwnames,&_obj0,&_arg1))
70551f47 1842 return NULL;
37f6a977
RD
1843{
1844 _arg0 = &temp;
1845 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 1846 return NULL;
37f6a977 1847}
ab9bc19b 1848{
4268f798 1849 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1850 _result = (long )wxPoint_x_set(_arg0,_arg1);
ab9bc19b 1851
4268f798 1852 wxPyEndAllowThreads(__tstate);
493f1553 1853 if (PyErr_Occurred()) return NULL;
ab9bc19b 1854} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1855 return _resultobj;
1856}
1857
1858#define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
107e4716 1859static PyObject *_wrap_wxPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1860 PyObject * _resultobj;
1861 long _result;
1862 wxPoint * _arg0;
37f6a977
RD
1863 wxPoint temp;
1864 PyObject * _obj0 = 0;
107e4716 1865 char *_kwnames[] = { "self", NULL };
70551f47
RD
1866
1867 self = self;
37f6a977 1868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_x_get",_kwnames,&_obj0))
70551f47 1869 return NULL;
37f6a977
RD
1870{
1871 _arg0 = &temp;
1872 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 1873 return NULL;
37f6a977 1874}
ab9bc19b 1875{
4268f798 1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1877 _result = (long )wxPoint_x_get(_arg0);
ab9bc19b 1878
4268f798 1879 wxPyEndAllowThreads(__tstate);
493f1553 1880 if (PyErr_Occurred()) return NULL;
ab9bc19b 1881} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1882 return _resultobj;
1883}
1884
1885#define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
107e4716 1886static PyObject *_wrap_wxPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1887 PyObject * _resultobj;
1888 long _result;
1889 wxPoint * _arg0;
1890 long _arg1;
37f6a977
RD
1891 wxPoint temp;
1892 PyObject * _obj0 = 0;
107e4716 1893 char *_kwnames[] = { "self","y", NULL };
70551f47
RD
1894
1895 self = self;
37f6a977 1896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPoint_y_set",_kwnames,&_obj0,&_arg1))
70551f47 1897 return NULL;
37f6a977
RD
1898{
1899 _arg0 = &temp;
1900 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 1901 return NULL;
37f6a977 1902}
ab9bc19b 1903{
4268f798 1904 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1905 _result = (long )wxPoint_y_set(_arg0,_arg1);
ab9bc19b 1906
4268f798 1907 wxPyEndAllowThreads(__tstate);
493f1553 1908 if (PyErr_Occurred()) return NULL;
ab9bc19b 1909} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1910 return _resultobj;
1911}
1912
1913#define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
107e4716 1914static PyObject *_wrap_wxPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1915 PyObject * _resultobj;
1916 long _result;
1917 wxPoint * _arg0;
37f6a977
RD
1918 wxPoint temp;
1919 PyObject * _obj0 = 0;
107e4716 1920 char *_kwnames[] = { "self", NULL };
70551f47
RD
1921
1922 self = self;
37f6a977 1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_y_get",_kwnames,&_obj0))
70551f47 1924 return NULL;
37f6a977
RD
1925{
1926 _arg0 = &temp;
1927 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 1928 return NULL;
37f6a977 1929}
ab9bc19b 1930{
4268f798 1931 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1932 _result = (long )wxPoint_y_get(_arg0);
ab9bc19b 1933
4268f798 1934 wxPyEndAllowThreads(__tstate);
493f1553 1935 if (PyErr_Occurred()) return NULL;
ab9bc19b 1936} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1937 return _resultobj;
1938}
1939
1940#define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
107e4716 1941static PyObject *_wrap_new_wxPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1942 PyObject * _resultobj;
1943 wxPoint * _result;
2d091820
RD
1944 long _arg0 = (long ) 0;
1945 long _arg1 = (long ) 0;
107e4716 1946 char *_kwnames[] = { "x","y", NULL };
70551f47
RD
1947 char _ptemp[128];
1948
1949 self = self;
107e4716 1950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ll:new_wxPoint",_kwnames,&_arg0,&_arg1))
70551f47 1951 return NULL;
ab9bc19b 1952{
4268f798 1953 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1954 _result = (wxPoint *)new_wxPoint(_arg0,_arg1);
ab9bc19b 1955
4268f798 1956 wxPyEndAllowThreads(__tstate);
493f1553 1957 if (PyErr_Occurred()) return NULL;
2d091820
RD
1958} if (_result) {
1959 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1960 _resultobj = Py_BuildValue("s",_ptemp);
1961 } else {
1962 Py_INCREF(Py_None);
1963 _resultobj = Py_None;
1964 }
70551f47
RD
1965 return _resultobj;
1966}
1967
1968#define delete_wxPoint(_swigobj) (delete _swigobj)
107e4716 1969static PyObject *_wrap_delete_wxPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1970 PyObject * _resultobj;
1971 wxPoint * _arg0;
37f6a977
RD
1972 wxPoint temp;
1973 PyObject * _obj0 = 0;
107e4716 1974 char *_kwnames[] = { "self", NULL };
70551f47
RD
1975
1976 self = self;
37f6a977 1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPoint",_kwnames,&_obj0))
70551f47 1978 return NULL;
37f6a977
RD
1979{
1980 _arg0 = &temp;
1981 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 1982 return NULL;
37f6a977 1983}
ab9bc19b 1984{
4268f798 1985 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1986 delete_wxPoint(_arg0);
ab9bc19b 1987
4268f798 1988 wxPyEndAllowThreads(__tstate);
493f1553 1989 if (PyErr_Occurred()) return NULL;
ab9bc19b 1990} Py_INCREF(Py_None);
70551f47
RD
1991 _resultobj = Py_None;
1992 return _resultobj;
1993}
1994
1995static void wxPoint_Set(wxPoint *self,long x,long y) {
1996 self->x = x;
1997 self->y = y;
1998 }
107e4716 1999static PyObject *_wrap_wxPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2000 PyObject * _resultobj;
2001 wxPoint * _arg0;
2002 long _arg1;
2003 long _arg2;
37f6a977
RD
2004 wxPoint temp;
2005 PyObject * _obj0 = 0;
107e4716 2006 char *_kwnames[] = { "self","x","y", NULL };
70551f47
RD
2007
2008 self = self;
37f6a977 2009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxPoint_Set",_kwnames,&_obj0,&_arg1,&_arg2))
70551f47 2010 return NULL;
37f6a977
RD
2011{
2012 _arg0 = &temp;
2013 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 2014 return NULL;
37f6a977 2015}
ab9bc19b 2016{
4268f798 2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2018 wxPoint_Set(_arg0,_arg1,_arg2);
ab9bc19b 2019
4268f798 2020 wxPyEndAllowThreads(__tstate);
493f1553 2021 if (PyErr_Occurred()) return NULL;
ab9bc19b 2022} Py_INCREF(Py_None);
70551f47
RD
2023 _resultobj = Py_None;
2024 return _resultobj;
2025}
2026
21f8d7ea 2027static PyObject * wxPoint_asTuple(wxPoint *self) {
7cdaed0b 2028 wxPyBeginBlockThreads();
70551f47
RD
2029 PyObject* tup = PyTuple_New(2);
2030 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
2031 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
7cdaed0b 2032 wxPyEndBlockThreads();
70551f47
RD
2033 return tup;
2034 }
107e4716 2035static PyObject *_wrap_wxPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2036 PyObject * _resultobj;
2037 PyObject * _result;
2038 wxPoint * _arg0;
37f6a977
RD
2039 wxPoint temp;
2040 PyObject * _obj0 = 0;
107e4716 2041 char *_kwnames[] = { "self", NULL };
70551f47
RD
2042
2043 self = self;
37f6a977 2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_asTuple",_kwnames,&_obj0))
70551f47 2045 return NULL;
37f6a977
RD
2046{
2047 _arg0 = &temp;
2048 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 2049 return NULL;
37f6a977 2050}
70551f47 2051{
4268f798 2052 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2053 _result = (PyObject *)wxPoint_asTuple(_arg0);
ab9bc19b 2054
4268f798 2055 wxPyEndAllowThreads(__tstate);
493f1553 2056 if (PyErr_Occurred()) return NULL;
ab9bc19b 2057}{
70551f47
RD
2058 _resultobj = _result;
2059}
2060 return _resultobj;
2061}
2062
c368d904
RD
2063static wxPoint wxPoint___add__(wxPoint *self,const wxPoint * p) {
2064 if (! p) return *self;
2065 return *self + *p;
2066 }
2067static PyObject *_wrap_wxPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject * _resultobj;
2069 wxPoint * _result;
2070 wxPoint * _arg0;
2071 wxPoint * _arg1;
2072 wxPoint temp;
2073 PyObject * _obj0 = 0;
2074 wxPoint temp0;
2075 PyObject * _obj1 = 0;
2076 char *_kwnames[] = { "self","p", NULL };
2077 char _ptemp[128];
2078
2079 self = self;
2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___add__",_kwnames,&_obj0,&_obj1))
2081 return NULL;
2082{
2083 _arg0 = &temp;
2084 if (! wxPoint_helper(_obj0, &_arg0))
2085 return NULL;
2086}
2087{
2088 _arg1 = &temp0;
2089 if (! wxPoint_helper(_obj1, &_arg1))
2090 return NULL;
2091}
2092{
4268f798 2093 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2094 _result = new wxPoint (wxPoint___add__(_arg0,_arg1));
c368d904 2095
4268f798 2096 wxPyEndAllowThreads(__tstate);
493f1553 2097 if (PyErr_Occurred()) return NULL;
c368d904
RD
2098} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2099 _resultobj = Py_BuildValue("s",_ptemp);
2100 return _resultobj;
2101}
2102
2103static wxPoint wxPoint___sub__(wxPoint *self,const wxPoint * p) {
2104 if (! p) return *self;
2105 return *self - *p;
2106 }
2107static PyObject *_wrap_wxPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2108 PyObject * _resultobj;
2109 wxPoint * _result;
2110 wxPoint * _arg0;
2111 wxPoint * _arg1;
2112 wxPoint temp;
2113 PyObject * _obj0 = 0;
2114 wxPoint temp0;
2115 PyObject * _obj1 = 0;
2116 char *_kwnames[] = { "self","p", NULL };
2117 char _ptemp[128];
2118
2119 self = self;
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___sub__",_kwnames,&_obj0,&_obj1))
2121 return NULL;
2122{
2123 _arg0 = &temp;
2124 if (! wxPoint_helper(_obj0, &_arg0))
2125 return NULL;
2126}
2127{
2128 _arg1 = &temp0;
2129 if (! wxPoint_helper(_obj1, &_arg1))
2130 return NULL;
2131}
2132{
4268f798 2133 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2134 _result = new wxPoint (wxPoint___sub__(_arg0,_arg1));
c368d904 2135
4268f798 2136 wxPyEndAllowThreads(__tstate);
493f1553 2137 if (PyErr_Occurred()) return NULL;
c368d904
RD
2138} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2139 _resultobj = Py_BuildValue("s",_ptemp);
2140 return _resultobj;
2141}
2142
2143static int wxPoint___cmp__(wxPoint *self,const wxPoint * p) {
419c299a
RD
2144 if (! p) return 1;
2145 if (*self == *p) return 0;
2146 return -1;
c368d904
RD
2147 }
2148static PyObject *_wrap_wxPoint___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
2149 PyObject * _resultobj;
2150 int _result;
2151 wxPoint * _arg0;
2152 wxPoint * _arg1;
2153 wxPoint temp;
2154 PyObject * _obj0 = 0;
2155 wxPoint temp0;
2156 PyObject * _obj1 = 0;
2157 char *_kwnames[] = { "self","p", NULL };
2158
2159 self = self;
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___cmp__",_kwnames,&_obj0,&_obj1))
2161 return NULL;
2162{
2163 _arg0 = &temp;
2164 if (! wxPoint_helper(_obj0, &_arg0))
2165 return NULL;
2166}
2167{
2168 _arg1 = &temp0;
2169 if (! wxPoint_helper(_obj1, &_arg1))
2170 return NULL;
2171}
2172{
4268f798 2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2174 _result = (int )wxPoint___cmp__(_arg0,_arg1);
c368d904 2175
4268f798 2176 wxPyEndAllowThreads(__tstate);
493f1553 2177 if (PyErr_Occurred()) return NULL;
c368d904
RD
2178} _resultobj = Py_BuildValue("i",_result);
2179 return _resultobj;
2180}
2181
70551f47 2182#define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 2183static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2184 PyObject * _resultobj;
2185 wxRect * _result;
56f5d962
RD
2186 int _arg0 = (int ) 0;
2187 int _arg1 = (int ) 0;
2188 int _arg2 = (int ) 0;
2189 int _arg3 = (int ) 0;
107e4716 2190 char *_kwnames[] = { "x","y","w","h", NULL };
70551f47
RD
2191 char _ptemp[128];
2192
2193 self = self;
56f5d962 2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxRect",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
70551f47 2195 return NULL;
ab9bc19b 2196{
4268f798 2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2198 _result = (wxRect *)new_wxRect(_arg0,_arg1,_arg2,_arg3);
ab9bc19b 2199
4268f798 2200 wxPyEndAllowThreads(__tstate);
493f1553 2201 if (PyErr_Occurred()) return NULL;
2d091820
RD
2202} if (_result) {
2203 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
2204 _resultobj = Py_BuildValue("s",_ptemp);
2205 } else {
2206 Py_INCREF(Py_None);
2207 _resultobj = Py_None;
2208 }
70551f47
RD
2209 return _resultobj;
2210}
2211
2212#define delete_wxRect(_swigobj) (delete _swigobj)
107e4716 2213static PyObject *_wrap_delete_wxRect(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2214 PyObject * _resultobj;
2215 wxRect * _arg0;
37f6a977
RD
2216 wxRect temp;
2217 PyObject * _obj0 = 0;
107e4716 2218 char *_kwnames[] = { "self", NULL };
70551f47
RD
2219
2220 self = self;
37f6a977 2221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRect",_kwnames,&_obj0))
70551f47 2222 return NULL;
37f6a977
RD
2223{
2224 _arg0 = &temp;
2225 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2226 return NULL;
37f6a977 2227}
ab9bc19b 2228{
4268f798 2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2230 delete_wxRect(_arg0);
ab9bc19b 2231
4268f798 2232 wxPyEndAllowThreads(__tstate);
493f1553 2233 if (PyErr_Occurred()) return NULL;
ab9bc19b 2234} Py_INCREF(Py_None);
70551f47
RD
2235 _resultobj = Py_None;
2236 return _resultobj;
2237}
2238
2239#define wxRect_GetX(_swigobj) (_swigobj->GetX())
107e4716 2240static PyObject *_wrap_wxRect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2241 PyObject * _resultobj;
56f5d962 2242 int _result;
70551f47 2243 wxRect * _arg0;
37f6a977
RD
2244 wxRect temp;
2245 PyObject * _obj0 = 0;
107e4716 2246 char *_kwnames[] = { "self", NULL };
70551f47
RD
2247
2248 self = self;
37f6a977 2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetX",_kwnames,&_obj0))
70551f47 2250 return NULL;
37f6a977
RD
2251{
2252 _arg0 = &temp;
2253 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2254 return NULL;
37f6a977 2255}
ab9bc19b 2256{
4268f798 2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2258 _result = (int )wxRect_GetX(_arg0);
ab9bc19b 2259
4268f798 2260 wxPyEndAllowThreads(__tstate);
493f1553 2261 if (PyErr_Occurred()) return NULL;
56f5d962 2262} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2263 return _resultobj;
2264}
2265
2266#define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
107e4716 2267static PyObject *_wrap_wxRect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2268 PyObject * _resultobj;
2269 wxRect * _arg0;
56f5d962 2270 int _arg1;
37f6a977
RD
2271 wxRect temp;
2272 PyObject * _obj0 = 0;
107e4716 2273 char *_kwnames[] = { "self","X", NULL };
70551f47
RD
2274
2275 self = self;
56f5d962 2276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetX",_kwnames,&_obj0,&_arg1))
70551f47 2277 return NULL;
37f6a977
RD
2278{
2279 _arg0 = &temp;
2280 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2281 return NULL;
37f6a977 2282}
ab9bc19b 2283{
4268f798 2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2285 wxRect_SetX(_arg0,_arg1);
ab9bc19b 2286
4268f798 2287 wxPyEndAllowThreads(__tstate);
493f1553 2288 if (PyErr_Occurred()) return NULL;
ab9bc19b 2289} Py_INCREF(Py_None);
70551f47
RD
2290 _resultobj = Py_None;
2291 return _resultobj;
2292}
2293
2294#define wxRect_GetY(_swigobj) (_swigobj->GetY())
107e4716 2295static PyObject *_wrap_wxRect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2296 PyObject * _resultobj;
56f5d962 2297 int _result;
70551f47 2298 wxRect * _arg0;
37f6a977
RD
2299 wxRect temp;
2300 PyObject * _obj0 = 0;
107e4716 2301 char *_kwnames[] = { "self", NULL };
70551f47
RD
2302
2303 self = self;
37f6a977 2304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetY",_kwnames,&_obj0))
70551f47 2305 return NULL;
37f6a977
RD
2306{
2307 _arg0 = &temp;
2308 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2309 return NULL;
37f6a977 2310}
ab9bc19b 2311{
4268f798 2312 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2313 _result = (int )wxRect_GetY(_arg0);
ab9bc19b 2314
4268f798 2315 wxPyEndAllowThreads(__tstate);
493f1553 2316 if (PyErr_Occurred()) return NULL;
56f5d962 2317} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2318 return _resultobj;
2319}
2320
2321#define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
107e4716 2322static PyObject *_wrap_wxRect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2323 PyObject * _resultobj;
2324 wxRect * _arg0;
56f5d962 2325 int _arg1;
37f6a977
RD
2326 wxRect temp;
2327 PyObject * _obj0 = 0;
107e4716 2328 char *_kwnames[] = { "self","Y", NULL };
70551f47
RD
2329
2330 self = self;
56f5d962 2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetY",_kwnames,&_obj0,&_arg1))
70551f47 2332 return NULL;
37f6a977
RD
2333{
2334 _arg0 = &temp;
2335 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2336 return NULL;
37f6a977 2337}
ab9bc19b 2338{
4268f798 2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2340 wxRect_SetY(_arg0,_arg1);
ab9bc19b 2341
4268f798 2342 wxPyEndAllowThreads(__tstate);
493f1553 2343 if (PyErr_Occurred()) return NULL;
ab9bc19b 2344} Py_INCREF(Py_None);
70551f47
RD
2345 _resultobj = Py_None;
2346 return _resultobj;
2347}
2348
2349#define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
107e4716 2350static PyObject *_wrap_wxRect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2351 PyObject * _resultobj;
56f5d962 2352 int _result;
70551f47 2353 wxRect * _arg0;
37f6a977
RD
2354 wxRect temp;
2355 PyObject * _obj0 = 0;
107e4716 2356 char *_kwnames[] = { "self", NULL };
70551f47
RD
2357
2358 self = self;
37f6a977 2359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetWidth",_kwnames,&_obj0))
70551f47 2360 return NULL;
37f6a977
RD
2361{
2362 _arg0 = &temp;
2363 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2364 return NULL;
37f6a977 2365}
ab9bc19b 2366{
4268f798 2367 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2368 _result = (int )wxRect_GetWidth(_arg0);
ab9bc19b 2369
4268f798 2370 wxPyEndAllowThreads(__tstate);
493f1553 2371 if (PyErr_Occurred()) return NULL;
56f5d962 2372} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2373 return _resultobj;
2374}
2375
2376#define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
107e4716 2377static PyObject *_wrap_wxRect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2378 PyObject * _resultobj;
2379 wxRect * _arg0;
56f5d962 2380 int _arg1;
37f6a977
RD
2381 wxRect temp;
2382 PyObject * _obj0 = 0;
107e4716 2383 char *_kwnames[] = { "self","w", NULL };
70551f47
RD
2384
2385 self = self;
56f5d962 2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetWidth",_kwnames,&_obj0,&_arg1))
70551f47 2387 return NULL;
37f6a977
RD
2388{
2389 _arg0 = &temp;
2390 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2391 return NULL;
37f6a977 2392}
ab9bc19b 2393{
4268f798 2394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2395 wxRect_SetWidth(_arg0,_arg1);
ab9bc19b 2396
4268f798 2397 wxPyEndAllowThreads(__tstate);
493f1553 2398 if (PyErr_Occurred()) return NULL;
ab9bc19b 2399} Py_INCREF(Py_None);
70551f47
RD
2400 _resultobj = Py_None;
2401 return _resultobj;
2402}
2403
2404#define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
107e4716 2405static PyObject *_wrap_wxRect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2406 PyObject * _resultobj;
56f5d962 2407 int _result;
70551f47 2408 wxRect * _arg0;
37f6a977
RD
2409 wxRect temp;
2410 PyObject * _obj0 = 0;
107e4716 2411 char *_kwnames[] = { "self", NULL };
70551f47
RD
2412
2413 self = self;
37f6a977 2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetHeight",_kwnames,&_obj0))
70551f47 2415 return NULL;
37f6a977
RD
2416{
2417 _arg0 = &temp;
2418 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2419 return NULL;
37f6a977 2420}
ab9bc19b 2421{
4268f798 2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2423 _result = (int )wxRect_GetHeight(_arg0);
ab9bc19b 2424
4268f798 2425 wxPyEndAllowThreads(__tstate);
493f1553 2426 if (PyErr_Occurred()) return NULL;
56f5d962 2427} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2428 return _resultobj;
2429}
2430
2431#define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
107e4716 2432static PyObject *_wrap_wxRect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2433 PyObject * _resultobj;
2434 wxRect * _arg0;
56f5d962 2435 int _arg1;
37f6a977
RD
2436 wxRect temp;
2437 PyObject * _obj0 = 0;
107e4716 2438 char *_kwnames[] = { "self","h", NULL };
70551f47
RD
2439
2440 self = self;
56f5d962 2441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetHeight",_kwnames,&_obj0,&_arg1))
70551f47 2442 return NULL;
37f6a977
RD
2443{
2444 _arg0 = &temp;
2445 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2446 return NULL;
37f6a977 2447}
ab9bc19b 2448{
4268f798 2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2450 wxRect_SetHeight(_arg0,_arg1);
ab9bc19b 2451
4268f798 2452 wxPyEndAllowThreads(__tstate);
493f1553 2453 if (PyErr_Occurred()) return NULL;
ab9bc19b 2454} Py_INCREF(Py_None);
70551f47
RD
2455 _resultobj = Py_None;
2456 return _resultobj;
2457}
2458
2459#define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
107e4716 2460static PyObject *_wrap_wxRect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2461 PyObject * _resultobj;
2462 wxPoint * _result;
2463 wxRect * _arg0;
37f6a977
RD
2464 wxRect temp;
2465 PyObject * _obj0 = 0;
107e4716 2466 char *_kwnames[] = { "self", NULL };
70551f47
RD
2467 char _ptemp[128];
2468
2469 self = self;
37f6a977 2470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetPosition",_kwnames,&_obj0))
70551f47 2471 return NULL;
37f6a977
RD
2472{
2473 _arg0 = &temp;
2474 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2475 return NULL;
37f6a977 2476}
ab9bc19b 2477{
4268f798 2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2479 _result = new wxPoint (wxRect_GetPosition(_arg0));
ab9bc19b 2480
4268f798 2481 wxPyEndAllowThreads(__tstate);
493f1553 2482 if (PyErr_Occurred()) return NULL;
ab9bc19b 2483} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
70551f47
RD
2484 _resultobj = Py_BuildValue("s",_ptemp);
2485 return _resultobj;
2486}
2487
2488#define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
107e4716 2489static PyObject *_wrap_wxRect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2490 PyObject * _resultobj;
2491 wxSize * _result;
2492 wxRect * _arg0;
37f6a977
RD
2493 wxRect temp;
2494 PyObject * _obj0 = 0;
107e4716 2495 char *_kwnames[] = { "self", NULL };
70551f47
RD
2496 char _ptemp[128];
2497
2498 self = self;
37f6a977 2499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetSize",_kwnames,&_obj0))
70551f47 2500 return NULL;
37f6a977
RD
2501{
2502 _arg0 = &temp;
2503 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2504 return NULL;
37f6a977 2505}
ab9bc19b 2506{
4268f798 2507 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2508 _result = new wxSize (wxRect_GetSize(_arg0));
ab9bc19b 2509
4268f798 2510 wxPyEndAllowThreads(__tstate);
493f1553 2511 if (PyErr_Occurred()) return NULL;
ab9bc19b 2512} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
70551f47
RD
2513 _resultobj = Py_BuildValue("s",_ptemp);
2514 return _resultobj;
2515}
2516
2517#define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
107e4716 2518static PyObject *_wrap_wxRect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2519 PyObject * _resultobj;
56f5d962 2520 int _result;
70551f47 2521 wxRect * _arg0;
37f6a977
RD
2522 wxRect temp;
2523 PyObject * _obj0 = 0;
107e4716 2524 char *_kwnames[] = { "self", NULL };
70551f47
RD
2525
2526 self = self;
37f6a977 2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetLeft",_kwnames,&_obj0))
70551f47 2528 return NULL;
37f6a977
RD
2529{
2530 _arg0 = &temp;
2531 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2532 return NULL;
37f6a977 2533}
ab9bc19b 2534{
4268f798 2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2536 _result = (int )wxRect_GetLeft(_arg0);
ab9bc19b 2537
4268f798 2538 wxPyEndAllowThreads(__tstate);
493f1553 2539 if (PyErr_Occurred()) return NULL;
56f5d962 2540} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2541 return _resultobj;
2542}
2543
2544#define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
107e4716 2545static PyObject *_wrap_wxRect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2546 PyObject * _resultobj;
56f5d962 2547 int _result;
70551f47 2548 wxRect * _arg0;
37f6a977
RD
2549 wxRect temp;
2550 PyObject * _obj0 = 0;
107e4716 2551 char *_kwnames[] = { "self", NULL };
70551f47
RD
2552
2553 self = self;
37f6a977 2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetTop",_kwnames,&_obj0))
70551f47 2555 return NULL;
37f6a977
RD
2556{
2557 _arg0 = &temp;
2558 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2559 return NULL;
37f6a977 2560}
ab9bc19b 2561{
4268f798 2562 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2563 _result = (int )wxRect_GetTop(_arg0);
ab9bc19b 2564
4268f798 2565 wxPyEndAllowThreads(__tstate);
493f1553 2566 if (PyErr_Occurred()) return NULL;
56f5d962 2567} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2568 return _resultobj;
2569}
2570
2571#define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
107e4716 2572static PyObject *_wrap_wxRect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2573 PyObject * _resultobj;
56f5d962 2574 int _result;
70551f47 2575 wxRect * _arg0;
37f6a977
RD
2576 wxRect temp;
2577 PyObject * _obj0 = 0;
107e4716 2578 char *_kwnames[] = { "self", NULL };
70551f47
RD
2579
2580 self = self;
37f6a977 2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetBottom",_kwnames,&_obj0))
70551f47 2582 return NULL;
37f6a977
RD
2583{
2584 _arg0 = &temp;
2585 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2586 return NULL;
37f6a977 2587}
ab9bc19b 2588{
4268f798 2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2590 _result = (int )wxRect_GetBottom(_arg0);
ab9bc19b 2591
4268f798 2592 wxPyEndAllowThreads(__tstate);
493f1553 2593 if (PyErr_Occurred()) return NULL;
56f5d962 2594} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2595 return _resultobj;
2596}
2597
2598#define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
107e4716 2599static PyObject *_wrap_wxRect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2600 PyObject * _resultobj;
56f5d962 2601 int _result;
70551f47 2602 wxRect * _arg0;
37f6a977
RD
2603 wxRect temp;
2604 PyObject * _obj0 = 0;
107e4716 2605 char *_kwnames[] = { "self", NULL };
70551f47
RD
2606
2607 self = self;
37f6a977 2608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetRight",_kwnames,&_obj0))
70551f47 2609 return NULL;
37f6a977
RD
2610{
2611 _arg0 = &temp;
2612 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2613 return NULL;
37f6a977 2614}
ab9bc19b 2615{
4268f798 2616 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2617 _result = (int )wxRect_GetRight(_arg0);
ab9bc19b 2618
4268f798 2619 wxPyEndAllowThreads(__tstate);
493f1553 2620 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2621} _resultobj = Py_BuildValue("i",_result);
2622 return _resultobj;
2623}
2624
2625#define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2626static PyObject *_wrap_wxRect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2627 PyObject * _resultobj;
2628 wxRect * _arg0;
2629 int _arg1;
2630 wxRect temp;
2631 PyObject * _obj0 = 0;
2632 char *_kwnames[] = { "self","left", NULL };
2633
2634 self = self;
2635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetLeft",_kwnames,&_obj0,&_arg1))
2636 return NULL;
2637{
2638 _arg0 = &temp;
2639 if (! wxRect_helper(_obj0, &_arg0))
2640 return NULL;
2641}
2642{
4268f798 2643 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2644 wxRect_SetLeft(_arg0,_arg1);
56f5d962 2645
4268f798 2646 wxPyEndAllowThreads(__tstate);
493f1553 2647 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2648} Py_INCREF(Py_None);
2649 _resultobj = Py_None;
2650 return _resultobj;
2651}
2652
2653#define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2654static PyObject *_wrap_wxRect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2655 PyObject * _resultobj;
2656 wxRect * _arg0;
2657 int _arg1;
2658 wxRect temp;
2659 PyObject * _obj0 = 0;
2660 char *_kwnames[] = { "self","right", NULL };
2661
2662 self = self;
2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetRight",_kwnames,&_obj0,&_arg1))
2664 return NULL;
2665{
2666 _arg0 = &temp;
2667 if (! wxRect_helper(_obj0, &_arg0))
2668 return NULL;
2669}
2670{
4268f798 2671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2672 wxRect_SetRight(_arg0,_arg1);
56f5d962 2673
4268f798 2674 wxPyEndAllowThreads(__tstate);
493f1553 2675 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2676} Py_INCREF(Py_None);
2677 _resultobj = Py_None;
2678 return _resultobj;
2679}
2680
2681#define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2682static PyObject *_wrap_wxRect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
2683 PyObject * _resultobj;
2684 wxRect * _arg0;
2685 int _arg1;
2686 wxRect temp;
2687 PyObject * _obj0 = 0;
2688 char *_kwnames[] = { "self","top", NULL };
2689
2690 self = self;
2691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetTop",_kwnames,&_obj0,&_arg1))
2692 return NULL;
2693{
2694 _arg0 = &temp;
2695 if (! wxRect_helper(_obj0, &_arg0))
2696 return NULL;
2697}
2698{
4268f798 2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2700 wxRect_SetTop(_arg0,_arg1);
56f5d962 2701
4268f798 2702 wxPyEndAllowThreads(__tstate);
493f1553 2703 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2704} Py_INCREF(Py_None);
2705 _resultobj = Py_None;
2706 return _resultobj;
2707}
2708
2709#define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2710static PyObject *_wrap_wxRect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
2711 PyObject * _resultobj;
2712 wxRect * _arg0;
2713 int _arg1;
2714 wxRect temp;
2715 PyObject * _obj0 = 0;
2716 char *_kwnames[] = { "self","bottom", NULL };
2717
2718 self = self;
2719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetBottom",_kwnames,&_obj0,&_arg1))
2720 return NULL;
2721{
2722 _arg0 = &temp;
2723 if (! wxRect_helper(_obj0, &_arg0))
2724 return NULL;
2725}
2726{
4268f798 2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2728 wxRect_SetBottom(_arg0,_arg1);
56f5d962 2729
4268f798 2730 wxPyEndAllowThreads(__tstate);
493f1553 2731 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2732} Py_INCREF(Py_None);
2733 _resultobj = Py_None;
70551f47
RD
2734 return _resultobj;
2735}
2736
f6bcfd97
BP
2737#define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2738static PyObject *_wrap_wxRect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
2739 PyObject * _resultobj;
2740 wxRect * _arg0;
2741 int _arg1;
2742 int _arg2;
2743 wxRect temp;
2744 PyObject * _obj0 = 0;
2745 char *_kwnames[] = { "self","dx","dy", NULL };
2746
2747 self = self;
2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRect_Inflate",_kwnames,&_obj0,&_arg1,&_arg2))
2749 return NULL;
2750{
2751 _arg0 = &temp;
2752 if (! wxRect_helper(_obj0, &_arg0))
2753 return NULL;
2754}
2755{
4268f798 2756 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2757 wxRect_Inflate(_arg0,_arg1,_arg2);
f6bcfd97 2758
4268f798 2759 wxPyEndAllowThreads(__tstate);
493f1553 2760 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2761} Py_INCREF(Py_None);
2762 _resultobj = Py_None;
2763 return _resultobj;
2764}
2765
2766#define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2767static PyObject *_wrap_wxRect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
2768 PyObject * _resultobj;
2769 bool _result;
2770 wxRect * _arg0;
2771 int _arg1;
2772 int _arg2;
2773 wxRect temp;
2774 PyObject * _obj0 = 0;
2775 char *_kwnames[] = { "self","cx","cy", NULL };
2776
2777 self = self;
2778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRect_Inside",_kwnames,&_obj0,&_arg1,&_arg2))
2779 return NULL;
2780{
2781 _arg0 = &temp;
2782 if (! wxRect_helper(_obj0, &_arg0))
2783 return NULL;
2784}
2785{
4268f798 2786 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2787 _result = (bool )wxRect_Inside(_arg0,_arg1,_arg2);
f6bcfd97 2788
4268f798 2789 wxPyEndAllowThreads(__tstate);
493f1553 2790 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2791} _resultobj = Py_BuildValue("i",_result);
2792 return _resultobj;
2793}
2794
70551f47 2795#define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
107e4716 2796static PyObject *_wrap_wxRect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2797 PyObject * _resultobj;
56f5d962 2798 int _result;
70551f47 2799 wxRect * _arg0;
56f5d962 2800 int _arg1;
37f6a977
RD
2801 wxRect temp;
2802 PyObject * _obj0 = 0;
107e4716 2803 char *_kwnames[] = { "self","x", NULL };
70551f47
RD
2804
2805 self = self;
56f5d962 2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_x_set",_kwnames,&_obj0,&_arg1))
70551f47 2807 return NULL;
37f6a977
RD
2808{
2809 _arg0 = &temp;
2810 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2811 return NULL;
37f6a977 2812}
ab9bc19b 2813{
4268f798 2814 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2815 _result = (int )wxRect_x_set(_arg0,_arg1);
ab9bc19b 2816
4268f798 2817 wxPyEndAllowThreads(__tstate);
493f1553 2818 if (PyErr_Occurred()) return NULL;
56f5d962 2819} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2820 return _resultobj;
2821}
2822
56f5d962 2823#define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
107e4716 2824static PyObject *_wrap_wxRect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2825 PyObject * _resultobj;
56f5d962 2826 int _result;
70551f47 2827 wxRect * _arg0;
37f6a977
RD
2828 wxRect temp;
2829 PyObject * _obj0 = 0;
107e4716 2830 char *_kwnames[] = { "self", NULL };
70551f47
RD
2831
2832 self = self;
37f6a977 2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_x_get",_kwnames,&_obj0))
70551f47 2834 return NULL;
37f6a977
RD
2835{
2836 _arg0 = &temp;
2837 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2838 return NULL;
37f6a977 2839}
ab9bc19b 2840{
4268f798 2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2842 _result = (int )wxRect_x_get(_arg0);
ab9bc19b 2843
4268f798 2844 wxPyEndAllowThreads(__tstate);
493f1553 2845 if (PyErr_Occurred()) return NULL;
56f5d962 2846} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2847 return _resultobj;
2848}
2849
2850#define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
107e4716 2851static PyObject *_wrap_wxRect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2852 PyObject * _resultobj;
56f5d962 2853 int _result;
70551f47 2854 wxRect * _arg0;
56f5d962 2855 int _arg1;
37f6a977
RD
2856 wxRect temp;
2857 PyObject * _obj0 = 0;
107e4716 2858 char *_kwnames[] = { "self","y", NULL };
70551f47
RD
2859
2860 self = self;
56f5d962 2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_y_set",_kwnames,&_obj0,&_arg1))
70551f47 2862 return NULL;
37f6a977
RD
2863{
2864 _arg0 = &temp;
2865 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2866 return NULL;
37f6a977 2867}
ab9bc19b 2868{
4268f798 2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2870 _result = (int )wxRect_y_set(_arg0,_arg1);
ab9bc19b 2871
4268f798 2872 wxPyEndAllowThreads(__tstate);
493f1553 2873 if (PyErr_Occurred()) return NULL;
56f5d962 2874} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2875 return _resultobj;
2876}
2877
56f5d962 2878#define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
107e4716 2879static PyObject *_wrap_wxRect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2880 PyObject * _resultobj;
56f5d962 2881 int _result;
70551f47 2882 wxRect * _arg0;
37f6a977
RD
2883 wxRect temp;
2884 PyObject * _obj0 = 0;
107e4716 2885 char *_kwnames[] = { "self", NULL };
70551f47
RD
2886
2887 self = self;
37f6a977 2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_y_get",_kwnames,&_obj0))
70551f47 2889 return NULL;
37f6a977
RD
2890{
2891 _arg0 = &temp;
2892 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2893 return NULL;
37f6a977 2894}
ab9bc19b 2895{
4268f798 2896 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2897 _result = (int )wxRect_y_get(_arg0);
ab9bc19b 2898
4268f798 2899 wxPyEndAllowThreads(__tstate);
493f1553 2900 if (PyErr_Occurred()) return NULL;
56f5d962 2901} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2902 return _resultobj;
2903}
2904
2905#define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
107e4716 2906static PyObject *_wrap_wxRect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2907 PyObject * _resultobj;
56f5d962 2908 int _result;
70551f47 2909 wxRect * _arg0;
56f5d962 2910 int _arg1;
37f6a977
RD
2911 wxRect temp;
2912 PyObject * _obj0 = 0;
107e4716 2913 char *_kwnames[] = { "self","width", NULL };
70551f47
RD
2914
2915 self = self;
56f5d962 2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_width_set",_kwnames,&_obj0,&_arg1))
70551f47 2917 return NULL;
37f6a977
RD
2918{
2919 _arg0 = &temp;
2920 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2921 return NULL;
37f6a977 2922}
ab9bc19b 2923{
4268f798 2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2925 _result = (int )wxRect_width_set(_arg0,_arg1);
ab9bc19b 2926
4268f798 2927 wxPyEndAllowThreads(__tstate);
493f1553 2928 if (PyErr_Occurred()) return NULL;
56f5d962 2929} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2930 return _resultobj;
2931}
2932
56f5d962 2933#define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
107e4716 2934static PyObject *_wrap_wxRect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2935 PyObject * _resultobj;
56f5d962 2936 int _result;
70551f47 2937 wxRect * _arg0;
37f6a977
RD
2938 wxRect temp;
2939 PyObject * _obj0 = 0;
107e4716 2940 char *_kwnames[] = { "self", NULL };
70551f47
RD
2941
2942 self = self;
37f6a977 2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_width_get",_kwnames,&_obj0))
70551f47 2944 return NULL;
37f6a977
RD
2945{
2946 _arg0 = &temp;
2947 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2948 return NULL;
37f6a977 2949}
ab9bc19b 2950{
4268f798 2951 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2952 _result = (int )wxRect_width_get(_arg0);
ab9bc19b 2953
4268f798 2954 wxPyEndAllowThreads(__tstate);
493f1553 2955 if (PyErr_Occurred()) return NULL;
56f5d962 2956} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2957 return _resultobj;
2958}
2959
2960#define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
107e4716 2961static PyObject *_wrap_wxRect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2962 PyObject * _resultobj;
56f5d962 2963 int _result;
70551f47 2964 wxRect * _arg0;
56f5d962 2965 int _arg1;
37f6a977
RD
2966 wxRect temp;
2967 PyObject * _obj0 = 0;
107e4716 2968 char *_kwnames[] = { "self","height", NULL };
70551f47
RD
2969
2970 self = self;
56f5d962 2971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_height_set",_kwnames,&_obj0,&_arg1))
70551f47 2972 return NULL;
37f6a977
RD
2973{
2974 _arg0 = &temp;
2975 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2976 return NULL;
37f6a977 2977}
ab9bc19b 2978{
4268f798 2979 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2980 _result = (int )wxRect_height_set(_arg0,_arg1);
ab9bc19b 2981
4268f798 2982 wxPyEndAllowThreads(__tstate);
493f1553 2983 if (PyErr_Occurred()) return NULL;
56f5d962 2984} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2985 return _resultobj;
2986}
2987
56f5d962 2988#define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
107e4716 2989static PyObject *_wrap_wxRect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2990 PyObject * _resultobj;
56f5d962 2991 int _result;
70551f47 2992 wxRect * _arg0;
37f6a977
RD
2993 wxRect temp;
2994 PyObject * _obj0 = 0;
107e4716 2995 char *_kwnames[] = { "self", NULL };
70551f47
RD
2996
2997 self = self;
37f6a977 2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_height_get",_kwnames,&_obj0))
70551f47 2999 return NULL;
37f6a977
RD
3000{
3001 _arg0 = &temp;
3002 if (! wxRect_helper(_obj0, &_arg0))
70551f47 3003 return NULL;
37f6a977 3004}
ab9bc19b 3005{
4268f798 3006 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3007 _result = (int )wxRect_height_get(_arg0);
ab9bc19b 3008
4268f798 3009 wxPyEndAllowThreads(__tstate);
493f1553 3010 if (PyErr_Occurred()) return NULL;
56f5d962 3011} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3012 return _resultobj;
3013}
3014
21f8d7ea 3015static PyObject * wxRect_asTuple(wxRect *self) {
7cdaed0b 3016 wxPyBeginBlockThreads();
21f8d7ea
RD
3017 PyObject* tup = PyTuple_New(4);
3018 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
3019 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
8f17924e
RD
3020 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
3021 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
7cdaed0b 3022 wxPyEndBlockThreads();
21f8d7ea
RD
3023 return tup;
3024 }
107e4716 3025static PyObject *_wrap_wxRect_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
3026 PyObject * _resultobj;
3027 PyObject * _result;
3028 wxRect * _arg0;
37f6a977
RD
3029 wxRect temp;
3030 PyObject * _obj0 = 0;
107e4716 3031 char *_kwnames[] = { "self", NULL };
21f8d7ea
RD
3032
3033 self = self;
37f6a977 3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_asTuple",_kwnames,&_obj0))
21f8d7ea 3035 return NULL;
37f6a977
RD
3036{
3037 _arg0 = &temp;
3038 if (! wxRect_helper(_obj0, &_arg0))
21f8d7ea 3039 return NULL;
37f6a977 3040}
21f8d7ea 3041{
4268f798 3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3043 _result = (PyObject *)wxRect_asTuple(_arg0);
ab9bc19b 3044
4268f798 3045 wxPyEndAllowThreads(__tstate);
493f1553 3046 if (PyErr_Occurred()) return NULL;
ab9bc19b 3047}{
21f8d7ea
RD
3048 _resultobj = _result;
3049}
3050 return _resultobj;
3051}
3052
f6bcfd97
BP
3053static wxRect wxRect___add__(wxRect *self,const wxRect * rect) {
3054 if (! rect) return *self;
3055 return *self + *rect;
3056 }
3057static PyObject *_wrap_wxRect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3058 PyObject * _resultobj;
f6bcfd97
BP
3059 wxRect * _result;
3060 wxRect * _arg0;
3061 wxRect * _arg1;
3062 wxRect temp;
70551f47 3063 PyObject * _obj0 = 0;
f6bcfd97
BP
3064 wxRect temp0;
3065 PyObject * _obj1 = 0;
3066 char *_kwnames[] = { "self","rect", NULL };
70551f47
RD
3067 char _ptemp[128];
3068
3069 self = self;
f6bcfd97 3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect___add__",_kwnames,&_obj0,&_obj1))
70551f47
RD
3071 return NULL;
3072{
f6bcfd97
BP
3073 _arg0 = &temp;
3074 if (! wxRect_helper(_obj0, &_arg0))
3075 return NULL;
70551f47 3076}
ab9bc19b 3077{
f6bcfd97
BP
3078 _arg1 = &temp0;
3079 if (! wxRect_helper(_obj1, &_arg1))
70551f47 3080 return NULL;
f6bcfd97 3081}
ab9bc19b 3082{
4268f798 3083 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3084 _result = new wxRect (wxRect___add__(_arg0,_arg1));
ab9bc19b 3085
4268f798 3086 wxPyEndAllowThreads(__tstate);
493f1553 3087 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3088} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
3089 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
3090 return _resultobj;
3091}
3092
f6bcfd97 3093static int wxRect___cmp__(wxRect *self,const wxRect * rect) {
419c299a
RD
3094 if (! rect) return 1;
3095 if (*self == *rect) return 0;
3096 return -1;
f6bcfd97
BP
3097 }
3098static PyObject *_wrap_wxRect___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3099 PyObject * _resultobj;
3100 int _result;
f6bcfd97
BP
3101 wxRect * _arg0;
3102 wxRect * _arg1;
3103 wxRect temp;
3104 PyObject * _obj0 = 0;
3105 wxRect temp0;
3106 PyObject * _obj1 = 0;
3107 char *_kwnames[] = { "self","rect", NULL };
70551f47
RD
3108
3109 self = self;
f6bcfd97 3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect___cmp__",_kwnames,&_obj0,&_obj1))
d29aba2f 3111 return NULL;
d29aba2f 3112{
f6bcfd97
BP
3113 _arg0 = &temp;
3114 if (! wxRect_helper(_obj0, &_arg0))
70551f47 3115 return NULL;
70551f47 3116}
ab9bc19b 3117{
f6bcfd97
BP
3118 _arg1 = &temp0;
3119 if (! wxRect_helper(_obj1, &_arg1))
70551f47 3120 return NULL;
f6bcfd97 3121}
ab9bc19b 3122{
4268f798 3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3124 _result = (int )wxRect___cmp__(_arg0,_arg1);
ab9bc19b 3125
4268f798 3126 wxPyEndAllowThreads(__tstate);
493f1553 3127 if (PyErr_Occurred()) return NULL;
f6bcfd97 3128} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3129 return _resultobj;
3130}
3131
9416aa89
RD
3132static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr) {
3133 wxIndividualLayoutConstraint *src;
3134 wxObject *dest;
3135 src = (wxIndividualLayoutConstraint *) ptr;
3136 dest = (wxObject *) src;
3137 return (void *) dest;
3138}
3139
70551f47 3140#define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
107e4716 3141static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3142 PyObject * _resultobj;
3143 wxIndividualLayoutConstraint * _arg0;
3144 wxWindow * _arg1;
2d091820
RD
3145 int _arg2 = (int ) 0;
3146 PyObject * _argo0 = 0;
3147 PyObject * _argo1 = 0;
107e4716 3148 char *_kwnames[] = { "self","otherWin","margin", NULL };
70551f47
RD
3149
3150 self = self;
107e4716 3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames,&_argo0,&_argo1,&_arg2))
70551f47 3152 return NULL;
2d091820
RD
3153 if (_argo0) {
3154 if (_argo0 == Py_None) { _arg0 = NULL; }
3155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3157 return NULL;
3158 }
3159 }
2d091820
RD
3160 if (_argo1) {
3161 if (_argo1 == Py_None) { _arg1 = NULL; }
3162 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
3163 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3164 return NULL;
3165 }
3166 }
ab9bc19b 3167{
4268f798 3168 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3169 wxIndividualLayoutConstraint_Above(_arg0,_arg1,_arg2);
ab9bc19b 3170
4268f798 3171 wxPyEndAllowThreads(__tstate);
493f1553 3172 if (PyErr_Occurred()) return NULL;
ab9bc19b 3173} Py_INCREF(Py_None);
70551f47
RD
3174 _resultobj = Py_None;
3175 return _resultobj;
3176}
3177
3178#define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
107e4716 3179static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3180 PyObject * _resultobj;
3181 wxIndividualLayoutConstraint * _arg0;
3182 int _arg1;
2d091820 3183 PyObject * _argo0 = 0;
107e4716 3184 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
3185
3186 self = self;
107e4716 3187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames,&_argo0,&_arg1))
70551f47 3188 return NULL;
2d091820
RD
3189 if (_argo0) {
3190 if (_argo0 == Py_None) { _arg0 = NULL; }
3191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
3192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3193 return NULL;
3194 }
3195 }
ab9bc19b 3196{
4268f798 3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3198 wxIndividualLayoutConstraint_Absolute(_arg0,_arg1);
ab9bc19b 3199
4268f798 3200 wxPyEndAllowThreads(__tstate);
493f1553 3201 if (PyErr_Occurred()) return NULL;
ab9bc19b 3202} Py_INCREF(Py_None);
70551f47
RD
3203 _resultobj = Py_None;
3204 return _resultobj;
3205}
3206
3207#define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
107e4716 3208static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3209 PyObject * _resultobj;
3210 wxIndividualLayoutConstraint * _arg0;
2d091820 3211 PyObject * _argo0 = 0;
107e4716 3212 char *_kwnames[] = { "self", NULL };
70551f47
RD
3213
3214 self = self;
107e4716 3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIndividualLayoutConstraint_AsIs",_kwnames,&_argo0))
70551f47 3216 return NULL;
2d091820
RD
3217 if (_argo0) {
3218 if (_argo0 == Py_None) { _arg0 = NULL; }
3219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
3220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3221 return NULL;
3222 }
3223 }
ab9bc19b 3224{
4268f798 3225 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3226 wxIndividualLayoutConstraint_AsIs(_arg0);
ab9bc19b 3227
4268f798 3228 wxPyEndAllowThreads(__tstate);
493f1553 3229 if (PyErr_Occurred()) return NULL;
ab9bc19b 3230} Py_INCREF(Py_None);
70551f47
RD
3231 _resultobj = Py_None;
3232 return _resultobj;
3233}
3234
3235#define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
107e4716 3236static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3237 PyObject * _resultobj;
3238 wxIndividualLayoutConstraint * _arg0;
3239 wxWindow * _arg1;
2d091820
RD
3240 int _arg2 = (int ) 0;
3241 PyObject * _argo0 = 0;
3242 PyObject * _argo1 = 0;
107e4716 3243 char *_kwnames[] = { "self","otherWin","margin", NULL };
70551f47
RD
3244
3245 self = self;
107e4716 3246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames,&_argo0,&_argo1,&_arg2))
70551f47 3247 return NULL;
2d091820
RD
3248 if (_argo0) {
3249 if (_argo0 == Py_None) { _arg0 = NULL; }
3250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
3251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3252 return NULL;
3253 }
3254 }
2d091820
RD
3255 if (_argo1) {
3256 if (_argo1 == Py_None) { _arg1 = NULL; }
3257 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
3258 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3259 return NULL;
3260 }
3261 }
ab9bc19b 3262{
4268f798 3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3264 wxIndividualLayoutConstraint_Below(_arg0,_arg1,_arg2);
ab9bc19b 3265
4268f798 3266 wxPyEndAllowThreads(__tstate);
493f1553 3267 if (PyErr_Occurred()) return NULL;
ab9bc19b 3268} Py_INCREF(Py_None);
70551f47
RD
3269 _resultobj = Py_None;
3270 return _resultobj;
3271}
3272
3273#define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
107e4716 3274static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3275 PyObject * _resultobj;
3276 wxIndividualLayoutConstraint * _arg0;
2d091820 3277 PyObject * _argo0 = 0;
107e4716 3278 char *_kwnames[] = { "self", NULL };
70551f47
RD
3279
3280 self = self;
107e4716 3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames,&_argo0))
70551f47 3282 return NULL;
2d091820
RD
3283 if (_argo0) {
3284 if (_argo0 == Py_None) { _arg0 = NULL; }
3285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
3286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3287 return NULL;
3288 }
3289 }
ab9bc19b 3290{
4268f798 3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3292 wxIndividualLayoutConstraint_Unconstrained(_arg0);
ab9bc19b 3293
4268f798 3294 wxPyEndAllowThreads(__tstate);
493f1553 3295 if (PyErr_Occurred()) return NULL;
ab9bc19b 3296} Py_INCREF(Py_None);
70551f47
RD
3297 _resultobj = Py_None;
3298 return _resultobj;
3299}
3300
3301#define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
107e4716 3302static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3303 PyObject * _resultobj;
3304 wxIndividualLayoutConstraint * _arg0;
3305 wxWindow * _arg1;
2d091820
RD
3306 int _arg2 = (int ) 0;
3307 PyObject * _argo0 = 0;
3308 PyObject * _argo1 = 0;
107e4716 3309 char *_kwnames[] = { "self","otherWin","margin", NULL };
70551f47
RD
3310
3311 self = self;
107e4716 3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames,&_argo0,&_argo1,&_arg2))
70551f47 3313 return NULL;
2d091820
RD
3314 if (_argo0) {
3315 if (_argo0 == Py_None) { _arg0 = NULL; }
3316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
3317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3318 return NULL;
3319 }
3320 }
2d091820
RD
3321 if (_argo1) {
3322 if (_argo1 == Py_None) { _arg1 = NULL; }
3323 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
3324 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3325 return NULL;
3326 }
3327 }
ab9bc19b 3328{
4268f798 3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3330 wxIndividualLayoutConstraint_LeftOf(_arg0,_arg1,_arg2);
ab9bc19b 3331
4268f798 3332 wxPyEndAllowThreads(__tstate);
493f1553 3333 if (PyErr_Occurred()) return NULL;
ab9bc19b 3334} Py_INCREF(Py_None);
70551f47
RD
3335 _resultobj = Py_None;
3336 return _resultobj;
3337}
3338
3339#define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
107e4716 3340static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3341 PyObject * _resultobj;
3342 wxIndividualLayoutConstraint * _arg0;
3343 wxWindow * _arg1;
3344 wxEdge _arg2;
3345 int _arg3;
2d091820
RD
3346 PyObject * _argo0 = 0;
3347 PyObject * _argo1 = 0;
107e4716 3348 char *_kwnames[] = { "self","otherWin","edge","percent", NULL };
70551f47
RD
3349
3350 self = self;
107e4716 3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
70551f47 3352 return NULL;
2d091820
RD
3353 if (_argo0) {
3354 if (_argo0 == Py_None) { _arg0 = NULL; }
3355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
3356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3357 return NULL;
3358 }
3359 }
2d091820
RD
3360 if (_argo1) {
3361 if (_argo1 == Py_None) { _arg1 = NULL; }
3362 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
3363 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3364 return NULL;
3365 }
3366 }
ab9bc19b 3367{
4268f798 3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3369 wxIndividualLayoutConstraint_PercentOf(_arg0,_arg1,_arg2,_arg3);
ab9bc19b 3370
4268f798 3371 wxPyEndAllowThreads(__tstate);
493f1553 3372 if (PyErr_Occurred()) return NULL;
ab9bc19b 3373} Py_INCREF(Py_None);
70551f47
RD
3374 _resultobj = Py_None;
3375 return _resultobj;
3376}
3377
3378#define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
107e4716 3379static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3380 PyObject * _resultobj;
3381 wxIndividualLayoutConstraint * _arg0;
3382 wxWindow * _arg1;
2d091820
RD
3383 int _arg2 = (int ) 0;
3384 PyObject * _argo0 = 0;
3385 PyObject * _argo1 = 0;
107e4716 3386 char *_kwnames[] = { "self","otherWin","margin", NULL };
70551f47
RD
3387
3388 self = self;
107e4716 3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames,&_argo0,&_argo1,&_arg2))
70551f47 3390 return NULL;
2d091820
RD
3391 if (_argo0) {
3392 if (_argo0 == Py_None) { _arg0 = NULL; }
3393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
3394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3395 return NULL;
3396 }
3397 }
2d091820
RD
3398 if (_argo1) {
3399 if (_argo1 == Py_None) { _arg1 = NULL; }
3400 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
3401 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3402 return NULL;
3403 }
3404 }
ab9bc19b 3405{
4268f798 3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3407 wxIndividualLayoutConstraint_RightOf(_arg0,_arg1,_arg2);
ab9bc19b 3408
4268f798 3409 wxPyEndAllowThreads(__tstate);
493f1553 3410 if (PyErr_Occurred()) return NULL;
ab9bc19b 3411} Py_INCREF(Py_None);
70551f47
RD
3412 _resultobj = Py_None;
3413 return _resultobj;
3414}
3415
3416#define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
107e4716 3417static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3418 PyObject * _resultobj;
3419 wxIndividualLayoutConstraint * _arg0;
3420 wxWindow * _arg1;
3421 wxEdge _arg2;
2d091820
RD
3422 int _arg3 = (int ) 0;
3423 PyObject * _argo0 = 0;
3424 PyObject * _argo1 = 0;
107e4716 3425 char *_kwnames[] = { "self","otherWin","edge","margin", NULL };
70551f47
RD
3426
3427 self = self;
107e4716 3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
70551f47 3429 return NULL;
2d091820
RD
3430 if (_argo0) {
3431 if (_argo0 == Py_None) { _arg0 = NULL; }
3432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
3433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3434 return NULL;
3435 }
3436 }
2d091820
RD
3437 if (_argo1) {
3438 if (_argo1 == Py_None) { _arg1 = NULL; }
3439 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
3440 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3441 return NULL;
3442 }
3443 }
ab9bc19b 3444{
4268f798 3445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3446 wxIndividualLayoutConstraint_SameAs(_arg0,_arg1,_arg2,_arg3);
ab9bc19b 3447
4268f798 3448 wxPyEndAllowThreads(__tstate);
493f1553 3449 if (PyErr_Occurred()) return NULL;
ab9bc19b 3450} Py_INCREF(Py_None);
70551f47
RD
3451 _resultobj = Py_None;
3452 return _resultobj;
3453}
3454
3455#define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 3456static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3457 PyObject * _resultobj;
3458 wxIndividualLayoutConstraint * _arg0;
3459 wxRelationship _arg1;
3460 wxWindow * _arg2;
3461 wxEdge _arg3;
2d091820
RD
3462 int _arg4 = (int ) 0;
3463 int _arg5 = (int ) 0;
3464 PyObject * _argo0 = 0;
3465 PyObject * _argo2 = 0;
107e4716 3466 char *_kwnames[] = { "self","rel","otherWin","otherEdge","value","margin", NULL };
70551f47
RD
3467
3468 self = self;
107e4716 3469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5))
70551f47 3470 return NULL;
2d091820
RD
3471 if (_argo0) {
3472 if (_argo0 == Py_None) { _arg0 = NULL; }
3473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
3474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3475 return NULL;
3476 }
3477 }
2d091820
RD
3478 if (_argo2) {
3479 if (_argo2 == Py_None) { _arg2 = NULL; }
3480 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
70551f47
RD
3481 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3482 return NULL;
3483 }
3484 }
ab9bc19b 3485{
4268f798 3486 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3487 wxIndividualLayoutConstraint_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
ab9bc19b 3488
4268f798 3489 wxPyEndAllowThreads(__tstate);
493f1553 3490 if (PyErr_Occurred()) return NULL;
ab9bc19b 3491} Py_INCREF(Py_None);
70551f47
RD
3492 _resultobj = Py_None;
3493 return _resultobj;
3494}
3495
9416aa89
RD
3496static void *SwigwxLayoutConstraintsTowxObject(void *ptr) {
3497 wxLayoutConstraints *src;
3498 wxObject *dest;
3499 src = (wxLayoutConstraints *) ptr;
3500 dest = (wxObject *) src;
3501 return (void *) dest;
3502}
3503
70551f47 3504#define new_wxLayoutConstraints() (new wxLayoutConstraints())
107e4716 3505static PyObject *_wrap_new_wxLayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3506 PyObject * _resultobj;
3507 wxLayoutConstraints * _result;
107e4716 3508 char *_kwnames[] = { NULL };
70551f47
RD
3509 char _ptemp[128];
3510
3511 self = self;
107e4716 3512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutConstraints",_kwnames))
70551f47 3513 return NULL;
ab9bc19b 3514{
4268f798 3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3516 _result = (wxLayoutConstraints *)new_wxLayoutConstraints();
ab9bc19b 3517
4268f798 3518 wxPyEndAllowThreads(__tstate);
493f1553 3519 if (PyErr_Occurred()) return NULL;
2d091820
RD
3520} if (_result) {
3521 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
3522 _resultobj = Py_BuildValue("s",_ptemp);
3523 } else {
3524 Py_INCREF(Py_None);
3525 _resultobj = Py_None;
3526 }
70551f47
RD
3527 return _resultobj;
3528}
3529
3530#define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
107e4716 3531static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3532 PyObject * _resultobj;
3533 wxIndividualLayoutConstraint * _result;
3534 wxLayoutConstraints * _arg0;
2d091820 3535 PyObject * _argo0 = 0;
107e4716 3536 char *_kwnames[] = { "self", NULL };
70551f47
RD
3537 char _ptemp[128];
3538
3539 self = self;
107e4716 3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_bottom_get",_kwnames,&_argo0))
70551f47 3541 return NULL;
2d091820
RD
3542 if (_argo0) {
3543 if (_argo0 == Py_None) { _arg0 = NULL; }
3544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
3545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3546 return NULL;
3547 }
3548 }
ab9bc19b 3549{
4268f798 3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3551 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_bottom_get(_arg0);
ab9bc19b 3552
4268f798 3553 wxPyEndAllowThreads(__tstate);
493f1553 3554 if (PyErr_Occurred()) return NULL;
2d091820
RD
3555} if (_result) {
3556 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3557 _resultobj = Py_BuildValue("s",_ptemp);
3558 } else {
3559 Py_INCREF(Py_None);
3560 _resultobj = Py_None;
3561 }
70551f47
RD
3562 return _resultobj;
3563}
3564
3565#define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
107e4716 3566static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3567 PyObject * _resultobj;
3568 wxIndividualLayoutConstraint * _result;
3569 wxLayoutConstraints * _arg0;
2d091820 3570 PyObject * _argo0 = 0;
107e4716 3571 char *_kwnames[] = { "self", NULL };
70551f47
RD
3572 char _ptemp[128];
3573
3574 self = self;
107e4716 3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_centreX_get",_kwnames,&_argo0))
70551f47 3576 return NULL;
2d091820
RD
3577 if (_argo0) {
3578 if (_argo0 == Py_None) { _arg0 = NULL; }
3579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
3580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3581 return NULL;
3582 }
3583 }
ab9bc19b 3584{
4268f798 3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3586 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreX_get(_arg0);
ab9bc19b 3587
4268f798 3588 wxPyEndAllowThreads(__tstate);
493f1553 3589 if (PyErr_Occurred()) return NULL;
2d091820
RD
3590} if (_result) {
3591 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3592 _resultobj = Py_BuildValue("s",_ptemp);
3593 } else {
3594 Py_INCREF(Py_None);
3595 _resultobj = Py_None;
3596 }
70551f47
RD
3597 return _resultobj;
3598}
3599
3600#define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
107e4716 3601static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3602 PyObject * _resultobj;
3603 wxIndividualLayoutConstraint * _result;
3604 wxLayoutConstraints * _arg0;
2d091820 3605 PyObject * _argo0 = 0;
107e4716 3606 char *_kwnames[] = { "self", NULL };
70551f47
RD
3607 char _ptemp[128];
3608
3609 self = self;
107e4716 3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_centreY_get",_kwnames,&_argo0))
70551f47 3611 return NULL;
2d091820
RD
3612 if (_argo0) {
3613 if (_argo0 == Py_None) { _arg0 = NULL; }
3614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
3615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3616 return NULL;
3617 }
3618 }
ab9bc19b 3619{
4268f798 3620 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3621 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreY_get(_arg0);
ab9bc19b 3622
4268f798 3623 wxPyEndAllowThreads(__tstate);
493f1553 3624 if (PyErr_Occurred()) return NULL;
2d091820
RD
3625} if (_result) {
3626 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3627 _resultobj = Py_BuildValue("s",_ptemp);
3628 } else {
3629 Py_INCREF(Py_None);
3630 _resultobj = Py_None;
3631 }
70551f47
RD
3632 return _resultobj;
3633}
3634
3635#define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
107e4716 3636static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3637 PyObject * _resultobj;
3638 wxIndividualLayoutConstraint * _result;
3639 wxLayoutConstraints * _arg0;
2d091820 3640 PyObject * _argo0 = 0;
107e4716 3641 char *_kwnames[] = { "self", NULL };
70551f47
RD
3642 char _ptemp[128];
3643
3644 self = self;
107e4716 3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_height_get",_kwnames,&_argo0))
70551f47 3646 return NULL;
2d091820
RD
3647 if (_argo0) {
3648 if (_argo0 == Py_None) { _arg0 = NULL; }
3649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
3650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3651 return NULL;
3652 }
3653 }
ab9bc19b 3654{
4268f798 3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3656 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_height_get(_arg0);
ab9bc19b 3657
4268f798 3658 wxPyEndAllowThreads(__tstate);
493f1553 3659 if (PyErr_Occurred()) return NULL;
2d091820
RD
3660} if (_result) {
3661 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3662 _resultobj = Py_BuildValue("s",_ptemp);
3663 } else {
3664 Py_INCREF(Py_None);
3665 _resultobj = Py_None;
3666 }
70551f47
RD
3667 return _resultobj;
3668}
3669
3670#define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
107e4716 3671static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3672 PyObject * _resultobj;
3673 wxIndividualLayoutConstraint * _result;
3674 wxLayoutConstraints * _arg0;
2d091820 3675 PyObject * _argo0 = 0;
107e4716 3676 char *_kwnames[] = { "self", NULL };
70551f47
RD
3677 char _ptemp[128];
3678
3679 self = self;
107e4716 3680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_left_get",_kwnames,&_argo0))
70551f47 3681 return NULL;
2d091820
RD
3682 if (_argo0) {
3683 if (_argo0 == Py_None) { _arg0 = NULL; }
3684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
3685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3686 return NULL;
3687 }
3688 }
ab9bc19b 3689{
4268f798 3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3691 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_left_get(_arg0);
ab9bc19b 3692
4268f798 3693 wxPyEndAllowThreads(__tstate);
493f1553 3694 if (PyErr_Occurred()) return NULL;
2d091820
RD
3695} if (_result) {
3696 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3697 _resultobj = Py_BuildValue("s",_ptemp);
3698 } else {
3699 Py_INCREF(Py_None);
3700 _resultobj = Py_None;
3701 }
70551f47
RD
3702 return _resultobj;
3703}
3704
3705#define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
107e4716 3706static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3707 PyObject * _resultobj;
3708 wxIndividualLayoutConstraint * _result;
3709 wxLayoutConstraints * _arg0;
2d091820 3710 PyObject * _argo0 = 0;
107e4716 3711 char *_kwnames[] = { "self", NULL };
70551f47
RD
3712 char _ptemp[128];
3713
3714 self = self;
107e4716 3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_right_get",_kwnames,&_argo0))
70551f47 3716 return NULL;
2d091820
RD
3717 if (_argo0) {
3718 if (_argo0 == Py_None) { _arg0 = NULL; }
3719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
3720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3721 return NULL;
3722 }
3723 }
ab9bc19b 3724{
4268f798 3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3726 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_right_get(_arg0);
ab9bc19b 3727
4268f798 3728 wxPyEndAllowThreads(__tstate);
493f1553 3729 if (PyErr_Occurred()) return NULL;
2d091820
RD
3730} if (_result) {
3731 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3732 _resultobj = Py_BuildValue("s",_ptemp);
3733 } else {
3734 Py_INCREF(Py_None);
3735 _resultobj = Py_None;
3736 }
70551f47
RD
3737 return _resultobj;
3738}
3739
3740#define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
107e4716 3741static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3742 PyObject * _resultobj;
3743 wxIndividualLayoutConstraint * _result;
3744 wxLayoutConstraints * _arg0;
2d091820 3745 PyObject * _argo0 = 0;
107e4716 3746 char *_kwnames[] = { "self", NULL };
70551f47
RD
3747 char _ptemp[128];
3748
3749 self = self;
107e4716 3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_top_get",_kwnames,&_argo0))
70551f47 3751 return NULL;
2d091820
RD
3752 if (_argo0) {
3753 if (_argo0 == Py_None) { _arg0 = NULL; }
3754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
3755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3756 return NULL;
3757 }
3758 }
ab9bc19b 3759{
4268f798 3760 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3761 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_top_get(_arg0);
ab9bc19b 3762
4268f798 3763 wxPyEndAllowThreads(__tstate);
493f1553 3764 if (PyErr_Occurred()) return NULL;
2d091820
RD
3765} if (_result) {
3766 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3767 _resultobj = Py_BuildValue("s",_ptemp);
3768 } else {
3769 Py_INCREF(Py_None);
3770 _resultobj = Py_None;
3771 }
70551f47
RD
3772 return _resultobj;
3773}
3774
3775#define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
107e4716 3776static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3777 PyObject * _resultobj;
3778 wxIndividualLayoutConstraint * _result;
3779 wxLayoutConstraints * _arg0;
2d091820 3780 PyObject * _argo0 = 0;
107e4716 3781 char *_kwnames[] = { "self", NULL };
70551f47
RD
3782 char _ptemp[128];
3783
3784 self = self;
107e4716 3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_width_get",_kwnames,&_argo0))
70551f47 3786 return NULL;
2d091820
RD
3787 if (_argo0) {
3788 if (_argo0 == Py_None) { _arg0 = NULL; }
3789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
3790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3791 return NULL;
3792 }
3793 }
ab9bc19b 3794{
4268f798 3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3796 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_width_get(_arg0);
ab9bc19b 3797
4268f798 3798 wxPyEndAllowThreads(__tstate);
493f1553 3799 if (PyErr_Occurred()) return NULL;
2d091820
RD
3800} if (_result) {
3801 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
3802 _resultobj = Py_BuildValue("s",_ptemp);
3803 } else {
3804 Py_INCREF(Py_None);
3805 _resultobj = Py_None;
3806 }
70551f47
RD
3807 return _resultobj;
3808}
3809
9416aa89
RD
3810#define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3811static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 3812 PyObject * _resultobj;
9416aa89
RD
3813 wxAcceleratorEntry * _result;
3814 int _arg0 = (int ) 0;
3815 int _arg1 = (int ) 0;
3816 int _arg2 = (int ) 0;
3817 char *_kwnames[] = { "flags","keyCode","cmd", NULL };
105e45b9
RD
3818 char _ptemp[128];
3819
3820 self = self;
9416aa89 3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxAcceleratorEntry",_kwnames,&_arg0,&_arg1,&_arg2))
105e45b9 3822 return NULL;
ab9bc19b 3823{
4268f798 3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3825 _result = (wxAcceleratorEntry *)new_wxAcceleratorEntry(_arg0,_arg1,_arg2);
ab9bc19b 3826
4268f798 3827 wxPyEndAllowThreads(__tstate);
493f1553 3828 if (PyErr_Occurred()) return NULL;
2d091820 3829} if (_result) {
9416aa89 3830 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
2d091820
RD
3831 _resultobj = Py_BuildValue("s",_ptemp);
3832 } else {
3833 Py_INCREF(Py_None);
3834 _resultobj = Py_None;
3835 }
105e45b9
RD
3836 return _resultobj;
3837}
3838
9416aa89
RD
3839#define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3840static PyObject *_wrap_delete_wxAcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 3841 PyObject * _resultobj;
9416aa89 3842 wxAcceleratorEntry * _arg0;
2d091820 3843 PyObject * _argo0 = 0;
107e4716 3844 char *_kwnames[] = { "self", NULL };
105e45b9
RD
3845
3846 self = self;
9416aa89 3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxAcceleratorEntry",_kwnames,&_argo0))
105e45b9 3848 return NULL;
2d091820
RD
3849 if (_argo0) {
3850 if (_argo0 == Py_None) { _arg0 = NULL; }
9416aa89
RD
3851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
3852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
105e45b9
RD
3853 return NULL;
3854 }
3855 }
ab9bc19b 3856{
4268f798 3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3858 delete_wxAcceleratorEntry(_arg0);
ab9bc19b 3859
4268f798 3860 wxPyEndAllowThreads(__tstate);
493f1553 3861 if (PyErr_Occurred()) return NULL;
ab9bc19b 3862} Py_INCREF(Py_None);
105e45b9
RD
3863 _resultobj = Py_None;
3864 return _resultobj;
3865}
3866
9416aa89
RD
3867#define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3868static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 3869 PyObject * _resultobj;
9416aa89
RD
3870 wxAcceleratorEntry * _arg0;
3871 int _arg1;
3872 int _arg2;
3873 int _arg3;
2d091820 3874 PyObject * _argo0 = 0;
9416aa89 3875 char *_kwnames[] = { "self","flags","keyCode","Cmd", NULL };
105e45b9
RD
3876
3877 self = self;
9416aa89 3878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxAcceleratorEntry_Set",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
105e45b9 3879 return NULL;
2d091820
RD
3880 if (_argo0) {
3881 if (_argo0 == Py_None) { _arg0 = NULL; }
9416aa89
RD
3882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
3883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
105e45b9
RD
3884 return NULL;
3885 }
3886 }
ab9bc19b 3887{
4268f798 3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3889 wxAcceleratorEntry_Set(_arg0,_arg1,_arg2,_arg3);
ab9bc19b 3890
4268f798 3891 wxPyEndAllowThreads(__tstate);
493f1553 3892 if (PyErr_Occurred()) return NULL;
ab9bc19b 3893} Py_INCREF(Py_None);
105e45b9
RD
3894 _resultobj = Py_None;
3895 return _resultobj;
3896}
3897
9416aa89
RD
3898#define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3899static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 3900 PyObject * _resultobj;
9416aa89
RD
3901 int _result;
3902 wxAcceleratorEntry * _arg0;
2d091820 3903 PyObject * _argo0 = 0;
9416aa89 3904 char *_kwnames[] = { "self", NULL };
105e45b9
RD
3905
3906 self = self;
9416aa89 3907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetFlags",_kwnames,&_argo0))
105e45b9 3908 return NULL;
2d091820
RD
3909 if (_argo0) {
3910 if (_argo0 == Py_None) { _arg0 = NULL; }
9416aa89
RD
3911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
3912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
105e45b9
RD
3913 return NULL;
3914 }
3915 }
ab9bc19b 3916{
4268f798 3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3918 _result = (int )wxAcceleratorEntry_GetFlags(_arg0);
ab9bc19b 3919
4268f798 3920 wxPyEndAllowThreads(__tstate);
493f1553 3921 if (PyErr_Occurred()) return NULL;
ab9bc19b 3922} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
3923 return _resultobj;
3924}
3925
9416aa89
RD
3926#define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3927static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 3928 PyObject * _resultobj;
9416aa89
RD
3929 int _result;
3930 wxAcceleratorEntry * _arg0;
2d091820 3931 PyObject * _argo0 = 0;
9416aa89 3932 char *_kwnames[] = { "self", NULL };
105e45b9
RD
3933
3934 self = self;
9416aa89 3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetKeyCode",_kwnames,&_argo0))
105e45b9 3936 return NULL;
2d091820
RD
3937 if (_argo0) {
3938 if (_argo0 == Py_None) { _arg0 = NULL; }
9416aa89
RD
3939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
3940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
105e45b9
RD
3941 return NULL;
3942 }
3943 }
ab9bc19b 3944{
4268f798 3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3946 _result = (int )wxAcceleratorEntry_GetKeyCode(_arg0);
ab9bc19b 3947
4268f798 3948 wxPyEndAllowThreads(__tstate);
493f1553 3949 if (PyErr_Occurred()) return NULL;
ab9bc19b 3950} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
3951 return _resultobj;
3952}
3953
9416aa89
RD
3954#define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3955static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 3956 PyObject * _resultobj;
9416aa89
RD
3957 int _result;
3958 wxAcceleratorEntry * _arg0;
2d091820 3959 PyObject * _argo0 = 0;
9416aa89 3960 char *_kwnames[] = { "self", NULL };
105e45b9
RD
3961
3962 self = self;
9416aa89 3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetCommand",_kwnames,&_argo0))
105e45b9 3964 return NULL;
2d091820
RD
3965 if (_argo0) {
3966 if (_argo0 == Py_None) { _arg0 = NULL; }
9416aa89
RD
3967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
3968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
105e45b9
RD
3969 return NULL;
3970 }
3971 }
ab9bc19b 3972{
4268f798 3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3974 _result = (int )wxAcceleratorEntry_GetCommand(_arg0);
ab9bc19b 3975
4268f798 3976 wxPyEndAllowThreads(__tstate);
493f1553 3977 if (PyErr_Occurred()) return NULL;
ab9bc19b 3978} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
3979 return _resultobj;
3980}
3981
9416aa89
RD
3982static void *SwigwxAcceleratorTableTowxObject(void *ptr) {
3983 wxAcceleratorTable *src;
3984 wxObject *dest;
3985 src = (wxAcceleratorTable *) ptr;
3986 dest = (wxObject *) src;
3987 return (void *) dest;
56f5d962
RD
3988}
3989
9416aa89
RD
3990#define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3991static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 3992 PyObject * _resultobj;
9416aa89
RD
3993 wxAcceleratorTable * _result;
3994 int _arg0;
3995 wxAcceleratorEntry * _arg1;
3996 PyObject * _obj1 = 0;
3997 char *_kwnames[] = { "choices", NULL };
105e45b9
RD
3998 char _ptemp[128];
3999
4000 self = self;
9416aa89 4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxAcceleratorTable",_kwnames,&_obj1))
105e45b9 4002 return NULL;
9416aa89 4003 if (_obj1)
ab9bc19b 4004{
9416aa89
RD
4005 _arg1 = wxAcceleratorEntry_LIST_helper(_obj1);
4006 if (_arg1 == NULL) {
56f5d962 4007 return NULL;
56f5d962 4008 }
56f5d962 4009}
37f6a977 4010{
9416aa89
RD
4011 if (_obj1) {
4012 _arg0 = PyList_Size(_obj1);
4013 }
4014 else {
4015 _arg0 = 0;
4016 }
37f6a977 4017}
ab9bc19b 4018{
4268f798 4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4020 _result = (wxAcceleratorTable *)new_wxAcceleratorTable(_arg0,_arg1);
56f5d962 4021
4268f798 4022 wxPyEndAllowThreads(__tstate);
493f1553 4023 if (PyErr_Occurred()) return NULL;
9416aa89
RD
4024} if (_result) {
4025 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
4026 _resultobj = Py_BuildValue("s",_ptemp);
4027 } else {
4028 Py_INCREF(Py_None);
4029 _resultobj = Py_None;
56f5d962
RD
4030 }
4031{
9416aa89
RD
4032 delete [] _arg1;
4033}
105e45b9
RD
4034 return _resultobj;
4035}
4036
9416aa89
RD
4037#define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4038static PyObject *_wrap_delete_wxAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
bc29c5e0 4039 PyObject * _resultobj;
9416aa89 4040 wxAcceleratorTable * _arg0;
bc29c5e0
RD
4041 PyObject * _argo0 = 0;
4042 char *_kwnames[] = { "self", NULL };
4043
4044 self = self;
9416aa89 4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxAcceleratorTable",_kwnames,&_argo0))
bc29c5e0
RD
4046 return NULL;
4047 if (_argo0) {
4048 if (_argo0 == Py_None) { _arg0 = NULL; }
9416aa89
RD
4049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorTable_p")) {
4050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
bc29c5e0
RD
4051 return NULL;
4052 }
4053 }
4054{
4268f798 4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4056 delete_wxAcceleratorTable(_arg0);
bc29c5e0 4057
4268f798 4058 wxPyEndAllowThreads(__tstate);
493f1553 4059 if (PyErr_Occurred()) return NULL;
9416aa89
RD
4060} Py_INCREF(Py_None);
4061 _resultobj = Py_None;
bc29c5e0
RD
4062 return _resultobj;
4063}
4064
9416aa89
RD
4065static void *SwigwxBusyInfoTowxObject(void *ptr) {
4066 wxBusyInfo *src;
4067 wxObject *dest;
4068 src = (wxBusyInfo *) ptr;
4069 dest = (wxObject *) src;
4070 return (void *) dest;
37f6a977
RD
4071}
4072
4120ef2b
RD
4073#define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4074static PyObject *_wrap_new_wxBusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4075 PyObject * _resultobj;
4076 wxBusyInfo * _result;
4077 wxString * _arg0;
4078 PyObject * _obj0 = 0;
4079 char *_kwnames[] = { "message", NULL };
4080 char _ptemp[128];
4081
4082 self = self;
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxBusyInfo",_kwnames,&_obj0))
4084 return NULL;
4085{
c8bc7bb8
RD
4086 _arg0 = wxString_in_helper(_obj0);
4087 if (_arg0 == NULL)
4120ef2b 4088 return NULL;
4120ef2b
RD
4089}
4090{
4268f798 4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4092 _result = (wxBusyInfo *)new_wxBusyInfo(*_arg0);
4120ef2b 4093
4268f798 4094 wxPyEndAllowThreads(__tstate);
493f1553 4095 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
4096} if (_result) {
4097 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyInfo_p");
4098 _resultobj = Py_BuildValue("s",_ptemp);
4099 } else {
4100 Py_INCREF(Py_None);
4101 _resultobj = Py_None;
4102 }
4103{
4104 if (_obj0)
4105 delete _arg0;
4106}
4107 return _resultobj;
4108}
4109
4110#define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4111static PyObject *_wrap_delete_wxBusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject * _resultobj;
4113 wxBusyInfo * _arg0;
4114 PyObject * _argo0 = 0;
4115 char *_kwnames[] = { "self", NULL };
4116
4117 self = self;
4118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyInfo",_kwnames,&_argo0))
4119 return NULL;
4120 if (_argo0) {
4121 if (_argo0 == Py_None) { _arg0 = NULL; }
4122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyInfo_p")) {
4123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4124 return NULL;
4125 }
4126 }
4127{
4268f798 4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4129 delete_wxBusyInfo(_arg0);
4120ef2b 4130
4268f798 4131 wxPyEndAllowThreads(__tstate);
493f1553 4132 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
4133} Py_INCREF(Py_None);
4134 _resultobj = Py_None;
4135 return _resultobj;
4136}
4137
70551f47 4138static PyMethodDef misccMethods[] = {
4120ef2b
RD
4139 { "delete_wxBusyInfo", (PyCFunction) _wrap_delete_wxBusyInfo, METH_VARARGS | METH_KEYWORDS },
4140 { "new_wxBusyInfo", (PyCFunction) _wrap_new_wxBusyInfo, METH_VARARGS | METH_KEYWORDS },
37f6a977 4141 { "delete_wxAcceleratorTable", (PyCFunction) _wrap_delete_wxAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
4142 { "new_wxAcceleratorTable", (PyCFunction) _wrap_new_wxAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
4143 { "wxAcceleratorEntry_GetCommand", (PyCFunction) _wrap_wxAcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
4144 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_wxAcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
4145 { "wxAcceleratorEntry_GetFlags", (PyCFunction) _wrap_wxAcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
4146 { "wxAcceleratorEntry_Set", (PyCFunction) _wrap_wxAcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
37f6a977 4147 { "delete_wxAcceleratorEntry", (PyCFunction) _wrap_delete_wxAcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
107e4716 4148 { "new_wxAcceleratorEntry", (PyCFunction) _wrap_new_wxAcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
4149 { "wxLayoutConstraints_width_get", (PyCFunction) _wrap_wxLayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
4150 { "wxLayoutConstraints_top_get", (PyCFunction) _wrap_wxLayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
4151 { "wxLayoutConstraints_right_get", (PyCFunction) _wrap_wxLayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
4152 { "wxLayoutConstraints_left_get", (PyCFunction) _wrap_wxLayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
4153 { "wxLayoutConstraints_height_get", (PyCFunction) _wrap_wxLayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
4154 { "wxLayoutConstraints_centreY_get", (PyCFunction) _wrap_wxLayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
4155 { "wxLayoutConstraints_centreX_get", (PyCFunction) _wrap_wxLayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
4156 { "wxLayoutConstraints_bottom_get", (PyCFunction) _wrap_wxLayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
4157 { "new_wxLayoutConstraints", (PyCFunction) _wrap_new_wxLayoutConstraints, METH_VARARGS | METH_KEYWORDS },
4158 { "wxIndividualLayoutConstraint_Set", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
4159 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
4160 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
4161 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
4162 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
4163 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
4164 { "wxIndividualLayoutConstraint_Below", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
4165 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_wxIndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
4166 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
4167 { "wxIndividualLayoutConstraint_Above", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
4168 { "wxRect___cmp__", (PyCFunction) _wrap_wxRect___cmp__, METH_VARARGS | METH_KEYWORDS },
4169 { "wxRect___add__", (PyCFunction) _wrap_wxRect___add__, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
4170 { "wxRect_asTuple", (PyCFunction) _wrap_wxRect_asTuple, METH_VARARGS | METH_KEYWORDS },
4171 { "wxRect_height_get", (PyCFunction) _wrap_wxRect_height_get, METH_VARARGS | METH_KEYWORDS },
4172 { "wxRect_height_set", (PyCFunction) _wrap_wxRect_height_set, METH_VARARGS | METH_KEYWORDS },
4173 { "wxRect_width_get", (PyCFunction) _wrap_wxRect_width_get, METH_VARARGS | METH_KEYWORDS },
4174 { "wxRect_width_set", (PyCFunction) _wrap_wxRect_width_set, METH_VARARGS | METH_KEYWORDS },
4175 { "wxRect_y_get", (PyCFunction) _wrap_wxRect_y_get, METH_VARARGS | METH_KEYWORDS },
4176 { "wxRect_y_set", (PyCFunction) _wrap_wxRect_y_set, METH_VARARGS | METH_KEYWORDS },
4177 { "wxRect_x_get", (PyCFunction) _wrap_wxRect_x_get, METH_VARARGS | METH_KEYWORDS },
4178 { "wxRect_x_set", (PyCFunction) _wrap_wxRect_x_set, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
4179 { "wxRect_Inside", (PyCFunction) _wrap_wxRect_Inside, METH_VARARGS | METH_KEYWORDS },
4180 { "wxRect_Inflate", (PyCFunction) _wrap_wxRect_Inflate, METH_VARARGS | METH_KEYWORDS },
56f5d962
RD
4181 { "wxRect_SetBottom", (PyCFunction) _wrap_wxRect_SetBottom, METH_VARARGS | METH_KEYWORDS },
4182 { "wxRect_SetTop", (PyCFunction) _wrap_wxRect_SetTop, METH_VARARGS | METH_KEYWORDS },
4183 { "wxRect_SetRight", (PyCFunction) _wrap_wxRect_SetRight, METH_VARARGS | METH_KEYWORDS },
4184 { "wxRect_SetLeft", (PyCFunction) _wrap_wxRect_SetLeft, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
4185 { "wxRect_GetRight", (PyCFunction) _wrap_wxRect_GetRight, METH_VARARGS | METH_KEYWORDS },
4186 { "wxRect_GetBottom", (PyCFunction) _wrap_wxRect_GetBottom, METH_VARARGS | METH_KEYWORDS },
4187 { "wxRect_GetTop", (PyCFunction) _wrap_wxRect_GetTop, METH_VARARGS | METH_KEYWORDS },
4188 { "wxRect_GetLeft", (PyCFunction) _wrap_wxRect_GetLeft, METH_VARARGS | METH_KEYWORDS },
4189 { "wxRect_GetSize", (PyCFunction) _wrap_wxRect_GetSize, METH_VARARGS | METH_KEYWORDS },
4190 { "wxRect_GetPosition", (PyCFunction) _wrap_wxRect_GetPosition, METH_VARARGS | METH_KEYWORDS },
4191 { "wxRect_SetHeight", (PyCFunction) _wrap_wxRect_SetHeight, METH_VARARGS | METH_KEYWORDS },
4192 { "wxRect_GetHeight", (PyCFunction) _wrap_wxRect_GetHeight, METH_VARARGS | METH_KEYWORDS },
4193 { "wxRect_SetWidth", (PyCFunction) _wrap_wxRect_SetWidth, METH_VARARGS | METH_KEYWORDS },
4194 { "wxRect_GetWidth", (PyCFunction) _wrap_wxRect_GetWidth, METH_VARARGS | METH_KEYWORDS },
4195 { "wxRect_SetY", (PyCFunction) _wrap_wxRect_SetY, METH_VARARGS | METH_KEYWORDS },
4196 { "wxRect_GetY", (PyCFunction) _wrap_wxRect_GetY, METH_VARARGS | METH_KEYWORDS },
4197 { "wxRect_SetX", (PyCFunction) _wrap_wxRect_SetX, METH_VARARGS | METH_KEYWORDS },
4198 { "wxRect_GetX", (PyCFunction) _wrap_wxRect_GetX, METH_VARARGS | METH_KEYWORDS },
4199 { "delete_wxRect", (PyCFunction) _wrap_delete_wxRect, METH_VARARGS | METH_KEYWORDS },
4200 { "new_wxRect", (PyCFunction) _wrap_new_wxRect, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
4201 { "wxPoint___cmp__", (PyCFunction) _wrap_wxPoint___cmp__, METH_VARARGS | METH_KEYWORDS },
4202 { "wxPoint___sub__", (PyCFunction) _wrap_wxPoint___sub__, METH_VARARGS | METH_KEYWORDS },
4203 { "wxPoint___add__", (PyCFunction) _wrap_wxPoint___add__, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
4204 { "wxPoint_asTuple", (PyCFunction) _wrap_wxPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
4205 { "wxPoint_Set", (PyCFunction) _wrap_wxPoint_Set, METH_VARARGS | METH_KEYWORDS },
4206 { "delete_wxPoint", (PyCFunction) _wrap_delete_wxPoint, METH_VARARGS | METH_KEYWORDS },
4207 { "new_wxPoint", (PyCFunction) _wrap_new_wxPoint, METH_VARARGS | METH_KEYWORDS },
4208 { "wxPoint_y_get", (PyCFunction) _wrap_wxPoint_y_get, METH_VARARGS | METH_KEYWORDS },
4209 { "wxPoint_y_set", (PyCFunction) _wrap_wxPoint_y_set, METH_VARARGS | METH_KEYWORDS },
4210 { "wxPoint_x_get", (PyCFunction) _wrap_wxPoint_x_get, METH_VARARGS | METH_KEYWORDS },
4211 { "wxPoint_x_set", (PyCFunction) _wrap_wxPoint_x_set, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
4212 { "wxRealPoint___cmp__", (PyCFunction) _wrap_wxRealPoint___cmp__, METH_VARARGS | METH_KEYWORDS },
4213 { "wxRealPoint___sub__", (PyCFunction) _wrap_wxRealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
4214 { "wxRealPoint___add__", (PyCFunction) _wrap_wxRealPoint___add__, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
4215 { "wxRealPoint_asTuple", (PyCFunction) _wrap_wxRealPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
4216 { "wxRealPoint_Set", (PyCFunction) _wrap_wxRealPoint_Set, METH_VARARGS | METH_KEYWORDS },
4217 { "delete_wxRealPoint", (PyCFunction) _wrap_delete_wxRealPoint, METH_VARARGS | METH_KEYWORDS },
4218 { "new_wxRealPoint", (PyCFunction) _wrap_new_wxRealPoint, METH_VARARGS | METH_KEYWORDS },
4219 { "wxRealPoint_y_get", (PyCFunction) _wrap_wxRealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
4220 { "wxRealPoint_y_set", (PyCFunction) _wrap_wxRealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
4221 { "wxRealPoint_x_get", (PyCFunction) _wrap_wxRealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
4222 { "wxRealPoint_x_set", (PyCFunction) _wrap_wxRealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
419c299a 4223 { "wxSize___cmp__", (PyCFunction) _wrap_wxSize___cmp__, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
4224 { "wxSize_asTuple", (PyCFunction) _wrap_wxSize_asTuple, METH_VARARGS | METH_KEYWORDS },
4225 { "wxSize_SetHeight", (PyCFunction) _wrap_wxSize_SetHeight, METH_VARARGS | METH_KEYWORDS },
4226 { "wxSize_SetWidth", (PyCFunction) _wrap_wxSize_SetWidth, METH_VARARGS | METH_KEYWORDS },
4227 { "wxSize_GetHeight", (PyCFunction) _wrap_wxSize_GetHeight, METH_VARARGS | METH_KEYWORDS },
4228 { "wxSize_GetWidth", (PyCFunction) _wrap_wxSize_GetWidth, METH_VARARGS | METH_KEYWORDS },
4229 { "wxSize_GetY", (PyCFunction) _wrap_wxSize_GetY, METH_VARARGS | METH_KEYWORDS },
4230 { "wxSize_GetX", (PyCFunction) _wrap_wxSize_GetX, METH_VARARGS | METH_KEYWORDS },
4231 { "wxSize_Set", (PyCFunction) _wrap_wxSize_Set, METH_VARARGS | METH_KEYWORDS },
4232 { "delete_wxSize", (PyCFunction) _wrap_delete_wxSize, METH_VARARGS | METH_KEYWORDS },
4233 { "new_wxSize", (PyCFunction) _wrap_new_wxSize, METH_VARARGS | METH_KEYWORDS },
4234 { "wxSize_height_get", (PyCFunction) _wrap_wxSize_y_get, METH_VARARGS | METH_KEYWORDS },
4235 { "wxSize_height_set", (PyCFunction) _wrap_wxSize_y_set, METH_VARARGS | METH_KEYWORDS },
4236 { "wxSize_width_get", (PyCFunction) _wrap_wxSize_x_get, METH_VARARGS | METH_KEYWORDS },
4237 { "wxSize_width_set", (PyCFunction) _wrap_wxSize_x_set, METH_VARARGS | METH_KEYWORDS },
4238 { "wxSize_y_get", (PyCFunction) _wrap_wxSize_y_get, METH_VARARGS | METH_KEYWORDS },
4239 { "wxSize_y_set", (PyCFunction) _wrap_wxSize_y_set, METH_VARARGS | METH_KEYWORDS },
4240 { "wxSize_x_get", (PyCFunction) _wrap_wxSize_x_get, METH_VARARGS | METH_KEYWORDS },
4241 { "wxSize_x_set", (PyCFunction) _wrap_wxSize_x_set, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
4242 { "wxObject_Destroy", (PyCFunction) _wrap_wxObject_Destroy, METH_VARARGS | METH_KEYWORDS },
4243 { "wxObject_GetClassName", (PyCFunction) _wrap_wxObject_GetClassName, METH_VARARGS | METH_KEYWORDS },
c368d904 4244 { "wxGetAccelFromString", (PyCFunction) _wrap_wxGetAccelFromString, METH_VARARGS | METH_KEYWORDS },
c6c593e8 4245 { "wxGetUserHome", (PyCFunction) _wrap_wxGetUserHome, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
4246 { "wxGetHomeDir", (PyCFunction) _wrap_wxGetHomeDir, METH_VARARGS | METH_KEYWORDS },
4247 { "wxGetUserName", (PyCFunction) _wrap_wxGetUserName, METH_VARARGS | METH_KEYWORDS },
4248 { "wxGetUserId", (PyCFunction) _wrap_wxGetUserId, METH_VARARGS | METH_KEYWORDS },
4249 { "wxGetFullHostName", (PyCFunction) _wrap_wxGetFullHostName, METH_VARARGS | METH_KEYWORDS },
4250 { "wxGetHostName", (PyCFunction) _wrap_wxGetHostName, METH_VARARGS | METH_KEYWORDS },
4251 { "wxGetEmailAddress", (PyCFunction) _wrap_wxGetEmailAddress, METH_VARARGS | METH_KEYWORDS },
d29aba2f 4252 { "wxStripMenuCodes", (PyCFunction) _wrap_wxStripMenuCodes, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
4253 { "wxGetResource", (PyCFunction) _wrap_wxGetResource, METH_VARARGS | METH_KEYWORDS },
4254 { "wxEnableTopLevelWindows", (PyCFunction) _wrap_wxEnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
83b18bab 4255 { "wxYieldIfNeeded", (PyCFunction) _wrap_wxYieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
107e4716 4256 { "wxYield", (PyCFunction) _wrap_wxYield, METH_VARARGS | METH_KEYWORDS },
c368d904 4257 { "wxUsleep", (PyCFunction) _wrap_wxUsleep, METH_VARARGS | METH_KEYWORDS },
107e4716 4258 { "wxSleep", (PyCFunction) _wrap_wxSleep, METH_VARARGS | METH_KEYWORDS },
c368d904 4259 { "wxGetOsDescription", (PyCFunction) _wrap_wxGetOsDescription, METH_VARARGS | METH_KEYWORDS },
bc29c5e0
RD
4260 { "wxGetOsVersion", (PyCFunction) _wrap_wxGetOsVersion, METH_VARARGS | METH_KEYWORDS },
4261 { "wxStartTimer", (PyCFunction) _wrap_wxStartTimer, METH_VARARGS | METH_KEYWORDS },
4262 { "wxShell", (PyCFunction) _wrap_wxShell, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
4263 { "wxNow", (PyCFunction) _wrap_wxNow, METH_VARARGS | METH_KEYWORDS },
4264 { "wxIsBusy", (PyCFunction) _wrap_wxIsBusy, METH_VARARGS | METH_KEYWORDS },
4265 { "wxGetMousePosition", (PyCFunction) _wrap_wxGetMousePosition, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 4266 { "wxGetFreeMemory", (PyCFunction) _wrap_wxGetFreeMemory, METH_VARARGS | METH_KEYWORDS },
bc29c5e0 4267 { "wxGetElapsedTime", (PyCFunction) _wrap_wxGetElapsedTime, METH_VARARGS | METH_KEYWORDS },
107e4716 4268 { "wxEndBusyCursor", (PyCFunction) _wrap_wxEndBusyCursor, METH_VARARGS | METH_KEYWORDS },
107e4716 4269 { "wxBell", (PyCFunction) _wrap_wxBell, METH_VARARGS | METH_KEYWORDS },
83b18bab 4270 { "wxGetCurrentId", (PyCFunction) _wrap_wxGetCurrentId, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
4271 { "RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
4272 { "NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
4273 { "wxRegisterId", (PyCFunction) _wrap_wxRegisterId, METH_VARARGS | METH_KEYWORDS },
4274 { "wxNewId", (PyCFunction) _wrap_wxNewId, METH_VARARGS | METH_KEYWORDS },
56f5d962 4275 { "wxIntersectRect", (PyCFunction) _wrap_wxIntersectRect, METH_VARARGS | METH_KEYWORDS },
70551f47
RD
4276 { NULL, NULL }
4277};
2d091820
RD
4278#ifdef __cplusplus
4279}
4280#endif
4281/*
4282 * This table is used by the pointer type-checker
4283 */
4284static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2d091820 4285 { "_signed_long","_long",0},
4120ef2b 4286 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
4287 { "_wxPrintQuality","_int",0},
4288 { "_wxPrintQuality","_signed_int",0},
4289 { "_wxPrintQuality","_unsigned_int",0},
4290 { "_wxPrintQuality","_wxWindowID",0},
4291 { "_wxPrintQuality","_uint",0},
4292 { "_wxPrintQuality","_EBool",0},
4293 { "_wxPrintQuality","_size_t",0},
c368d904 4294 { "_wxPrintQuality","_time_t",0},
2d091820
RD
4295 { "_byte","_unsigned_char",0},
4296 { "_long","_unsigned_long",0},
4297 { "_long","_signed_long",0},
4120ef2b 4298 { "_size_t","_wxCoord",0},
2d091820 4299 { "_size_t","_wxPrintQuality",0},
c368d904 4300 { "_size_t","_time_t",0},
2d091820
RD
4301 { "_size_t","_unsigned_int",0},
4302 { "_size_t","_int",0},
4303 { "_size_t","_wxWindowID",0},
4304 { "_size_t","_uint",0},
4120ef2b 4305 { "_uint","_wxCoord",0},
2d091820 4306 { "_uint","_wxPrintQuality",0},
c368d904 4307 { "_uint","_time_t",0},
2d091820
RD
4308 { "_uint","_size_t",0},
4309 { "_uint","_unsigned_int",0},
4310 { "_uint","_int",0},
4311 { "_uint","_wxWindowID",0},
f6bcfd97 4312 { "_wxChar","_char",0},
f6bcfd97 4313 { "_char","_wxChar",0},
4120ef2b 4314 { "_EBool","_wxCoord",0},
2d091820
RD
4315 { "_EBool","_wxPrintQuality",0},
4316 { "_EBool","_signed_int",0},
4317 { "_EBool","_int",0},
4318 { "_EBool","_wxWindowID",0},
2d091820 4319 { "_unsigned_long","_long",0},
4120ef2b 4320 { "_signed_int","_wxCoord",0},
2d091820
RD
4321 { "_signed_int","_wxPrintQuality",0},
4322 { "_signed_int","_EBool",0},
4323 { "_signed_int","_wxWindowID",0},
4324 { "_signed_int","_int",0},
2d091820
RD
4325 { "_WXTYPE","_short",0},
4326 { "_WXTYPE","_signed_short",0},
4327 { "_WXTYPE","_unsigned_short",0},
4328 { "_unsigned_short","_WXTYPE",0},
4329 { "_unsigned_short","_short",0},
9416aa89 4330 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject},
9416aa89 4331 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject},
9416aa89 4332 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject},
9416aa89 4333 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject},
2d091820
RD
4334 { "_signed_short","_WXTYPE",0},
4335 { "_signed_short","_short",0},
2d091820 4336 { "_unsigned_char","_byte",0},
4120ef2b 4337 { "_unsigned_int","_wxCoord",0},
2d091820 4338 { "_unsigned_int","_wxPrintQuality",0},
c368d904 4339 { "_unsigned_int","_time_t",0},
2d091820
RD
4340 { "_unsigned_int","_size_t",0},
4341 { "_unsigned_int","_uint",0},
4342 { "_unsigned_int","_wxWindowID",0},
4343 { "_unsigned_int","_int",0},
4344 { "_short","_WXTYPE",0},
4345 { "_short","_unsigned_short",0},
4346 { "_short","_signed_short",0},
4120ef2b 4347 { "_wxWindowID","_wxCoord",0},
2d091820 4348 { "_wxWindowID","_wxPrintQuality",0},
c368d904 4349 { "_wxWindowID","_time_t",0},
2d091820
RD
4350 { "_wxWindowID","_size_t",0},
4351 { "_wxWindowID","_EBool",0},
4352 { "_wxWindowID","_uint",0},
4353 { "_wxWindowID","_int",0},
4354 { "_wxWindowID","_signed_int",0},
4355 { "_wxWindowID","_unsigned_int",0},
4120ef2b 4356 { "_int","_wxCoord",0},
2d091820 4357 { "_int","_wxPrintQuality",0},
c368d904 4358 { "_int","_time_t",0},
2d091820
RD
4359 { "_int","_size_t",0},
4360 { "_int","_EBool",0},
4361 { "_int","_uint",0},
4362 { "_int","_wxWindowID",0},
4363 { "_int","_unsigned_int",0},
4364 { "_int","_signed_int",0},
c368d904
RD
4365 { "_time_t","_wxCoord",0},
4366 { "_time_t","_wxPrintQuality",0},
4367 { "_time_t","_unsigned_int",0},
4368 { "_time_t","_int",0},
4369 { "_time_t","_wxWindowID",0},
4370 { "_time_t","_uint",0},
4371 { "_time_t","_size_t",0},
4120ef2b
RD
4372 { "_wxCoord","_int",0},
4373 { "_wxCoord","_signed_int",0},
4374 { "_wxCoord","_unsigned_int",0},
4375 { "_wxCoord","_wxWindowID",0},
4376 { "_wxCoord","_uint",0},
4377 { "_wxCoord","_EBool",0},
4378 { "_wxCoord","_size_t",0},
c368d904 4379 { "_wxCoord","_time_t",0},
4120ef2b 4380 { "_wxCoord","_wxPrintQuality",0},
2d091820
RD
4381{0,0,0}};
4382
70551f47
RD
4383static PyObject *SWIG_globals;
4384#ifdef __cplusplus
4385extern "C"
4386#endif
2d091820 4387SWIGEXPORT(void) initmiscc() {
70551f47
RD
4388 PyObject *m, *d;
4389 SWIG_globals = SWIG_newvarlink();
4390 m = Py_InitModule("miscc", misccMethods);
4391 d = PyModule_GetDict(m);
4392 PyDict_SetItemString(d,"wxLeft", PyInt_FromLong((long) wxLeft));
4393 PyDict_SetItemString(d,"wxTop", PyInt_FromLong((long) wxTop));
4394 PyDict_SetItemString(d,"wxRight", PyInt_FromLong((long) wxRight));
4395 PyDict_SetItemString(d,"wxBottom", PyInt_FromLong((long) wxBottom));
4396 PyDict_SetItemString(d,"wxWidth", PyInt_FromLong((long) wxWidth));
4397 PyDict_SetItemString(d,"wxHeight", PyInt_FromLong((long) wxHeight));
4398 PyDict_SetItemString(d,"wxCentre", PyInt_FromLong((long) wxCentre));
4399 PyDict_SetItemString(d,"wxCenter", PyInt_FromLong((long) wxCenter));
4400 PyDict_SetItemString(d,"wxCentreX", PyInt_FromLong((long) wxCentreX));
4401 PyDict_SetItemString(d,"wxCentreY", PyInt_FromLong((long) wxCentreY));
4402 PyDict_SetItemString(d,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained));
4403 PyDict_SetItemString(d,"wxAsIs", PyInt_FromLong((long) wxAsIs));
4404 PyDict_SetItemString(d,"wxPercentOf", PyInt_FromLong((long) wxPercentOf));
4405 PyDict_SetItemString(d,"wxAbove", PyInt_FromLong((long) wxAbove));
4406 PyDict_SetItemString(d,"wxBelow", PyInt_FromLong((long) wxBelow));
4407 PyDict_SetItemString(d,"wxLeftOf", PyInt_FromLong((long) wxLeftOf));
4408 PyDict_SetItemString(d,"wxRightOf", PyInt_FromLong((long) wxRightOf));
4409 PyDict_SetItemString(d,"wxSameAs", PyInt_FromLong((long) wxSameAs));
4410 PyDict_SetItemString(d,"wxAbsolute", PyInt_FromLong((long) wxAbsolute));
f6bcfd97
BP
4411 PyDict_SetItemString(d,"cvar", SWIG_globals);
4412 SWIG_addvarlink(SWIG_globals,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get, _wrap_wxNullAcceleratorTable_set);
2d091820
RD
4413{
4414 int i;
4415 for (i = 0; _swig_mapping[i].n1; i++)
4416 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
4417}
70551f47 4418}