]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/misc.cpp
SWIGged updates for wxMac
[wxWidgets.git] / wxPython / src / gtk / misc.cpp
CommitLineData
70551f47 1/*
c368d904 2 * FILE : src/gtk/misc.cpp
70551f47
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
70551f47
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
b67a9327
RD
22#include "Python.h"
23
70551f47
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
2d091820 29# define SWIGEXPORT(a) __declspec(dllexport) a
70551f47
RD
30# else
31# if defined(__BORLANDC__)
3bcd5e1c 32# define SWIGEXPORT(a) a _export
70551f47 33# else
3bcd5e1c 34# define SWIGEXPORT(a) a
70551f47
RD
35# endif
36# endif
37#else
3bcd5e1c 38# define SWIGEXPORT(a) a
70551f47
RD
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
70551f47
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
70551f47
RD
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
70551f47
RD
53#define SWIG_init initmiscc
54
55#define SWIG_name "miscc"
56
57#include "helpers.h"
58#include <wx/resource.h>
21f8d7ea 59#include <wx/tooltip.h>
4120ef2b 60#include <wx/busyinfo.h>
b67a9327 61#include <wx/geometry.h>
70551f47 62
70551f47
RD
63
64static PyObject* t_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 PyObject* o3;
67
3bcd5e1c 68 if (!target) {
70551f47 69 target = o;
3bcd5e1c 70 } else if (target == Py_None) {
70551f47
RD
71 Py_DECREF(Py_None);
72 target = o;
3bcd5e1c 73 } else {
70551f47
RD
74 if (!PyTuple_Check(target)) {
75 o2 = target;
76 target = PyTuple_New(1);
77 PyTuple_SetItem(target, 0, o2);
78 }
3bcd5e1c
RD
79 o3 = PyTuple_New(1);
80 PyTuple_SetItem(o3, 0, o);
70551f47
RD
81
82 o2 = target;
3bcd5e1c
RD
83 target = PySequence_Concat(o2, o3);
84 Py_DECREF(o2);
70551f47
RD
85 Py_DECREF(o3);
86 }
87 return target;
88}
89
9a74fcaf
RD
90 // Put some wx default wxChar* values into wxStrings.
91 static const wxString wxPyEmptyString(wxT(""));
92
56f5d962
RD
93 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
94 wxRegion reg1(*r1);
95 wxRegion reg2(*r2);
96 wxRect dest(0,0,0,0);
97 PyObject* obj;
98
99 reg1.Intersect(reg2);
100 dest = reg1.GetBox();
101
102 if (dest != wxRect(0,0,0,0)) {
474c48f9 103 wxPyBeginBlockThreads();
56f5d962 104 wxRect* newRect = new wxRect(dest);
b67a9327 105 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"));
2cd2fac8
RD
106 PyObject* one = PyInt_FromLong(1);
107 PyObject_SetAttrString(obj, "thisown", one);
108 Py_DECREF(one);
474c48f9 109 wxPyEndBlockThreads();
56f5d962
RD
110 return obj;
111 }
112 Py_INCREF(Py_None);
113 return Py_None;
114 }
115
f6bcfd97
BP
116#if 0 // we want to use the definition from the header, not the
117 // one SWIG will generate.
118extern wxAcceleratorTable wxNullAcceleratorTable;
119
120#endif
bc29c5e0
RD
121#ifdef __cplusplus
122extern "C" {
123#endif
56f5d962
RD
124static PyObject *_wrap_wxIntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
125 PyObject * _resultobj;
126 PyObject * _result;
127 wxRect * _arg0;
128 wxRect * _arg1;
129 wxRect temp;
130 PyObject * _obj0 = 0;
131 wxRect temp0;
132 PyObject * _obj1 = 0;
133 char *_kwnames[] = { "r1","r2", NULL };
134
135 self = self;
136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIntersectRect",_kwnames,&_obj0,&_obj1))
137 return NULL;
138{
139 _arg0 = &temp;
140 if (! wxRect_helper(_obj0, &_arg0))
141 return NULL;
142}
143{
144 _arg1 = &temp0;
145 if (! wxRect_helper(_obj1, &_arg1))
146 return NULL;
147}
148{
474c48f9 149 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 150 _result = (PyObject *)wxIntersectRect(_arg0,_arg1);
56f5d962 151
474c48f9 152 wxPyEndAllowThreads(__tstate);
4dfaa61e 153 if (PyErr_Occurred()) return NULL;
56f5d962
RD
154}{
155 _resultobj = _result;
156}
157 return _resultobj;
158}
159
107e4716 160static PyObject *_wrap_wxNewId(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
161 PyObject * _resultobj;
162 long _result;
107e4716 163 char *_kwnames[] = { NULL };
ab9bc19b
RD
164
165 self = self;
107e4716 166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxNewId",_kwnames))
ab9bc19b
RD
167 return NULL;
168{
474c48f9 169 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 170 _result = (long )wxNewId();
ab9bc19b 171
474c48f9 172 wxPyEndAllowThreads(__tstate);
4dfaa61e 173 if (PyErr_Occurred()) return NULL;
ab9bc19b
RD
174} _resultobj = Py_BuildValue("l",_result);
175 return _resultobj;
176}
177
107e4716 178static PyObject *_wrap_wxRegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
179 PyObject * _resultobj;
180 long _arg0;
107e4716 181 char *_kwnames[] = { "id", NULL };
ab9bc19b
RD
182
183 self = self;
107e4716 184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxRegisterId",_kwnames,&_arg0))
ab9bc19b
RD
185 return NULL;
186{
474c48f9 187 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 188 wxRegisterId(_arg0);
ab9bc19b 189
474c48f9 190 wxPyEndAllowThreads(__tstate);
4dfaa61e 191 if (PyErr_Occurred()) return NULL;
ab9bc19b 192} Py_INCREF(Py_None);
70551f47
RD
193 _resultobj = Py_None;
194 return _resultobj;
195}
196
5e40f9dd
RD
197static PyObject *_wrap_wxGetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
198 PyObject * _resultobj;
199 long _result;
200 char *_kwnames[] = { NULL };
201
202 self = self;
203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetCurrentId",_kwnames))
204 return NULL;
205{
474c48f9 206 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 207 _result = (long )wxGetCurrentId();
5e40f9dd 208
474c48f9 209 wxPyEndAllowThreads(__tstate);
4dfaa61e 210 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
211} _resultobj = Py_BuildValue("l",_result);
212 return _resultobj;
213}
214
107e4716 215static PyObject *_wrap_wxBell(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 216 PyObject * _resultobj;
107e4716 217 char *_kwnames[] = { NULL };
70551f47
RD
218
219 self = self;
107e4716 220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxBell",_kwnames))
70551f47 221 return NULL;
ab9bc19b 222{
474c48f9 223 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 224 wxBell();
ab9bc19b 225
474c48f9 226 wxPyEndAllowThreads(__tstate);
4dfaa61e 227 if (PyErr_Occurred()) return NULL;
ab9bc19b 228} Py_INCREF(Py_None);
70551f47
RD
229 _resultobj = Py_None;
230 return _resultobj;
231}
232
bc29c5e0 233static PyObject *_wrap_wxEndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb 234 PyObject * _resultobj;
bc29c5e0 235 char *_kwnames[] = { NULL };
d24a34bb
RD
236
237 self = self;
bc29c5e0 238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxEndBusyCursor",_kwnames))
d24a34bb 239 return NULL;
d24a34bb 240{
474c48f9 241 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 242 wxEndBusyCursor();
d24a34bb 243
474c48f9 244 wxPyEndAllowThreads(__tstate);
4dfaa61e 245 if (PyErr_Occurred()) return NULL;
d24a34bb
RD
246} Py_INCREF(Py_None);
247 _resultobj = Py_None;
248 return _resultobj;
249}
250
bc29c5e0 251static PyObject *_wrap_wxGetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 252 PyObject * _resultobj;
bc29c5e0
RD
253 long _result;
254 bool _arg0 = (bool ) TRUE;
255 int tempbool0 = (int) TRUE;
256 char *_kwnames[] = { "resetTimer", NULL };
70551f47
RD
257
258 self = self;
bc29c5e0 259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxGetElapsedTime",_kwnames,&tempbool0))
70551f47 260 return NULL;
bc29c5e0 261 _arg0 = (bool ) tempbool0;
ab9bc19b 262{
474c48f9 263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 264 _result = (long )wxGetElapsedTime(_arg0);
ab9bc19b 265
474c48f9 266 wxPyEndAllowThreads(__tstate);
4dfaa61e 267 if (PyErr_Occurred()) return NULL;
bc29c5e0 268} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
269 return _resultobj;
270}
271
bc29c5e0 272static PyObject *_wrap_wxGetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 273 PyObject * _resultobj;
bc29c5e0
RD
274 int * _arg0;
275 int temp;
276 int * _arg1;
277 int temp0;
107e4716 278 char *_kwnames[] = { NULL };
70551f47
RD
279
280 self = self;
bc29c5e0
RD
281{
282 _arg0 = &temp;
283}
284{
285 _arg1 = &temp0;
286}
287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetMousePosition",_kwnames))
70551f47 288 return NULL;
ab9bc19b 289{
474c48f9 290 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 291 wxGetMousePosition(_arg0,_arg1);
ab9bc19b 292
474c48f9 293 wxPyEndAllowThreads(__tstate);
4dfaa61e 294 if (PyErr_Occurred()) return NULL;
ab9bc19b 295} Py_INCREF(Py_None);
70551f47 296 _resultobj = Py_None;
bc29c5e0
RD
297{
298 PyObject *o;
299 o = PyInt_FromLong((long) (*_arg0));
300 _resultobj = t_output_helper(_resultobj, o);
301}
302{
303 PyObject *o;
304 o = PyInt_FromLong((long) (*_arg1));
305 _resultobj = t_output_helper(_resultobj, o);
306}
70551f47
RD
307 return _resultobj;
308}
309
bc29c5e0 310static PyObject *_wrap_wxIsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 311 PyObject * _resultobj;
bc29c5e0
RD
312 bool _result;
313 char *_kwnames[] = { NULL };
70551f47
RD
314
315 self = self;
bc29c5e0 316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxIsBusy",_kwnames))
70551f47 317 return NULL;
ab9bc19b 318{
474c48f9 319 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 320 _result = (bool )wxIsBusy();
ab9bc19b 321
474c48f9 322 wxPyEndAllowThreads(__tstate);
4dfaa61e 323 if (PyErr_Occurred()) return NULL;
bc29c5e0 324} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
325 return _resultobj;
326}
327
bc29c5e0 328static PyObject *_wrap_wxNow(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 329 PyObject * _resultobj;
bc29c5e0
RD
330 wxString * _result;
331 char *_kwnames[] = { NULL };
70551f47
RD
332
333 self = self;
bc29c5e0 334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxNow",_kwnames))
70551f47 335 return NULL;
ab9bc19b 336{
474c48f9 337 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 338 _result = new wxString (wxNow());
ab9bc19b 339
474c48f9 340 wxPyEndAllowThreads(__tstate);
4dfaa61e 341 if (PyErr_Occurred()) return NULL;
bc29c5e0 342}{
c8bc7bb8 343#if wxUSE_UNICODE
b67a9327 344 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 345#else
e02c03a4 346 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 347#endif
bc29c5e0
RD
348}
349{
350 delete _result;
351}
70551f47
RD
352 return _resultobj;
353}
354
bc29c5e0 355static PyObject *_wrap_wxShell(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 356 PyObject * _resultobj;
bc29c5e0 357 bool _result;
9a74fcaf 358 wxString * _arg0 = (wxString *) &wxPyEmptyString;
bc29c5e0
RD
359 PyObject * _obj0 = 0;
360 char *_kwnames[] = { "command", NULL };
70551f47
RD
361
362 self = self;
bc29c5e0
RD
363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxShell",_kwnames,&_obj0))
364 return NULL;
365 if (_obj0)
366{
c8bc7bb8
RD
367 _arg0 = wxString_in_helper(_obj0);
368 if (_arg0 == NULL)
2cd2fac8 369 return NULL;
bc29c5e0 370}
ab9bc19b 371{
474c48f9 372 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 373 _result = (bool )wxShell(*_arg0);
ab9bc19b 374
474c48f9 375 wxPyEndAllowThreads(__tstate);
4dfaa61e 376 if (PyErr_Occurred()) return NULL;
bc29c5e0
RD
377} _resultobj = Py_BuildValue("i",_result);
378{
379 if (_obj0)
380 delete _arg0;
381}
70551f47
RD
382 return _resultobj;
383}
384
bc29c5e0 385static PyObject *_wrap_wxStartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 386 PyObject * _resultobj;
bc29c5e0 387 char *_kwnames[] = { NULL };
70551f47
RD
388
389 self = self;
bc29c5e0 390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxStartTimer",_kwnames))
70551f47 391 return NULL;
ab9bc19b 392{
474c48f9 393 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 394 wxStartTimer();
ab9bc19b 395
474c48f9 396 wxPyEndAllowThreads(__tstate);
4dfaa61e 397 if (PyErr_Occurred()) return NULL;
bc29c5e0
RD
398} Py_INCREF(Py_None);
399 _resultobj = Py_None;
70551f47
RD
400 return _resultobj;
401}
402
bc29c5e0 403static PyObject *_wrap_wxGetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 404 PyObject * _resultobj;
bc29c5e0
RD
405 int _result;
406 int * _arg0;
407 int temp;
408 int * _arg1;
409 int temp0;
410 char *_kwnames[] = { NULL };
70551f47
RD
411
412 self = self;
bc29c5e0
RD
413{
414 _arg0 = &temp;
415}
416{
417 _arg1 = &temp0;
418}
419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetOsVersion",_kwnames))
70551f47 420 return NULL;
ab9bc19b 421{
474c48f9 422 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 423 _result = (int )wxGetOsVersion(_arg0,_arg1);
ab9bc19b 424
474c48f9 425 wxPyEndAllowThreads(__tstate);
4dfaa61e 426 if (PyErr_Occurred()) return NULL;
ab9bc19b 427} _resultobj = Py_BuildValue("i",_result);
bc29c5e0
RD
428{
429 PyObject *o;
430 o = PyInt_FromLong((long) (*_arg0));
431 _resultobj = t_output_helper(_resultobj, o);
432}
433{
434 PyObject *o;
435 o = PyInt_FromLong((long) (*_arg1));
436 _resultobj = t_output_helper(_resultobj, o);
437}
70551f47
RD
438 return _resultobj;
439}
440
c368d904
RD
441static PyObject *_wrap_wxGetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
442 PyObject * _resultobj;
443 wxString * _result;
444 char *_kwnames[] = { NULL };
445
446 self = self;
447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetOsDescription",_kwnames))
448 return NULL;
449{
474c48f9 450 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 451 _result = new wxString (wxGetOsDescription());
c368d904 452
474c48f9 453 wxPyEndAllowThreads(__tstate);
4dfaa61e 454 if (PyErr_Occurred()) return NULL;
c368d904 455}{
c8bc7bb8 456#if wxUSE_UNICODE
b67a9327 457 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 458#else
c368d904 459 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 460#endif
c368d904
RD
461}
462{
463 delete _result;
464}
465 return _resultobj;
466}
467
12d1116b
RD
468static PyObject *_wrap_wxShutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
469 PyObject * _resultobj;
470 bool _result;
471 wxShutdownFlags _arg0;
472 char *_kwnames[] = { "wFlags", NULL };
473
474 self = self;
475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxShutdown",_kwnames,&_arg0))
476 return NULL;
477{
478 PyThreadState* __tstate = wxPyBeginAllowThreads();
479 _result = (bool )wxShutdown(_arg0);
480
481 wxPyEndAllowThreads(__tstate);
482 if (PyErr_Occurred()) return NULL;
483} _resultobj = Py_BuildValue("i",_result);
484 return _resultobj;
485}
486
bc29c5e0 487static PyObject *_wrap_wxSleep(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 488 PyObject * _resultobj;
bc29c5e0
RD
489 int _arg0;
490 char *_kwnames[] = { "secs", NULL };
70551f47
RD
491
492 self = self;
bc29c5e0 493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSleep",_kwnames,&_arg0))
70551f47 494 return NULL;
ab9bc19b 495{
474c48f9 496 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 497 wxSleep(_arg0);
ab9bc19b 498
474c48f9 499 wxPyEndAllowThreads(__tstate);
4dfaa61e 500 if (PyErr_Occurred()) return NULL;
bc29c5e0
RD
501} Py_INCREF(Py_None);
502 _resultobj = Py_None;
70551f47
RD
503 return _resultobj;
504}
505
c368d904 506static PyObject *_wrap_wxUsleep(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 507 PyObject * _resultobj;
c368d904
RD
508 unsigned long _arg0;
509 char *_kwnames[] = { "milliseconds", NULL };
70551f47
RD
510
511 self = self;
c368d904 512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxUsleep",_kwnames,&_arg0))
70551f47 513 return NULL;
ab9bc19b 514{
474c48f9 515 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 516 wxUsleep(_arg0);
ab9bc19b 517
474c48f9 518 wxPyEndAllowThreads(__tstate);
4dfaa61e 519 if (PyErr_Occurred()) return NULL;
c368d904
RD
520} Py_INCREF(Py_None);
521 _resultobj = Py_None;
70551f47
RD
522 return _resultobj;
523}
524
c368d904 525static PyObject *_wrap_wxYield(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 526 PyObject * _resultobj;
bc29c5e0
RD
527 bool _result;
528 char *_kwnames[] = { NULL };
8bf5d46e
RD
529
530 self = self;
c368d904 531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxYield",_kwnames))
8bf5d46e
RD
532 return NULL;
533{
474c48f9 534 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 535 _result = (bool )wxYield();
8bf5d46e 536
474c48f9 537 wxPyEndAllowThreads(__tstate);
4dfaa61e 538 if (PyErr_Occurred()) return NULL;
bc29c5e0 539} _resultobj = Py_BuildValue("i",_result);
8bf5d46e
RD
540 return _resultobj;
541}
542
5e40f9dd
RD
543static PyObject *_wrap_wxYieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
544 PyObject * _resultobj;
545 bool _result;
546 char *_kwnames[] = { NULL };
547
548 self = self;
549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxYieldIfNeeded",_kwnames))
550 return NULL;
551{
474c48f9 552 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 553 _result = (bool )wxYieldIfNeeded();
5e40f9dd 554
474c48f9 555 wxPyEndAllowThreads(__tstate);
4dfaa61e 556 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
557} _resultobj = Py_BuildValue("i",_result);
558 return _resultobj;
559}
560
bc29c5e0 561static PyObject *_wrap_wxEnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e 562 PyObject * _resultobj;
bc29c5e0
RD
563 bool _arg0;
564 int tempbool0;
565 char *_kwnames[] = { "enable", NULL };
8bf5d46e
RD
566
567 self = self;
bc29c5e0 568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxEnableTopLevelWindows",_kwnames,&tempbool0))
8bf5d46e 569 return NULL;
bc29c5e0 570 _arg0 = (bool ) tempbool0;
8bf5d46e 571{
474c48f9 572 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 573 wxEnableTopLevelWindows(_arg0);
8bf5d46e 574
474c48f9 575 wxPyEndAllowThreads(__tstate);
4dfaa61e 576 if (PyErr_Occurred()) return NULL;
bc29c5e0
RD
577} Py_INCREF(Py_None);
578 _resultobj = Py_None;
8bf5d46e
RD
579 return _resultobj;
580}
581
d29aba2f
RD
582static PyObject *_wrap_wxStripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
583 PyObject * _resultobj;
584 wxString * _result;
585 wxString * _arg0;
586 PyObject * _obj0 = 0;
587 char *_kwnames[] = { "in", NULL };
588
589 self = self;
590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStripMenuCodes",_kwnames,&_obj0))
591 return NULL;
592{
c8bc7bb8
RD
593 _arg0 = wxString_in_helper(_obj0);
594 if (_arg0 == NULL)
2cd2fac8 595 return NULL;
d29aba2f
RD
596}
597{
474c48f9 598 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 599 _result = new wxString (wxStripMenuCodes(*_arg0));
d29aba2f 600
474c48f9 601 wxPyEndAllowThreads(__tstate);
4dfaa61e 602 if (PyErr_Occurred()) return NULL;
d29aba2f 603}{
c8bc7bb8 604#if wxUSE_UNICODE
b67a9327 605 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 606#else
e02c03a4 607 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 608#endif
d29aba2f
RD
609}
610{
611 if (_obj0)
612 delete _arg0;
613}
614{
615 delete _result;
616}
617 return _resultobj;
618}
619
c368d904
RD
620static PyObject *_wrap_wxGetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
621 PyObject * _resultobj;
622 wxString * _result;
623 char *_kwnames[] = { NULL };
624
625 self = self;
626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetEmailAddress",_kwnames))
627 return NULL;
628{
474c48f9 629 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 630 _result = new wxString (wxGetEmailAddress());
c368d904 631
474c48f9 632 wxPyEndAllowThreads(__tstate);
4dfaa61e 633 if (PyErr_Occurred()) return NULL;
c368d904 634}{
c8bc7bb8 635#if wxUSE_UNICODE
b67a9327 636 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 637#else
c368d904 638 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 639#endif
c368d904
RD
640}
641{
642 delete _result;
643}
644 return _resultobj;
645}
646
647static PyObject *_wrap_wxGetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
648 PyObject * _resultobj;
649 wxString * _result;
650 char *_kwnames[] = { NULL };
651
652 self = self;
653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetHostName",_kwnames))
654 return NULL;
655{
474c48f9 656 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 657 _result = new wxString (wxGetHostName());
c368d904 658
474c48f9 659 wxPyEndAllowThreads(__tstate);
4dfaa61e 660 if (PyErr_Occurred()) return NULL;
c368d904 661}{
c8bc7bb8 662#if wxUSE_UNICODE
b67a9327 663 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 664#else
c368d904 665 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 666#endif
c368d904
RD
667}
668{
669 delete _result;
670}
671 return _resultobj;
672}
673
674static PyObject *_wrap_wxGetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
675 PyObject * _resultobj;
676 wxString * _result;
677 char *_kwnames[] = { NULL };
678
679 self = self;
680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetFullHostName",_kwnames))
681 return NULL;
682{
474c48f9 683 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 684 _result = new wxString (wxGetFullHostName());
c368d904 685
474c48f9 686 wxPyEndAllowThreads(__tstate);
4dfaa61e 687 if (PyErr_Occurred()) return NULL;
c368d904 688}{
c8bc7bb8 689#if wxUSE_UNICODE
b67a9327 690 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 691#else
c368d904 692 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 693#endif
c368d904
RD
694}
695{
696 delete _result;
697}
698 return _resultobj;
699}
700
701static PyObject *_wrap_wxGetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
702 PyObject * _resultobj;
703 wxString * _result;
704 char *_kwnames[] = { NULL };
705
706 self = self;
707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetUserId",_kwnames))
708 return NULL;
709{
474c48f9 710 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 711 _result = new wxString (wxGetUserId());
c368d904 712
474c48f9 713 wxPyEndAllowThreads(__tstate);
4dfaa61e 714 if (PyErr_Occurred()) return NULL;
c368d904 715}{
c8bc7bb8 716#if wxUSE_UNICODE
b67a9327 717 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 718#else
c368d904 719 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 720#endif
c368d904
RD
721}
722{
723 delete _result;
724}
725 return _resultobj;
726}
727
728static PyObject *_wrap_wxGetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
729 PyObject * _resultobj;
730 wxString * _result;
731 char *_kwnames[] = { NULL };
732
733 self = self;
734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetUserName",_kwnames))
735 return NULL;
736{
474c48f9 737 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 738 _result = new wxString (wxGetUserName());
c368d904 739
474c48f9 740 wxPyEndAllowThreads(__tstate);
4dfaa61e 741 if (PyErr_Occurred()) return NULL;
c368d904 742}{
c8bc7bb8 743#if wxUSE_UNICODE
b67a9327 744 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 745#else
c368d904 746 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 747#endif
c368d904
RD
748}
749{
750 delete _result;
751}
752 return _resultobj;
753}
754
755static PyObject *_wrap_wxGetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
756 PyObject * _resultobj;
757 wxString * _result;
758 char *_kwnames[] = { NULL };
759
760 self = self;
761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetHomeDir",_kwnames))
762 return NULL;
763{
474c48f9 764 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 765 _result = new wxString (wxGetHomeDir());
c368d904 766
474c48f9 767 wxPyEndAllowThreads(__tstate);
4dfaa61e 768 if (PyErr_Occurred()) return NULL;
c368d904 769}{
c8bc7bb8 770#if wxUSE_UNICODE
b67a9327 771 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 772#else
c368d904 773 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 774#endif
c368d904
RD
775}
776{
777 delete _result;
778}
779 return _resultobj;
780}
781
5d413391
RD
782static PyObject *_wrap_wxGetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
783 PyObject * _resultobj;
784 wxString * _result;
9a74fcaf
RD
785 wxString * _arg0 = (wxString *) &wxPyEmptyString;
786 PyObject * _obj0 = 0;
5d413391
RD
787 char *_kwnames[] = { "user", NULL };
788
789 self = self;
9a74fcaf
RD
790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxGetUserHome",_kwnames,&_obj0))
791 return NULL;
792 if (_obj0)
793{
794 _arg0 = wxString_in_helper(_obj0);
795 if (_arg0 == NULL)
5d413391 796 return NULL;
9a74fcaf 797}
5d413391
RD
798{
799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 800 _result = new wxString (wxGetUserHome(*_arg0));
5d413391
RD
801
802 wxPyEndAllowThreads(__tstate);
803 if (PyErr_Occurred()) return NULL;
804}{
c8bc7bb8 805#if wxUSE_UNICODE
b67a9327 806 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 807#else
5d413391 808 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 809#endif
5d413391 810}
9a74fcaf
RD
811{
812 if (_obj0)
813 delete _arg0;
814}
5d413391
RD
815{
816 delete _result;
817}
818 return _resultobj;
819}
820
8f8b0a8d
RD
821static PyObject *_wrap_wxGetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
822 PyObject * _resultobj;
823 unsigned long _result;
824 char *_kwnames[] = { NULL };
825
826 self = self;
827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetProcessId",_kwnames))
828 return NULL;
829{
830 PyThreadState* __tstate = wxPyBeginAllowThreads();
831 _result = (unsigned long )wxGetProcessId();
832
833 wxPyEndAllowThreads(__tstate);
834 if (PyErr_Occurred()) return NULL;
835} _resultobj = Py_BuildValue("l",_result);
836 return _resultobj;
837}
838
c368d904
RD
839static PyObject *_wrap_wxGetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
840 PyObject * _resultobj;
841 wxAcceleratorEntry * _result;
842 wxString * _arg0;
843 PyObject * _obj0 = 0;
844 char *_kwnames[] = { "label", NULL };
845 char _ptemp[128];
846
847 self = self;
848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGetAccelFromString",_kwnames,&_obj0))
849 return NULL;
850{
c8bc7bb8
RD
851 _arg0 = wxString_in_helper(_obj0);
852 if (_arg0 == NULL)
2cd2fac8 853 return NULL;
c368d904
RD
854}
855{
474c48f9 856 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 857 _result = (wxAcceleratorEntry *)wxGetAccelFromString(*_arg0);
c368d904 858
474c48f9 859 wxPyEndAllowThreads(__tstate);
4dfaa61e 860 if (PyErr_Occurred()) return NULL;
c368d904
RD
861} if (_result) {
862 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
863 _resultobj = Py_BuildValue("s",_ptemp);
864 } else {
865 Py_INCREF(Py_None);
866 _resultobj = Py_None;
867 }
868{
869 if (_obj0)
870 delete _arg0;
871}
872 return _resultobj;
873}
874
f6bcfd97
BP
875static int _wrap_wxNullAcceleratorTable_set(PyObject *val) {
876
877 PyErr_SetString(PyExc_TypeError,"Variable wxNullAcceleratorTable is read-only.");
878 return 1;
879}
880
881static PyObject *_wrap_wxNullAcceleratorTable_get() {
882 PyObject * pyobj;
883 char ptemp[128];
884
885 SWIG_MakePtr(ptemp,(char *) &wxNullAcceleratorTable,"_wxAcceleratorTable_p");
886 pyobj = PyString_FromString(ptemp);
887 return pyobj;
888}
889
c8bc7bb8 890static wxString wxObject_GetClassName(wxObject *self) {
9df61a29
RD
891 return self->GetClassInfo()->GetClassName();
892 }
893static PyObject *_wrap_wxObject_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
894 PyObject * _resultobj;
c8bc7bb8 895 wxString * _result;
9df61a29
RD
896 wxObject * _arg0;
897 PyObject * _argo0 = 0;
898 char *_kwnames[] = { "self", NULL };
899
900 self = self;
901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxObject_GetClassName",_kwnames,&_argo0))
902 return NULL;
903 if (_argo0) {
904 if (_argo0 == Py_None) { _arg0 = NULL; }
905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxObject_p")) {
906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
907 return NULL;
908 }
909 }
910{
474c48f9 911 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 912 _result = new wxString (wxObject_GetClassName(_arg0));
9df61a29 913
474c48f9 914 wxPyEndAllowThreads(__tstate);
4dfaa61e 915 if (PyErr_Occurred()) return NULL;
c8bc7bb8
RD
916}{
917#if wxUSE_UNICODE
b67a9327 918 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8
RD
919#else
920 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
921#endif
922}
923{
924 delete _result;
925}
9df61a29
RD
926 return _resultobj;
927}
928
929static void wxObject_Destroy(wxObject *self) {
930 delete self;
931 }
932static PyObject *_wrap_wxObject_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
933 PyObject * _resultobj;
934 wxObject * _arg0;
935 PyObject * _argo0 = 0;
936 char *_kwnames[] = { "self", NULL };
937
938 self = self;
939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxObject_Destroy",_kwnames,&_argo0))
940 return NULL;
941 if (_argo0) {
942 if (_argo0 == Py_None) { _arg0 = NULL; }
943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxObject_p")) {
944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
945 return NULL;
946 }
947 }
948{
474c48f9 949 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 950 wxObject_Destroy(_arg0);
9df61a29 951
474c48f9 952 wxPyEndAllowThreads(__tstate);
4dfaa61e 953 if (PyErr_Occurred()) return NULL;
9df61a29
RD
954} Py_INCREF(Py_None);
955 _resultobj = Py_None;
956 return _resultobj;
957}
958
70551f47 959#define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
107e4716 960static PyObject *_wrap_wxSize_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
961 PyObject * _resultobj;
962 long _result;
963 wxSize * _arg0;
964 long _arg1;
37f6a977
RD
965 wxSize temp;
966 PyObject * _obj0 = 0;
107e4716 967 char *_kwnames[] = { "self","x", NULL };
70551f47
RD
968
969 self = self;
37f6a977 970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_x_set",_kwnames,&_obj0,&_arg1))
70551f47 971 return NULL;
37f6a977
RD
972{
973 _arg0 = &temp;
974 if (! wxSize_helper(_obj0, &_arg0))
70551f47 975 return NULL;
37f6a977 976}
ab9bc19b 977{
474c48f9 978 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 979 _result = (long )wxSize_x_set(_arg0,_arg1);
ab9bc19b 980
474c48f9 981 wxPyEndAllowThreads(__tstate);
4dfaa61e 982 if (PyErr_Occurred()) return NULL;
ab9bc19b 983} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
984 return _resultobj;
985}
986
987#define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
107e4716 988static PyObject *_wrap_wxSize_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
989 PyObject * _resultobj;
990 long _result;
991 wxSize * _arg0;
37f6a977
RD
992 wxSize temp;
993 PyObject * _obj0 = 0;
107e4716 994 char *_kwnames[] = { "self", NULL };
70551f47
RD
995
996 self = self;
37f6a977 997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_x_get",_kwnames,&_obj0))
70551f47 998 return NULL;
37f6a977
RD
999{
1000 _arg0 = &temp;
1001 if (! wxSize_helper(_obj0, &_arg0))
70551f47 1002 return NULL;
37f6a977 1003}
ab9bc19b 1004{
474c48f9 1005 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1006 _result = (long )wxSize_x_get(_arg0);
ab9bc19b 1007
474c48f9 1008 wxPyEndAllowThreads(__tstate);
4dfaa61e 1009 if (PyErr_Occurred()) return NULL;
ab9bc19b 1010} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1011 return _resultobj;
1012}
1013
1014#define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
107e4716 1015static PyObject *_wrap_wxSize_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1016 PyObject * _resultobj;
1017 long _result;
1018 wxSize * _arg0;
1019 long _arg1;
37f6a977
RD
1020 wxSize temp;
1021 PyObject * _obj0 = 0;
107e4716 1022 char *_kwnames[] = { "self","y", NULL };
70551f47
RD
1023
1024 self = self;
37f6a977 1025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_y_set",_kwnames,&_obj0,&_arg1))
70551f47 1026 return NULL;
37f6a977
RD
1027{
1028 _arg0 = &temp;
1029 if (! wxSize_helper(_obj0, &_arg0))
70551f47 1030 return NULL;
37f6a977 1031}
ab9bc19b 1032{
474c48f9 1033 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1034 _result = (long )wxSize_y_set(_arg0,_arg1);
ab9bc19b 1035
474c48f9 1036 wxPyEndAllowThreads(__tstate);
4dfaa61e 1037 if (PyErr_Occurred()) return NULL;
ab9bc19b 1038} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1039 return _resultobj;
1040}
1041
1042#define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
107e4716 1043static PyObject *_wrap_wxSize_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1044 PyObject * _resultobj;
1045 long _result;
1046 wxSize * _arg0;
37f6a977
RD
1047 wxSize temp;
1048 PyObject * _obj0 = 0;
107e4716 1049 char *_kwnames[] = { "self", NULL };
70551f47
RD
1050
1051 self = self;
37f6a977 1052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_y_get",_kwnames,&_obj0))
70551f47 1053 return NULL;
37f6a977
RD
1054{
1055 _arg0 = &temp;
1056 if (! wxSize_helper(_obj0, &_arg0))
70551f47 1057 return NULL;
37f6a977 1058}
ab9bc19b 1059{
474c48f9 1060 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1061 _result = (long )wxSize_y_get(_arg0);
ab9bc19b 1062
474c48f9 1063 wxPyEndAllowThreads(__tstate);
4dfaa61e 1064 if (PyErr_Occurred()) return NULL;
ab9bc19b 1065} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1066 return _resultobj;
1067}
1068
1069#define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
107e4716 1070static PyObject *_wrap_new_wxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1071 PyObject * _resultobj;
1072 wxSize * _result;
2d091820
RD
1073 long _arg0 = (long ) 0;
1074 long _arg1 = (long ) 0;
107e4716 1075 char *_kwnames[] = { "w","h", NULL };
70551f47
RD
1076 char _ptemp[128];
1077
1078 self = self;
107e4716 1079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ll:new_wxSize",_kwnames,&_arg0,&_arg1))
70551f47 1080 return NULL;
ab9bc19b 1081{
474c48f9 1082 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1083 _result = (wxSize *)new_wxSize(_arg0,_arg1);
ab9bc19b 1084
474c48f9 1085 wxPyEndAllowThreads(__tstate);
4dfaa61e 1086 if (PyErr_Occurred()) return NULL;
2d091820
RD
1087} if (_result) {
1088 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p");
1089 _resultobj = Py_BuildValue("s",_ptemp);
1090 } else {
1091 Py_INCREF(Py_None);
1092 _resultobj = Py_None;
1093 }
70551f47
RD
1094 return _resultobj;
1095}
1096
1097#define delete_wxSize(_swigobj) (delete _swigobj)
107e4716 1098static PyObject *_wrap_delete_wxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1099 PyObject * _resultobj;
1100 wxSize * _arg0;
37f6a977
RD
1101 wxSize temp;
1102 PyObject * _obj0 = 0;
107e4716 1103 char *_kwnames[] = { "self", NULL };
70551f47
RD
1104
1105 self = self;
37f6a977 1106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxSize",_kwnames,&_obj0))
70551f47 1107 return NULL;
37f6a977
RD
1108{
1109 _arg0 = &temp;
1110 if (! wxSize_helper(_obj0, &_arg0))
70551f47 1111 return NULL;
37f6a977 1112}
ab9bc19b 1113{
474c48f9 1114 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1115 delete_wxSize(_arg0);
ab9bc19b 1116
474c48f9 1117 wxPyEndAllowThreads(__tstate);
4dfaa61e 1118 if (PyErr_Occurred()) return NULL;
ab9bc19b 1119} Py_INCREF(Py_None);
70551f47
RD
1120 _resultobj = Py_None;
1121 return _resultobj;
1122}
1123
1124#define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
107e4716 1125static PyObject *_wrap_wxSize_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1126 PyObject * _resultobj;
1127 wxSize * _arg0;
1128 long _arg1;
1129 long _arg2;
37f6a977
RD
1130 wxSize temp;
1131 PyObject * _obj0 = 0;
107e4716 1132 char *_kwnames[] = { "self","w","h", NULL };
70551f47
RD
1133
1134 self = self;
37f6a977 1135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxSize_Set",_kwnames,&_obj0,&_arg1,&_arg2))
70551f47 1136 return NULL;
37f6a977
RD
1137{
1138 _arg0 = &temp;
1139 if (! wxSize_helper(_obj0, &_arg0))
70551f47 1140 return NULL;
37f6a977 1141}
ab9bc19b 1142{
474c48f9 1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1144 wxSize_Set(_arg0,_arg1,_arg2);
ab9bc19b 1145
474c48f9 1146 wxPyEndAllowThreads(__tstate);
4dfaa61e 1147 if (PyErr_Occurred()) return NULL;
ab9bc19b 1148} Py_INCREF(Py_None);
70551f47
RD
1149 _resultobj = Py_None;
1150 return _resultobj;
1151}
1152
21f8d7ea 1153#define wxSize_GetX(_swigobj) (_swigobj->GetX())
107e4716 1154static PyObject *_wrap_wxSize_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1155 PyObject * _resultobj;
1156 long _result;
1157 wxSize * _arg0;
37f6a977
RD
1158 wxSize temp;
1159 PyObject * _obj0 = 0;
107e4716 1160 char *_kwnames[] = { "self", NULL };
70551f47
RD
1161
1162 self = self;
37f6a977 1163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetX",_kwnames,&_obj0))
70551f47 1164 return NULL;
37f6a977
RD
1165{
1166 _arg0 = &temp;
1167 if (! wxSize_helper(_obj0, &_arg0))
70551f47 1168 return NULL;
37f6a977 1169}
ab9bc19b 1170{
474c48f9 1171 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1172 _result = (long )wxSize_GetX(_arg0);
ab9bc19b 1173
474c48f9 1174 wxPyEndAllowThreads(__tstate);
4dfaa61e 1175 if (PyErr_Occurred()) return NULL;
ab9bc19b 1176} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1177 return _resultobj;
1178}
1179
21f8d7ea 1180#define wxSize_GetY(_swigobj) (_swigobj->GetY())
107e4716 1181static PyObject *_wrap_wxSize_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1182 PyObject * _resultobj;
1183 long _result;
1184 wxSize * _arg0;
37f6a977
RD
1185 wxSize temp;
1186 PyObject * _obj0 = 0;
107e4716 1187 char *_kwnames[] = { "self", NULL };
70551f47
RD
1188
1189 self = self;
37f6a977 1190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetY",_kwnames,&_obj0))
70551f47 1191 return NULL;
37f6a977
RD
1192{
1193 _arg0 = &temp;
1194 if (! wxSize_helper(_obj0, &_arg0))
70551f47 1195 return NULL;
37f6a977 1196}
ab9bc19b 1197{
474c48f9 1198 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1199 _result = (long )wxSize_GetY(_arg0);
ab9bc19b 1200
474c48f9 1201 wxPyEndAllowThreads(__tstate);
4dfaa61e 1202 if (PyErr_Occurred()) return NULL;
ab9bc19b 1203} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1204 return _resultobj;
1205}
1206
d24a34bb 1207#define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
107e4716 1208static PyObject *_wrap_wxSize_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1209 PyObject * _resultobj;
1210 long _result;
1211 wxSize * _arg0;
37f6a977
RD
1212 wxSize temp;
1213 PyObject * _obj0 = 0;
107e4716 1214 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1215
1216 self = self;
37f6a977 1217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetWidth",_kwnames,&_obj0))
d24a34bb 1218 return NULL;
37f6a977
RD
1219{
1220 _arg0 = &temp;
1221 if (! wxSize_helper(_obj0, &_arg0))
d24a34bb 1222 return NULL;
37f6a977 1223}
d24a34bb 1224{
474c48f9 1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1226 _result = (long )wxSize_GetWidth(_arg0);
d24a34bb 1227
474c48f9 1228 wxPyEndAllowThreads(__tstate);
4dfaa61e 1229 if (PyErr_Occurred()) return NULL;
d24a34bb
RD
1230} _resultobj = Py_BuildValue("l",_result);
1231 return _resultobj;
1232}
1233
1234#define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
107e4716 1235static PyObject *_wrap_wxSize_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1236 PyObject * _resultobj;
1237 long _result;
1238 wxSize * _arg0;
37f6a977
RD
1239 wxSize temp;
1240 PyObject * _obj0 = 0;
107e4716 1241 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1242
1243 self = self;
37f6a977 1244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_GetHeight",_kwnames,&_obj0))
d24a34bb 1245 return NULL;
37f6a977
RD
1246{
1247 _arg0 = &temp;
1248 if (! wxSize_helper(_obj0, &_arg0))
d24a34bb 1249 return NULL;
37f6a977 1250}
d24a34bb 1251{
474c48f9 1252 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1253 _result = (long )wxSize_GetHeight(_arg0);
d24a34bb 1254
474c48f9 1255 wxPyEndAllowThreads(__tstate);
4dfaa61e 1256 if (PyErr_Occurred()) return NULL;
d24a34bb
RD
1257} _resultobj = Py_BuildValue("l",_result);
1258 return _resultobj;
1259}
1260
1261#define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
107e4716 1262static PyObject *_wrap_wxSize_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1263 PyObject * _resultobj;
1264 wxSize * _arg0;
1265 long _arg1;
37f6a977
RD
1266 wxSize temp;
1267 PyObject * _obj0 = 0;
107e4716 1268 char *_kwnames[] = { "self","w", NULL };
d24a34bb
RD
1269
1270 self = self;
37f6a977 1271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_SetWidth",_kwnames,&_obj0,&_arg1))
d24a34bb 1272 return NULL;
37f6a977
RD
1273{
1274 _arg0 = &temp;
1275 if (! wxSize_helper(_obj0, &_arg0))
d24a34bb 1276 return NULL;
37f6a977 1277}
d24a34bb 1278{
474c48f9 1279 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1280 wxSize_SetWidth(_arg0,_arg1);
d24a34bb 1281
474c48f9 1282 wxPyEndAllowThreads(__tstate);
4dfaa61e 1283 if (PyErr_Occurred()) return NULL;
d24a34bb
RD
1284} Py_INCREF(Py_None);
1285 _resultobj = Py_None;
1286 return _resultobj;
1287}
1288
1289#define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
107e4716 1290static PyObject *_wrap_wxSize_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1291 PyObject * _resultobj;
1292 wxSize * _arg0;
1293 long _arg1;
37f6a977
RD
1294 wxSize temp;
1295 PyObject * _obj0 = 0;
107e4716 1296 char *_kwnames[] = { "self","h", NULL };
d24a34bb
RD
1297
1298 self = self;
37f6a977 1299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxSize_SetHeight",_kwnames,&_obj0,&_arg1))
d24a34bb 1300 return NULL;
37f6a977
RD
1301{
1302 _arg0 = &temp;
1303 if (! wxSize_helper(_obj0, &_arg0))
d24a34bb 1304 return NULL;
37f6a977 1305}
d24a34bb 1306{
474c48f9 1307 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1308 wxSize_SetHeight(_arg0,_arg1);
d24a34bb 1309
474c48f9 1310 wxPyEndAllowThreads(__tstate);
4dfaa61e 1311 if (PyErr_Occurred()) return NULL;
d24a34bb
RD
1312} Py_INCREF(Py_None);
1313 _resultobj = Py_None;
1314 return _resultobj;
1315}
1316
21f8d7ea 1317static PyObject * wxSize_asTuple(wxSize *self) {
301dfd67 1318 wxPyBeginBlockThreads();
70551f47
RD
1319 PyObject* tup = PyTuple_New(2);
1320 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1321 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
301dfd67 1322 wxPyEndBlockThreads();
70551f47
RD
1323 return tup;
1324 }
107e4716 1325static PyObject *_wrap_wxSize_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1326 PyObject * _resultobj;
1327 PyObject * _result;
1328 wxSize * _arg0;
37f6a977
RD
1329 wxSize temp;
1330 PyObject * _obj0 = 0;
107e4716 1331 char *_kwnames[] = { "self", NULL };
70551f47
RD
1332
1333 self = self;
37f6a977 1334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSize_asTuple",_kwnames,&_obj0))
70551f47 1335 return NULL;
37f6a977
RD
1336{
1337 _arg0 = &temp;
1338 if (! wxSize_helper(_obj0, &_arg0))
70551f47 1339 return NULL;
37f6a977 1340}
70551f47 1341{
474c48f9 1342 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1343 _result = (PyObject *)wxSize_asTuple(_arg0);
ab9bc19b 1344
474c48f9 1345 wxPyEndAllowThreads(__tstate);
4dfaa61e 1346 if (PyErr_Occurred()) return NULL;
ab9bc19b 1347}{
70551f47
RD
1348 _resultobj = _result;
1349}
1350 return _resultobj;
1351}
1352
b67a9327
RD
1353static bool wxSize___eq__(wxSize *self,PyObject * obj) {
1354 wxSize tmp;
1355 wxSize* ptr = &tmp;
1356 if (obj == Py_None) return FALSE;
1357 wxPyBLOCK_THREADS(bool success = wxSize_helper(obj, &ptr); PyErr_Clear());
1358 if (! success) return FALSE;
1359 return *self == *ptr;
9df61a29 1360 }
b67a9327 1361static PyObject *_wrap_wxSize___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
9df61a29 1362 PyObject * _resultobj;
b67a9327 1363 bool _result;
9df61a29 1364 wxSize * _arg0;
b67a9327 1365 PyObject * _arg1;
9df61a29
RD
1366 wxSize temp;
1367 PyObject * _obj0 = 0;
9df61a29 1368 PyObject * _obj1 = 0;
b67a9327 1369 char *_kwnames[] = { "self","obj", NULL };
9df61a29
RD
1370
1371 self = self;
b67a9327 1372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSize___eq__",_kwnames,&_obj0,&_obj1))
9df61a29
RD
1373 return NULL;
1374{
1375 _arg0 = &temp;
1376 if (! wxSize_helper(_obj0, &_arg0))
1377 return NULL;
1378}
1379{
b67a9327
RD
1380 _arg1 = _obj1;
1381}
1382{
1383 PyThreadState* __tstate = wxPyBeginAllowThreads();
1384 _result = (bool )wxSize___eq__(_arg0,_arg1);
1385
1386 wxPyEndAllowThreads(__tstate);
1387 if (PyErr_Occurred()) return NULL;
1388} _resultobj = Py_BuildValue("i",_result);
1389 return _resultobj;
1390}
1391
1392static bool wxSize___ne__(wxSize *self,PyObject * obj) {
1393 wxSize tmp;
1394 wxSize* ptr = &tmp;
1395 if (obj == Py_None) return TRUE;
1396 wxPyBLOCK_THREADS(bool success = wxSize_helper(obj, &ptr); PyErr_Clear());
1397 if (! success) return TRUE;
1398 return *self != *ptr;
1399 }
1400static PyObject *_wrap_wxSize___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject * _resultobj;
1402 bool _result;
1403 wxSize * _arg0;
1404 PyObject * _arg1;
1405 wxSize temp;
1406 PyObject * _obj0 = 0;
1407 PyObject * _obj1 = 0;
1408 char *_kwnames[] = { "self","obj", NULL };
1409
1410 self = self;
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSize___ne__",_kwnames,&_obj0,&_obj1))
1412 return NULL;
1413{
1414 _arg0 = &temp;
1415 if (! wxSize_helper(_obj0, &_arg0))
9df61a29
RD
1416 return NULL;
1417}
b67a9327
RD
1418{
1419 _arg1 = _obj1;
1420}
9df61a29 1421{
474c48f9 1422 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 1423 _result = (bool )wxSize___ne__(_arg0,_arg1);
9df61a29 1424
474c48f9 1425 wxPyEndAllowThreads(__tstate);
4dfaa61e 1426 if (PyErr_Occurred()) return NULL;
9df61a29
RD
1427} _resultobj = Py_BuildValue("i",_result);
1428 return _resultobj;
1429}
1430
70551f47 1431#define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
107e4716 1432static PyObject *_wrap_wxRealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1433 PyObject * _resultobj;
1434 double _result;
1435 wxRealPoint * _arg0;
1436 double _arg1;
37f6a977
RD
1437 wxRealPoint temp;
1438 PyObject * _obj0 = 0;
107e4716 1439 char *_kwnames[] = { "self","x", NULL };
70551f47
RD
1440
1441 self = self;
37f6a977 1442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxRealPoint_x_set",_kwnames,&_obj0,&_arg1))
70551f47 1443 return NULL;
37f6a977
RD
1444{
1445 _arg0 = &temp;
1446 if (! wxRealPoint_helper(_obj0, &_arg0))
70551f47 1447 return NULL;
37f6a977 1448}
ab9bc19b 1449{
474c48f9 1450 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1451 _result = (double )wxRealPoint_x_set(_arg0,_arg1);
ab9bc19b 1452
474c48f9 1453 wxPyEndAllowThreads(__tstate);
4dfaa61e 1454 if (PyErr_Occurred()) return NULL;
ab9bc19b 1455} _resultobj = Py_BuildValue("d",_result);
70551f47
RD
1456 return _resultobj;
1457}
1458
1459#define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
107e4716 1460static PyObject *_wrap_wxRealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1461 PyObject * _resultobj;
1462 double _result;
1463 wxRealPoint * _arg0;
37f6a977
RD
1464 wxRealPoint temp;
1465 PyObject * _obj0 = 0;
107e4716 1466 char *_kwnames[] = { "self", NULL };
70551f47
RD
1467
1468 self = self;
37f6a977 1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_x_get",_kwnames,&_obj0))
70551f47 1470 return NULL;
37f6a977
RD
1471{
1472 _arg0 = &temp;
1473 if (! wxRealPoint_helper(_obj0, &_arg0))
70551f47 1474 return NULL;
37f6a977 1475}
ab9bc19b 1476{
474c48f9 1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1478 _result = (double )wxRealPoint_x_get(_arg0);
ab9bc19b 1479
474c48f9 1480 wxPyEndAllowThreads(__tstate);
4dfaa61e 1481 if (PyErr_Occurred()) return NULL;
ab9bc19b 1482} _resultobj = Py_BuildValue("d",_result);
70551f47
RD
1483 return _resultobj;
1484}
1485
1486#define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
107e4716 1487static PyObject *_wrap_wxRealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1488 PyObject * _resultobj;
1489 double _result;
1490 wxRealPoint * _arg0;
1491 double _arg1;
37f6a977
RD
1492 wxRealPoint temp;
1493 PyObject * _obj0 = 0;
107e4716 1494 char *_kwnames[] = { "self","y", NULL };
70551f47
RD
1495
1496 self = self;
37f6a977 1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxRealPoint_y_set",_kwnames,&_obj0,&_arg1))
70551f47 1498 return NULL;
37f6a977
RD
1499{
1500 _arg0 = &temp;
1501 if (! wxRealPoint_helper(_obj0, &_arg0))
70551f47 1502 return NULL;
37f6a977 1503}
ab9bc19b 1504{
474c48f9 1505 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1506 _result = (double )wxRealPoint_y_set(_arg0,_arg1);
ab9bc19b 1507
474c48f9 1508 wxPyEndAllowThreads(__tstate);
4dfaa61e 1509 if (PyErr_Occurred()) return NULL;
ab9bc19b 1510} _resultobj = Py_BuildValue("d",_result);
70551f47
RD
1511 return _resultobj;
1512}
1513
1514#define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
107e4716 1515static PyObject *_wrap_wxRealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1516 PyObject * _resultobj;
1517 double _result;
1518 wxRealPoint * _arg0;
37f6a977
RD
1519 wxRealPoint temp;
1520 PyObject * _obj0 = 0;
107e4716 1521 char *_kwnames[] = { "self", NULL };
70551f47
RD
1522
1523 self = self;
37f6a977 1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_y_get",_kwnames,&_obj0))
70551f47 1525 return NULL;
37f6a977
RD
1526{
1527 _arg0 = &temp;
1528 if (! wxRealPoint_helper(_obj0, &_arg0))
70551f47 1529 return NULL;
37f6a977 1530}
ab9bc19b 1531{
474c48f9 1532 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1533 _result = (double )wxRealPoint_y_get(_arg0);
ab9bc19b 1534
474c48f9 1535 wxPyEndAllowThreads(__tstate);
4dfaa61e 1536 if (PyErr_Occurred()) return NULL;
ab9bc19b 1537} _resultobj = Py_BuildValue("d",_result);
70551f47
RD
1538 return _resultobj;
1539}
1540
1541#define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
107e4716 1542static PyObject *_wrap_new_wxRealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1543 PyObject * _resultobj;
1544 wxRealPoint * _result;
2d091820
RD
1545 double _arg0 = (double ) 0.0;
1546 double _arg1 = (double ) 0.0;
107e4716 1547 char *_kwnames[] = { "x","y", NULL };
70551f47
RD
1548 char _ptemp[128];
1549
1550 self = self;
107e4716 1551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxRealPoint",_kwnames,&_arg0,&_arg1))
70551f47 1552 return NULL;
ab9bc19b 1553{
474c48f9 1554 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1555 _result = (wxRealPoint *)new_wxRealPoint(_arg0,_arg1);
ab9bc19b 1556
474c48f9 1557 wxPyEndAllowThreads(__tstate);
4dfaa61e 1558 if (PyErr_Occurred()) return NULL;
2d091820
RD
1559} if (_result) {
1560 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p");
1561 _resultobj = Py_BuildValue("s",_ptemp);
1562 } else {
1563 Py_INCREF(Py_None);
1564 _resultobj = Py_None;
1565 }
70551f47
RD
1566 return _resultobj;
1567}
1568
1569#define delete_wxRealPoint(_swigobj) (delete _swigobj)
107e4716 1570static PyObject *_wrap_delete_wxRealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1571 PyObject * _resultobj;
1572 wxRealPoint * _arg0;
37f6a977
RD
1573 wxRealPoint temp;
1574 PyObject * _obj0 = 0;
107e4716 1575 char *_kwnames[] = { "self", NULL };
70551f47
RD
1576
1577 self = self;
37f6a977 1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRealPoint",_kwnames,&_obj0))
70551f47 1579 return NULL;
37f6a977
RD
1580{
1581 _arg0 = &temp;
1582 if (! wxRealPoint_helper(_obj0, &_arg0))
70551f47 1583 return NULL;
37f6a977 1584}
ab9bc19b 1585{
474c48f9 1586 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1587 delete_wxRealPoint(_arg0);
ab9bc19b 1588
474c48f9 1589 wxPyEndAllowThreads(__tstate);
4dfaa61e 1590 if (PyErr_Occurred()) return NULL;
ab9bc19b 1591} Py_INCREF(Py_None);
70551f47
RD
1592 _resultobj = Py_None;
1593 return _resultobj;
1594}
1595
107e4716
RD
1596static void wxRealPoint_Set(wxRealPoint *self,double x,double y) {
1597 self->x = x;
1598 self->y = y;
1599 }
1600static PyObject *_wrap_wxRealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1601 PyObject * _resultobj;
1602 wxRealPoint * _arg0;
1603 double _arg1;
1604 double _arg2;
37f6a977
RD
1605 wxRealPoint temp;
1606 PyObject * _obj0 = 0;
107e4716
RD
1607 char *_kwnames[] = { "self","x","y", NULL };
1608
1609 self = self;
37f6a977 1610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxRealPoint_Set",_kwnames,&_obj0,&_arg1,&_arg2))
107e4716 1611 return NULL;
37f6a977
RD
1612{
1613 _arg0 = &temp;
1614 if (! wxRealPoint_helper(_obj0, &_arg0))
107e4716 1615 return NULL;
37f6a977 1616}
107e4716 1617{
474c48f9 1618 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1619 wxRealPoint_Set(_arg0,_arg1,_arg2);
107e4716 1620
474c48f9 1621 wxPyEndAllowThreads(__tstate);
4dfaa61e 1622 if (PyErr_Occurred()) return NULL;
107e4716
RD
1623} Py_INCREF(Py_None);
1624 _resultobj = Py_None;
1625 return _resultobj;
1626}
1627
1628static PyObject * wxRealPoint_asTuple(wxRealPoint *self) {
301dfd67 1629 wxPyBeginBlockThreads();
107e4716
RD
1630 PyObject* tup = PyTuple_New(2);
1631 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
1632 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
301dfd67 1633 wxPyEndBlockThreads();
107e4716
RD
1634 return tup;
1635 }
1636static PyObject *_wrap_wxRealPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1637 PyObject * _resultobj;
1638 PyObject * _result;
1639 wxRealPoint * _arg0;
37f6a977
RD
1640 wxRealPoint temp;
1641 PyObject * _obj0 = 0;
107e4716
RD
1642 char *_kwnames[] = { "self", NULL };
1643
1644 self = self;
37f6a977 1645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRealPoint_asTuple",_kwnames,&_obj0))
107e4716 1646 return NULL;
37f6a977
RD
1647{
1648 _arg0 = &temp;
1649 if (! wxRealPoint_helper(_obj0, &_arg0))
107e4716 1650 return NULL;
37f6a977 1651}
107e4716 1652{
474c48f9 1653 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1654 _result = (PyObject *)wxRealPoint_asTuple(_arg0);
107e4716 1655
474c48f9 1656 wxPyEndAllowThreads(__tstate);
4dfaa61e 1657 if (PyErr_Occurred()) return NULL;
107e4716
RD
1658}{
1659 _resultobj = _result;
1660}
1661 return _resultobj;
1662}
1663
b67a9327
RD
1664static wxRealPoint wxRealPoint___add__(wxRealPoint *self,const wxRealPoint & p) {
1665 return *self + p;
c368d904
RD
1666 }
1667static PyObject *_wrap_wxRealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject * _resultobj;
1669 wxRealPoint * _result;
1670 wxRealPoint * _arg0;
1671 wxRealPoint * _arg1;
1672 wxRealPoint temp;
1673 PyObject * _obj0 = 0;
1674 wxRealPoint temp0;
1675 PyObject * _obj1 = 0;
1676 char *_kwnames[] = { "self","p", NULL };
1677 char _ptemp[128];
1678
1679 self = self;
1680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___add__",_kwnames,&_obj0,&_obj1))
1681 return NULL;
1682{
1683 _arg0 = &temp;
1684 if (! wxRealPoint_helper(_obj0, &_arg0))
1685 return NULL;
1686}
1687{
1688 _arg1 = &temp0;
1689 if (! wxRealPoint_helper(_obj1, &_arg1))
1690 return NULL;
1691}
1692{
474c48f9 1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 1694 _result = new wxRealPoint (wxRealPoint___add__(_arg0,*_arg1));
c368d904 1695
474c48f9 1696 wxPyEndAllowThreads(__tstate);
4dfaa61e 1697 if (PyErr_Occurred()) return NULL;
c368d904
RD
1698} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
1699 _resultobj = Py_BuildValue("s",_ptemp);
1700 return _resultobj;
1701}
1702
b67a9327
RD
1703static wxRealPoint wxRealPoint___sub__(wxRealPoint *self,const wxRealPoint & p) {
1704 return *self - p;
c368d904
RD
1705 }
1706static PyObject *_wrap_wxRealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1707 PyObject * _resultobj;
1708 wxRealPoint * _result;
1709 wxRealPoint * _arg0;
1710 wxRealPoint * _arg1;
1711 wxRealPoint temp;
1712 PyObject * _obj0 = 0;
1713 wxRealPoint temp0;
1714 PyObject * _obj1 = 0;
1715 char *_kwnames[] = { "self","p", NULL };
1716 char _ptemp[128];
1717
1718 self = self;
1719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___sub__",_kwnames,&_obj0,&_obj1))
1720 return NULL;
1721{
1722 _arg0 = &temp;
1723 if (! wxRealPoint_helper(_obj0, &_arg0))
1724 return NULL;
1725}
1726{
1727 _arg1 = &temp0;
1728 if (! wxRealPoint_helper(_obj1, &_arg1))
1729 return NULL;
1730}
1731{
474c48f9 1732 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 1733 _result = new wxRealPoint (wxRealPoint___sub__(_arg0,*_arg1));
c368d904 1734
474c48f9 1735 wxPyEndAllowThreads(__tstate);
4dfaa61e 1736 if (PyErr_Occurred()) return NULL;
c368d904
RD
1737} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
1738 _resultobj = Py_BuildValue("s",_ptemp);
1739 return _resultobj;
1740}
1741
b67a9327
RD
1742static bool wxRealPoint___eq__(wxRealPoint *self,PyObject * obj) {
1743 wxRealPoint tmp;
1744 wxRealPoint* ptr = &tmp;
1745 if (obj == Py_None) return FALSE;
1746 wxPyBLOCK_THREADS(bool success = wxRealPoint_helper(obj, &ptr); PyErr_Clear());
1747 if (! success) return FALSE;
1748 return *self == *ptr;
c368d904 1749 }
b67a9327 1750static PyObject *_wrap_wxRealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
c368d904 1751 PyObject * _resultobj;
b67a9327 1752 bool _result;
c368d904 1753 wxRealPoint * _arg0;
b67a9327 1754 PyObject * _arg1;
c368d904
RD
1755 wxRealPoint temp;
1756 PyObject * _obj0 = 0;
c368d904 1757 PyObject * _obj1 = 0;
b67a9327 1758 char *_kwnames[] = { "self","obj", NULL };
c368d904
RD
1759
1760 self = self;
b67a9327 1761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___eq__",_kwnames,&_obj0,&_obj1))
c368d904
RD
1762 return NULL;
1763{
1764 _arg0 = &temp;
1765 if (! wxRealPoint_helper(_obj0, &_arg0))
1766 return NULL;
1767}
1768{
b67a9327
RD
1769 _arg1 = _obj1;
1770}
1771{
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 _result = (bool )wxRealPoint___eq__(_arg0,_arg1);
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) return NULL;
1777} _resultobj = Py_BuildValue("i",_result);
1778 return _resultobj;
1779}
1780
1781static bool wxRealPoint___ne__(wxRealPoint *self,PyObject * obj) {
1782 wxRealPoint tmp;
1783 wxRealPoint* ptr = &tmp;
1784 if (obj == Py_None) return TRUE;
1785 wxPyBLOCK_THREADS(bool success = wxRealPoint_helper(obj, &ptr); PyErr_Clear());
1786 if (! success) return TRUE;
1787 return *self != *ptr;
1788 }
1789static PyObject *_wrap_wxRealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject * _resultobj;
1791 bool _result;
1792 wxRealPoint * _arg0;
1793 PyObject * _arg1;
1794 wxRealPoint temp;
1795 PyObject * _obj0 = 0;
1796 PyObject * _obj1 = 0;
1797 char *_kwnames[] = { "self","obj", NULL };
1798
1799 self = self;
1800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___ne__",_kwnames,&_obj0,&_obj1))
1801 return NULL;
1802{
1803 _arg0 = &temp;
1804 if (! wxRealPoint_helper(_obj0, &_arg0))
c368d904
RD
1805 return NULL;
1806}
b67a9327
RD
1807{
1808 _arg1 = _obj1;
1809}
c368d904 1810{
474c48f9 1811 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 1812 _result = (bool )wxRealPoint___ne__(_arg0,_arg1);
c368d904 1813
474c48f9 1814 wxPyEndAllowThreads(__tstate);
4dfaa61e 1815 if (PyErr_Occurred()) return NULL;
c368d904
RD
1816} _resultobj = Py_BuildValue("i",_result);
1817 return _resultobj;
1818}
1819
70551f47 1820#define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
107e4716 1821static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1822 PyObject * _resultobj;
1823 long _result;
1824 wxPoint * _arg0;
1825 long _arg1;
37f6a977
RD
1826 wxPoint temp;
1827 PyObject * _obj0 = 0;
107e4716 1828 char *_kwnames[] = { "self","x", NULL };
70551f47
RD
1829
1830 self = self;
37f6a977 1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPoint_x_set",_kwnames,&_obj0,&_arg1))
70551f47 1832 return NULL;
37f6a977
RD
1833{
1834 _arg0 = &temp;
1835 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 1836 return NULL;
37f6a977 1837}
ab9bc19b 1838{
474c48f9 1839 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1840 _result = (long )wxPoint_x_set(_arg0,_arg1);
ab9bc19b 1841
474c48f9 1842 wxPyEndAllowThreads(__tstate);
4dfaa61e 1843 if (PyErr_Occurred()) return NULL;
ab9bc19b 1844} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1845 return _resultobj;
1846}
1847
1848#define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
107e4716 1849static PyObject *_wrap_wxPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1850 PyObject * _resultobj;
1851 long _result;
1852 wxPoint * _arg0;
37f6a977
RD
1853 wxPoint temp;
1854 PyObject * _obj0 = 0;
107e4716 1855 char *_kwnames[] = { "self", NULL };
70551f47
RD
1856
1857 self = self;
37f6a977 1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_x_get",_kwnames,&_obj0))
70551f47 1859 return NULL;
37f6a977
RD
1860{
1861 _arg0 = &temp;
1862 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 1863 return NULL;
37f6a977 1864}
ab9bc19b 1865{
474c48f9 1866 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1867 _result = (long )wxPoint_x_get(_arg0);
ab9bc19b 1868
474c48f9 1869 wxPyEndAllowThreads(__tstate);
4dfaa61e 1870 if (PyErr_Occurred()) return NULL;
ab9bc19b 1871} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1872 return _resultobj;
1873}
1874
1875#define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
107e4716 1876static PyObject *_wrap_wxPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1877 PyObject * _resultobj;
1878 long _result;
1879 wxPoint * _arg0;
1880 long _arg1;
37f6a977
RD
1881 wxPoint temp;
1882 PyObject * _obj0 = 0;
107e4716 1883 char *_kwnames[] = { "self","y", NULL };
70551f47
RD
1884
1885 self = self;
37f6a977 1886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPoint_y_set",_kwnames,&_obj0,&_arg1))
70551f47 1887 return NULL;
37f6a977
RD
1888{
1889 _arg0 = &temp;
1890 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 1891 return NULL;
37f6a977 1892}
ab9bc19b 1893{
474c48f9 1894 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1895 _result = (long )wxPoint_y_set(_arg0,_arg1);
ab9bc19b 1896
474c48f9 1897 wxPyEndAllowThreads(__tstate);
4dfaa61e 1898 if (PyErr_Occurred()) return NULL;
ab9bc19b 1899} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1900 return _resultobj;
1901}
1902
1903#define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
107e4716 1904static PyObject *_wrap_wxPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1905 PyObject * _resultobj;
1906 long _result;
1907 wxPoint * _arg0;
37f6a977
RD
1908 wxPoint temp;
1909 PyObject * _obj0 = 0;
107e4716 1910 char *_kwnames[] = { "self", NULL };
70551f47
RD
1911
1912 self = self;
37f6a977 1913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_y_get",_kwnames,&_obj0))
70551f47 1914 return NULL;
37f6a977
RD
1915{
1916 _arg0 = &temp;
1917 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 1918 return NULL;
37f6a977 1919}
ab9bc19b 1920{
474c48f9 1921 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1922 _result = (long )wxPoint_y_get(_arg0);
ab9bc19b 1923
474c48f9 1924 wxPyEndAllowThreads(__tstate);
4dfaa61e 1925 if (PyErr_Occurred()) return NULL;
ab9bc19b 1926} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
1927 return _resultobj;
1928}
1929
1930#define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
107e4716 1931static PyObject *_wrap_new_wxPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1932 PyObject * _resultobj;
1933 wxPoint * _result;
2d091820
RD
1934 long _arg0 = (long ) 0;
1935 long _arg1 = (long ) 0;
107e4716 1936 char *_kwnames[] = { "x","y", NULL };
70551f47
RD
1937 char _ptemp[128];
1938
1939 self = self;
107e4716 1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ll:new_wxPoint",_kwnames,&_arg0,&_arg1))
70551f47 1941 return NULL;
ab9bc19b 1942{
474c48f9 1943 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1944 _result = (wxPoint *)new_wxPoint(_arg0,_arg1);
ab9bc19b 1945
474c48f9 1946 wxPyEndAllowThreads(__tstate);
4dfaa61e 1947 if (PyErr_Occurred()) return NULL;
2d091820
RD
1948} if (_result) {
1949 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1950 _resultobj = Py_BuildValue("s",_ptemp);
1951 } else {
1952 Py_INCREF(Py_None);
1953 _resultobj = Py_None;
1954 }
70551f47
RD
1955 return _resultobj;
1956}
1957
1958#define delete_wxPoint(_swigobj) (delete _swigobj)
107e4716 1959static PyObject *_wrap_delete_wxPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1960 PyObject * _resultobj;
1961 wxPoint * _arg0;
37f6a977
RD
1962 wxPoint temp;
1963 PyObject * _obj0 = 0;
107e4716 1964 char *_kwnames[] = { "self", NULL };
70551f47
RD
1965
1966 self = self;
37f6a977 1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPoint",_kwnames,&_obj0))
70551f47 1968 return NULL;
37f6a977
RD
1969{
1970 _arg0 = &temp;
1971 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 1972 return NULL;
37f6a977 1973}
ab9bc19b 1974{
474c48f9 1975 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1976 delete_wxPoint(_arg0);
ab9bc19b 1977
474c48f9 1978 wxPyEndAllowThreads(__tstate);
4dfaa61e 1979 if (PyErr_Occurred()) return NULL;
ab9bc19b 1980} Py_INCREF(Py_None);
70551f47
RD
1981 _resultobj = Py_None;
1982 return _resultobj;
1983}
1984
1985static void wxPoint_Set(wxPoint *self,long x,long y) {
1986 self->x = x;
1987 self->y = y;
1988 }
107e4716 1989static PyObject *_wrap_wxPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1990 PyObject * _resultobj;
1991 wxPoint * _arg0;
1992 long _arg1;
1993 long _arg2;
37f6a977
RD
1994 wxPoint temp;
1995 PyObject * _obj0 = 0;
107e4716 1996 char *_kwnames[] = { "self","x","y", NULL };
70551f47
RD
1997
1998 self = self;
37f6a977 1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxPoint_Set",_kwnames,&_obj0,&_arg1,&_arg2))
70551f47 2000 return NULL;
37f6a977
RD
2001{
2002 _arg0 = &temp;
2003 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 2004 return NULL;
37f6a977 2005}
ab9bc19b 2006{
474c48f9 2007 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2008 wxPoint_Set(_arg0,_arg1,_arg2);
ab9bc19b 2009
474c48f9 2010 wxPyEndAllowThreads(__tstate);
4dfaa61e 2011 if (PyErr_Occurred()) return NULL;
ab9bc19b 2012} Py_INCREF(Py_None);
70551f47
RD
2013 _resultobj = Py_None;
2014 return _resultobj;
2015}
2016
21f8d7ea 2017static PyObject * wxPoint_asTuple(wxPoint *self) {
301dfd67 2018 wxPyBeginBlockThreads();
70551f47
RD
2019 PyObject* tup = PyTuple_New(2);
2020 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
2021 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
301dfd67 2022 wxPyEndBlockThreads();
70551f47
RD
2023 return tup;
2024 }
107e4716 2025static PyObject *_wrap_wxPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2026 PyObject * _resultobj;
2027 PyObject * _result;
2028 wxPoint * _arg0;
37f6a977
RD
2029 wxPoint temp;
2030 PyObject * _obj0 = 0;
107e4716 2031 char *_kwnames[] = { "self", NULL };
70551f47
RD
2032
2033 self = self;
37f6a977 2034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint_asTuple",_kwnames,&_obj0))
70551f47 2035 return NULL;
37f6a977
RD
2036{
2037 _arg0 = &temp;
2038 if (! wxPoint_helper(_obj0, &_arg0))
70551f47 2039 return NULL;
37f6a977 2040}
70551f47 2041{
474c48f9 2042 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2043 _result = (PyObject *)wxPoint_asTuple(_arg0);
ab9bc19b 2044
474c48f9 2045 wxPyEndAllowThreads(__tstate);
4dfaa61e 2046 if (PyErr_Occurred()) return NULL;
ab9bc19b 2047}{
70551f47
RD
2048 _resultobj = _result;
2049}
2050 return _resultobj;
2051}
2052
b67a9327
RD
2053static wxPoint wxPoint___add__(wxPoint *self,const wxPoint & p) {
2054 return *self + p;
c368d904
RD
2055 }
2056static PyObject *_wrap_wxPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2057 PyObject * _resultobj;
2058 wxPoint * _result;
2059 wxPoint * _arg0;
2060 wxPoint * _arg1;
2061 wxPoint temp;
2062 PyObject * _obj0 = 0;
2063 wxPoint temp0;
2064 PyObject * _obj1 = 0;
2065 char *_kwnames[] = { "self","p", NULL };
2066 char _ptemp[128];
2067
2068 self = self;
2069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___add__",_kwnames,&_obj0,&_obj1))
2070 return NULL;
2071{
2072 _arg0 = &temp;
2073 if (! wxPoint_helper(_obj0, &_arg0))
2074 return NULL;
2075}
2076{
2077 _arg1 = &temp0;
2078 if (! wxPoint_helper(_obj1, &_arg1))
2079 return NULL;
2080}
2081{
474c48f9 2082 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2083 _result = new wxPoint (wxPoint___add__(_arg0,*_arg1));
c368d904 2084
474c48f9 2085 wxPyEndAllowThreads(__tstate);
4dfaa61e 2086 if (PyErr_Occurred()) return NULL;
c368d904
RD
2087} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2088 _resultobj = Py_BuildValue("s",_ptemp);
2089 return _resultobj;
2090}
2091
b67a9327
RD
2092static wxPoint wxPoint___sub__(wxPoint *self,const wxPoint & p) {
2093 return *self - p;
c368d904
RD
2094 }
2095static PyObject *_wrap_wxPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject * _resultobj;
2097 wxPoint * _result;
2098 wxPoint * _arg0;
2099 wxPoint * _arg1;
2100 wxPoint temp;
2101 PyObject * _obj0 = 0;
2102 wxPoint temp0;
2103 PyObject * _obj1 = 0;
2104 char *_kwnames[] = { "self","p", NULL };
2105 char _ptemp[128];
2106
2107 self = self;
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___sub__",_kwnames,&_obj0,&_obj1))
2109 return NULL;
2110{
2111 _arg0 = &temp;
2112 if (! wxPoint_helper(_obj0, &_arg0))
2113 return NULL;
2114}
2115{
2116 _arg1 = &temp0;
2117 if (! wxPoint_helper(_obj1, &_arg1))
2118 return NULL;
2119}
2120{
474c48f9 2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2122 _result = new wxPoint (wxPoint___sub__(_arg0,*_arg1));
c368d904 2123
474c48f9 2124 wxPyEndAllowThreads(__tstate);
4dfaa61e 2125 if (PyErr_Occurred()) return NULL;
c368d904
RD
2126} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2127 _resultobj = Py_BuildValue("s",_ptemp);
2128 return _resultobj;
2129}
2130
b67a9327
RD
2131static bool wxPoint___eq__(wxPoint *self,PyObject * obj) {
2132 wxPoint tmp;
2133 wxPoint* ptr = &tmp;
2134 if (obj == Py_None) return FALSE;
2135 wxPyBLOCK_THREADS(bool success = wxPoint_helper(obj, &ptr); PyErr_Clear());
2136 if (! success) return FALSE;
2137 return *self == *ptr;
c368d904 2138 }
b67a9327 2139static PyObject *_wrap_wxPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
c368d904 2140 PyObject * _resultobj;
b67a9327 2141 bool _result;
c368d904 2142 wxPoint * _arg0;
b67a9327 2143 PyObject * _arg1;
c368d904
RD
2144 wxPoint temp;
2145 PyObject * _obj0 = 0;
c368d904 2146 PyObject * _obj1 = 0;
b67a9327 2147 char *_kwnames[] = { "self","obj", NULL };
c368d904
RD
2148
2149 self = self;
b67a9327 2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___eq__",_kwnames,&_obj0,&_obj1))
c368d904
RD
2151 return NULL;
2152{
2153 _arg0 = &temp;
2154 if (! wxPoint_helper(_obj0, &_arg0))
2155 return NULL;
2156}
2157{
b67a9327
RD
2158 _arg1 = _obj1;
2159}
2160{
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 _result = (bool )wxPoint___eq__(_arg0,_arg1);
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) return NULL;
2166} _resultobj = Py_BuildValue("i",_result);
2167 return _resultobj;
2168}
2169
2170static bool wxPoint___ne__(wxPoint *self,PyObject * obj) {
2171 wxPoint tmp;
2172 wxPoint* ptr = &tmp;
2173 if (obj == Py_None) return TRUE;
2174 wxPyBLOCK_THREADS(bool success = wxPoint_helper(obj, &ptr); PyErr_Clear());
2175 if (! success) return TRUE;
2176 return *self != *ptr;
2177 }
2178static PyObject *_wrap_wxPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2179 PyObject * _resultobj;
2180 bool _result;
2181 wxPoint * _arg0;
2182 PyObject * _arg1;
2183 wxPoint temp;
2184 PyObject * _obj0 = 0;
2185 PyObject * _obj1 = 0;
2186 char *_kwnames[] = { "self","obj", NULL };
2187
2188 self = self;
2189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___ne__",_kwnames,&_obj0,&_obj1))
2190 return NULL;
2191{
2192 _arg0 = &temp;
2193 if (! wxPoint_helper(_obj0, &_arg0))
c368d904
RD
2194 return NULL;
2195}
b67a9327
RD
2196{
2197 _arg1 = _obj1;
2198}
c368d904 2199{
474c48f9 2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2201 _result = (bool )wxPoint___ne__(_arg0,_arg1);
c368d904 2202
474c48f9 2203 wxPyEndAllowThreads(__tstate);
4dfaa61e 2204 if (PyErr_Occurred()) return NULL;
c368d904
RD
2205} _resultobj = Py_BuildValue("i",_result);
2206 return _resultobj;
2207}
2208
70551f47 2209#define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 2210static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2211 PyObject * _resultobj;
2212 wxRect * _result;
56f5d962
RD
2213 int _arg0 = (int ) 0;
2214 int _arg1 = (int ) 0;
2215 int _arg2 = (int ) 0;
2216 int _arg3 = (int ) 0;
b67a9327 2217 char *_kwnames[] = { "x","y","width","height", NULL };
70551f47
RD
2218 char _ptemp[128];
2219
2220 self = self;
56f5d962 2221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxRect",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
70551f47 2222 return NULL;
ab9bc19b 2223{
474c48f9 2224 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2225 _result = (wxRect *)new_wxRect(_arg0,_arg1,_arg2,_arg3);
ab9bc19b 2226
474c48f9 2227 wxPyEndAllowThreads(__tstate);
4dfaa61e 2228 if (PyErr_Occurred()) return NULL;
2d091820
RD
2229} if (_result) {
2230 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
2231 _resultobj = Py_BuildValue("s",_ptemp);
2232 } else {
2233 Py_INCREF(Py_None);
2234 _resultobj = Py_None;
2235 }
70551f47
RD
2236 return _resultobj;
2237}
2238
2239#define delete_wxRect(_swigobj) (delete _swigobj)
107e4716 2240static PyObject *_wrap_delete_wxRect(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2241 PyObject * _resultobj;
2242 wxRect * _arg0;
37f6a977
RD
2243 wxRect temp;
2244 PyObject * _obj0 = 0;
107e4716 2245 char *_kwnames[] = { "self", NULL };
70551f47
RD
2246
2247 self = self;
37f6a977 2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRect",_kwnames,&_obj0))
70551f47 2249 return NULL;
37f6a977
RD
2250{
2251 _arg0 = &temp;
2252 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2253 return NULL;
37f6a977 2254}
ab9bc19b 2255{
474c48f9 2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2257 delete_wxRect(_arg0);
ab9bc19b 2258
474c48f9 2259 wxPyEndAllowThreads(__tstate);
4dfaa61e 2260 if (PyErr_Occurred()) return NULL;
ab9bc19b 2261} Py_INCREF(Py_None);
70551f47
RD
2262 _resultobj = Py_None;
2263 return _resultobj;
2264}
2265
2266#define wxRect_GetX(_swigobj) (_swigobj->GetX())
107e4716 2267static PyObject *_wrap_wxRect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2268 PyObject * _resultobj;
56f5d962 2269 int _result;
70551f47 2270 wxRect * _arg0;
37f6a977
RD
2271 wxRect temp;
2272 PyObject * _obj0 = 0;
107e4716 2273 char *_kwnames[] = { "self", NULL };
70551f47
RD
2274
2275 self = self;
37f6a977 2276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetX",_kwnames,&_obj0))
70551f47 2277 return NULL;
37f6a977
RD
2278{
2279 _arg0 = &temp;
2280 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2281 return NULL;
37f6a977 2282}
ab9bc19b 2283{
474c48f9 2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2285 _result = (int )wxRect_GetX(_arg0);
ab9bc19b 2286
474c48f9 2287 wxPyEndAllowThreads(__tstate);
4dfaa61e 2288 if (PyErr_Occurred()) return NULL;
56f5d962 2289} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2290 return _resultobj;
2291}
2292
2293#define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
107e4716 2294static PyObject *_wrap_wxRect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2295 PyObject * _resultobj;
2296 wxRect * _arg0;
56f5d962 2297 int _arg1;
37f6a977
RD
2298 wxRect temp;
2299 PyObject * _obj0 = 0;
107e4716 2300 char *_kwnames[] = { "self","X", NULL };
70551f47
RD
2301
2302 self = self;
56f5d962 2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetX",_kwnames,&_obj0,&_arg1))
70551f47 2304 return NULL;
37f6a977
RD
2305{
2306 _arg0 = &temp;
2307 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2308 return NULL;
37f6a977 2309}
ab9bc19b 2310{
474c48f9 2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2312 wxRect_SetX(_arg0,_arg1);
ab9bc19b 2313
474c48f9 2314 wxPyEndAllowThreads(__tstate);
4dfaa61e 2315 if (PyErr_Occurred()) return NULL;
ab9bc19b 2316} Py_INCREF(Py_None);
70551f47
RD
2317 _resultobj = Py_None;
2318 return _resultobj;
2319}
2320
2321#define wxRect_GetY(_swigobj) (_swigobj->GetY())
107e4716 2322static PyObject *_wrap_wxRect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2323 PyObject * _resultobj;
56f5d962 2324 int _result;
70551f47 2325 wxRect * _arg0;
37f6a977
RD
2326 wxRect temp;
2327 PyObject * _obj0 = 0;
107e4716 2328 char *_kwnames[] = { "self", NULL };
70551f47
RD
2329
2330 self = self;
37f6a977 2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetY",_kwnames,&_obj0))
70551f47 2332 return NULL;
37f6a977
RD
2333{
2334 _arg0 = &temp;
2335 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2336 return NULL;
37f6a977 2337}
ab9bc19b 2338{
474c48f9 2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2340 _result = (int )wxRect_GetY(_arg0);
ab9bc19b 2341
474c48f9 2342 wxPyEndAllowThreads(__tstate);
4dfaa61e 2343 if (PyErr_Occurred()) return NULL;
56f5d962 2344} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2345 return _resultobj;
2346}
2347
2348#define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
107e4716 2349static PyObject *_wrap_wxRect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2350 PyObject * _resultobj;
2351 wxRect * _arg0;
56f5d962 2352 int _arg1;
37f6a977
RD
2353 wxRect temp;
2354 PyObject * _obj0 = 0;
107e4716 2355 char *_kwnames[] = { "self","Y", NULL };
70551f47
RD
2356
2357 self = self;
56f5d962 2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetY",_kwnames,&_obj0,&_arg1))
70551f47 2359 return NULL;
37f6a977
RD
2360{
2361 _arg0 = &temp;
2362 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2363 return NULL;
37f6a977 2364}
ab9bc19b 2365{
474c48f9 2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2367 wxRect_SetY(_arg0,_arg1);
ab9bc19b 2368
474c48f9 2369 wxPyEndAllowThreads(__tstate);
4dfaa61e 2370 if (PyErr_Occurred()) return NULL;
ab9bc19b 2371} Py_INCREF(Py_None);
70551f47
RD
2372 _resultobj = Py_None;
2373 return _resultobj;
2374}
2375
2376#define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
107e4716 2377static PyObject *_wrap_wxRect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2378 PyObject * _resultobj;
56f5d962 2379 int _result;
70551f47 2380 wxRect * _arg0;
37f6a977
RD
2381 wxRect temp;
2382 PyObject * _obj0 = 0;
107e4716 2383 char *_kwnames[] = { "self", NULL };
70551f47
RD
2384
2385 self = self;
37f6a977 2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetWidth",_kwnames,&_obj0))
70551f47 2387 return NULL;
37f6a977
RD
2388{
2389 _arg0 = &temp;
2390 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2391 return NULL;
37f6a977 2392}
ab9bc19b 2393{
474c48f9 2394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2395 _result = (int )wxRect_GetWidth(_arg0);
ab9bc19b 2396
474c48f9 2397 wxPyEndAllowThreads(__tstate);
4dfaa61e 2398 if (PyErr_Occurred()) return NULL;
56f5d962 2399} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2400 return _resultobj;
2401}
2402
2403#define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
107e4716 2404static PyObject *_wrap_wxRect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2405 PyObject * _resultobj;
2406 wxRect * _arg0;
56f5d962 2407 int _arg1;
37f6a977
RD
2408 wxRect temp;
2409 PyObject * _obj0 = 0;
107e4716 2410 char *_kwnames[] = { "self","w", NULL };
70551f47
RD
2411
2412 self = self;
56f5d962 2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetWidth",_kwnames,&_obj0,&_arg1))
70551f47 2414 return NULL;
37f6a977
RD
2415{
2416 _arg0 = &temp;
2417 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2418 return NULL;
37f6a977 2419}
ab9bc19b 2420{
474c48f9 2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2422 wxRect_SetWidth(_arg0,_arg1);
ab9bc19b 2423
474c48f9 2424 wxPyEndAllowThreads(__tstate);
4dfaa61e 2425 if (PyErr_Occurred()) return NULL;
ab9bc19b 2426} Py_INCREF(Py_None);
70551f47
RD
2427 _resultobj = Py_None;
2428 return _resultobj;
2429}
2430
2431#define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
107e4716 2432static PyObject *_wrap_wxRect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2433 PyObject * _resultobj;
56f5d962 2434 int _result;
70551f47 2435 wxRect * _arg0;
37f6a977
RD
2436 wxRect temp;
2437 PyObject * _obj0 = 0;
107e4716 2438 char *_kwnames[] = { "self", NULL };
70551f47
RD
2439
2440 self = self;
37f6a977 2441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetHeight",_kwnames,&_obj0))
70551f47 2442 return NULL;
37f6a977
RD
2443{
2444 _arg0 = &temp;
2445 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2446 return NULL;
37f6a977 2447}
ab9bc19b 2448{
474c48f9 2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2450 _result = (int )wxRect_GetHeight(_arg0);
ab9bc19b 2451
474c48f9 2452 wxPyEndAllowThreads(__tstate);
4dfaa61e 2453 if (PyErr_Occurred()) return NULL;
56f5d962 2454} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2455 return _resultobj;
2456}
2457
2458#define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
107e4716 2459static PyObject *_wrap_wxRect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2460 PyObject * _resultobj;
2461 wxRect * _arg0;
56f5d962 2462 int _arg1;
37f6a977
RD
2463 wxRect temp;
2464 PyObject * _obj0 = 0;
107e4716 2465 char *_kwnames[] = { "self","h", NULL };
70551f47
RD
2466
2467 self = self;
56f5d962 2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetHeight",_kwnames,&_obj0,&_arg1))
70551f47 2469 return NULL;
37f6a977
RD
2470{
2471 _arg0 = &temp;
2472 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2473 return NULL;
37f6a977 2474}
ab9bc19b 2475{
474c48f9 2476 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2477 wxRect_SetHeight(_arg0,_arg1);
ab9bc19b 2478
474c48f9 2479 wxPyEndAllowThreads(__tstate);
4dfaa61e 2480 if (PyErr_Occurred()) return NULL;
ab9bc19b 2481} Py_INCREF(Py_None);
70551f47
RD
2482 _resultobj = Py_None;
2483 return _resultobj;
2484}
2485
2486#define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
107e4716 2487static PyObject *_wrap_wxRect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2488 PyObject * _resultobj;
2489 wxPoint * _result;
2490 wxRect * _arg0;
37f6a977
RD
2491 wxRect temp;
2492 PyObject * _obj0 = 0;
107e4716 2493 char *_kwnames[] = { "self", NULL };
70551f47
RD
2494 char _ptemp[128];
2495
2496 self = self;
37f6a977 2497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetPosition",_kwnames,&_obj0))
70551f47 2498 return NULL;
37f6a977
RD
2499{
2500 _arg0 = &temp;
2501 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2502 return NULL;
37f6a977 2503}
ab9bc19b 2504{
474c48f9 2505 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2506 _result = new wxPoint (wxRect_GetPosition(_arg0));
ab9bc19b 2507
474c48f9 2508 wxPyEndAllowThreads(__tstate);
4dfaa61e 2509 if (PyErr_Occurred()) return NULL;
ab9bc19b 2510} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
70551f47
RD
2511 _resultobj = Py_BuildValue("s",_ptemp);
2512 return _resultobj;
2513}
2514
2515#define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
107e4716 2516static PyObject *_wrap_wxRect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2517 PyObject * _resultobj;
2518 wxSize * _result;
2519 wxRect * _arg0;
37f6a977
RD
2520 wxRect temp;
2521 PyObject * _obj0 = 0;
107e4716 2522 char *_kwnames[] = { "self", NULL };
70551f47
RD
2523 char _ptemp[128];
2524
2525 self = self;
37f6a977 2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetSize",_kwnames,&_obj0))
70551f47 2527 return NULL;
37f6a977
RD
2528{
2529 _arg0 = &temp;
2530 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2531 return NULL;
37f6a977 2532}
ab9bc19b 2533{
474c48f9 2534 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2535 _result = new wxSize (wxRect_GetSize(_arg0));
ab9bc19b 2536
474c48f9 2537 wxPyEndAllowThreads(__tstate);
4dfaa61e 2538 if (PyErr_Occurred()) return NULL;
ab9bc19b 2539} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
70551f47
RD
2540 _resultobj = Py_BuildValue("s",_ptemp);
2541 return _resultobj;
2542}
2543
123908fc
RD
2544#define wxRect_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2545static PyObject *_wrap_wxRect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2546 PyObject * _resultobj;
2547 wxRect * _arg0;
2548 wxPoint * _arg1;
2549 wxRect temp;
2550 PyObject * _obj0 = 0;
2551 wxPoint temp0;
2552 PyObject * _obj1 = 0;
2553 char *_kwnames[] = { "self","p", NULL };
2554
2555 self = self;
2556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect_SetPosition",_kwnames,&_obj0,&_obj1))
2557 return NULL;
2558{
2559 _arg0 = &temp;
2560 if (! wxRect_helper(_obj0, &_arg0))
2561 return NULL;
2562}
2563{
2564 _arg1 = &temp0;
2565 if (! wxPoint_helper(_obj1, &_arg1))
2566 return NULL;
2567}
2568{
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 wxRect_SetPosition(_arg0,*_arg1);
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) return NULL;
2574} Py_INCREF(Py_None);
2575 _resultobj = Py_None;
2576 return _resultobj;
2577}
2578
2579#define wxRect_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2580static PyObject *_wrap_wxRect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject * _resultobj;
2582 wxRect * _arg0;
2583 wxSize * _arg1;
2584 wxRect temp;
2585 PyObject * _obj0 = 0;
2586 wxSize temp0;
2587 PyObject * _obj1 = 0;
2588 char *_kwnames[] = { "self","s", NULL };
2589
2590 self = self;
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect_SetSize",_kwnames,&_obj0,&_obj1))
2592 return NULL;
2593{
2594 _arg0 = &temp;
2595 if (! wxRect_helper(_obj0, &_arg0))
2596 return NULL;
2597}
2598{
2599 _arg1 = &temp0;
2600 if (! wxSize_helper(_obj1, &_arg1))
2601 return NULL;
2602}
2603{
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 wxRect_SetSize(_arg0,*_arg1);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) return NULL;
2609} Py_INCREF(Py_None);
2610 _resultobj = Py_None;
2611 return _resultobj;
2612}
2613
70551f47 2614#define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
107e4716 2615static PyObject *_wrap_wxRect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2616 PyObject * _resultobj;
56f5d962 2617 int _result;
70551f47 2618 wxRect * _arg0;
37f6a977
RD
2619 wxRect temp;
2620 PyObject * _obj0 = 0;
107e4716 2621 char *_kwnames[] = { "self", NULL };
70551f47
RD
2622
2623 self = self;
37f6a977 2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetLeft",_kwnames,&_obj0))
70551f47 2625 return NULL;
37f6a977
RD
2626{
2627 _arg0 = &temp;
2628 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2629 return NULL;
37f6a977 2630}
ab9bc19b 2631{
474c48f9 2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2633 _result = (int )wxRect_GetLeft(_arg0);
ab9bc19b 2634
474c48f9 2635 wxPyEndAllowThreads(__tstate);
4dfaa61e 2636 if (PyErr_Occurred()) return NULL;
56f5d962 2637} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2638 return _resultobj;
2639}
2640
2641#define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
107e4716 2642static PyObject *_wrap_wxRect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2643 PyObject * _resultobj;
56f5d962 2644 int _result;
70551f47 2645 wxRect * _arg0;
37f6a977
RD
2646 wxRect temp;
2647 PyObject * _obj0 = 0;
107e4716 2648 char *_kwnames[] = { "self", NULL };
70551f47
RD
2649
2650 self = self;
37f6a977 2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetTop",_kwnames,&_obj0))
70551f47 2652 return NULL;
37f6a977
RD
2653{
2654 _arg0 = &temp;
2655 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2656 return NULL;
37f6a977 2657}
ab9bc19b 2658{
474c48f9 2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2660 _result = (int )wxRect_GetTop(_arg0);
ab9bc19b 2661
474c48f9 2662 wxPyEndAllowThreads(__tstate);
4dfaa61e 2663 if (PyErr_Occurred()) return NULL;
56f5d962 2664} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2665 return _resultobj;
2666}
2667
2668#define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
107e4716 2669static PyObject *_wrap_wxRect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2670 PyObject * _resultobj;
56f5d962 2671 int _result;
70551f47 2672 wxRect * _arg0;
37f6a977
RD
2673 wxRect temp;
2674 PyObject * _obj0 = 0;
107e4716 2675 char *_kwnames[] = { "self", NULL };
70551f47
RD
2676
2677 self = self;
37f6a977 2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetBottom",_kwnames,&_obj0))
70551f47 2679 return NULL;
37f6a977
RD
2680{
2681 _arg0 = &temp;
2682 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2683 return NULL;
37f6a977 2684}
ab9bc19b 2685{
474c48f9 2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2687 _result = (int )wxRect_GetBottom(_arg0);
ab9bc19b 2688
474c48f9 2689 wxPyEndAllowThreads(__tstate);
4dfaa61e 2690 if (PyErr_Occurred()) return NULL;
56f5d962 2691} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2692 return _resultobj;
2693}
2694
2695#define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
107e4716 2696static PyObject *_wrap_wxRect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2697 PyObject * _resultobj;
56f5d962 2698 int _result;
70551f47 2699 wxRect * _arg0;
37f6a977
RD
2700 wxRect temp;
2701 PyObject * _obj0 = 0;
107e4716 2702 char *_kwnames[] = { "self", NULL };
70551f47
RD
2703
2704 self = self;
37f6a977 2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_GetRight",_kwnames,&_obj0))
70551f47 2706 return NULL;
37f6a977
RD
2707{
2708 _arg0 = &temp;
2709 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2710 return NULL;
37f6a977 2711}
ab9bc19b 2712{
474c48f9 2713 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2714 _result = (int )wxRect_GetRight(_arg0);
ab9bc19b 2715
474c48f9 2716 wxPyEndAllowThreads(__tstate);
4dfaa61e 2717 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2718} _resultobj = Py_BuildValue("i",_result);
2719 return _resultobj;
2720}
2721
2722#define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2723static PyObject *_wrap_wxRect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2724 PyObject * _resultobj;
2725 wxRect * _arg0;
2726 int _arg1;
2727 wxRect temp;
2728 PyObject * _obj0 = 0;
2729 char *_kwnames[] = { "self","left", NULL };
2730
2731 self = self;
2732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetLeft",_kwnames,&_obj0,&_arg1))
2733 return NULL;
2734{
2735 _arg0 = &temp;
2736 if (! wxRect_helper(_obj0, &_arg0))
2737 return NULL;
2738}
2739{
474c48f9 2740 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2741 wxRect_SetLeft(_arg0,_arg1);
56f5d962 2742
474c48f9 2743 wxPyEndAllowThreads(__tstate);
4dfaa61e 2744 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2745} Py_INCREF(Py_None);
2746 _resultobj = Py_None;
2747 return _resultobj;
2748}
2749
2750#define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2751static PyObject *_wrap_wxRect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject * _resultobj;
2753 wxRect * _arg0;
2754 int _arg1;
2755 wxRect temp;
2756 PyObject * _obj0 = 0;
2757 char *_kwnames[] = { "self","right", NULL };
2758
2759 self = self;
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetRight",_kwnames,&_obj0,&_arg1))
2761 return NULL;
2762{
2763 _arg0 = &temp;
2764 if (! wxRect_helper(_obj0, &_arg0))
2765 return NULL;
2766}
2767{
474c48f9 2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2769 wxRect_SetRight(_arg0,_arg1);
56f5d962 2770
474c48f9 2771 wxPyEndAllowThreads(__tstate);
4dfaa61e 2772 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2773} Py_INCREF(Py_None);
2774 _resultobj = Py_None;
2775 return _resultobj;
2776}
2777
2778#define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2779static PyObject *_wrap_wxRect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
2780 PyObject * _resultobj;
2781 wxRect * _arg0;
2782 int _arg1;
2783 wxRect temp;
2784 PyObject * _obj0 = 0;
2785 char *_kwnames[] = { "self","top", NULL };
2786
2787 self = self;
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetTop",_kwnames,&_obj0,&_arg1))
2789 return NULL;
2790{
2791 _arg0 = &temp;
2792 if (! wxRect_helper(_obj0, &_arg0))
2793 return NULL;
2794}
2795{
474c48f9 2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2797 wxRect_SetTop(_arg0,_arg1);
56f5d962 2798
474c48f9 2799 wxPyEndAllowThreads(__tstate);
4dfaa61e 2800 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2801} Py_INCREF(Py_None);
2802 _resultobj = Py_None;
2803 return _resultobj;
2804}
2805
2806#define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2807static PyObject *_wrap_wxRect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject * _resultobj;
2809 wxRect * _arg0;
2810 int _arg1;
2811 wxRect temp;
2812 PyObject * _obj0 = 0;
2813 char *_kwnames[] = { "self","bottom", NULL };
2814
2815 self = self;
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_SetBottom",_kwnames,&_obj0,&_arg1))
2817 return NULL;
2818{
2819 _arg0 = &temp;
2820 if (! wxRect_helper(_obj0, &_arg0))
2821 return NULL;
2822}
2823{
474c48f9 2824 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2825 wxRect_SetBottom(_arg0,_arg1);
56f5d962 2826
474c48f9 2827 wxPyEndAllowThreads(__tstate);
4dfaa61e 2828 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2829} Py_INCREF(Py_None);
2830 _resultobj = Py_None;
70551f47
RD
2831 return _resultobj;
2832}
2833
b67a9327
RD
2834#define wxRect_Deflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Deflate(_swigarg0,_swigarg1))
2835static PyObject *_wrap_wxRect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2836 PyObject * _resultobj;
2837 wxRect * _arg0;
2838 int _arg1;
2839 int _arg2;
2840 wxRect temp;
2841 PyObject * _obj0 = 0;
2842 char *_kwnames[] = { "self","dx","dy", NULL };
2843
2844 self = self;
b67a9327 2845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRect_Deflate",_kwnames,&_obj0,&_arg1,&_arg2))
f6bcfd97
BP
2846 return NULL;
2847{
2848 _arg0 = &temp;
2849 if (! wxRect_helper(_obj0, &_arg0))
2850 return NULL;
2851}
2852{
474c48f9 2853 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2854 wxRect_Deflate(_arg0,_arg1,_arg2);
f6bcfd97 2855
474c48f9 2856 wxPyEndAllowThreads(__tstate);
4dfaa61e 2857 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2858} Py_INCREF(Py_None);
2859 _resultobj = Py_None;
2860 return _resultobj;
2861}
2862
b67a9327
RD
2863#define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2864static PyObject *_wrap_wxRect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2865 PyObject * _resultobj;
f6bcfd97
BP
2866 wxRect * _arg0;
2867 int _arg1;
2868 int _arg2;
2869 wxRect temp;
2870 PyObject * _obj0 = 0;
b67a9327 2871 char *_kwnames[] = { "self","dx","dy", NULL };
f6bcfd97
BP
2872
2873 self = self;
b67a9327 2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRect_Inflate",_kwnames,&_obj0,&_arg1,&_arg2))
f6bcfd97
BP
2875 return NULL;
2876{
2877 _arg0 = &temp;
2878 if (! wxRect_helper(_obj0, &_arg0))
2879 return NULL;
2880}
2881{
474c48f9 2882 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2883 wxRect_Inflate(_arg0,_arg1,_arg2);
f6bcfd97 2884
474c48f9 2885 wxPyEndAllowThreads(__tstate);
4dfaa61e 2886 if (PyErr_Occurred()) return NULL;
b67a9327
RD
2887} Py_INCREF(Py_None);
2888 _resultobj = Py_None;
f6bcfd97
BP
2889 return _resultobj;
2890}
2891
b67a9327
RD
2892#define wxRect_InsideXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2893static PyObject *_wrap_wxRect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2894 PyObject * _resultobj;
b67a9327 2895 bool _result;
70551f47 2896 wxRect * _arg0;
56f5d962 2897 int _arg1;
b67a9327 2898 int _arg2;
37f6a977
RD
2899 wxRect temp;
2900 PyObject * _obj0 = 0;
b67a9327 2901 char *_kwnames[] = { "self","cx","cy", NULL };
70551f47
RD
2902
2903 self = self;
b67a9327 2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRect_InsideXY",_kwnames,&_obj0,&_arg1,&_arg2))
70551f47 2905 return NULL;
37f6a977
RD
2906{
2907 _arg0 = &temp;
2908 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2909 return NULL;
37f6a977 2910}
ab9bc19b 2911{
474c48f9 2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2913 _result = (bool )wxRect_InsideXY(_arg0,_arg1,_arg2);
ab9bc19b 2914
474c48f9 2915 wxPyEndAllowThreads(__tstate);
4dfaa61e 2916 if (PyErr_Occurred()) return NULL;
56f5d962 2917} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2918 return _resultobj;
2919}
2920
b67a9327
RD
2921#define wxRect_Inside(_swigobj,_swigarg0) (_swigobj->Inside(_swigarg0))
2922static PyObject *_wrap_wxRect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2923 PyObject * _resultobj;
b67a9327 2924 bool _result;
70551f47 2925 wxRect * _arg0;
b67a9327 2926 wxPoint * _arg1;
37f6a977
RD
2927 wxRect temp;
2928 PyObject * _obj0 = 0;
b67a9327
RD
2929 wxPoint temp0;
2930 PyObject * _obj1 = 0;
2931 char *_kwnames[] = { "self","pt", NULL };
70551f47
RD
2932
2933 self = self;
b67a9327 2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect_Inside",_kwnames,&_obj0,&_obj1))
70551f47 2935 return NULL;
37f6a977
RD
2936{
2937 _arg0 = &temp;
2938 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2939 return NULL;
37f6a977 2940}
b67a9327
RD
2941{
2942 _arg1 = &temp0;
2943 if (! wxPoint_helper(_obj1, &_arg1))
2944 return NULL;
2945}
ab9bc19b 2946{
474c48f9 2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2948 _result = (bool )wxRect_Inside(_arg0,*_arg1);
ab9bc19b 2949
474c48f9 2950 wxPyEndAllowThreads(__tstate);
4dfaa61e 2951 if (PyErr_Occurred()) return NULL;
56f5d962 2952} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2953 return _resultobj;
2954}
2955
b67a9327
RD
2956#define wxRect_Intersects(_swigobj,_swigarg0) (_swigobj->Intersects(_swigarg0))
2957static PyObject *_wrap_wxRect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2958 PyObject * _resultobj;
b67a9327 2959 bool _result;
70551f47 2960 wxRect * _arg0;
b67a9327 2961 wxRect * _arg1;
37f6a977
RD
2962 wxRect temp;
2963 PyObject * _obj0 = 0;
b67a9327
RD
2964 wxRect temp0;
2965 PyObject * _obj1 = 0;
2966 char *_kwnames[] = { "self","rect", NULL };
70551f47
RD
2967
2968 self = self;
b67a9327 2969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect_Intersects",_kwnames,&_obj0,&_obj1))
70551f47 2970 return NULL;
37f6a977
RD
2971{
2972 _arg0 = &temp;
2973 if (! wxRect_helper(_obj0, &_arg0))
70551f47 2974 return NULL;
37f6a977 2975}
b67a9327
RD
2976{
2977 _arg1 = &temp0;
2978 if (! wxRect_helper(_obj1, &_arg1))
2979 return NULL;
2980}
ab9bc19b 2981{
474c48f9 2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 2983 _result = (bool )wxRect_Intersects(_arg0,*_arg1);
ab9bc19b 2984
474c48f9 2985 wxPyEndAllowThreads(__tstate);
4dfaa61e 2986 if (PyErr_Occurred()) return NULL;
56f5d962 2987} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2988 return _resultobj;
2989}
2990
b67a9327
RD
2991#define wxRect_OffsetXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
2992static PyObject *_wrap_wxRect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2993 PyObject * _resultobj;
70551f47 2994 wxRect * _arg0;
b67a9327
RD
2995 int _arg1;
2996 int _arg2;
37f6a977
RD
2997 wxRect temp;
2998 PyObject * _obj0 = 0;
b67a9327 2999 char *_kwnames[] = { "self","dx","dy", NULL };
70551f47
RD
3000
3001 self = self;
b67a9327 3002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRect_OffsetXY",_kwnames,&_obj0,&_arg1,&_arg2))
70551f47 3003 return NULL;
37f6a977
RD
3004{
3005 _arg0 = &temp;
3006 if (! wxRect_helper(_obj0, &_arg0))
70551f47 3007 return NULL;
37f6a977 3008}
ab9bc19b 3009{
474c48f9 3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 3011 wxRect_OffsetXY(_arg0,_arg1,_arg2);
ab9bc19b 3012
474c48f9 3013 wxPyEndAllowThreads(__tstate);
4dfaa61e 3014 if (PyErr_Occurred()) return NULL;
b67a9327
RD
3015} Py_INCREF(Py_None);
3016 _resultobj = Py_None;
70551f47
RD
3017 return _resultobj;
3018}
3019
b67a9327
RD
3020#define wxRect_Offset(_swigobj,_swigarg0) (_swigobj->Offset(_swigarg0))
3021static PyObject *_wrap_wxRect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3022 PyObject * _resultobj;
70551f47 3023 wxRect * _arg0;
b67a9327 3024 wxPoint * _arg1;
37f6a977
RD
3025 wxRect temp;
3026 PyObject * _obj0 = 0;
b67a9327
RD
3027 wxPoint temp0;
3028 PyObject * _obj1 = 0;
3029 char *_kwnames[] = { "self","pt", NULL };
3030
3031 self = self;
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect_Offset",_kwnames,&_obj0,&_obj1))
3033 return NULL;
3034{
3035 _arg0 = &temp;
3036 if (! wxRect_helper(_obj0, &_arg0))
3037 return NULL;
3038}
3039{
3040 _arg1 = &temp0;
3041 if (! wxPoint_helper(_obj1, &_arg1))
3042 return NULL;
3043}
3044{
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 wxRect_Offset(_arg0,*_arg1);
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) return NULL;
3050} Py_INCREF(Py_None);
3051 _resultobj = Py_None;
3052 return _resultobj;
3053}
3054
3055#define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
3056static PyObject *_wrap_wxRect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3057 PyObject * _resultobj;
3058 int _result;
3059 wxRect * _arg0;
3060 int _arg1;
3061 wxRect temp;
3062 PyObject * _obj0 = 0;
3063 char *_kwnames[] = { "self","x", NULL };
3064
3065 self = self;
3066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_x_set",_kwnames,&_obj0,&_arg1))
3067 return NULL;
3068{
3069 _arg0 = &temp;
3070 if (! wxRect_helper(_obj0, &_arg0))
3071 return NULL;
3072}
3073{
3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
3075 _result = (int )wxRect_x_set(_arg0,_arg1);
3076
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) return NULL;
3079} _resultobj = Py_BuildValue("i",_result);
3080 return _resultobj;
3081}
3082
3083#define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
3084static PyObject *_wrap_wxRect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3085 PyObject * _resultobj;
3086 int _result;
3087 wxRect * _arg0;
3088 wxRect temp;
3089 PyObject * _obj0 = 0;
3090 char *_kwnames[] = { "self", NULL };
3091
3092 self = self;
3093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_x_get",_kwnames,&_obj0))
3094 return NULL;
3095{
3096 _arg0 = &temp;
3097 if (! wxRect_helper(_obj0, &_arg0))
3098 return NULL;
3099}
3100{
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
3102 _result = (int )wxRect_x_get(_arg0);
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) return NULL;
3106} _resultobj = Py_BuildValue("i",_result);
3107 return _resultobj;
3108}
3109
3110#define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
3111static PyObject *_wrap_wxRect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject * _resultobj;
3113 int _result;
3114 wxRect * _arg0;
3115 int _arg1;
3116 wxRect temp;
3117 PyObject * _obj0 = 0;
3118 char *_kwnames[] = { "self","y", NULL };
3119
3120 self = self;
3121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_y_set",_kwnames,&_obj0,&_arg1))
3122 return NULL;
3123{
3124 _arg0 = &temp;
3125 if (! wxRect_helper(_obj0, &_arg0))
3126 return NULL;
3127}
3128{
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 _result = (int )wxRect_y_set(_arg0,_arg1);
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) return NULL;
3134} _resultobj = Py_BuildValue("i",_result);
3135 return _resultobj;
3136}
3137
3138#define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
3139static PyObject *_wrap_wxRect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3140 PyObject * _resultobj;
3141 int _result;
3142 wxRect * _arg0;
3143 wxRect temp;
3144 PyObject * _obj0 = 0;
3145 char *_kwnames[] = { "self", NULL };
3146
3147 self = self;
3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_y_get",_kwnames,&_obj0))
3149 return NULL;
3150{
3151 _arg0 = &temp;
3152 if (! wxRect_helper(_obj0, &_arg0))
3153 return NULL;
3154}
3155{
3156 PyThreadState* __tstate = wxPyBeginAllowThreads();
3157 _result = (int )wxRect_y_get(_arg0);
3158
3159 wxPyEndAllowThreads(__tstate);
3160 if (PyErr_Occurred()) return NULL;
3161} _resultobj = Py_BuildValue("i",_result);
3162 return _resultobj;
3163}
3164
3165#define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
3166static PyObject *_wrap_wxRect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject * _resultobj;
3168 int _result;
3169 wxRect * _arg0;
3170 int _arg1;
3171 wxRect temp;
3172 PyObject * _obj0 = 0;
3173 char *_kwnames[] = { "self","width", NULL };
3174
70551f47 3175 self = self;
56f5d962 3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_width_set",_kwnames,&_obj0,&_arg1))
70551f47 3177 return NULL;
37f6a977
RD
3178{
3179 _arg0 = &temp;
3180 if (! wxRect_helper(_obj0, &_arg0))
70551f47 3181 return NULL;
37f6a977 3182}
ab9bc19b 3183{
474c48f9 3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3185 _result = (int )wxRect_width_set(_arg0,_arg1);
ab9bc19b 3186
474c48f9 3187 wxPyEndAllowThreads(__tstate);
4dfaa61e 3188 if (PyErr_Occurred()) return NULL;
56f5d962 3189} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3190 return _resultobj;
3191}
3192
56f5d962 3193#define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
107e4716 3194static PyObject *_wrap_wxRect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3195 PyObject * _resultobj;
56f5d962 3196 int _result;
70551f47 3197 wxRect * _arg0;
37f6a977
RD
3198 wxRect temp;
3199 PyObject * _obj0 = 0;
107e4716 3200 char *_kwnames[] = { "self", NULL };
70551f47
RD
3201
3202 self = self;
37f6a977 3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_width_get",_kwnames,&_obj0))
70551f47 3204 return NULL;
37f6a977
RD
3205{
3206 _arg0 = &temp;
3207 if (! wxRect_helper(_obj0, &_arg0))
70551f47 3208 return NULL;
37f6a977 3209}
ab9bc19b 3210{
474c48f9 3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3212 _result = (int )wxRect_width_get(_arg0);
ab9bc19b 3213
474c48f9 3214 wxPyEndAllowThreads(__tstate);
4dfaa61e 3215 if (PyErr_Occurred()) return NULL;
56f5d962 3216} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3217 return _resultobj;
3218}
3219
3220#define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
107e4716 3221static PyObject *_wrap_wxRect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3222 PyObject * _resultobj;
56f5d962 3223 int _result;
70551f47 3224 wxRect * _arg0;
56f5d962 3225 int _arg1;
37f6a977
RD
3226 wxRect temp;
3227 PyObject * _obj0 = 0;
107e4716 3228 char *_kwnames[] = { "self","height", NULL };
70551f47
RD
3229
3230 self = self;
56f5d962 3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRect_height_set",_kwnames,&_obj0,&_arg1))
70551f47 3232 return NULL;
37f6a977
RD
3233{
3234 _arg0 = &temp;
3235 if (! wxRect_helper(_obj0, &_arg0))
70551f47 3236 return NULL;
37f6a977 3237}
ab9bc19b 3238{
474c48f9 3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3240 _result = (int )wxRect_height_set(_arg0,_arg1);
ab9bc19b 3241
474c48f9 3242 wxPyEndAllowThreads(__tstate);
4dfaa61e 3243 if (PyErr_Occurred()) return NULL;
56f5d962 3244} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3245 return _resultobj;
3246}
3247
56f5d962 3248#define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
107e4716 3249static PyObject *_wrap_wxRect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3250 PyObject * _resultobj;
56f5d962 3251 int _result;
70551f47 3252 wxRect * _arg0;
37f6a977
RD
3253 wxRect temp;
3254 PyObject * _obj0 = 0;
107e4716 3255 char *_kwnames[] = { "self", NULL };
70551f47
RD
3256
3257 self = self;
37f6a977 3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_height_get",_kwnames,&_obj0))
70551f47 3259 return NULL;
37f6a977
RD
3260{
3261 _arg0 = &temp;
3262 if (! wxRect_helper(_obj0, &_arg0))
70551f47 3263 return NULL;
37f6a977 3264}
ab9bc19b 3265{
474c48f9 3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3267 _result = (int )wxRect_height_get(_arg0);
ab9bc19b 3268
474c48f9 3269 wxPyEndAllowThreads(__tstate);
4dfaa61e 3270 if (PyErr_Occurred()) return NULL;
56f5d962 3271} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3272 return _resultobj;
3273}
3274
b67a9327
RD
3275static void wxRect_Set(wxRect *self,int x,int y,int width,int height) {
3276 self->x = x;
3277 self->y = y;
3278 self->width = width;
3279 self->height = height;
3280 }
3281static PyObject *_wrap_wxRect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3282 PyObject * _resultobj;
3283 wxRect * _arg0;
3284 int _arg1 = (int ) 0;
3285 int _arg2 = (int ) 0;
3286 int _arg3 = (int ) 0;
3287 int _arg4 = (int ) 0;
3288 wxRect temp;
3289 PyObject * _obj0 = 0;
3290 char *_kwnames[] = { "self","x","y","width","height", NULL };
3291
3292 self = self;
3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iiii:wxRect_Set",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3,&_arg4))
3294 return NULL;
3295{
3296 _arg0 = &temp;
3297 if (! wxRect_helper(_obj0, &_arg0))
3298 return NULL;
3299}
3300{
3301 PyThreadState* __tstate = wxPyBeginAllowThreads();
3302 wxRect_Set(_arg0,_arg1,_arg2,_arg3,_arg4);
3303
3304 wxPyEndAllowThreads(__tstate);
3305 if (PyErr_Occurred()) return NULL;
3306} Py_INCREF(Py_None);
3307 _resultobj = Py_None;
3308 return _resultobj;
3309}
3310
21f8d7ea 3311static PyObject * wxRect_asTuple(wxRect *self) {
301dfd67 3312 wxPyBeginBlockThreads();
21f8d7ea
RD
3313 PyObject* tup = PyTuple_New(4);
3314 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
3315 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
8f17924e
RD
3316 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
3317 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
301dfd67 3318 wxPyEndBlockThreads();
21f8d7ea
RD
3319 return tup;
3320 }
107e4716 3321static PyObject *_wrap_wxRect_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
3322 PyObject * _resultobj;
3323 PyObject * _result;
3324 wxRect * _arg0;
37f6a977
RD
3325 wxRect temp;
3326 PyObject * _obj0 = 0;
107e4716 3327 char *_kwnames[] = { "self", NULL };
21f8d7ea
RD
3328
3329 self = self;
37f6a977 3330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRect_asTuple",_kwnames,&_obj0))
21f8d7ea 3331 return NULL;
37f6a977
RD
3332{
3333 _arg0 = &temp;
3334 if (! wxRect_helper(_obj0, &_arg0))
21f8d7ea 3335 return NULL;
37f6a977 3336}
21f8d7ea 3337{
474c48f9 3338 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3339 _result = (PyObject *)wxRect_asTuple(_arg0);
ab9bc19b 3340
474c48f9 3341 wxPyEndAllowThreads(__tstate);
4dfaa61e 3342 if (PyErr_Occurred()) return NULL;
ab9bc19b 3343}{
21f8d7ea
RD
3344 _resultobj = _result;
3345}
3346 return _resultobj;
3347}
3348
b67a9327
RD
3349static wxRect wxRect___add__(wxRect *self,const wxRect & rect) {
3350 return *self + rect;
f6bcfd97
BP
3351 }
3352static PyObject *_wrap_wxRect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3353 PyObject * _resultobj;
f6bcfd97
BP
3354 wxRect * _result;
3355 wxRect * _arg0;
3356 wxRect * _arg1;
3357 wxRect temp;
70551f47 3358 PyObject * _obj0 = 0;
f6bcfd97
BP
3359 wxRect temp0;
3360 PyObject * _obj1 = 0;
3361 char *_kwnames[] = { "self","rect", NULL };
70551f47
RD
3362 char _ptemp[128];
3363
3364 self = self;
f6bcfd97 3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect___add__",_kwnames,&_obj0,&_obj1))
70551f47
RD
3366 return NULL;
3367{
f6bcfd97
BP
3368 _arg0 = &temp;
3369 if (! wxRect_helper(_obj0, &_arg0))
3370 return NULL;
70551f47 3371}
ab9bc19b 3372{
f6bcfd97
BP
3373 _arg1 = &temp0;
3374 if (! wxRect_helper(_obj1, &_arg1))
70551f47 3375 return NULL;
f6bcfd97 3376}
ab9bc19b 3377{
474c48f9 3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 3379 _result = new wxRect (wxRect___add__(_arg0,*_arg1));
ab9bc19b 3380
474c48f9 3381 wxPyEndAllowThreads(__tstate);
4dfaa61e 3382 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
3383} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
3384 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
3385 return _resultobj;
3386}
3387
b67a9327
RD
3388static bool wxRect___eq__(wxRect *self,PyObject * obj) {
3389 wxRect tmp;
3390 wxRect* ptr = &tmp;
3391 if (obj == Py_None) return FALSE;
3392 wxPyBLOCK_THREADS(bool success = wxRect_helper(obj, &ptr); PyErr_Clear());
3393 if (! success) return FALSE;
3394 return *self == *ptr;
f6bcfd97 3395 }
b67a9327 3396static PyObject *_wrap_wxRect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3397 PyObject * _resultobj;
b67a9327 3398 bool _result;
f6bcfd97 3399 wxRect * _arg0;
b67a9327 3400 PyObject * _arg1;
f6bcfd97
BP
3401 wxRect temp;
3402 PyObject * _obj0 = 0;
f6bcfd97 3403 PyObject * _obj1 = 0;
b67a9327 3404 char *_kwnames[] = { "self","obj", NULL };
70551f47
RD
3405
3406 self = self;
b67a9327 3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect___eq__",_kwnames,&_obj0,&_obj1))
d29aba2f 3408 return NULL;
d29aba2f 3409{
f6bcfd97
BP
3410 _arg0 = &temp;
3411 if (! wxRect_helper(_obj0, &_arg0))
70551f47 3412 return NULL;
70551f47 3413}
ab9bc19b 3414{
b67a9327
RD
3415 _arg1 = _obj1;
3416}
3417{
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 _result = (bool )wxRect___eq__(_arg0,_arg1);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) return NULL;
3423} _resultobj = Py_BuildValue("i",_result);
3424 return _resultobj;
3425}
3426
3427static bool wxRect___ne__(wxRect *self,PyObject * obj) {
3428 wxRect tmp;
3429 wxRect* ptr = &tmp;
3430 if (obj == Py_None) return TRUE;
3431 wxPyBLOCK_THREADS(bool success = wxRect_helper(obj, &ptr); PyErr_Clear());
3432 if (! success) return TRUE;
3433 return *self != *ptr;
3434 }
3435static PyObject *_wrap_wxRect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3436 PyObject * _resultobj;
3437 bool _result;
3438 wxRect * _arg0;
3439 PyObject * _arg1;
3440 wxRect temp;
3441 PyObject * _obj0 = 0;
3442 PyObject * _obj1 = 0;
3443 char *_kwnames[] = { "self","obj", NULL };
3444
3445 self = self;
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRect___ne__",_kwnames,&_obj0,&_obj1))
3447 return NULL;
3448{
3449 _arg0 = &temp;
3450 if (! wxRect_helper(_obj0, &_arg0))
70551f47 3451 return NULL;
f6bcfd97 3452}
b67a9327
RD
3453{
3454 _arg1 = _obj1;
3455}
ab9bc19b 3456{
474c48f9 3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 3458 _result = (bool )wxRect___ne__(_arg0,_arg1);
ab9bc19b 3459
474c48f9 3460 wxPyEndAllowThreads(__tstate);
4dfaa61e 3461 if (PyErr_Occurred()) return NULL;
f6bcfd97 3462} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3463 return _resultobj;
3464}
3465
b67a9327
RD
3466#define wxPoint2DDouble_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3467static PyObject *_wrap_wxPoint2DDouble_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3468 PyObject * _resultobj;
3469 double _result;
3470 wxPoint2DDouble * _arg0;
3471 double _arg1;
3472 wxPoint2DDouble temp;
3473 PyObject * _obj0 = 0;
3474 char *_kwnames[] = { "self","m_x", NULL };
3475
3476 self = self;
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPoint2DDouble_m_x_set",_kwnames,&_obj0,&_arg1))
3478 return NULL;
3479{
3480 _arg0 = &temp;
3481 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3482 return NULL;
3483}
3484{
3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
3486 _result = (double )wxPoint2DDouble_m_x_set(_arg0,_arg1);
3487
3488 wxPyEndAllowThreads(__tstate);
3489 if (PyErr_Occurred()) return NULL;
3490} _resultobj = Py_BuildValue("d",_result);
3491 return _resultobj;
3492}
3493
3494#define wxPoint2DDouble_m_x_get(_swigobj) ((double ) _swigobj->m_x)
3495static PyObject *_wrap_wxPoint2DDouble_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3496 PyObject * _resultobj;
3497 double _result;
3498 wxPoint2DDouble * _arg0;
3499 wxPoint2DDouble temp;
3500 PyObject * _obj0 = 0;
3501 char *_kwnames[] = { "self", NULL };
3502
3503 self = self;
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_m_x_get",_kwnames,&_obj0))
3505 return NULL;
3506{
3507 _arg0 = &temp;
3508 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3509 return NULL;
3510}
3511{
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
3513 _result = (double )wxPoint2DDouble_m_x_get(_arg0);
3514
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) return NULL;
3517} _resultobj = Py_BuildValue("d",_result);
3518 return _resultobj;
3519}
3520
3521#define wxPoint2DDouble_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3522static PyObject *_wrap_wxPoint2DDouble_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject * _resultobj;
3524 double _result;
3525 wxPoint2DDouble * _arg0;
3526 double _arg1;
3527 wxPoint2DDouble temp;
3528 PyObject * _obj0 = 0;
3529 char *_kwnames[] = { "self","m_y", NULL };
3530
3531 self = self;
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPoint2DDouble_m_y_set",_kwnames,&_obj0,&_arg1))
3533 return NULL;
3534{
3535 _arg0 = &temp;
3536 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3537 return NULL;
3538}
3539{
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 _result = (double )wxPoint2DDouble_m_y_set(_arg0,_arg1);
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) return NULL;
3545} _resultobj = Py_BuildValue("d",_result);
3546 return _resultobj;
3547}
3548
3549#define wxPoint2DDouble_m_y_get(_swigobj) ((double ) _swigobj->m_y)
3550static PyObject *_wrap_wxPoint2DDouble_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3551 PyObject * _resultobj;
3552 double _result;
3553 wxPoint2DDouble * _arg0;
3554 wxPoint2DDouble temp;
3555 PyObject * _obj0 = 0;
3556 char *_kwnames[] = { "self", NULL };
3557
3558 self = self;
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_m_y_get",_kwnames,&_obj0))
3560 return NULL;
3561{
3562 _arg0 = &temp;
3563 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3564 return NULL;
3565}
3566{
3567 PyThreadState* __tstate = wxPyBeginAllowThreads();
3568 _result = (double )wxPoint2DDouble_m_y_get(_arg0);
3569
3570 wxPyEndAllowThreads(__tstate);
3571 if (PyErr_Occurred()) return NULL;
3572} _resultobj = Py_BuildValue("d",_result);
3573 return _resultobj;
3574}
3575
3576#define new_wxPoint2DDouble(_swigarg0,_swigarg1) (new wxPoint2DDouble(_swigarg0,_swigarg1))
3577static PyObject *_wrap_new_wxPoint2DDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
3578 PyObject * _resultobj;
3579 wxPoint2DDouble * _result;
3580 double _arg0 = (double ) 0;
3581 double _arg1 = (double ) 0;
3582 char *_kwnames[] = { "x","y", NULL };
3583 char _ptemp[128];
3584
3585 self = self;
3586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPoint2DDouble",_kwnames,&_arg0,&_arg1))
3587 return NULL;
3588{
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 _result = (wxPoint2DDouble *)new_wxPoint2DDouble(_arg0,_arg1);
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) return NULL;
3594} if (_result) {
3595 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
3596 _resultobj = Py_BuildValue("s",_ptemp);
3597 } else {
3598 Py_INCREF(Py_None);
3599 _resultobj = Py_None;
3600 }
3601 return _resultobj;
3602}
3603
3604#define new_wxPoint2DDoubleCopy(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3605static PyObject *_wrap_new_wxPoint2DDoubleCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
3606 PyObject * _resultobj;
3607 wxPoint2DDouble * _result;
3608 wxPoint2DDouble * _arg0;
3609 wxPoint2DDouble temp;
3610 PyObject * _obj0 = 0;
3611 char *_kwnames[] = { "pt", NULL };
3612 char _ptemp[128];
3613
3614 self = self;
3615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPoint2DDoubleCopy",_kwnames,&_obj0))
3616 return NULL;
3617{
3618 _arg0 = &temp;
3619 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3620 return NULL;
3621}
3622{
3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
3624 _result = (wxPoint2DDouble *)new_wxPoint2DDoubleCopy(*_arg0);
3625
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) return NULL;
3628} if (_result) {
3629 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
3630 _resultobj = Py_BuildValue("s",_ptemp);
3631 } else {
3632 Py_INCREF(Py_None);
3633 _resultobj = Py_None;
3634 }
3635 return _resultobj;
3636}
3637
3638#define new_wxPoint2DDoubleFromPoint(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3639static PyObject *_wrap_new_wxPoint2DDoubleFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3640 PyObject * _resultobj;
3641 wxPoint2DDouble * _result;
3642 wxPoint * _arg0;
3643 wxPoint temp;
3644 PyObject * _obj0 = 0;
3645 char *_kwnames[] = { "pt", NULL };
3646 char _ptemp[128];
3647
3648 self = self;
3649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPoint2DDoubleFromPoint",_kwnames,&_obj0))
3650 return NULL;
3651{
3652 _arg0 = &temp;
3653 if (! wxPoint_helper(_obj0, &_arg0))
3654 return NULL;
3655}
3656{
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 _result = (wxPoint2DDouble *)new_wxPoint2DDoubleFromPoint(*_arg0);
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) return NULL;
3662} if (_result) {
3663 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
3664 _resultobj = Py_BuildValue("s",_ptemp);
3665 } else {
3666 Py_INCREF(Py_None);
3667 _resultobj = Py_None;
3668 }
3669 return _resultobj;
3670}
3671
3672#define wxPoint2DDouble_GetFloor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFloor(_swigarg0,_swigarg1))
3673static PyObject *_wrap_wxPoint2DDouble_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
3674 PyObject * _resultobj;
3675 wxPoint2DDouble * _arg0;
3676 int * _arg1;
3677 int temp;
3678 int * _arg2;
3679 int temp0;
3680 wxPoint2DDouble temp1;
3681 PyObject * _obj0 = 0;
3682 char *_kwnames[] = { "self", NULL };
3683
3684 self = self;
3685{
3686 _arg1 = &temp;
3687}
3688{
3689 _arg2 = &temp0;
3690}
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_GetFloor",_kwnames,&_obj0))
3692 return NULL;
3693{
3694 _arg0 = &temp1;
3695 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3696 return NULL;
3697}
3698{
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 wxPoint2DDouble_GetFloor(_arg0,_arg1,_arg2);
3701
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) return NULL;
3704} Py_INCREF(Py_None);
3705 _resultobj = Py_None;
3706{
3707 PyObject *o;
3708 o = PyInt_FromLong((long) (*_arg1));
3709 _resultobj = t_output_helper(_resultobj, o);
3710}
3711{
3712 PyObject *o;
3713 o = PyInt_FromLong((long) (*_arg2));
3714 _resultobj = t_output_helper(_resultobj, o);
3715}
3716 return _resultobj;
3717}
3718
3719#define wxPoint2DDouble_GetRounded(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRounded(_swigarg0,_swigarg1))
3720static PyObject *_wrap_wxPoint2DDouble_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
3721 PyObject * _resultobj;
3722 wxPoint2DDouble * _arg0;
3723 int * _arg1;
3724 int temp;
3725 int * _arg2;
3726 int temp0;
3727 wxPoint2DDouble temp1;
3728 PyObject * _obj0 = 0;
3729 char *_kwnames[] = { "self", NULL };
3730
3731 self = self;
3732{
3733 _arg1 = &temp;
3734}
3735{
3736 _arg2 = &temp0;
3737}
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_GetRounded",_kwnames,&_obj0))
3739 return NULL;
3740{
3741 _arg0 = &temp1;
3742 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3743 return NULL;
3744}
3745{
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 wxPoint2DDouble_GetRounded(_arg0,_arg1,_arg2);
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) return NULL;
3751} Py_INCREF(Py_None);
3752 _resultobj = Py_None;
3753{
3754 PyObject *o;
3755 o = PyInt_FromLong((long) (*_arg1));
3756 _resultobj = t_output_helper(_resultobj, o);
3757}
3758{
3759 PyObject *o;
3760 o = PyInt_FromLong((long) (*_arg2));
3761 _resultobj = t_output_helper(_resultobj, o);
3762}
3763 return _resultobj;
3764}
3765
3766#define wxPoint2DDouble_GetVectorLength(_swigobj) (_swigobj->GetVectorLength())
3767static PyObject *_wrap_wxPoint2DDouble_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject * _resultobj;
3769 double _result;
3770 wxPoint2DDouble * _arg0;
3771 wxPoint2DDouble temp;
3772 PyObject * _obj0 = 0;
3773 char *_kwnames[] = { "self", NULL };
3774
3775 self = self;
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_GetVectorLength",_kwnames,&_obj0))
3777 return NULL;
3778{
3779 _arg0 = &temp;
3780 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3781 return NULL;
3782}
3783{
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 _result = (double )wxPoint2DDouble_GetVectorLength(_arg0);
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) return NULL;
3789} _resultobj = Py_BuildValue("d",_result);
3790 return _resultobj;
3791}
3792
3793#define wxPoint2DDouble_GetVectorAngle(_swigobj) (_swigobj->GetVectorAngle())
3794static PyObject *_wrap_wxPoint2DDouble_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
3795 PyObject * _resultobj;
3796 double _result;
3797 wxPoint2DDouble * _arg0;
3798 wxPoint2DDouble temp;
3799 PyObject * _obj0 = 0;
3800 char *_kwnames[] = { "self", NULL };
3801
3802 self = self;
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_GetVectorAngle",_kwnames,&_obj0))
3804 return NULL;
3805{
3806 _arg0 = &temp;
3807 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3808 return NULL;
3809}
3810{
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 _result = (double )wxPoint2DDouble_GetVectorAngle(_arg0);
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) return NULL;
3816} _resultobj = Py_BuildValue("d",_result);
3817 return _resultobj;
3818}
3819
3820#define wxPoint2DDouble_SetVectorLength(_swigobj,_swigarg0) (_swigobj->SetVectorLength(_swigarg0))
3821static PyObject *_wrap_wxPoint2DDouble_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
3822 PyObject * _resultobj;
3823 wxPoint2DDouble * _arg0;
3824 double _arg1;
3825 wxPoint2DDouble temp;
3826 PyObject * _obj0 = 0;
3827 char *_kwnames[] = { "self","length", NULL };
3828
3829 self = self;
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPoint2DDouble_SetVectorLength",_kwnames,&_obj0,&_arg1))
3831 return NULL;
3832{
3833 _arg0 = &temp;
3834 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3835 return NULL;
3836}
3837{
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 wxPoint2DDouble_SetVectorLength(_arg0,_arg1);
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) return NULL;
3843} Py_INCREF(Py_None);
3844 _resultobj = Py_None;
3845 return _resultobj;
3846}
3847
3848#define wxPoint2DDouble_SetVectorAngle(_swigobj,_swigarg0) (_swigobj->SetVectorAngle(_swigarg0))
3849static PyObject *_wrap_wxPoint2DDouble_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject * _resultobj;
3851 wxPoint2DDouble * _arg0;
3852 double _arg1;
3853 wxPoint2DDouble temp;
3854 PyObject * _obj0 = 0;
3855 char *_kwnames[] = { "self","degrees", NULL };
3856
3857 self = self;
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPoint2DDouble_SetVectorAngle",_kwnames,&_obj0,&_arg1))
3859 return NULL;
3860{
3861 _arg0 = &temp;
3862 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3863 return NULL;
3864}
3865{
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 wxPoint2DDouble_SetVectorAngle(_arg0,_arg1);
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) return NULL;
3871} Py_INCREF(Py_None);
3872 _resultobj = Py_None;
3873 return _resultobj;
3874}
3875
3876#define wxPoint2DDouble_GetDistance(_swigobj,_swigarg0) (_swigobj->GetDistance(_swigarg0))
3877static PyObject *_wrap_wxPoint2DDouble_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject * _resultobj;
3879 double _result;
3880 wxPoint2DDouble * _arg0;
3881 wxPoint2DDouble * _arg1;
3882 wxPoint2DDouble temp;
3883 PyObject * _obj0 = 0;
3884 wxPoint2DDouble temp0;
3885 PyObject * _obj1 = 0;
3886 char *_kwnames[] = { "self","pt", NULL };
3887
3888 self = self;
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble_GetDistance",_kwnames,&_obj0,&_obj1))
3890 return NULL;
3891{
3892 _arg0 = &temp;
3893 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3894 return NULL;
3895}
3896{
3897 _arg1 = &temp0;
3898 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
3899 return NULL;
3900}
3901{
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 _result = (double )wxPoint2DDouble_GetDistance(_arg0,*_arg1);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) return NULL;
3907} _resultobj = Py_BuildValue("d",_result);
3908 return _resultobj;
3909}
3910
3911#define wxPoint2DDouble_GetDistanceSquare(_swigobj,_swigarg0) (_swigobj->GetDistanceSquare(_swigarg0))
3912static PyObject *_wrap_wxPoint2DDouble_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject * _resultobj;
3914 double _result;
3915 wxPoint2DDouble * _arg0;
3916 wxPoint2DDouble * _arg1;
3917 wxPoint2DDouble temp;
3918 PyObject * _obj0 = 0;
3919 wxPoint2DDouble temp0;
3920 PyObject * _obj1 = 0;
3921 char *_kwnames[] = { "self","pt", NULL };
3922
3923 self = self;
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble_GetDistanceSquare",_kwnames,&_obj0,&_obj1))
3925 return NULL;
3926{
3927 _arg0 = &temp;
3928 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3929 return NULL;
3930}
3931{
3932 _arg1 = &temp0;
3933 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
3934 return NULL;
3935}
3936{
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 _result = (double )wxPoint2DDouble_GetDistanceSquare(_arg0,*_arg1);
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) return NULL;
3942} _resultobj = Py_BuildValue("d",_result);
3943 return _resultobj;
3944}
3945
3946#define wxPoint2DDouble_GetDotProduct(_swigobj,_swigarg0) (_swigobj->GetDotProduct(_swigarg0))
3947static PyObject *_wrap_wxPoint2DDouble_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
3948 PyObject * _resultobj;
3949 double _result;
3950 wxPoint2DDouble * _arg0;
3951 wxPoint2DDouble * _arg1;
3952 wxPoint2DDouble temp;
3953 PyObject * _obj0 = 0;
3954 wxPoint2DDouble temp0;
3955 PyObject * _obj1 = 0;
3956 char *_kwnames[] = { "self","vec", NULL };
3957
3958 self = self;
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble_GetDotProduct",_kwnames,&_obj0,&_obj1))
3960 return NULL;
3961{
3962 _arg0 = &temp;
3963 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3964 return NULL;
3965}
3966{
3967 _arg1 = &temp0;
3968 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
3969 return NULL;
3970}
3971{
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 _result = (double )wxPoint2DDouble_GetDotProduct(_arg0,*_arg1);
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) return NULL;
3977} _resultobj = Py_BuildValue("d",_result);
3978 return _resultobj;
3979}
3980
3981#define wxPoint2DDouble_GetCrossProduct(_swigobj,_swigarg0) (_swigobj->GetCrossProduct(_swigarg0))
3982static PyObject *_wrap_wxPoint2DDouble_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
3983 PyObject * _resultobj;
3984 double _result;
3985 wxPoint2DDouble * _arg0;
3986 wxPoint2DDouble * _arg1;
3987 wxPoint2DDouble temp;
3988 PyObject * _obj0 = 0;
3989 wxPoint2DDouble temp0;
3990 PyObject * _obj1 = 0;
3991 char *_kwnames[] = { "self","vec", NULL };
3992
3993 self = self;
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble_GetCrossProduct",_kwnames,&_obj0,&_obj1))
3995 return NULL;
3996{
3997 _arg0 = &temp;
3998 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
3999 return NULL;
4000}
4001{
4002 _arg1 = &temp0;
4003 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4004 return NULL;
4005}
4006{
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 _result = (double )wxPoint2DDouble_GetCrossProduct(_arg0,*_arg1);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) return NULL;
4012} _resultobj = Py_BuildValue("d",_result);
4013 return _resultobj;
4014}
4015
4016static void wxPoint2DDouble_Set(wxPoint2DDouble *self,double x,double y) {
4017 self->m_x = x;
4018 self->m_y = y;
4019 }
4020static PyObject *_wrap_wxPoint2DDouble_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject * _resultobj;
4022 wxPoint2DDouble * _arg0;
4023 double _arg1 = (double ) 0;
4024 double _arg2 = (double ) 0;
4025 wxPoint2DDouble temp;
4026 PyObject * _obj0 = 0;
4027 char *_kwnames[] = { "self","x","y", NULL };
4028
4029 self = self;
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|dd:wxPoint2DDouble_Set",_kwnames,&_obj0,&_arg1,&_arg2))
4031 return NULL;
4032{
4033 _arg0 = &temp;
4034 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4035 return NULL;
4036}
4037{
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 wxPoint2DDouble_Set(_arg0,_arg1,_arg2);
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) return NULL;
4043} Py_INCREF(Py_None);
4044 _resultobj = Py_None;
4045 return _resultobj;
4046}
4047
4048static wxPoint2DDouble wxPoint2DDouble___neg__(wxPoint2DDouble *self) { return -(*self); }
4049static PyObject *_wrap_wxPoint2DDouble___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
4050 PyObject * _resultobj;
4051 wxPoint2DDouble * _result;
4052 wxPoint2DDouble * _arg0;
4053 wxPoint2DDouble temp;
4054 PyObject * _obj0 = 0;
4055 char *_kwnames[] = { "self", NULL };
4056 char _ptemp[128];
4057
4058 self = self;
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble___neg__",_kwnames,&_obj0))
4060 return NULL;
4061{
4062 _arg0 = &temp;
4063 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4064 return NULL;
4065}
4066{
4067 PyThreadState* __tstate = wxPyBeginAllowThreads();
4068 _result = new wxPoint2DDouble (wxPoint2DDouble___neg__(_arg0));
4069
4070 wxPyEndAllowThreads(__tstate);
4071 if (PyErr_Occurred()) return NULL;
4072} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint2DDouble_p");
4073 _resultobj = Py_BuildValue("s",_ptemp);
4074 return _resultobj;
4075}
4076
4077static wxPoint2DDouble & wxPoint2DDouble___iadd__(wxPoint2DDouble *self,const wxPoint2DDouble & pt) { return (*self) += pt; }
4078static PyObject *_wrap_wxPoint2DDouble___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4079 PyObject * _resultobj;
4080 wxPoint2DDouble * _result;
4081 wxPoint2DDouble * _arg0;
4082 wxPoint2DDouble * _arg1;
4083 wxPoint2DDouble temp;
4084 PyObject * _obj0 = 0;
4085 wxPoint2DDouble temp0;
4086 PyObject * _obj1 = 0;
4087 char *_kwnames[] = { "self","pt", NULL };
4088 char _ptemp[128];
4089
4090 self = self;
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___iadd__",_kwnames,&_obj0,&_obj1))
4092 return NULL;
4093{
4094 _arg0 = &temp;
4095 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4096 return NULL;
4097}
4098{
4099 _arg1 = &temp0;
4100 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4101 return NULL;
4102}
4103{
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 wxPoint2DDouble & _result_ref = wxPoint2DDouble___iadd__(_arg0,*_arg1);
4106 _result = (wxPoint2DDouble *) &_result_ref;
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) return NULL;
4110} if (_result) {
4111 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
4112 _resultobj = Py_BuildValue("s",_ptemp);
4113 } else {
4114 Py_INCREF(Py_None);
4115 _resultobj = Py_None;
4116 }
4117 return _resultobj;
4118}
4119
4120static wxPoint2DDouble & wxPoint2DDouble___isub__(wxPoint2DDouble *self,const wxPoint2DDouble & pt) { return (*self) -= pt; }
4121static PyObject *_wrap_wxPoint2DDouble___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
4122 PyObject * _resultobj;
4123 wxPoint2DDouble * _result;
4124 wxPoint2DDouble * _arg0;
4125 wxPoint2DDouble * _arg1;
4126 wxPoint2DDouble temp;
4127 PyObject * _obj0 = 0;
4128 wxPoint2DDouble temp0;
4129 PyObject * _obj1 = 0;
4130 char *_kwnames[] = { "self","pt", NULL };
4131 char _ptemp[128];
4132
4133 self = self;
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___isub__",_kwnames,&_obj0,&_obj1))
4135 return NULL;
4136{
4137 _arg0 = &temp;
4138 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4139 return NULL;
4140}
4141{
4142 _arg1 = &temp0;
4143 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4144 return NULL;
4145}
4146{
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 wxPoint2DDouble & _result_ref = wxPoint2DDouble___isub__(_arg0,*_arg1);
4149 _result = (wxPoint2DDouble *) &_result_ref;
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) return NULL;
4153} if (_result) {
4154 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
4155 _resultobj = Py_BuildValue("s",_ptemp);
4156 } else {
4157 Py_INCREF(Py_None);
4158 _resultobj = Py_None;
4159 }
4160 return _resultobj;
4161}
4162
4163static wxPoint2DDouble & wxPoint2DDouble___imul__(wxPoint2DDouble *self,const wxPoint2DDouble & pt) { return (*self) *= pt; }
4164static PyObject *_wrap_wxPoint2DDouble___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
4165 PyObject * _resultobj;
4166 wxPoint2DDouble * _result;
4167 wxPoint2DDouble * _arg0;
4168 wxPoint2DDouble * _arg1;
4169 wxPoint2DDouble temp;
4170 PyObject * _obj0 = 0;
4171 wxPoint2DDouble temp0;
4172 PyObject * _obj1 = 0;
4173 char *_kwnames[] = { "self","pt", NULL };
4174 char _ptemp[128];
4175
4176 self = self;
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___imul__",_kwnames,&_obj0,&_obj1))
4178 return NULL;
4179{
4180 _arg0 = &temp;
4181 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4182 return NULL;
4183}
4184{
4185 _arg1 = &temp0;
4186 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4187 return NULL;
4188}
4189{
4190 PyThreadState* __tstate = wxPyBeginAllowThreads();
4191 wxPoint2DDouble & _result_ref = wxPoint2DDouble___imul__(_arg0,*_arg1);
4192 _result = (wxPoint2DDouble *) &_result_ref;
4193
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) return NULL;
4196} if (_result) {
4197 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
4198 _resultobj = Py_BuildValue("s",_ptemp);
4199 } else {
4200 Py_INCREF(Py_None);
4201 _resultobj = Py_None;
4202 }
4203 return _resultobj;
4204}
4205
4206static wxPoint2DDouble & wxPoint2DDouble___idiv__(wxPoint2DDouble *self,const wxPoint2DDouble & pt) { return (*self) /= pt; }
4207static PyObject *_wrap_wxPoint2DDouble___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
4208 PyObject * _resultobj;
4209 wxPoint2DDouble * _result;
4210 wxPoint2DDouble * _arg0;
4211 wxPoint2DDouble * _arg1;
4212 wxPoint2DDouble temp;
4213 PyObject * _obj0 = 0;
4214 wxPoint2DDouble temp0;
4215 PyObject * _obj1 = 0;
4216 char *_kwnames[] = { "self","pt", NULL };
4217 char _ptemp[128];
4218
4219 self = self;
4220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___idiv__",_kwnames,&_obj0,&_obj1))
4221 return NULL;
4222{
4223 _arg0 = &temp;
4224 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4225 return NULL;
4226}
4227{
4228 _arg1 = &temp0;
4229 if (! wxPoint2DDouble_helper(_obj1, &_arg1))
4230 return NULL;
4231}
4232{
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 wxPoint2DDouble & _result_ref = wxPoint2DDouble___idiv__(_arg0,*_arg1);
4235 _result = (wxPoint2DDouble *) &_result_ref;
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) return NULL;
4239} if (_result) {
4240 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint2DDouble_p");
4241 _resultobj = Py_BuildValue("s",_ptemp);
4242 } else {
4243 Py_INCREF(Py_None);
4244 _resultobj = Py_None;
4245 }
4246 return _resultobj;
4247}
4248
4249static bool wxPoint2DDouble___eq__(wxPoint2DDouble *self,PyObject * obj) {
4250 wxPoint2DDouble tmp;
4251 wxPoint2DDouble* ptr = &tmp;
4252 if (obj == Py_None) return FALSE;
4253 wxPyBLOCK_THREADS(bool success = wxPoint2DDouble_helper(obj, &ptr); PyErr_Clear());
4254 if (! success) return FALSE;
4255 return *self == *ptr;
4256 }
4257static PyObject *_wrap_wxPoint2DDouble___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4258 PyObject * _resultobj;
4259 bool _result;
4260 wxPoint2DDouble * _arg0;
4261 PyObject * _arg1;
4262 wxPoint2DDouble temp;
4263 PyObject * _obj0 = 0;
4264 PyObject * _obj1 = 0;
4265 char *_kwnames[] = { "self","obj", NULL };
4266
4267 self = self;
4268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___eq__",_kwnames,&_obj0,&_obj1))
4269 return NULL;
4270{
4271 _arg0 = &temp;
4272 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4273 return NULL;
4274}
4275{
4276 _arg1 = _obj1;
4277}
4278{
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 _result = (bool )wxPoint2DDouble___eq__(_arg0,_arg1);
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) return NULL;
4284} _resultobj = Py_BuildValue("i",_result);
4285 return _resultobj;
4286}
4287
4288static bool wxPoint2DDouble___ne__(wxPoint2DDouble *self,PyObject * obj) {
4289 wxPoint2DDouble tmp;
4290 wxPoint2DDouble* ptr = &tmp;
4291 if (obj == Py_None) return TRUE;
4292 wxPyBLOCK_THREADS(bool success = wxPoint2DDouble_helper(obj, &ptr); PyErr_Clear());
4293 if (! success) return TRUE;
4294 return *self != *ptr;
4295 }
4296static PyObject *_wrap_wxPoint2DDouble___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4297 PyObject * _resultobj;
4298 bool _result;
4299 wxPoint2DDouble * _arg0;
4300 PyObject * _arg1;
4301 wxPoint2DDouble temp;
4302 PyObject * _obj0 = 0;
4303 PyObject * _obj1 = 0;
4304 char *_kwnames[] = { "self","obj", NULL };
4305
4306 self = self;
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint2DDouble___ne__",_kwnames,&_obj0,&_obj1))
4308 return NULL;
4309{
4310 _arg0 = &temp;
4311 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4312 return NULL;
4313}
4314{
4315 _arg1 = _obj1;
4316}
4317{
4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
4319 _result = (bool )wxPoint2DDouble___ne__(_arg0,_arg1);
4320
4321 wxPyEndAllowThreads(__tstate);
4322 if (PyErr_Occurred()) return NULL;
4323} _resultobj = Py_BuildValue("i",_result);
4324 return _resultobj;
4325}
4326
4327static PyObject * wxPoint2DDouble_asTuple(wxPoint2DDouble *self) {
4328 wxPyBeginBlockThreads();
4329 PyObject* tup = PyTuple_New(2);
4330 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
4331 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
4332 wxPyEndBlockThreads();
4333 return tup;
4334 }
4335static PyObject *_wrap_wxPoint2DDouble_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject * _resultobj;
4337 PyObject * _result;
4338 wxPoint2DDouble * _arg0;
4339 wxPoint2DDouble temp;
4340 PyObject * _obj0 = 0;
4341 char *_kwnames[] = { "self", NULL };
4342
4343 self = self;
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPoint2DDouble_asTuple",_kwnames,&_obj0))
4345 return NULL;
4346{
4347 _arg0 = &temp;
4348 if (! wxPoint2DDouble_helper(_obj0, &_arg0))
4349 return NULL;
4350}
4351{
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 _result = (PyObject *)wxPoint2DDouble_asTuple(_arg0);
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) return NULL;
4357}{
4358 _resultobj = _result;
4359}
4360 return _resultobj;
4361}
4362
9df61a29
RD
4363static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr) {
4364 wxIndividualLayoutConstraint *src;
4365 wxObject *dest;
4366 src = (wxIndividualLayoutConstraint *) ptr;
4367 dest = (wxObject *) src;
4368 return (void *) dest;
4369}
4370
70551f47 4371#define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
107e4716 4372static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4373 PyObject * _resultobj;
4374 wxIndividualLayoutConstraint * _arg0;
4375 wxWindow * _arg1;
2d091820
RD
4376 int _arg2 = (int ) 0;
4377 PyObject * _argo0 = 0;
4378 PyObject * _argo1 = 0;
107e4716 4379 char *_kwnames[] = { "self","otherWin","margin", NULL };
70551f47
RD
4380
4381 self = self;
107e4716 4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames,&_argo0,&_argo1,&_arg2))
70551f47 4383 return NULL;
2d091820
RD
4384 if (_argo0) {
4385 if (_argo0 == Py_None) { _arg0 = NULL; }
4386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
4387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
4388 return NULL;
4389 }
4390 }
2d091820
RD
4391 if (_argo1) {
4392 if (_argo1 == Py_None) { _arg1 = NULL; }
4393 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
4394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
4395 return NULL;
4396 }
4397 }
ab9bc19b 4398{
474c48f9 4399 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4400 wxIndividualLayoutConstraint_Above(_arg0,_arg1,_arg2);
ab9bc19b 4401
474c48f9 4402 wxPyEndAllowThreads(__tstate);
4dfaa61e 4403 if (PyErr_Occurred()) return NULL;
ab9bc19b 4404} Py_INCREF(Py_None);
70551f47
RD
4405 _resultobj = Py_None;
4406 return _resultobj;
4407}
4408
4409#define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
107e4716 4410static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4411 PyObject * _resultobj;
4412 wxIndividualLayoutConstraint * _arg0;
4413 int _arg1;
2d091820 4414 PyObject * _argo0 = 0;
107e4716 4415 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
4416
4417 self = self;
107e4716 4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames,&_argo0,&_arg1))
70551f47 4419 return NULL;
2d091820
RD
4420 if (_argo0) {
4421 if (_argo0 == Py_None) { _arg0 = NULL; }
4422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
4423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
4424 return NULL;
4425 }
4426 }
ab9bc19b 4427{
474c48f9 4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4429 wxIndividualLayoutConstraint_Absolute(_arg0,_arg1);
ab9bc19b 4430
474c48f9 4431 wxPyEndAllowThreads(__tstate);
4dfaa61e 4432 if (PyErr_Occurred()) return NULL;
ab9bc19b 4433} Py_INCREF(Py_None);
70551f47
RD
4434 _resultobj = Py_None;
4435 return _resultobj;
4436}
4437
4438#define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
107e4716 4439static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4440 PyObject * _resultobj;
4441 wxIndividualLayoutConstraint * _arg0;
2d091820 4442 PyObject * _argo0 = 0;
107e4716 4443 char *_kwnames[] = { "self", NULL };
70551f47
RD
4444
4445 self = self;
107e4716 4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIndividualLayoutConstraint_AsIs",_kwnames,&_argo0))
70551f47 4447 return NULL;
2d091820
RD
4448 if (_argo0) {
4449 if (_argo0 == Py_None) { _arg0 = NULL; }
4450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
4451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
4452 return NULL;
4453 }
4454 }
ab9bc19b 4455{
474c48f9 4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4457 wxIndividualLayoutConstraint_AsIs(_arg0);
ab9bc19b 4458
474c48f9 4459 wxPyEndAllowThreads(__tstate);
4dfaa61e 4460 if (PyErr_Occurred()) return NULL;
ab9bc19b 4461} Py_INCREF(Py_None);
70551f47
RD
4462 _resultobj = Py_None;
4463 return _resultobj;
4464}
4465
4466#define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
107e4716 4467static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4468 PyObject * _resultobj;
4469 wxIndividualLayoutConstraint * _arg0;
4470 wxWindow * _arg1;
2d091820
RD
4471 int _arg2 = (int ) 0;
4472 PyObject * _argo0 = 0;
4473 PyObject * _argo1 = 0;
107e4716 4474 char *_kwnames[] = { "self","otherWin","margin", NULL };
70551f47
RD
4475
4476 self = self;
107e4716 4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames,&_argo0,&_argo1,&_arg2))
70551f47 4478 return NULL;
2d091820
RD
4479 if (_argo0) {
4480 if (_argo0 == Py_None) { _arg0 = NULL; }
4481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
4482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
4483 return NULL;
4484 }
4485 }
2d091820
RD
4486 if (_argo1) {
4487 if (_argo1 == Py_None) { _arg1 = NULL; }
4488 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
4489 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
4490 return NULL;
4491 }
4492 }
ab9bc19b 4493{
474c48f9 4494 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4495 wxIndividualLayoutConstraint_Below(_arg0,_arg1,_arg2);
ab9bc19b 4496
474c48f9 4497 wxPyEndAllowThreads(__tstate);
4dfaa61e 4498 if (PyErr_Occurred()) return NULL;
ab9bc19b 4499} Py_INCREF(Py_None);
70551f47
RD
4500 _resultobj = Py_None;
4501 return _resultobj;
4502}
4503
4504#define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
107e4716 4505static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4506 PyObject * _resultobj;
4507 wxIndividualLayoutConstraint * _arg0;
2d091820 4508 PyObject * _argo0 = 0;
107e4716 4509 char *_kwnames[] = { "self", NULL };
70551f47
RD
4510
4511 self = self;
107e4716 4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames,&_argo0))
70551f47 4513 return NULL;
2d091820
RD
4514 if (_argo0) {
4515 if (_argo0 == Py_None) { _arg0 = NULL; }
4516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
4517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
4518 return NULL;
4519 }
4520 }
ab9bc19b 4521{
474c48f9 4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4523 wxIndividualLayoutConstraint_Unconstrained(_arg0);
ab9bc19b 4524
474c48f9 4525 wxPyEndAllowThreads(__tstate);
4dfaa61e 4526 if (PyErr_Occurred()) return NULL;
ab9bc19b 4527} Py_INCREF(Py_None);
70551f47
RD
4528 _resultobj = Py_None;
4529 return _resultobj;
4530}
4531
4532#define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
107e4716 4533static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4534 PyObject * _resultobj;
4535 wxIndividualLayoutConstraint * _arg0;
4536 wxWindow * _arg1;
2d091820
RD
4537 int _arg2 = (int ) 0;
4538 PyObject * _argo0 = 0;
4539 PyObject * _argo1 = 0;
107e4716 4540 char *_kwnames[] = { "self","otherWin","margin", NULL };
70551f47
RD
4541
4542 self = self;
107e4716 4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames,&_argo0,&_argo1,&_arg2))
70551f47 4544 return NULL;
2d091820
RD
4545 if (_argo0) {
4546 if (_argo0 == Py_None) { _arg0 = NULL; }
4547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
4548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
4549 return NULL;
4550 }
4551 }
2d091820
RD
4552 if (_argo1) {
4553 if (_argo1 == Py_None) { _arg1 = NULL; }
4554 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
4555 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
4556 return NULL;
4557 }
4558 }
ab9bc19b 4559{
474c48f9 4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4561 wxIndividualLayoutConstraint_LeftOf(_arg0,_arg1,_arg2);
ab9bc19b 4562
474c48f9 4563 wxPyEndAllowThreads(__tstate);
4dfaa61e 4564 if (PyErr_Occurred()) return NULL;
ab9bc19b 4565} Py_INCREF(Py_None);
70551f47
RD
4566 _resultobj = Py_None;
4567 return _resultobj;
4568}
4569
4570#define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
107e4716 4571static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4572 PyObject * _resultobj;
4573 wxIndividualLayoutConstraint * _arg0;
4574 wxWindow * _arg1;
4575 wxEdge _arg2;
4576 int _arg3;
2d091820
RD
4577 PyObject * _argo0 = 0;
4578 PyObject * _argo1 = 0;
107e4716 4579 char *_kwnames[] = { "self","otherWin","edge","percent", NULL };
70551f47
RD
4580
4581 self = self;
107e4716 4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
70551f47 4583 return NULL;
2d091820
RD
4584 if (_argo0) {
4585 if (_argo0 == Py_None) { _arg0 = NULL; }
4586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
4587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
4588 return NULL;
4589 }
4590 }
2d091820
RD
4591 if (_argo1) {
4592 if (_argo1 == Py_None) { _arg1 = NULL; }
4593 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
4594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
4595 return NULL;
4596 }
4597 }
ab9bc19b 4598{
474c48f9 4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4600 wxIndividualLayoutConstraint_PercentOf(_arg0,_arg1,_arg2,_arg3);
ab9bc19b 4601
474c48f9 4602 wxPyEndAllowThreads(__tstate);
4dfaa61e 4603 if (PyErr_Occurred()) return NULL;
ab9bc19b 4604} Py_INCREF(Py_None);
70551f47
RD
4605 _resultobj = Py_None;
4606 return _resultobj;
4607}
4608
4609#define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
107e4716 4610static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4611 PyObject * _resultobj;
4612 wxIndividualLayoutConstraint * _arg0;
4613 wxWindow * _arg1;
2d091820
RD
4614 int _arg2 = (int ) 0;
4615 PyObject * _argo0 = 0;
4616 PyObject * _argo1 = 0;
107e4716 4617 char *_kwnames[] = { "self","otherWin","margin", NULL };
70551f47
RD
4618
4619 self = self;
107e4716 4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames,&_argo0,&_argo1,&_arg2))
70551f47 4621 return NULL;
2d091820
RD
4622 if (_argo0) {
4623 if (_argo0 == Py_None) { _arg0 = NULL; }
4624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
4625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
4626 return NULL;
4627 }
4628 }
2d091820
RD
4629 if (_argo1) {
4630 if (_argo1 == Py_None) { _arg1 = NULL; }
4631 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
4632 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
4633 return NULL;
4634 }
4635 }
ab9bc19b 4636{
474c48f9 4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4638 wxIndividualLayoutConstraint_RightOf(_arg0,_arg1,_arg2);
ab9bc19b 4639
474c48f9 4640 wxPyEndAllowThreads(__tstate);
4dfaa61e 4641 if (PyErr_Occurred()) return NULL;
ab9bc19b 4642} Py_INCREF(Py_None);
70551f47
RD
4643 _resultobj = Py_None;
4644 return _resultobj;
4645}
4646
4647#define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
107e4716 4648static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4649 PyObject * _resultobj;
4650 wxIndividualLayoutConstraint * _arg0;
4651 wxWindow * _arg1;
4652 wxEdge _arg2;
2d091820
RD
4653 int _arg3 = (int ) 0;
4654 PyObject * _argo0 = 0;
4655 PyObject * _argo1 = 0;
107e4716 4656 char *_kwnames[] = { "self","otherWin","edge","margin", NULL };
70551f47
RD
4657
4658 self = self;
107e4716 4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
70551f47 4660 return NULL;
2d091820
RD
4661 if (_argo0) {
4662 if (_argo0 == Py_None) { _arg0 = NULL; }
4663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
4664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
4665 return NULL;
4666 }
4667 }
2d091820
RD
4668 if (_argo1) {
4669 if (_argo1 == Py_None) { _arg1 = NULL; }
4670 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
70551f47
RD
4671 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
4672 return NULL;
4673 }
4674 }
ab9bc19b 4675{
474c48f9 4676 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4677 wxIndividualLayoutConstraint_SameAs(_arg0,_arg1,_arg2,_arg3);
ab9bc19b 4678
474c48f9 4679 wxPyEndAllowThreads(__tstate);
4dfaa61e 4680 if (PyErr_Occurred()) return NULL;
ab9bc19b 4681} Py_INCREF(Py_None);
70551f47
RD
4682 _resultobj = Py_None;
4683 return _resultobj;
4684}
4685
4686#define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 4687static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4688 PyObject * _resultobj;
4689 wxIndividualLayoutConstraint * _arg0;
4690 wxRelationship _arg1;
4691 wxWindow * _arg2;
4692 wxEdge _arg3;
2d091820
RD
4693 int _arg4 = (int ) 0;
4694 int _arg5 = (int ) 0;
4695 PyObject * _argo0 = 0;
4696 PyObject * _argo2 = 0;
107e4716 4697 char *_kwnames[] = { "self","rel","otherWin","otherEdge","value","margin", NULL };
70551f47
RD
4698
4699 self = self;
107e4716 4700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5))
70551f47 4701 return NULL;
2d091820
RD
4702 if (_argo0) {
4703 if (_argo0 == Py_None) { _arg0 = NULL; }
4704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
70551f47
RD
4705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
4706 return NULL;
4707 }
4708 }
2d091820
RD
4709 if (_argo2) {
4710 if (_argo2 == Py_None) { _arg2 = NULL; }
4711 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
70551f47
RD
4712 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
4713 return NULL;
4714 }
4715 }
ab9bc19b 4716{
474c48f9 4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4718 wxIndividualLayoutConstraint_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
ab9bc19b 4719
474c48f9 4720 wxPyEndAllowThreads(__tstate);
4dfaa61e 4721 if (PyErr_Occurred()) return NULL;
ab9bc19b 4722} Py_INCREF(Py_None);
70551f47
RD
4723 _resultobj = Py_None;
4724 return _resultobj;
4725}
4726
9df61a29
RD
4727static void *SwigwxLayoutConstraintsTowxObject(void *ptr) {
4728 wxLayoutConstraints *src;
4729 wxObject *dest;
4730 src = (wxLayoutConstraints *) ptr;
4731 dest = (wxObject *) src;
4732 return (void *) dest;
4733}
4734
70551f47 4735#define new_wxLayoutConstraints() (new wxLayoutConstraints())
107e4716 4736static PyObject *_wrap_new_wxLayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4737 PyObject * _resultobj;
4738 wxLayoutConstraints * _result;
107e4716 4739 char *_kwnames[] = { NULL };
70551f47
RD
4740 char _ptemp[128];
4741
4742 self = self;
107e4716 4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutConstraints",_kwnames))
70551f47 4744 return NULL;
ab9bc19b 4745{
474c48f9 4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4747 _result = (wxLayoutConstraints *)new_wxLayoutConstraints();
ab9bc19b 4748
474c48f9 4749 wxPyEndAllowThreads(__tstate);
4dfaa61e 4750 if (PyErr_Occurred()) return NULL;
2d091820
RD
4751} if (_result) {
4752 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
4753 _resultobj = Py_BuildValue("s",_ptemp);
4754 } else {
4755 Py_INCREF(Py_None);
4756 _resultobj = Py_None;
4757 }
70551f47
RD
4758 return _resultobj;
4759}
4760
4761#define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
107e4716 4762static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4763 PyObject * _resultobj;
4764 wxIndividualLayoutConstraint * _result;
4765 wxLayoutConstraints * _arg0;
2d091820 4766 PyObject * _argo0 = 0;
107e4716 4767 char *_kwnames[] = { "self", NULL };
70551f47
RD
4768 char _ptemp[128];
4769
4770 self = self;
107e4716 4771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_bottom_get",_kwnames,&_argo0))
70551f47 4772 return NULL;
2d091820
RD
4773 if (_argo0) {
4774 if (_argo0 == Py_None) { _arg0 = NULL; }
4775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
4776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
4777 return NULL;
4778 }
4779 }
ab9bc19b 4780{
474c48f9 4781 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4782 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_bottom_get(_arg0);
ab9bc19b 4783
474c48f9 4784 wxPyEndAllowThreads(__tstate);
4dfaa61e 4785 if (PyErr_Occurred()) return NULL;
2d091820
RD
4786} if (_result) {
4787 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4788 _resultobj = Py_BuildValue("s",_ptemp);
4789 } else {
4790 Py_INCREF(Py_None);
4791 _resultobj = Py_None;
4792 }
70551f47
RD
4793 return _resultobj;
4794}
4795
4796#define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
107e4716 4797static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4798 PyObject * _resultobj;
4799 wxIndividualLayoutConstraint * _result;
4800 wxLayoutConstraints * _arg0;
2d091820 4801 PyObject * _argo0 = 0;
107e4716 4802 char *_kwnames[] = { "self", NULL };
70551f47
RD
4803 char _ptemp[128];
4804
4805 self = self;
107e4716 4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_centreX_get",_kwnames,&_argo0))
70551f47 4807 return NULL;
2d091820
RD
4808 if (_argo0) {
4809 if (_argo0 == Py_None) { _arg0 = NULL; }
4810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
4811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
4812 return NULL;
4813 }
4814 }
ab9bc19b 4815{
474c48f9 4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4817 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreX_get(_arg0);
ab9bc19b 4818
474c48f9 4819 wxPyEndAllowThreads(__tstate);
4dfaa61e 4820 if (PyErr_Occurred()) return NULL;
2d091820
RD
4821} if (_result) {
4822 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4823 _resultobj = Py_BuildValue("s",_ptemp);
4824 } else {
4825 Py_INCREF(Py_None);
4826 _resultobj = Py_None;
4827 }
70551f47
RD
4828 return _resultobj;
4829}
4830
4831#define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
107e4716 4832static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4833 PyObject * _resultobj;
4834 wxIndividualLayoutConstraint * _result;
4835 wxLayoutConstraints * _arg0;
2d091820 4836 PyObject * _argo0 = 0;
107e4716 4837 char *_kwnames[] = { "self", NULL };
70551f47
RD
4838 char _ptemp[128];
4839
4840 self = self;
107e4716 4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_centreY_get",_kwnames,&_argo0))
70551f47 4842 return NULL;
2d091820
RD
4843 if (_argo0) {
4844 if (_argo0 == Py_None) { _arg0 = NULL; }
4845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
4846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
4847 return NULL;
4848 }
4849 }
ab9bc19b 4850{
474c48f9 4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4852 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreY_get(_arg0);
ab9bc19b 4853
474c48f9 4854 wxPyEndAllowThreads(__tstate);
4dfaa61e 4855 if (PyErr_Occurred()) return NULL;
2d091820
RD
4856} if (_result) {
4857 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4858 _resultobj = Py_BuildValue("s",_ptemp);
4859 } else {
4860 Py_INCREF(Py_None);
4861 _resultobj = Py_None;
4862 }
70551f47
RD
4863 return _resultobj;
4864}
4865
4866#define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
107e4716 4867static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4868 PyObject * _resultobj;
4869 wxIndividualLayoutConstraint * _result;
4870 wxLayoutConstraints * _arg0;
2d091820 4871 PyObject * _argo0 = 0;
107e4716 4872 char *_kwnames[] = { "self", NULL };
70551f47
RD
4873 char _ptemp[128];
4874
4875 self = self;
107e4716 4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_height_get",_kwnames,&_argo0))
70551f47 4877 return NULL;
2d091820
RD
4878 if (_argo0) {
4879 if (_argo0 == Py_None) { _arg0 = NULL; }
4880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
4881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
4882 return NULL;
4883 }
4884 }
ab9bc19b 4885{
474c48f9 4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4887 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_height_get(_arg0);
ab9bc19b 4888
474c48f9 4889 wxPyEndAllowThreads(__tstate);
4dfaa61e 4890 if (PyErr_Occurred()) return NULL;
2d091820
RD
4891} if (_result) {
4892 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4893 _resultobj = Py_BuildValue("s",_ptemp);
4894 } else {
4895 Py_INCREF(Py_None);
4896 _resultobj = Py_None;
4897 }
70551f47
RD
4898 return _resultobj;
4899}
4900
4901#define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
107e4716 4902static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4903 PyObject * _resultobj;
4904 wxIndividualLayoutConstraint * _result;
4905 wxLayoutConstraints * _arg0;
2d091820 4906 PyObject * _argo0 = 0;
107e4716 4907 char *_kwnames[] = { "self", NULL };
70551f47
RD
4908 char _ptemp[128];
4909
4910 self = self;
107e4716 4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_left_get",_kwnames,&_argo0))
70551f47 4912 return NULL;
2d091820
RD
4913 if (_argo0) {
4914 if (_argo0 == Py_None) { _arg0 = NULL; }
4915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
4916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
4917 return NULL;
4918 }
4919 }
ab9bc19b 4920{
474c48f9 4921 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4922 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_left_get(_arg0);
ab9bc19b 4923
474c48f9 4924 wxPyEndAllowThreads(__tstate);
4dfaa61e 4925 if (PyErr_Occurred()) return NULL;
2d091820
RD
4926} if (_result) {
4927 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4928 _resultobj = Py_BuildValue("s",_ptemp);
4929 } else {
4930 Py_INCREF(Py_None);
4931 _resultobj = Py_None;
4932 }
70551f47
RD
4933 return _resultobj;
4934}
4935
4936#define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
107e4716 4937static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4938 PyObject * _resultobj;
4939 wxIndividualLayoutConstraint * _result;
4940 wxLayoutConstraints * _arg0;
2d091820 4941 PyObject * _argo0 = 0;
107e4716 4942 char *_kwnames[] = { "self", NULL };
70551f47
RD
4943 char _ptemp[128];
4944
4945 self = self;
107e4716 4946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_right_get",_kwnames,&_argo0))
70551f47 4947 return NULL;
2d091820
RD
4948 if (_argo0) {
4949 if (_argo0 == Py_None) { _arg0 = NULL; }
4950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
4951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
4952 return NULL;
4953 }
4954 }
ab9bc19b 4955{
474c48f9 4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4957 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_right_get(_arg0);
ab9bc19b 4958
474c48f9 4959 wxPyEndAllowThreads(__tstate);
4dfaa61e 4960 if (PyErr_Occurred()) return NULL;
2d091820
RD
4961} if (_result) {
4962 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4963 _resultobj = Py_BuildValue("s",_ptemp);
4964 } else {
4965 Py_INCREF(Py_None);
4966 _resultobj = Py_None;
4967 }
70551f47
RD
4968 return _resultobj;
4969}
4970
4971#define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
107e4716 4972static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4973 PyObject * _resultobj;
4974 wxIndividualLayoutConstraint * _result;
4975 wxLayoutConstraints * _arg0;
2d091820 4976 PyObject * _argo0 = 0;
107e4716 4977 char *_kwnames[] = { "self", NULL };
70551f47
RD
4978 char _ptemp[128];
4979
4980 self = self;
107e4716 4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_top_get",_kwnames,&_argo0))
70551f47 4982 return NULL;
2d091820
RD
4983 if (_argo0) {
4984 if (_argo0 == Py_None) { _arg0 = NULL; }
4985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
4986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
4987 return NULL;
4988 }
4989 }
ab9bc19b 4990{
474c48f9 4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4992 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_top_get(_arg0);
ab9bc19b 4993
474c48f9 4994 wxPyEndAllowThreads(__tstate);
4dfaa61e 4995 if (PyErr_Occurred()) return NULL;
2d091820
RD
4996} if (_result) {
4997 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
4998 _resultobj = Py_BuildValue("s",_ptemp);
4999 } else {
5000 Py_INCREF(Py_None);
5001 _resultobj = Py_None;
5002 }
70551f47
RD
5003 return _resultobj;
5004}
5005
5006#define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
107e4716 5007static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5008 PyObject * _resultobj;
5009 wxIndividualLayoutConstraint * _result;
5010 wxLayoutConstraints * _arg0;
2d091820 5011 PyObject * _argo0 = 0;
107e4716 5012 char *_kwnames[] = { "self", NULL };
70551f47
RD
5013 char _ptemp[128];
5014
5015 self = self;
107e4716 5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLayoutConstraints_width_get",_kwnames,&_argo0))
70551f47 5017 return NULL;
2d091820
RD
5018 if (_argo0) {
5019 if (_argo0 == Py_None) { _arg0 = NULL; }
5020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
70551f47
RD
5021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
5022 return NULL;
5023 }
5024 }
ab9bc19b 5025{
474c48f9 5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5027 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_width_get(_arg0);
ab9bc19b 5028
474c48f9 5029 wxPyEndAllowThreads(__tstate);
4dfaa61e 5030 if (PyErr_Occurred()) return NULL;
2d091820
RD
5031} if (_result) {
5032 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
5033 _resultobj = Py_BuildValue("s",_ptemp);
5034 } else {
5035 Py_INCREF(Py_None);
5036 _resultobj = Py_None;
5037 }
70551f47
RD
5038 return _resultobj;
5039}
5040
9df61a29
RD
5041#define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
5042static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 5043 PyObject * _resultobj;
9df61a29
RD
5044 wxAcceleratorEntry * _result;
5045 int _arg0 = (int ) 0;
5046 int _arg1 = (int ) 0;
5047 int _arg2 = (int ) 0;
5048 char *_kwnames[] = { "flags","keyCode","cmd", NULL };
105e45b9
RD
5049 char _ptemp[128];
5050
5051 self = self;
9df61a29 5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxAcceleratorEntry",_kwnames,&_arg0,&_arg1,&_arg2))
105e45b9 5053 return NULL;
ab9bc19b 5054{
474c48f9 5055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5056 _result = (wxAcceleratorEntry *)new_wxAcceleratorEntry(_arg0,_arg1,_arg2);
ab9bc19b 5057
474c48f9 5058 wxPyEndAllowThreads(__tstate);
4dfaa61e 5059 if (PyErr_Occurred()) return NULL;
2d091820 5060} if (_result) {
9df61a29 5061 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
2d091820
RD
5062 _resultobj = Py_BuildValue("s",_ptemp);
5063 } else {
5064 Py_INCREF(Py_None);
5065 _resultobj = Py_None;
5066 }
105e45b9
RD
5067 return _resultobj;
5068}
5069
9df61a29
RD
5070#define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
5071static PyObject *_wrap_delete_wxAcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 5072 PyObject * _resultobj;
9df61a29 5073 wxAcceleratorEntry * _arg0;
2d091820 5074 PyObject * _argo0 = 0;
107e4716 5075 char *_kwnames[] = { "self", NULL };
105e45b9
RD
5076
5077 self = self;
9df61a29 5078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxAcceleratorEntry",_kwnames,&_argo0))
105e45b9 5079 return NULL;
2d091820
RD
5080 if (_argo0) {
5081 if (_argo0 == Py_None) { _arg0 = NULL; }
9df61a29
RD
5082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
5083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
105e45b9
RD
5084 return NULL;
5085 }
5086 }
ab9bc19b 5087{
474c48f9 5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5089 delete_wxAcceleratorEntry(_arg0);
ab9bc19b 5090
474c48f9 5091 wxPyEndAllowThreads(__tstate);
4dfaa61e 5092 if (PyErr_Occurred()) return NULL;
ab9bc19b 5093} Py_INCREF(Py_None);
105e45b9
RD
5094 _resultobj = Py_None;
5095 return _resultobj;
5096}
5097
9df61a29
RD
5098#define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
5099static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 5100 PyObject * _resultobj;
9df61a29
RD
5101 wxAcceleratorEntry * _arg0;
5102 int _arg1;
5103 int _arg2;
5104 int _arg3;
2d091820 5105 PyObject * _argo0 = 0;
9df61a29 5106 char *_kwnames[] = { "self","flags","keyCode","Cmd", NULL };
105e45b9
RD
5107
5108 self = self;
9df61a29 5109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxAcceleratorEntry_Set",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
105e45b9 5110 return NULL;
2d091820
RD
5111 if (_argo0) {
5112 if (_argo0 == Py_None) { _arg0 = NULL; }
9df61a29
RD
5113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
5114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
105e45b9
RD
5115 return NULL;
5116 }
5117 }
ab9bc19b 5118{
474c48f9 5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5120 wxAcceleratorEntry_Set(_arg0,_arg1,_arg2,_arg3);
ab9bc19b 5121
474c48f9 5122 wxPyEndAllowThreads(__tstate);
4dfaa61e 5123 if (PyErr_Occurred()) return NULL;
ab9bc19b 5124} Py_INCREF(Py_None);
105e45b9
RD
5125 _resultobj = Py_None;
5126 return _resultobj;
5127}
5128
9df61a29
RD
5129#define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
5130static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 5131 PyObject * _resultobj;
9df61a29
RD
5132 int _result;
5133 wxAcceleratorEntry * _arg0;
2d091820 5134 PyObject * _argo0 = 0;
9df61a29 5135 char *_kwnames[] = { "self", NULL };
105e45b9
RD
5136
5137 self = self;
9df61a29 5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetFlags",_kwnames,&_argo0))
105e45b9 5139 return NULL;
2d091820
RD
5140 if (_argo0) {
5141 if (_argo0 == Py_None) { _arg0 = NULL; }
9df61a29
RD
5142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
5143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
105e45b9
RD
5144 return NULL;
5145 }
5146 }
ab9bc19b 5147{
474c48f9 5148 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5149 _result = (int )wxAcceleratorEntry_GetFlags(_arg0);
ab9bc19b 5150
474c48f9 5151 wxPyEndAllowThreads(__tstate);
4dfaa61e 5152 if (PyErr_Occurred()) return NULL;
ab9bc19b 5153} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
5154 return _resultobj;
5155}
5156
9df61a29
RD
5157#define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
5158static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 5159 PyObject * _resultobj;
9df61a29
RD
5160 int _result;
5161 wxAcceleratorEntry * _arg0;
2d091820 5162 PyObject * _argo0 = 0;
9df61a29 5163 char *_kwnames[] = { "self", NULL };
105e45b9
RD
5164
5165 self = self;
9df61a29 5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetKeyCode",_kwnames,&_argo0))
105e45b9 5167 return NULL;
2d091820
RD
5168 if (_argo0) {
5169 if (_argo0 == Py_None) { _arg0 = NULL; }
9df61a29
RD
5170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
5171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
105e45b9
RD
5172 return NULL;
5173 }
5174 }
ab9bc19b 5175{
474c48f9 5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5177 _result = (int )wxAcceleratorEntry_GetKeyCode(_arg0);
ab9bc19b 5178
474c48f9 5179 wxPyEndAllowThreads(__tstate);
4dfaa61e 5180 if (PyErr_Occurred()) return NULL;
ab9bc19b 5181} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
5182 return _resultobj;
5183}
5184
9df61a29
RD
5185#define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
5186static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 5187 PyObject * _resultobj;
9df61a29
RD
5188 int _result;
5189 wxAcceleratorEntry * _arg0;
2d091820 5190 PyObject * _argo0 = 0;
9df61a29 5191 char *_kwnames[] = { "self", NULL };
105e45b9
RD
5192
5193 self = self;
9df61a29 5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxAcceleratorEntry_GetCommand",_kwnames,&_argo0))
105e45b9 5195 return NULL;
2d091820
RD
5196 if (_argo0) {
5197 if (_argo0 == Py_None) { _arg0 = NULL; }
9df61a29
RD
5198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) {
5199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
105e45b9
RD
5200 return NULL;
5201 }
5202 }
ab9bc19b 5203{
474c48f9 5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5205 _result = (int )wxAcceleratorEntry_GetCommand(_arg0);
ab9bc19b 5206
474c48f9 5207 wxPyEndAllowThreads(__tstate);
4dfaa61e 5208 if (PyErr_Occurred()) return NULL;
ab9bc19b 5209} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
5210 return _resultobj;
5211}
5212
9df61a29
RD
5213static void *SwigwxAcceleratorTableTowxObject(void *ptr) {
5214 wxAcceleratorTable *src;
5215 wxObject *dest;
5216 src = (wxAcceleratorTable *) ptr;
5217 dest = (wxObject *) src;
5218 return (void *) dest;
56f5d962
RD
5219}
5220
9df61a29
RD
5221#define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
5222static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 5223 PyObject * _resultobj;
9df61a29
RD
5224 wxAcceleratorTable * _result;
5225 int _arg0;
5226 wxAcceleratorEntry * _arg1;
5227 PyObject * _obj1 = 0;
5228 char *_kwnames[] = { "choices", NULL };
105e45b9
RD
5229 char _ptemp[128];
5230
5231 self = self;
9df61a29 5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxAcceleratorTable",_kwnames,&_obj1))
105e45b9 5233 return NULL;
9df61a29
RD
5234 if (_obj1)
5235{
5236 _arg1 = wxAcceleratorEntry_LIST_helper(_obj1);
5237 if (_arg1 == NULL) {
105e45b9 5238 return NULL;
105e45b9 5239 }
105e45b9 5240}
9df61a29
RD
5241{
5242 if (_obj1) {
5243 _arg0 = PyList_Size(_obj1);
56f5d962 5244 }
9df61a29
RD
5245 else {
5246 _arg0 = 0;
5247 }
5248}
56f5d962 5249{
474c48f9 5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5251 _result = (wxAcceleratorTable *)new_wxAcceleratorTable(_arg0,_arg1);
56f5d962 5252
474c48f9 5253 wxPyEndAllowThreads(__tstate);
4dfaa61e 5254 if (PyErr_Occurred()) return NULL;
9df61a29
RD
5255} if (_result) {
5256 SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p");
5257 _resultobj = Py_BuildValue("s",_ptemp);
5258 } else {
5259 Py_INCREF(Py_None);
5260 _resultobj = Py_None;
5261 }
5262{
5263 delete [] _arg1;
5264}
56f5d962
RD
5265 return _resultobj;
5266}
5267
9df61a29
RD
5268#define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
5269static PyObject *_wrap_delete_wxAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9 5270 PyObject * _resultobj;
9df61a29 5271 wxAcceleratorTable * _arg0;
2d091820 5272 PyObject * _argo0 = 0;
9df61a29 5273 char *_kwnames[] = { "self", NULL };
105e45b9
RD
5274
5275 self = self;
9df61a29 5276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxAcceleratorTable",_kwnames,&_argo0))
105e45b9 5277 return NULL;
2d091820
RD
5278 if (_argo0) {
5279 if (_argo0 == Py_None) { _arg0 = NULL; }
9df61a29
RD
5280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorTable_p")) {
5281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
105e45b9
RD
5282 return NULL;
5283 }
5284 }
ab9bc19b 5285{
474c48f9 5286 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5287 delete_wxAcceleratorTable(_arg0);
56f5d962 5288
474c48f9 5289 wxPyEndAllowThreads(__tstate);
4dfaa61e 5290 if (PyErr_Occurred()) return NULL;
9df61a29
RD
5291} Py_INCREF(Py_None);
5292 _resultobj = Py_None;
56f5d962
RD
5293 return _resultobj;
5294}
5295
9df61a29
RD
5296static void *SwigwxBusyInfoTowxObject(void *ptr) {
5297 wxBusyInfo *src;
5298 wxObject *dest;
5299 src = (wxBusyInfo *) ptr;
5300 dest = (wxObject *) src;
5301 return (void *) dest;
37f6a977
RD
5302}
5303
4120ef2b
RD
5304#define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
5305static PyObject *_wrap_new_wxBusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5306 PyObject * _resultobj;
5307 wxBusyInfo * _result;
5308 wxString * _arg0;
5309 PyObject * _obj0 = 0;
5310 char *_kwnames[] = { "message", NULL };
5311 char _ptemp[128];
5312
5313 self = self;
5314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxBusyInfo",_kwnames,&_obj0))
5315 return NULL;
5316{
c8bc7bb8
RD
5317 _arg0 = wxString_in_helper(_obj0);
5318 if (_arg0 == NULL)
4120ef2b 5319 return NULL;
4120ef2b
RD
5320}
5321{
474c48f9 5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5323 _result = (wxBusyInfo *)new_wxBusyInfo(*_arg0);
4120ef2b 5324
474c48f9 5325 wxPyEndAllowThreads(__tstate);
4dfaa61e 5326 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
5327} if (_result) {
5328 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyInfo_p");
5329 _resultobj = Py_BuildValue("s",_ptemp);
5330 } else {
5331 Py_INCREF(Py_None);
5332 _resultobj = Py_None;
5333 }
5334{
5335 if (_obj0)
5336 delete _arg0;
5337}
5338 return _resultobj;
5339}
5340
5341#define delete_wxBusyInfo(_swigobj) (delete _swigobj)
5342static PyObject *_wrap_delete_wxBusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject * _resultobj;
5344 wxBusyInfo * _arg0;
5345 PyObject * _argo0 = 0;
5346 char *_kwnames[] = { "self", NULL };
5347
5348 self = self;
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyInfo",_kwnames,&_argo0))
5350 return NULL;
5351 if (_argo0) {
5352 if (_argo0 == Py_None) { _arg0 = NULL; }
5353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyInfo_p")) {
5354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
5355 return NULL;
5356 }
5357 }
5358{
474c48f9 5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5360 delete_wxBusyInfo(_arg0);
4120ef2b 5361
474c48f9 5362 wxPyEndAllowThreads(__tstate);
4dfaa61e 5363 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
5364} Py_INCREF(Py_None);
5365 _resultobj = Py_None;
5366 return _resultobj;
5367}
5368
70551f47 5369static PyMethodDef misccMethods[] = {
4120ef2b
RD
5370 { "delete_wxBusyInfo", (PyCFunction) _wrap_delete_wxBusyInfo, METH_VARARGS | METH_KEYWORDS },
5371 { "new_wxBusyInfo", (PyCFunction) _wrap_new_wxBusyInfo, METH_VARARGS | METH_KEYWORDS },
37f6a977 5372 { "delete_wxAcceleratorTable", (PyCFunction) _wrap_delete_wxAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
5373 { "new_wxAcceleratorTable", (PyCFunction) _wrap_new_wxAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
5374 { "wxAcceleratorEntry_GetCommand", (PyCFunction) _wrap_wxAcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
5375 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_wxAcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
5376 { "wxAcceleratorEntry_GetFlags", (PyCFunction) _wrap_wxAcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
5377 { "wxAcceleratorEntry_Set", (PyCFunction) _wrap_wxAcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
37f6a977 5378 { "delete_wxAcceleratorEntry", (PyCFunction) _wrap_delete_wxAcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
107e4716 5379 { "new_wxAcceleratorEntry", (PyCFunction) _wrap_new_wxAcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
5380 { "wxLayoutConstraints_width_get", (PyCFunction) _wrap_wxLayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
5381 { "wxLayoutConstraints_top_get", (PyCFunction) _wrap_wxLayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
5382 { "wxLayoutConstraints_right_get", (PyCFunction) _wrap_wxLayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
5383 { "wxLayoutConstraints_left_get", (PyCFunction) _wrap_wxLayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
5384 { "wxLayoutConstraints_height_get", (PyCFunction) _wrap_wxLayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
5385 { "wxLayoutConstraints_centreY_get", (PyCFunction) _wrap_wxLayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
5386 { "wxLayoutConstraints_centreX_get", (PyCFunction) _wrap_wxLayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
5387 { "wxLayoutConstraints_bottom_get", (PyCFunction) _wrap_wxLayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
5388 { "new_wxLayoutConstraints", (PyCFunction) _wrap_new_wxLayoutConstraints, METH_VARARGS | METH_KEYWORDS },
5389 { "wxIndividualLayoutConstraint_Set", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
5390 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
5391 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
5392 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
5393 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
5394 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
5395 { "wxIndividualLayoutConstraint_Below", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
5396 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_wxIndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
5397 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
5398 { "wxIndividualLayoutConstraint_Above", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
b67a9327
RD
5399 { "wxPoint2DDouble_asTuple", (PyCFunction) _wrap_wxPoint2DDouble_asTuple, METH_VARARGS | METH_KEYWORDS },
5400 { "wxPoint2DDouble___ne__", (PyCFunction) _wrap_wxPoint2DDouble___ne__, METH_VARARGS | METH_KEYWORDS },
5401 { "wxPoint2DDouble___eq__", (PyCFunction) _wrap_wxPoint2DDouble___eq__, METH_VARARGS | METH_KEYWORDS },
5402 { "wxPoint2DDouble___idiv__", (PyCFunction) _wrap_wxPoint2DDouble___idiv__, METH_VARARGS | METH_KEYWORDS },
5403 { "wxPoint2DDouble___imul__", (PyCFunction) _wrap_wxPoint2DDouble___imul__, METH_VARARGS | METH_KEYWORDS },
5404 { "wxPoint2DDouble___isub__", (PyCFunction) _wrap_wxPoint2DDouble___isub__, METH_VARARGS | METH_KEYWORDS },
5405 { "wxPoint2DDouble___iadd__", (PyCFunction) _wrap_wxPoint2DDouble___iadd__, METH_VARARGS | METH_KEYWORDS },
5406 { "wxPoint2DDouble___neg__", (PyCFunction) _wrap_wxPoint2DDouble___neg__, METH_VARARGS | METH_KEYWORDS },
5407 { "wxPoint2DDouble_Set", (PyCFunction) _wrap_wxPoint2DDouble_Set, METH_VARARGS | METH_KEYWORDS },
5408 { "wxPoint2DDouble_GetCrossProduct", (PyCFunction) _wrap_wxPoint2DDouble_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
5409 { "wxPoint2DDouble_GetDotProduct", (PyCFunction) _wrap_wxPoint2DDouble_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
5410 { "wxPoint2DDouble_GetDistanceSquare", (PyCFunction) _wrap_wxPoint2DDouble_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
5411 { "wxPoint2DDouble_GetDistance", (PyCFunction) _wrap_wxPoint2DDouble_GetDistance, METH_VARARGS | METH_KEYWORDS },
5412 { "wxPoint2DDouble_SetVectorAngle", (PyCFunction) _wrap_wxPoint2DDouble_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
5413 { "wxPoint2DDouble_SetVectorLength", (PyCFunction) _wrap_wxPoint2DDouble_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
5414 { "wxPoint2DDouble_GetVectorAngle", (PyCFunction) _wrap_wxPoint2DDouble_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
5415 { "wxPoint2DDouble_GetVectorLength", (PyCFunction) _wrap_wxPoint2DDouble_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
5416 { "wxPoint2DDouble_GetRounded", (PyCFunction) _wrap_wxPoint2DDouble_GetRounded, METH_VARARGS | METH_KEYWORDS },
5417 { "wxPoint2DDouble_GetFloor", (PyCFunction) _wrap_wxPoint2DDouble_GetFloor, METH_VARARGS | METH_KEYWORDS },
5418 { "new_wxPoint2DDoubleFromPoint", (PyCFunction) _wrap_new_wxPoint2DDoubleFromPoint, METH_VARARGS | METH_KEYWORDS },
5419 { "new_wxPoint2DDoubleCopy", (PyCFunction) _wrap_new_wxPoint2DDoubleCopy, METH_VARARGS | METH_KEYWORDS },
5420 { "new_wxPoint2DDouble", (PyCFunction) _wrap_new_wxPoint2DDouble, METH_VARARGS | METH_KEYWORDS },
5421 { "wxPoint2DDouble_y_get", (PyCFunction) _wrap_wxPoint2DDouble_m_y_get, METH_VARARGS | METH_KEYWORDS },
5422 { "wxPoint2DDouble_y_set", (PyCFunction) _wrap_wxPoint2DDouble_m_y_set, METH_VARARGS | METH_KEYWORDS },
5423 { "wxPoint2DDouble_x_get", (PyCFunction) _wrap_wxPoint2DDouble_m_x_get, METH_VARARGS | METH_KEYWORDS },
5424 { "wxPoint2DDouble_x_set", (PyCFunction) _wrap_wxPoint2DDouble_m_x_set, METH_VARARGS | METH_KEYWORDS },
5425 { "wxPoint2DDouble_m_y_get", (PyCFunction) _wrap_wxPoint2DDouble_m_y_get, METH_VARARGS | METH_KEYWORDS },
5426 { "wxPoint2DDouble_m_y_set", (PyCFunction) _wrap_wxPoint2DDouble_m_y_set, METH_VARARGS | METH_KEYWORDS },
5427 { "wxPoint2DDouble_m_x_get", (PyCFunction) _wrap_wxPoint2DDouble_m_x_get, METH_VARARGS | METH_KEYWORDS },
5428 { "wxPoint2DDouble_m_x_set", (PyCFunction) _wrap_wxPoint2DDouble_m_x_set, METH_VARARGS | METH_KEYWORDS },
5429 { "wxRect___ne__", (PyCFunction) _wrap_wxRect___ne__, METH_VARARGS | METH_KEYWORDS },
5430 { "wxRect___eq__", (PyCFunction) _wrap_wxRect___eq__, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 5431 { "wxRect___add__", (PyCFunction) _wrap_wxRect___add__, METH_VARARGS | METH_KEYWORDS },
107e4716 5432 { "wxRect_asTuple", (PyCFunction) _wrap_wxRect_asTuple, METH_VARARGS | METH_KEYWORDS },
b67a9327 5433 { "wxRect_Set", (PyCFunction) _wrap_wxRect_Set, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
5434 { "wxRect_height_get", (PyCFunction) _wrap_wxRect_height_get, METH_VARARGS | METH_KEYWORDS },
5435 { "wxRect_height_set", (PyCFunction) _wrap_wxRect_height_set, METH_VARARGS | METH_KEYWORDS },
5436 { "wxRect_width_get", (PyCFunction) _wrap_wxRect_width_get, METH_VARARGS | METH_KEYWORDS },
5437 { "wxRect_width_set", (PyCFunction) _wrap_wxRect_width_set, METH_VARARGS | METH_KEYWORDS },
5438 { "wxRect_y_get", (PyCFunction) _wrap_wxRect_y_get, METH_VARARGS | METH_KEYWORDS },
5439 { "wxRect_y_set", (PyCFunction) _wrap_wxRect_y_set, METH_VARARGS | METH_KEYWORDS },
5440 { "wxRect_x_get", (PyCFunction) _wrap_wxRect_x_get, METH_VARARGS | METH_KEYWORDS },
5441 { "wxRect_x_set", (PyCFunction) _wrap_wxRect_x_set, METH_VARARGS | METH_KEYWORDS },
b67a9327
RD
5442 { "wxRect_Offset", (PyCFunction) _wrap_wxRect_Offset, METH_VARARGS | METH_KEYWORDS },
5443 { "wxRect_OffsetXY", (PyCFunction) _wrap_wxRect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
5444 { "wxRect_Intersects", (PyCFunction) _wrap_wxRect_Intersects, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 5445 { "wxRect_Inside", (PyCFunction) _wrap_wxRect_Inside, METH_VARARGS | METH_KEYWORDS },
b67a9327 5446 { "wxRect_InsideXY", (PyCFunction) _wrap_wxRect_InsideXY, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 5447 { "wxRect_Inflate", (PyCFunction) _wrap_wxRect_Inflate, METH_VARARGS | METH_KEYWORDS },
b67a9327 5448 { "wxRect_Deflate", (PyCFunction) _wrap_wxRect_Deflate, METH_VARARGS | METH_KEYWORDS },
56f5d962
RD
5449 { "wxRect_SetBottom", (PyCFunction) _wrap_wxRect_SetBottom, METH_VARARGS | METH_KEYWORDS },
5450 { "wxRect_SetTop", (PyCFunction) _wrap_wxRect_SetTop, METH_VARARGS | METH_KEYWORDS },
5451 { "wxRect_SetRight", (PyCFunction) _wrap_wxRect_SetRight, METH_VARARGS | METH_KEYWORDS },
5452 { "wxRect_SetLeft", (PyCFunction) _wrap_wxRect_SetLeft, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
5453 { "wxRect_GetRight", (PyCFunction) _wrap_wxRect_GetRight, METH_VARARGS | METH_KEYWORDS },
5454 { "wxRect_GetBottom", (PyCFunction) _wrap_wxRect_GetBottom, METH_VARARGS | METH_KEYWORDS },
5455 { "wxRect_GetTop", (PyCFunction) _wrap_wxRect_GetTop, METH_VARARGS | METH_KEYWORDS },
5456 { "wxRect_GetLeft", (PyCFunction) _wrap_wxRect_GetLeft, METH_VARARGS | METH_KEYWORDS },
123908fc
RD
5457 { "wxRect_SetSize", (PyCFunction) _wrap_wxRect_SetSize, METH_VARARGS | METH_KEYWORDS },
5458 { "wxRect_SetPosition", (PyCFunction) _wrap_wxRect_SetPosition, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
5459 { "wxRect_GetSize", (PyCFunction) _wrap_wxRect_GetSize, METH_VARARGS | METH_KEYWORDS },
5460 { "wxRect_GetPosition", (PyCFunction) _wrap_wxRect_GetPosition, METH_VARARGS | METH_KEYWORDS },
5461 { "wxRect_SetHeight", (PyCFunction) _wrap_wxRect_SetHeight, METH_VARARGS | METH_KEYWORDS },
5462 { "wxRect_GetHeight", (PyCFunction) _wrap_wxRect_GetHeight, METH_VARARGS | METH_KEYWORDS },
5463 { "wxRect_SetWidth", (PyCFunction) _wrap_wxRect_SetWidth, METH_VARARGS | METH_KEYWORDS },
5464 { "wxRect_GetWidth", (PyCFunction) _wrap_wxRect_GetWidth, METH_VARARGS | METH_KEYWORDS },
5465 { "wxRect_SetY", (PyCFunction) _wrap_wxRect_SetY, METH_VARARGS | METH_KEYWORDS },
5466 { "wxRect_GetY", (PyCFunction) _wrap_wxRect_GetY, METH_VARARGS | METH_KEYWORDS },
5467 { "wxRect_SetX", (PyCFunction) _wrap_wxRect_SetX, METH_VARARGS | METH_KEYWORDS },
5468 { "wxRect_GetX", (PyCFunction) _wrap_wxRect_GetX, METH_VARARGS | METH_KEYWORDS },
5469 { "delete_wxRect", (PyCFunction) _wrap_delete_wxRect, METH_VARARGS | METH_KEYWORDS },
5470 { "new_wxRect", (PyCFunction) _wrap_new_wxRect, METH_VARARGS | METH_KEYWORDS },
b67a9327
RD
5471 { "wxPoint___ne__", (PyCFunction) _wrap_wxPoint___ne__, METH_VARARGS | METH_KEYWORDS },
5472 { "wxPoint___eq__", (PyCFunction) _wrap_wxPoint___eq__, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
5473 { "wxPoint___sub__", (PyCFunction) _wrap_wxPoint___sub__, METH_VARARGS | METH_KEYWORDS },
5474 { "wxPoint___add__", (PyCFunction) _wrap_wxPoint___add__, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
5475 { "wxPoint_asTuple", (PyCFunction) _wrap_wxPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
5476 { "wxPoint_Set", (PyCFunction) _wrap_wxPoint_Set, METH_VARARGS | METH_KEYWORDS },
5477 { "delete_wxPoint", (PyCFunction) _wrap_delete_wxPoint, METH_VARARGS | METH_KEYWORDS },
5478 { "new_wxPoint", (PyCFunction) _wrap_new_wxPoint, METH_VARARGS | METH_KEYWORDS },
5479 { "wxPoint_y_get", (PyCFunction) _wrap_wxPoint_y_get, METH_VARARGS | METH_KEYWORDS },
5480 { "wxPoint_y_set", (PyCFunction) _wrap_wxPoint_y_set, METH_VARARGS | METH_KEYWORDS },
5481 { "wxPoint_x_get", (PyCFunction) _wrap_wxPoint_x_get, METH_VARARGS | METH_KEYWORDS },
5482 { "wxPoint_x_set", (PyCFunction) _wrap_wxPoint_x_set, METH_VARARGS | METH_KEYWORDS },
b67a9327
RD
5483 { "wxRealPoint___ne__", (PyCFunction) _wrap_wxRealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
5484 { "wxRealPoint___eq__", (PyCFunction) _wrap_wxRealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
5485 { "wxRealPoint___sub__", (PyCFunction) _wrap_wxRealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
5486 { "wxRealPoint___add__", (PyCFunction) _wrap_wxRealPoint___add__, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
5487 { "wxRealPoint_asTuple", (PyCFunction) _wrap_wxRealPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
5488 { "wxRealPoint_Set", (PyCFunction) _wrap_wxRealPoint_Set, METH_VARARGS | METH_KEYWORDS },
5489 { "delete_wxRealPoint", (PyCFunction) _wrap_delete_wxRealPoint, METH_VARARGS | METH_KEYWORDS },
5490 { "new_wxRealPoint", (PyCFunction) _wrap_new_wxRealPoint, METH_VARARGS | METH_KEYWORDS },
5491 { "wxRealPoint_y_get", (PyCFunction) _wrap_wxRealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
5492 { "wxRealPoint_y_set", (PyCFunction) _wrap_wxRealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
5493 { "wxRealPoint_x_get", (PyCFunction) _wrap_wxRealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
5494 { "wxRealPoint_x_set", (PyCFunction) _wrap_wxRealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
b67a9327
RD
5495 { "wxSize___ne__", (PyCFunction) _wrap_wxSize___ne__, METH_VARARGS | METH_KEYWORDS },
5496 { "wxSize___eq__", (PyCFunction) _wrap_wxSize___eq__, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
5497 { "wxSize_asTuple", (PyCFunction) _wrap_wxSize_asTuple, METH_VARARGS | METH_KEYWORDS },
5498 { "wxSize_SetHeight", (PyCFunction) _wrap_wxSize_SetHeight, METH_VARARGS | METH_KEYWORDS },
5499 { "wxSize_SetWidth", (PyCFunction) _wrap_wxSize_SetWidth, METH_VARARGS | METH_KEYWORDS },
5500 { "wxSize_GetHeight", (PyCFunction) _wrap_wxSize_GetHeight, METH_VARARGS | METH_KEYWORDS },
5501 { "wxSize_GetWidth", (PyCFunction) _wrap_wxSize_GetWidth, METH_VARARGS | METH_KEYWORDS },
5502 { "wxSize_GetY", (PyCFunction) _wrap_wxSize_GetY, METH_VARARGS | METH_KEYWORDS },
5503 { "wxSize_GetX", (PyCFunction) _wrap_wxSize_GetX, METH_VARARGS | METH_KEYWORDS },
5504 { "wxSize_Set", (PyCFunction) _wrap_wxSize_Set, METH_VARARGS | METH_KEYWORDS },
5505 { "delete_wxSize", (PyCFunction) _wrap_delete_wxSize, METH_VARARGS | METH_KEYWORDS },
5506 { "new_wxSize", (PyCFunction) _wrap_new_wxSize, METH_VARARGS | METH_KEYWORDS },
5507 { "wxSize_height_get", (PyCFunction) _wrap_wxSize_y_get, METH_VARARGS | METH_KEYWORDS },
5508 { "wxSize_height_set", (PyCFunction) _wrap_wxSize_y_set, METH_VARARGS | METH_KEYWORDS },
5509 { "wxSize_width_get", (PyCFunction) _wrap_wxSize_x_get, METH_VARARGS | METH_KEYWORDS },
5510 { "wxSize_width_set", (PyCFunction) _wrap_wxSize_x_set, METH_VARARGS | METH_KEYWORDS },
5511 { "wxSize_y_get", (PyCFunction) _wrap_wxSize_y_get, METH_VARARGS | METH_KEYWORDS },
5512 { "wxSize_y_set", (PyCFunction) _wrap_wxSize_y_set, METH_VARARGS | METH_KEYWORDS },
5513 { "wxSize_x_get", (PyCFunction) _wrap_wxSize_x_get, METH_VARARGS | METH_KEYWORDS },
5514 { "wxSize_x_set", (PyCFunction) _wrap_wxSize_x_set, METH_VARARGS | METH_KEYWORDS },
9df61a29
RD
5515 { "wxObject_Destroy", (PyCFunction) _wrap_wxObject_Destroy, METH_VARARGS | METH_KEYWORDS },
5516 { "wxObject_GetClassName", (PyCFunction) _wrap_wxObject_GetClassName, METH_VARARGS | METH_KEYWORDS },
c368d904 5517 { "wxGetAccelFromString", (PyCFunction) _wrap_wxGetAccelFromString, METH_VARARGS | METH_KEYWORDS },
8f8b0a8d 5518 { "wxGetProcessId", (PyCFunction) _wrap_wxGetProcessId, METH_VARARGS | METH_KEYWORDS },
5d413391 5519 { "wxGetUserHome", (PyCFunction) _wrap_wxGetUserHome, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
5520 { "wxGetHomeDir", (PyCFunction) _wrap_wxGetHomeDir, METH_VARARGS | METH_KEYWORDS },
5521 { "wxGetUserName", (PyCFunction) _wrap_wxGetUserName, METH_VARARGS | METH_KEYWORDS },
5522 { "wxGetUserId", (PyCFunction) _wrap_wxGetUserId, METH_VARARGS | METH_KEYWORDS },
5523 { "wxGetFullHostName", (PyCFunction) _wrap_wxGetFullHostName, METH_VARARGS | METH_KEYWORDS },
5524 { "wxGetHostName", (PyCFunction) _wrap_wxGetHostName, METH_VARARGS | METH_KEYWORDS },
5525 { "wxGetEmailAddress", (PyCFunction) _wrap_wxGetEmailAddress, METH_VARARGS | METH_KEYWORDS },
d29aba2f 5526 { "wxStripMenuCodes", (PyCFunction) _wrap_wxStripMenuCodes, METH_VARARGS | METH_KEYWORDS },
107e4716 5527 { "wxEnableTopLevelWindows", (PyCFunction) _wrap_wxEnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
5e40f9dd 5528 { "wxYieldIfNeeded", (PyCFunction) _wrap_wxYieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
107e4716 5529 { "wxYield", (PyCFunction) _wrap_wxYield, METH_VARARGS | METH_KEYWORDS },
c368d904 5530 { "wxUsleep", (PyCFunction) _wrap_wxUsleep, METH_VARARGS | METH_KEYWORDS },
107e4716 5531 { "wxSleep", (PyCFunction) _wrap_wxSleep, METH_VARARGS | METH_KEYWORDS },
12d1116b 5532 { "wxShutdown", (PyCFunction) _wrap_wxShutdown, METH_VARARGS | METH_KEYWORDS },
c368d904 5533 { "wxGetOsDescription", (PyCFunction) _wrap_wxGetOsDescription, METH_VARARGS | METH_KEYWORDS },
bc29c5e0
RD
5534 { "wxGetOsVersion", (PyCFunction) _wrap_wxGetOsVersion, METH_VARARGS | METH_KEYWORDS },
5535 { "wxStartTimer", (PyCFunction) _wrap_wxStartTimer, METH_VARARGS | METH_KEYWORDS },
5536 { "wxShell", (PyCFunction) _wrap_wxShell, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
5537 { "wxNow", (PyCFunction) _wrap_wxNow, METH_VARARGS | METH_KEYWORDS },
5538 { "wxIsBusy", (PyCFunction) _wrap_wxIsBusy, METH_VARARGS | METH_KEYWORDS },
5539 { "wxGetMousePosition", (PyCFunction) _wrap_wxGetMousePosition, METH_VARARGS | METH_KEYWORDS },
bc29c5e0 5540 { "wxGetElapsedTime", (PyCFunction) _wrap_wxGetElapsedTime, METH_VARARGS | METH_KEYWORDS },
107e4716 5541 { "wxEndBusyCursor", (PyCFunction) _wrap_wxEndBusyCursor, METH_VARARGS | METH_KEYWORDS },
107e4716 5542 { "wxBell", (PyCFunction) _wrap_wxBell, METH_VARARGS | METH_KEYWORDS },
5e40f9dd 5543 { "wxGetCurrentId", (PyCFunction) _wrap_wxGetCurrentId, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
5544 { "wxRegisterId", (PyCFunction) _wrap_wxRegisterId, METH_VARARGS | METH_KEYWORDS },
5545 { "wxNewId", (PyCFunction) _wrap_wxNewId, METH_VARARGS | METH_KEYWORDS },
56f5d962 5546 { "wxIntersectRect", (PyCFunction) _wrap_wxIntersectRect, METH_VARARGS | METH_KEYWORDS },
70551f47
RD
5547 { NULL, NULL }
5548};
2d091820
RD
5549#ifdef __cplusplus
5550}
5551#endif
5552/*
5553 * This table is used by the pointer type-checker
5554 */
5555static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2d091820 5556 { "_signed_long","_long",0},
4120ef2b 5557 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
5558 { "_wxPrintQuality","_int",0},
5559 { "_wxPrintQuality","_signed_int",0},
5560 { "_wxPrintQuality","_unsigned_int",0},
5561 { "_wxPrintQuality","_wxWindowID",0},
5562 { "_wxPrintQuality","_uint",0},
5563 { "_wxPrintQuality","_EBool",0},
5564 { "_wxPrintQuality","_size_t",0},
c368d904 5565 { "_wxPrintQuality","_time_t",0},
2d091820
RD
5566 { "_byte","_unsigned_char",0},
5567 { "_long","_unsigned_long",0},
5568 { "_long","_signed_long",0},
4120ef2b 5569 { "_size_t","_wxCoord",0},
2d091820 5570 { "_size_t","_wxPrintQuality",0},
c368d904 5571 { "_size_t","_time_t",0},
2d091820
RD
5572 { "_size_t","_unsigned_int",0},
5573 { "_size_t","_int",0},
5574 { "_size_t","_wxWindowID",0},
5575 { "_size_t","_uint",0},
4120ef2b 5576 { "_uint","_wxCoord",0},
2d091820 5577 { "_uint","_wxPrintQuality",0},
c368d904 5578 { "_uint","_time_t",0},
2d091820
RD
5579 { "_uint","_size_t",0},
5580 { "_uint","_unsigned_int",0},
5581 { "_uint","_int",0},
5582 { "_uint","_wxWindowID",0},
f6bcfd97 5583 { "_wxChar","_char",0},
f6bcfd97 5584 { "_char","_wxChar",0},
4120ef2b 5585 { "_EBool","_wxCoord",0},
2d091820
RD
5586 { "_EBool","_wxPrintQuality",0},
5587 { "_EBool","_signed_int",0},
5588 { "_EBool","_int",0},
5589 { "_EBool","_wxWindowID",0},
2d091820 5590 { "_unsigned_long","_long",0},
4120ef2b 5591 { "_signed_int","_wxCoord",0},
2d091820
RD
5592 { "_signed_int","_wxPrintQuality",0},
5593 { "_signed_int","_EBool",0},
5594 { "_signed_int","_wxWindowID",0},
5595 { "_signed_int","_int",0},
2d091820
RD
5596 { "_WXTYPE","_short",0},
5597 { "_WXTYPE","_signed_short",0},
5598 { "_WXTYPE","_unsigned_short",0},
5599 { "_unsigned_short","_WXTYPE",0},
5600 { "_unsigned_short","_short",0},
9df61a29 5601 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject},
9df61a29 5602 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject},
9df61a29 5603 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject},
9df61a29 5604 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject},
2d091820
RD
5605 { "_signed_short","_WXTYPE",0},
5606 { "_signed_short","_short",0},
2d091820 5607 { "_unsigned_char","_byte",0},
4120ef2b 5608 { "_unsigned_int","_wxCoord",0},
2d091820 5609 { "_unsigned_int","_wxPrintQuality",0},
c368d904 5610 { "_unsigned_int","_time_t",0},
2d091820
RD
5611 { "_unsigned_int","_size_t",0},
5612 { "_unsigned_int","_uint",0},
5613 { "_unsigned_int","_wxWindowID",0},
5614 { "_unsigned_int","_int",0},
5615 { "_short","_WXTYPE",0},
5616 { "_short","_unsigned_short",0},
5617 { "_short","_signed_short",0},
4120ef2b 5618 { "_wxWindowID","_wxCoord",0},
2d091820 5619 { "_wxWindowID","_wxPrintQuality",0},
c368d904 5620 { "_wxWindowID","_time_t",0},
2d091820
RD
5621 { "_wxWindowID","_size_t",0},
5622 { "_wxWindowID","_EBool",0},
5623 { "_wxWindowID","_uint",0},
5624 { "_wxWindowID","_int",0},
5625 { "_wxWindowID","_signed_int",0},
5626 { "_wxWindowID","_unsigned_int",0},
4120ef2b 5627 { "_int","_wxCoord",0},
2d091820 5628 { "_int","_wxPrintQuality",0},
c368d904 5629 { "_int","_time_t",0},
2d091820
RD
5630 { "_int","_size_t",0},
5631 { "_int","_EBool",0},
5632 { "_int","_uint",0},
5633 { "_int","_wxWindowID",0},
5634 { "_int","_unsigned_int",0},
5635 { "_int","_signed_int",0},
c368d904
RD
5636 { "_time_t","_wxCoord",0},
5637 { "_time_t","_wxPrintQuality",0},
5638 { "_time_t","_unsigned_int",0},
5639 { "_time_t","_int",0},
5640 { "_time_t","_wxWindowID",0},
5641 { "_time_t","_uint",0},
5642 { "_time_t","_size_t",0},
4120ef2b
RD
5643 { "_wxCoord","_int",0},
5644 { "_wxCoord","_signed_int",0},
5645 { "_wxCoord","_unsigned_int",0},
5646 { "_wxCoord","_wxWindowID",0},
5647 { "_wxCoord","_uint",0},
5648 { "_wxCoord","_EBool",0},
5649 { "_wxCoord","_size_t",0},
c368d904 5650 { "_wxCoord","_time_t",0},
4120ef2b 5651 { "_wxCoord","_wxPrintQuality",0},
2d091820
RD
5652{0,0,0}};
5653
70551f47
RD
5654static PyObject *SWIG_globals;
5655#ifdef __cplusplus
5656extern "C"
5657#endif
2d091820 5658SWIGEXPORT(void) initmiscc() {
70551f47
RD
5659 PyObject *m, *d;
5660 SWIG_globals = SWIG_newvarlink();
5661 m = Py_InitModule("miscc", misccMethods);
5662 d = PyModule_GetDict(m);
12d1116b
RD
5663 PyDict_SetItemString(d,"wxSHUTDOWN_POWEROFF", PyInt_FromLong((long) wxSHUTDOWN_POWEROFF));
5664 PyDict_SetItemString(d,"wxSHUTDOWN_REBOOT", PyInt_FromLong((long) wxSHUTDOWN_REBOOT));
70551f47
RD
5665 PyDict_SetItemString(d,"wxLeft", PyInt_FromLong((long) wxLeft));
5666 PyDict_SetItemString(d,"wxTop", PyInt_FromLong((long) wxTop));
5667 PyDict_SetItemString(d,"wxRight", PyInt_FromLong((long) wxRight));
5668 PyDict_SetItemString(d,"wxBottom", PyInt_FromLong((long) wxBottom));
5669 PyDict_SetItemString(d,"wxWidth", PyInt_FromLong((long) wxWidth));
5670 PyDict_SetItemString(d,"wxHeight", PyInt_FromLong((long) wxHeight));
5671 PyDict_SetItemString(d,"wxCentre", PyInt_FromLong((long) wxCentre));
5672 PyDict_SetItemString(d,"wxCenter", PyInt_FromLong((long) wxCenter));
5673 PyDict_SetItemString(d,"wxCentreX", PyInt_FromLong((long) wxCentreX));
5674 PyDict_SetItemString(d,"wxCentreY", PyInt_FromLong((long) wxCentreY));
5675 PyDict_SetItemString(d,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained));
5676 PyDict_SetItemString(d,"wxAsIs", PyInt_FromLong((long) wxAsIs));
5677 PyDict_SetItemString(d,"wxPercentOf", PyInt_FromLong((long) wxPercentOf));
5678 PyDict_SetItemString(d,"wxAbove", PyInt_FromLong((long) wxAbove));
5679 PyDict_SetItemString(d,"wxBelow", PyInt_FromLong((long) wxBelow));
5680 PyDict_SetItemString(d,"wxLeftOf", PyInt_FromLong((long) wxLeftOf));
5681 PyDict_SetItemString(d,"wxRightOf", PyInt_FromLong((long) wxRightOf));
5682 PyDict_SetItemString(d,"wxSameAs", PyInt_FromLong((long) wxSameAs));
5683 PyDict_SetItemString(d,"wxAbsolute", PyInt_FromLong((long) wxAbsolute));
f6bcfd97
BP
5684 PyDict_SetItemString(d,"cvar", SWIG_globals);
5685 SWIG_addvarlink(SWIG_globals,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get, _wrap_wxNullAcceleratorTable_set);
2d091820
RD
5686{
5687 int i;
5688 for (i = 0; _swig_mapping[i].n1; i++)
5689 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
5690}
70551f47 5691}