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