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