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