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