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