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