]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/misc.cpp
newly generated files from SWIG
[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 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #define SWIG_init initmiscc
53
54 #define SWIG_name "miscc"
55
56 #include "helpers.h"
57 #include <wx/resource.h>
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 PyObject* o3;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106
107 extern int* int_LIST_helper(PyObject* source);
108 extern long* long_LIST_helper(PyObject* source);
109 extern char** string_LIST_helper(PyObject* source);
110 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
111 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
112 extern wxString* wxString_LIST_helper(PyObject* source);
113 #ifdef __WXMSW__
114 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
115 #endif
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 static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args) {
126 PyObject * _resultobj;
127 char * _result;
128 char * _arg0;
129 char * _arg1 = NULL;
130 char * _arg2 = NULL;
131 char * _arg3 = NULL;
132 char * _arg4 = "*.*";
133 int _arg5 = 0;
134 wxWindow * _arg6 = NULL;
135 int _arg7 = -1;
136 int _arg8 = -1;
137 char * _argc6 = 0;
138
139 self = self;
140 if(!PyArg_ParseTuple(args,"s|ssssisii:wxFileSelector",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argc6,&_arg7,&_arg8))
141 return NULL;
142 if (_argc6) {
143 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxWindow_p")) {
144 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
145 return NULL;
146 }
147 }
148 _result = (char *)wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8);
149 _resultobj = Py_BuildValue("s", _result);
150 return _resultobj;
151 }
152
153 static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args) {
154 PyObject * _resultobj;
155 wxString * _result;
156 wxString * _arg0;
157 wxString * _arg1 = &wxPyEmptyStr;
158 wxString * _arg2 = &wxPyEmptyStr;
159 wxWindow * _arg3 = NULL;
160 int _arg4 = -1;
161 int _arg5 = -1;
162 bool _arg6 = (1);
163 PyObject * _obj0 = 0;
164 PyObject * _obj1 = 0;
165 PyObject * _obj2 = 0;
166 char * _argc3 = 0;
167 int tempbool6;
168
169 self = self;
170 if(!PyArg_ParseTuple(args,"O|OOsiii:wxGetTextFromUser",&_obj0,&_obj1,&_obj2,&_argc3,&_arg4,&_arg5,&tempbool6))
171 return NULL;
172 {
173 if (!PyString_Check(_obj0)) {
174 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
175 return NULL;
176 }
177 _arg0 = new wxString(PyString_AsString(_obj0));
178 }
179 if (_obj1)
180 {
181 if (!PyString_Check(_obj1)) {
182 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
183 return NULL;
184 }
185 _arg1 = new wxString(PyString_AsString(_obj1));
186 }
187 if (_obj2)
188 {
189 if (!PyString_Check(_obj2)) {
190 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
191 return NULL;
192 }
193 _arg2 = new wxString(PyString_AsString(_obj2));
194 }
195 if (_argc3) {
196 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxWindow_p")) {
197 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
198 return NULL;
199 }
200 }
201 _arg6 = (bool ) tempbool6;
202 _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6));
203 {
204 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
205 }
206 {
207 if (_obj0)
208 delete _arg0;
209 }
210 {
211 if (_obj1)
212 delete _arg1;
213 }
214 {
215 if (_obj2)
216 delete _arg2;
217 }
218 {
219 delete _result;
220 }
221 return _resultobj;
222 }
223
224 static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args) {
225 PyObject * _resultobj;
226 wxString * _result;
227 wxString * _arg0;
228 wxString * _arg1;
229 int _arg2;
230 wxString * _arg3;
231 wxWindow * _arg4 = NULL;
232 int _arg5 = -1;
233 int _arg6 = -1;
234 bool _arg7 = (1);
235 int _arg8 = 150;
236 int _arg9 = 200;
237 PyObject * _obj0 = 0;
238 PyObject * _obj1 = 0;
239 PyObject * _obj3 = 0;
240 char * _argc4 = 0;
241 int tempbool7;
242
243 self = self;
244 if(!PyArg_ParseTuple(args,"OOO|siiiii:wxGetSingleChoice",&_obj0,&_obj1,&_obj3,&_argc4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
245 return NULL;
246 {
247 if (!PyString_Check(_obj0)) {
248 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
249 return NULL;
250 }
251 _arg0 = new wxString(PyString_AsString(_obj0));
252 }
253 {
254 if (!PyString_Check(_obj1)) {
255 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
256 return NULL;
257 }
258 _arg1 = new wxString(PyString_AsString(_obj1));
259 }
260 if (_obj3)
261 {
262 _arg3 = wxString_LIST_helper(_obj3);
263 if (_arg3 == NULL) {
264 return NULL;
265 }
266 }
267 if (_argc4) {
268 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxWindow_p")) {
269 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
270 return NULL;
271 }
272 }
273 _arg7 = (bool ) tempbool7;
274 {
275 _arg2 = PyList_Size(_obj3);
276 }
277 _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9));
278 {
279 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
280 }
281 {
282 if (_obj0)
283 delete _arg0;
284 }
285 {
286 if (_obj1)
287 delete _arg1;
288 }
289 {
290 delete [] _arg3;
291 }
292 {
293 delete _result;
294 }
295 return _resultobj;
296 }
297
298 static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args) {
299 PyObject * _resultobj;
300 int _result;
301 wxString * _arg0;
302 wxString * _arg1;
303 int _arg2;
304 wxString * _arg3;
305 wxWindow * _arg4 = NULL;
306 int _arg5 = -1;
307 int _arg6 = -1;
308 bool _arg7 = (1);
309 int _arg8 = 150;
310 int _arg9 = 200;
311 PyObject * _obj0 = 0;
312 PyObject * _obj1 = 0;
313 PyObject * _obj3 = 0;
314 char * _argc4 = 0;
315 int tempbool7;
316
317 self = self;
318 if(!PyArg_ParseTuple(args,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0,&_obj1,&_obj3,&_argc4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
319 return NULL;
320 {
321 if (!PyString_Check(_obj0)) {
322 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
323 return NULL;
324 }
325 _arg0 = new wxString(PyString_AsString(_obj0));
326 }
327 {
328 if (!PyString_Check(_obj1)) {
329 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
330 return NULL;
331 }
332 _arg1 = new wxString(PyString_AsString(_obj1));
333 }
334 if (_obj3)
335 {
336 _arg3 = wxString_LIST_helper(_obj3);
337 if (_arg3 == NULL) {
338 return NULL;
339 }
340 }
341 if (_argc4) {
342 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxWindow_p")) {
343 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
344 return NULL;
345 }
346 }
347 _arg7 = (bool ) tempbool7;
348 {
349 _arg2 = PyList_Size(_obj3);
350 }
351 _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
352 _resultobj = Py_BuildValue("i",_result);
353 {
354 if (_obj0)
355 delete _arg0;
356 }
357 {
358 if (_obj1)
359 delete _arg1;
360 }
361 {
362 delete [] _arg3;
363 }
364 return _resultobj;
365 }
366
367 static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args) {
368 PyObject * _resultobj;
369 int _result;
370 wxString * _arg0;
371 wxString * _arg1 = &wxPyEmptyStr;
372 int _arg2 = (wxOK)|(wxCENTRE);
373 wxWindow * _arg3 = NULL;
374 int _arg4 = -1;
375 int _arg5 = -1;
376 PyObject * _obj0 = 0;
377 PyObject * _obj1 = 0;
378 char * _argc3 = 0;
379
380 self = self;
381 if(!PyArg_ParseTuple(args,"O|Oisii:wxMessageBox",&_obj0,&_obj1,&_arg2,&_argc3,&_arg4,&_arg5))
382 return NULL;
383 {
384 if (!PyString_Check(_obj0)) {
385 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
386 return NULL;
387 }
388 _arg0 = new wxString(PyString_AsString(_obj0));
389 }
390 if (_obj1)
391 {
392 if (!PyString_Check(_obj1)) {
393 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
394 return NULL;
395 }
396 _arg1 = new wxString(PyString_AsString(_obj1));
397 }
398 if (_argc3) {
399 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxWindow_p")) {
400 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
401 return NULL;
402 }
403 }
404 _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
405 _resultobj = Py_BuildValue("i",_result);
406 {
407 if (_obj0)
408 delete _arg0;
409 }
410 {
411 if (_obj1)
412 delete _arg1;
413 }
414 return _resultobj;
415 }
416
417 static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args) {
418 PyObject * _resultobj;
419 bool _result;
420
421 self = self;
422 if(!PyArg_ParseTuple(args,":wxColourDisplay"))
423 return NULL;
424 _result = (bool )wxColourDisplay();
425 _resultobj = Py_BuildValue("i",_result);
426 return _resultobj;
427 }
428
429 static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args) {
430 PyObject * _resultobj;
431 int _result;
432
433 self = self;
434 if(!PyArg_ParseTuple(args,":wxDisplayDepth"))
435 return NULL;
436 _result = (int )wxDisplayDepth();
437 _resultobj = Py_BuildValue("i",_result);
438 return _resultobj;
439 }
440
441 static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args) {
442 PyObject * _resultobj;
443 wxCursor * _arg0;
444 char * _argc0 = 0;
445
446 self = self;
447 if(!PyArg_ParseTuple(args,"s:wxSetCursor",&_argc0))
448 return NULL;
449 if (_argc0) {
450 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) {
451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
452 return NULL;
453 }
454 }
455 wxSetCursor(_arg0);
456 Py_INCREF(Py_None);
457 _resultobj = Py_None;
458 return _resultobj;
459 }
460
461 static PyObject *_wrap_NewId(PyObject *self, PyObject *args) {
462 PyObject * _resultobj;
463 long _result;
464
465 self = self;
466 if(!PyArg_ParseTuple(args,":NewId"))
467 return NULL;
468 _result = (long )NewId();
469 _resultobj = Py_BuildValue("l",_result);
470 return _resultobj;
471 }
472
473 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args) {
474 PyObject * _resultobj;
475 long _arg0;
476
477 self = self;
478 if(!PyArg_ParseTuple(args,"l:RegisterId",&_arg0))
479 return NULL;
480 RegisterId(_arg0);
481 Py_INCREF(Py_None);
482 _resultobj = Py_None;
483 return _resultobj;
484 }
485
486 static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args) {
487 PyObject * _resultobj;
488 wxCursor * _arg0 = wxHOURGLASS_CURSOR;
489 char * _argc0 = 0;
490
491 self = self;
492 if(!PyArg_ParseTuple(args,"|s:wxBeginBusyCursor",&_argc0))
493 return NULL;
494 if (_argc0) {
495 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) {
496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
497 return NULL;
498 }
499 }
500 wxBeginBusyCursor(_arg0);
501 Py_INCREF(Py_None);
502 _resultobj = Py_None;
503 return _resultobj;
504 }
505
506 static PyObject *_wrap_wxBell(PyObject *self, PyObject *args) {
507 PyObject * _resultobj;
508
509 self = self;
510 if(!PyArg_ParseTuple(args,":wxBell"))
511 return NULL;
512 wxBell();
513 Py_INCREF(Py_None);
514 _resultobj = Py_None;
515 return _resultobj;
516 }
517
518 static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args) {
519 PyObject * _resultobj;
520 int * _arg0;
521 int temp;
522 int * _arg1;
523 int temp0;
524
525 self = self;
526 {
527 _arg0 = &temp;
528 }
529 {
530 _arg1 = &temp0;
531 }
532 if(!PyArg_ParseTuple(args,":wxDisplaySize"))
533 return NULL;
534 wxDisplaySize(_arg0,_arg1);
535 Py_INCREF(Py_None);
536 _resultobj = Py_None;
537 {
538 PyObject *o;
539 o = PyInt_FromLong((long) (*_arg0));
540 _resultobj = t_output_helper(_resultobj, o);
541 }
542 {
543 PyObject *o;
544 o = PyInt_FromLong((long) (*_arg1));
545 _resultobj = t_output_helper(_resultobj, o);
546 }
547 return _resultobj;
548 }
549
550 static PyObject *_wrap_wxEndBusyCursor(PyObject *self, PyObject *args) {
551 PyObject * _resultobj;
552
553 self = self;
554 if(!PyArg_ParseTuple(args,":wxEndBusyCursor"))
555 return NULL;
556 wxEndBusyCursor();
557 Py_INCREF(Py_None);
558 _resultobj = Py_None;
559 return _resultobj;
560 }
561
562 static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args) {
563 PyObject * _resultobj;
564 long _result;
565 wxString * _arg0;
566 bool _arg1 = (0);
567 PyObject * _obj0 = 0;
568 int tempbool1;
569
570 self = self;
571 if(!PyArg_ParseTuple(args,"O|i:wxExecute",&_obj0,&tempbool1))
572 return NULL;
573 {
574 if (!PyString_Check(_obj0)) {
575 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
576 return NULL;
577 }
578 _arg0 = new wxString(PyString_AsString(_obj0));
579 }
580 _arg1 = (bool ) tempbool1;
581 _result = (long )wxExecute(*_arg0,_arg1);
582 _resultobj = Py_BuildValue("l",_result);
583 {
584 if (_obj0)
585 delete _arg0;
586 }
587 return _resultobj;
588 }
589
590 static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
591 PyObject * _resultobj;
592 wxWindow * _result;
593 wxString * _arg0;
594 wxWindow * _arg1 = NULL;
595 PyObject * _obj0 = 0;
596 char * _argc1 = 0;
597 char _ptemp[128];
598
599 self = self;
600 if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByLabel",&_obj0,&_argc1))
601 return NULL;
602 {
603 if (!PyString_Check(_obj0)) {
604 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
605 return NULL;
606 }
607 _arg0 = new wxString(PyString_AsString(_obj0));
608 }
609 if (_argc1) {
610 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
611 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
612 return NULL;
613 }
614 }
615 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
616 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
617 _resultobj = Py_BuildValue("s",_ptemp);
618 {
619 if (_obj0)
620 delete _arg0;
621 }
622 return _resultobj;
623 }
624
625 static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
626 PyObject * _resultobj;
627 wxWindow * _result;
628 wxString * _arg0;
629 wxWindow * _arg1 = NULL;
630 PyObject * _obj0 = 0;
631 char * _argc1 = 0;
632 char _ptemp[128];
633
634 self = self;
635 if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByName",&_obj0,&_argc1))
636 return NULL;
637 {
638 if (!PyString_Check(_obj0)) {
639 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
640 return NULL;
641 }
642 _arg0 = new wxString(PyString_AsString(_obj0));
643 }
644 if (_argc1) {
645 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
646 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
647 return NULL;
648 }
649 }
650 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
651 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
652 _resultobj = Py_BuildValue("s",_ptemp);
653 {
654 if (_obj0)
655 delete _arg0;
656 }
657 return _resultobj;
658 }
659
660 static PyObject *_wrap_wxGetMousePosition(PyObject *self, PyObject *args) {
661 PyObject * _resultobj;
662 int * _arg0;
663 int temp;
664 int * _arg1;
665 int temp0;
666
667 self = self;
668 {
669 _arg0 = &temp;
670 }
671 {
672 _arg1 = &temp0;
673 }
674 if(!PyArg_ParseTuple(args,":wxGetMousePosition"))
675 return NULL;
676 wxGetMousePosition(_arg0,_arg1);
677 Py_INCREF(Py_None);
678 _resultobj = Py_None;
679 {
680 PyObject *o;
681 o = PyInt_FromLong((long) (*_arg0));
682 _resultobj = t_output_helper(_resultobj, o);
683 }
684 {
685 PyObject *o;
686 o = PyInt_FromLong((long) (*_arg1));
687 _resultobj = t_output_helper(_resultobj, o);
688 }
689 return _resultobj;
690 }
691
692 static PyObject *_wrap_wxIsBusy(PyObject *self, PyObject *args) {
693 PyObject * _resultobj;
694 bool _result;
695
696 self = self;
697 if(!PyArg_ParseTuple(args,":wxIsBusy"))
698 return NULL;
699 _result = (bool )wxIsBusy();
700 _resultobj = Py_BuildValue("i",_result);
701 return _resultobj;
702 }
703
704 static PyObject *_wrap_wxNow(PyObject *self, PyObject *args) {
705 PyObject * _resultobj;
706 wxString * _result;
707
708 self = self;
709 if(!PyArg_ParseTuple(args,":wxNow"))
710 return NULL;
711 _result = new wxString (wxNow());
712 {
713 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
714 }
715 {
716 delete _result;
717 }
718 return _resultobj;
719 }
720
721 static PyObject *_wrap_wxYield(PyObject *self, PyObject *args) {
722 PyObject * _resultobj;
723 bool _result;
724
725 self = self;
726 if(!PyArg_ParseTuple(args,":wxYield"))
727 return NULL;
728 _result = (bool )wxYield();
729 _resultobj = Py_BuildValue("i",_result);
730 return _resultobj;
731 }
732
733 static PyObject *_wrap_wxGetResource(PyObject *self, PyObject *args) {
734 PyObject * _resultobj;
735 char * _result;
736 char * _arg0;
737 char * _arg1;
738 char * _arg2 = NULL;
739
740 self = self;
741 if(!PyArg_ParseTuple(args,"ss|s:wxGetResource",&_arg0,&_arg1,&_arg2))
742 return NULL;
743 _result = (char *)wxGetResource(_arg0,_arg1,_arg2);
744 _resultobj = Py_BuildValue("s", _result);
745 return _resultobj;
746 }
747
748 static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args) {
749 PyObject * _resultobj;
750 bool _result;
751 char * _arg0;
752 int _arg1;
753
754 self = self;
755 if(!PyArg_ParseTuple(args,"si:wxResourceAddIdentifier",&_arg0,&_arg1))
756 return NULL;
757 _result = (bool )wxResourceAddIdentifier(_arg0,_arg1);
758 _resultobj = Py_BuildValue("i",_result);
759 return _resultobj;
760 }
761
762 static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args) {
763 PyObject * _resultobj;
764
765 self = self;
766 if(!PyArg_ParseTuple(args,":wxResourceClear"))
767 return NULL;
768 wxResourceClear();
769 Py_INCREF(Py_None);
770 _resultobj = Py_None;
771 return _resultobj;
772 }
773
774 static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args) {
775 PyObject * _resultobj;
776 wxBitmap * _result;
777 char * _arg0;
778 char _ptemp[128];
779
780 self = self;
781 if(!PyArg_ParseTuple(args,"s:wxResourceCreateBitmap",&_arg0))
782 return NULL;
783 _result = new wxBitmap (wxResourceCreateBitmap(_arg0));
784 SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
785 _resultobj = Py_BuildValue("s",_ptemp);
786 return _resultobj;
787 }
788
789 static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args) {
790 PyObject * _resultobj;
791 wxIcon * _result;
792 char * _arg0;
793 char _ptemp[128];
794
795 self = self;
796 if(!PyArg_ParseTuple(args,"s:wxResourceCreateIcon",&_arg0))
797 return NULL;
798 _result = new wxIcon (wxResourceCreateIcon(_arg0));
799 SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
800 _resultobj = Py_BuildValue("s",_ptemp);
801 return _resultobj;
802 }
803
804 static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args) {
805 PyObject * _resultobj;
806 wxMenuBar * _result;
807 char * _arg0;
808 char _ptemp[128];
809
810 self = self;
811 if(!PyArg_ParseTuple(args,"s:wxResourceCreateMenuBar",&_arg0))
812 return NULL;
813 _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0);
814 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
815 _resultobj = Py_BuildValue("s",_ptemp);
816 return _resultobj;
817 }
818
819 static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args) {
820 PyObject * _resultobj;
821 int _result;
822 char * _arg0;
823
824 self = self;
825 if(!PyArg_ParseTuple(args,"s:wxResourceGetIdentifier",&_arg0))
826 return NULL;
827 _result = (int )wxResourceGetIdentifier(_arg0);
828 _resultobj = Py_BuildValue("i",_result);
829 return _resultobj;
830 }
831
832 static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args) {
833 PyObject * _resultobj;
834 bool _result;
835 char * _arg0;
836 wxResourceTable * _arg1 = NULL;
837 char * _argc1 = 0;
838
839 self = self;
840 if(!PyArg_ParseTuple(args,"s|s:wxResourceParseData",&_arg0,&_argc1))
841 return NULL;
842 if (_argc1) {
843 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) {
844 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
845 return NULL;
846 }
847 }
848 _result = (bool )wxResourceParseData(_arg0,_arg1);
849 _resultobj = Py_BuildValue("i",_result);
850 return _resultobj;
851 }
852
853 static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args) {
854 PyObject * _resultobj;
855 bool _result;
856 char * _arg0;
857 wxResourceTable * _arg1 = NULL;
858 char * _argc1 = 0;
859
860 self = self;
861 if(!PyArg_ParseTuple(args,"s|s:wxResourceParseFile",&_arg0,&_argc1))
862 return NULL;
863 if (_argc1) {
864 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) {
865 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
866 return NULL;
867 }
868 }
869 _result = (bool )wxResourceParseFile(_arg0,_arg1);
870 _resultobj = Py_BuildValue("i",_result);
871 return _resultobj;
872 }
873
874 static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args) {
875 PyObject * _resultobj;
876 bool _result;
877 char * _arg0;
878 wxResourceTable * _arg1 = NULL;
879 char * _argc1 = 0;
880
881 self = self;
882 if(!PyArg_ParseTuple(args,"s|s:wxResourceParseString",&_arg0,&_argc1))
883 return NULL;
884 if (_argc1) {
885 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) {
886 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
887 return NULL;
888 }
889 }
890 _result = (bool )wxResourceParseString(_arg0,_arg1);
891 _resultobj = Py_BuildValue("i",_result);
892 return _resultobj;
893 }
894
895 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
896 static PyObject *_wrap_wxSize_width_set(PyObject *self, PyObject *args) {
897 PyObject * _resultobj;
898 long _result;
899 wxSize * _arg0;
900 long _arg1;
901 char * _argc0 = 0;
902
903 self = self;
904 if(!PyArg_ParseTuple(args,"sl:wxSize_width_set",&_argc0,&_arg1))
905 return NULL;
906 if (_argc0) {
907 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_width_set. Expected _wxSize_p.");
909 return NULL;
910 }
911 }
912 _result = (long )wxSize_x_set(_arg0,_arg1);
913 _resultobj = Py_BuildValue("l",_result);
914 return _resultobj;
915 }
916
917 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
918 static PyObject *_wrap_wxSize_width_get(PyObject *self, PyObject *args) {
919 PyObject * _resultobj;
920 long _result;
921 wxSize * _arg0;
922 char * _argc0 = 0;
923
924 self = self;
925 if(!PyArg_ParseTuple(args,"s:wxSize_width_get",&_argc0))
926 return NULL;
927 if (_argc0) {
928 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_width_get. Expected _wxSize_p.");
930 return NULL;
931 }
932 }
933 _result = (long )wxSize_x_get(_arg0);
934 _resultobj = Py_BuildValue("l",_result);
935 return _resultobj;
936 }
937
938 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
939 static PyObject *_wrap_wxSize_height_set(PyObject *self, PyObject *args) {
940 PyObject * _resultobj;
941 long _result;
942 wxSize * _arg0;
943 long _arg1;
944 char * _argc0 = 0;
945
946 self = self;
947 if(!PyArg_ParseTuple(args,"sl:wxSize_height_set",&_argc0,&_arg1))
948 return NULL;
949 if (_argc0) {
950 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_height_set. Expected _wxSize_p.");
952 return NULL;
953 }
954 }
955 _result = (long )wxSize_y_set(_arg0,_arg1);
956 _resultobj = Py_BuildValue("l",_result);
957 return _resultobj;
958 }
959
960 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
961 static PyObject *_wrap_wxSize_height_get(PyObject *self, PyObject *args) {
962 PyObject * _resultobj;
963 long _result;
964 wxSize * _arg0;
965 char * _argc0 = 0;
966
967 self = self;
968 if(!PyArg_ParseTuple(args,"s:wxSize_height_get",&_argc0))
969 return NULL;
970 if (_argc0) {
971 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_height_get. Expected _wxSize_p.");
973 return NULL;
974 }
975 }
976 _result = (long )wxSize_y_get(_arg0);
977 _resultobj = Py_BuildValue("l",_result);
978 return _resultobj;
979 }
980
981 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
982 static PyObject *_wrap_new_wxSize(PyObject *self, PyObject *args) {
983 PyObject * _resultobj;
984 wxSize * _result;
985 long _arg0 = 0;
986 long _arg1 = 0;
987 char _ptemp[128];
988
989 self = self;
990 if(!PyArg_ParseTuple(args,"|ll:new_wxSize",&_arg0,&_arg1))
991 return NULL;
992 _result = (wxSize *)new_wxSize(_arg0,_arg1);
993 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p");
994 _resultobj = Py_BuildValue("s",_ptemp);
995 return _resultobj;
996 }
997
998 #define delete_wxSize(_swigobj) (delete _swigobj)
999 static PyObject *_wrap_delete_wxSize(PyObject *self, PyObject *args) {
1000 PyObject * _resultobj;
1001 wxSize * _arg0;
1002 char * _argc0 = 0;
1003
1004 self = self;
1005 if(!PyArg_ParseTuple(args,"s:delete_wxSize",&_argc0))
1006 return NULL;
1007 if (_argc0) {
1008 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1010 return NULL;
1011 }
1012 }
1013 delete_wxSize(_arg0);
1014 Py_INCREF(Py_None);
1015 _resultobj = Py_None;
1016 return _resultobj;
1017 }
1018
1019 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1020 static PyObject *_wrap_wxSize_Set(PyObject *self, PyObject *args) {
1021 PyObject * _resultobj;
1022 wxSize * _arg0;
1023 long _arg1;
1024 long _arg2;
1025 char * _argc0 = 0;
1026
1027 self = self;
1028 if(!PyArg_ParseTuple(args,"sll:wxSize_Set",&_argc0,&_arg1,&_arg2))
1029 return NULL;
1030 if (_argc0) {
1031 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1033 return NULL;
1034 }
1035 }
1036 wxSize_Set(_arg0,_arg1,_arg2);
1037 Py_INCREF(Py_None);
1038 _resultobj = Py_None;
1039 return _resultobj;
1040 }
1041
1042 #define wxSize_GetWidth(_swigobj) (_swigobj->GetX())
1043 static PyObject *_wrap_wxSize_GetWidth(PyObject *self, PyObject *args) {
1044 PyObject * _resultobj;
1045 long _result;
1046 wxSize * _arg0;
1047 char * _argc0 = 0;
1048
1049 self = self;
1050 if(!PyArg_ParseTuple(args,"s:wxSize_GetWidth",&_argc0))
1051 return NULL;
1052 if (_argc0) {
1053 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1055 return NULL;
1056 }
1057 }
1058 _result = (long )wxSize_GetWidth(_arg0);
1059 _resultobj = Py_BuildValue("l",_result);
1060 return _resultobj;
1061 }
1062
1063 #define wxSize_GetHeight(_swigobj) (_swigobj->GetY())
1064 static PyObject *_wrap_wxSize_GetHeight(PyObject *self, PyObject *args) {
1065 PyObject * _resultobj;
1066 long _result;
1067 wxSize * _arg0;
1068 char * _argc0 = 0;
1069
1070 self = self;
1071 if(!PyArg_ParseTuple(args,"s:wxSize_GetHeight",&_argc0))
1072 return NULL;
1073 if (_argc0) {
1074 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1076 return NULL;
1077 }
1078 }
1079 _result = (long )wxSize_GetHeight(_arg0);
1080 _resultobj = Py_BuildValue("l",_result);
1081 return _resultobj;
1082 }
1083
1084 static PyObject * wxSize___str__(wxSize *self) {
1085 PyObject* tup = PyTuple_New(2);
1086 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1087 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1088 return tup;
1089 }
1090 static PyObject *_wrap_wxSize___str__(PyObject *self, PyObject *args) {
1091 PyObject * _resultobj;
1092 PyObject * _result;
1093 wxSize * _arg0;
1094 char * _argc0 = 0;
1095
1096 self = self;
1097 if(!PyArg_ParseTuple(args,"s:wxSize___str__",&_argc0))
1098 return NULL;
1099 if (_argc0) {
1100 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) {
1101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize___str__. Expected _wxSize_p.");
1102 return NULL;
1103 }
1104 }
1105 _result = (PyObject *)wxSize___str__(_arg0);
1106 {
1107 _resultobj = _result;
1108 }
1109 return _resultobj;
1110 }
1111
1112 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1113 static PyObject *_wrap_wxRealPoint_x_set(PyObject *self, PyObject *args) {
1114 PyObject * _resultobj;
1115 double _result;
1116 wxRealPoint * _arg0;
1117 double _arg1;
1118 char * _argc0 = 0;
1119
1120 self = self;
1121 if(!PyArg_ParseTuple(args,"sd:wxRealPoint_x_set",&_argc0,&_arg1))
1122 return NULL;
1123 if (_argc0) {
1124 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1126 return NULL;
1127 }
1128 }
1129 _result = (double )wxRealPoint_x_set(_arg0,_arg1);
1130 _resultobj = Py_BuildValue("d",_result);
1131 return _resultobj;
1132 }
1133
1134 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1135 static PyObject *_wrap_wxRealPoint_x_get(PyObject *self, PyObject *args) {
1136 PyObject * _resultobj;
1137 double _result;
1138 wxRealPoint * _arg0;
1139 char * _argc0 = 0;
1140
1141 self = self;
1142 if(!PyArg_ParseTuple(args,"s:wxRealPoint_x_get",&_argc0))
1143 return NULL;
1144 if (_argc0) {
1145 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1147 return NULL;
1148 }
1149 }
1150 _result = (double )wxRealPoint_x_get(_arg0);
1151 _resultobj = Py_BuildValue("d",_result);
1152 return _resultobj;
1153 }
1154
1155 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1156 static PyObject *_wrap_wxRealPoint_y_set(PyObject *self, PyObject *args) {
1157 PyObject * _resultobj;
1158 double _result;
1159 wxRealPoint * _arg0;
1160 double _arg1;
1161 char * _argc0 = 0;
1162
1163 self = self;
1164 if(!PyArg_ParseTuple(args,"sd:wxRealPoint_y_set",&_argc0,&_arg1))
1165 return NULL;
1166 if (_argc0) {
1167 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1169 return NULL;
1170 }
1171 }
1172 _result = (double )wxRealPoint_y_set(_arg0,_arg1);
1173 _resultobj = Py_BuildValue("d",_result);
1174 return _resultobj;
1175 }
1176
1177 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1178 static PyObject *_wrap_wxRealPoint_y_get(PyObject *self, PyObject *args) {
1179 PyObject * _resultobj;
1180 double _result;
1181 wxRealPoint * _arg0;
1182 char * _argc0 = 0;
1183
1184 self = self;
1185 if(!PyArg_ParseTuple(args,"s:wxRealPoint_y_get",&_argc0))
1186 return NULL;
1187 if (_argc0) {
1188 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1190 return NULL;
1191 }
1192 }
1193 _result = (double )wxRealPoint_y_get(_arg0);
1194 _resultobj = Py_BuildValue("d",_result);
1195 return _resultobj;
1196 }
1197
1198 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1199 static PyObject *_wrap_new_wxRealPoint(PyObject *self, PyObject *args) {
1200 PyObject * _resultobj;
1201 wxRealPoint * _result;
1202 double _arg0 = 0.0;
1203 double _arg1 = 0.0;
1204 char _ptemp[128];
1205
1206 self = self;
1207 if(!PyArg_ParseTuple(args,"|dd:new_wxRealPoint",&_arg0,&_arg1))
1208 return NULL;
1209 _result = (wxRealPoint *)new_wxRealPoint(_arg0,_arg1);
1210 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p");
1211 _resultobj = Py_BuildValue("s",_ptemp);
1212 return _resultobj;
1213 }
1214
1215 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1216 static PyObject *_wrap_delete_wxRealPoint(PyObject *self, PyObject *args) {
1217 PyObject * _resultobj;
1218 wxRealPoint * _arg0;
1219 char * _argc0 = 0;
1220
1221 self = self;
1222 if(!PyArg_ParseTuple(args,"s:delete_wxRealPoint",&_argc0))
1223 return NULL;
1224 if (_argc0) {
1225 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) {
1226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1227 return NULL;
1228 }
1229 }
1230 delete_wxRealPoint(_arg0);
1231 Py_INCREF(Py_None);
1232 _resultobj = Py_None;
1233 return _resultobj;
1234 }
1235
1236 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1237 static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args) {
1238 PyObject * _resultobj;
1239 long _result;
1240 wxPoint * _arg0;
1241 long _arg1;
1242 char * _argc0 = 0;
1243
1244 self = self;
1245 if(!PyArg_ParseTuple(args,"sl:wxPoint_x_set",&_argc0,&_arg1))
1246 return NULL;
1247 if (_argc0) {
1248 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1250 return NULL;
1251 }
1252 }
1253 _result = (long )wxPoint_x_set(_arg0,_arg1);
1254 _resultobj = Py_BuildValue("l",_result);
1255 return _resultobj;
1256 }
1257
1258 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1259 static PyObject *_wrap_wxPoint_x_get(PyObject *self, PyObject *args) {
1260 PyObject * _resultobj;
1261 long _result;
1262 wxPoint * _arg0;
1263 char * _argc0 = 0;
1264
1265 self = self;
1266 if(!PyArg_ParseTuple(args,"s:wxPoint_x_get",&_argc0))
1267 return NULL;
1268 if (_argc0) {
1269 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1271 return NULL;
1272 }
1273 }
1274 _result = (long )wxPoint_x_get(_arg0);
1275 _resultobj = Py_BuildValue("l",_result);
1276 return _resultobj;
1277 }
1278
1279 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1280 static PyObject *_wrap_wxPoint_y_set(PyObject *self, PyObject *args) {
1281 PyObject * _resultobj;
1282 long _result;
1283 wxPoint * _arg0;
1284 long _arg1;
1285 char * _argc0 = 0;
1286
1287 self = self;
1288 if(!PyArg_ParseTuple(args,"sl:wxPoint_y_set",&_argc0,&_arg1))
1289 return NULL;
1290 if (_argc0) {
1291 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1293 return NULL;
1294 }
1295 }
1296 _result = (long )wxPoint_y_set(_arg0,_arg1);
1297 _resultobj = Py_BuildValue("l",_result);
1298 return _resultobj;
1299 }
1300
1301 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1302 static PyObject *_wrap_wxPoint_y_get(PyObject *self, PyObject *args) {
1303 PyObject * _resultobj;
1304 long _result;
1305 wxPoint * _arg0;
1306 char * _argc0 = 0;
1307
1308 self = self;
1309 if(!PyArg_ParseTuple(args,"s:wxPoint_y_get",&_argc0))
1310 return NULL;
1311 if (_argc0) {
1312 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1314 return NULL;
1315 }
1316 }
1317 _result = (long )wxPoint_y_get(_arg0);
1318 _resultobj = Py_BuildValue("l",_result);
1319 return _resultobj;
1320 }
1321
1322 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1323 static PyObject *_wrap_new_wxPoint(PyObject *self, PyObject *args) {
1324 PyObject * _resultobj;
1325 wxPoint * _result;
1326 long _arg0 = 0;
1327 long _arg1 = 0;
1328 char _ptemp[128];
1329
1330 self = self;
1331 if(!PyArg_ParseTuple(args,"|ll:new_wxPoint",&_arg0,&_arg1))
1332 return NULL;
1333 _result = (wxPoint *)new_wxPoint(_arg0,_arg1);
1334 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1335 _resultobj = Py_BuildValue("s",_ptemp);
1336 return _resultobj;
1337 }
1338
1339 #define delete_wxPoint(_swigobj) (delete _swigobj)
1340 static PyObject *_wrap_delete_wxPoint(PyObject *self, PyObject *args) {
1341 PyObject * _resultobj;
1342 wxPoint * _arg0;
1343 char * _argc0 = 0;
1344
1345 self = self;
1346 if(!PyArg_ParseTuple(args,"s:delete_wxPoint",&_argc0))
1347 return NULL;
1348 if (_argc0) {
1349 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1351 return NULL;
1352 }
1353 }
1354 delete_wxPoint(_arg0);
1355 Py_INCREF(Py_None);
1356 _resultobj = Py_None;
1357 return _resultobj;
1358 }
1359
1360 static void wxPoint_Set(wxPoint *self,long x,long y) {
1361 self->x = x;
1362 self->y = y;
1363 }
1364 static PyObject *_wrap_wxPoint_Set(PyObject *self, PyObject *args) {
1365 PyObject * _resultobj;
1366 wxPoint * _arg0;
1367 long _arg1;
1368 long _arg2;
1369 char * _argc0 = 0;
1370
1371 self = self;
1372 if(!PyArg_ParseTuple(args,"sll:wxPoint_Set",&_argc0,&_arg1,&_arg2))
1373 return NULL;
1374 if (_argc0) {
1375 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1377 return NULL;
1378 }
1379 }
1380 wxPoint_Set(_arg0,_arg1,_arg2);
1381 Py_INCREF(Py_None);
1382 _resultobj = Py_None;
1383 return _resultobj;
1384 }
1385
1386 static PyObject * wxPoint___str__(wxPoint *self) {
1387 PyObject* tup = PyTuple_New(2);
1388 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1389 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
1390 return tup;
1391 }
1392 static PyObject *_wrap_wxPoint___str__(PyObject *self, PyObject *args) {
1393 PyObject * _resultobj;
1394 PyObject * _result;
1395 wxPoint * _arg0;
1396 char * _argc0 = 0;
1397
1398 self = self;
1399 if(!PyArg_ParseTuple(args,"s:wxPoint___str__",&_argc0))
1400 return NULL;
1401 if (_argc0) {
1402 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) {
1403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint___str__. Expected _wxPoint_p.");
1404 return NULL;
1405 }
1406 }
1407 _result = (PyObject *)wxPoint___str__(_arg0);
1408 {
1409 _resultobj = _result;
1410 }
1411 return _resultobj;
1412 }
1413
1414 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1415 static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args) {
1416 PyObject * _resultobj;
1417 wxRect * _result;
1418 long _arg0 = 0;
1419 long _arg1 = 0;
1420 long _arg2 = 0;
1421 long _arg3 = 0;
1422 char _ptemp[128];
1423
1424 self = self;
1425 if(!PyArg_ParseTuple(args,"|llll:new_wxRect",&_arg0,&_arg1,&_arg2,&_arg3))
1426 return NULL;
1427 _result = (wxRect *)new_wxRect(_arg0,_arg1,_arg2,_arg3);
1428 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1429 _resultobj = Py_BuildValue("s",_ptemp);
1430 return _resultobj;
1431 }
1432
1433 #define delete_wxRect(_swigobj) (delete _swigobj)
1434 static PyObject *_wrap_delete_wxRect(PyObject *self, PyObject *args) {
1435 PyObject * _resultobj;
1436 wxRect * _arg0;
1437 char * _argc0 = 0;
1438
1439 self = self;
1440 if(!PyArg_ParseTuple(args,"s:delete_wxRect",&_argc0))
1441 return NULL;
1442 if (_argc0) {
1443 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1445 return NULL;
1446 }
1447 }
1448 delete_wxRect(_arg0);
1449 Py_INCREF(Py_None);
1450 _resultobj = Py_None;
1451 return _resultobj;
1452 }
1453
1454 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1455 static PyObject *_wrap_wxRect_GetX(PyObject *self, PyObject *args) {
1456 PyObject * _resultobj;
1457 long _result;
1458 wxRect * _arg0;
1459 char * _argc0 = 0;
1460
1461 self = self;
1462 if(!PyArg_ParseTuple(args,"s:wxRect_GetX",&_argc0))
1463 return NULL;
1464 if (_argc0) {
1465 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1467 return NULL;
1468 }
1469 }
1470 _result = (long )wxRect_GetX(_arg0);
1471 _resultobj = Py_BuildValue("l",_result);
1472 return _resultobj;
1473 }
1474
1475 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1476 static PyObject *_wrap_wxRect_SetX(PyObject *self, PyObject *args) {
1477 PyObject * _resultobj;
1478 wxRect * _arg0;
1479 long _arg1;
1480 char * _argc0 = 0;
1481
1482 self = self;
1483 if(!PyArg_ParseTuple(args,"sl:wxRect_SetX",&_argc0,&_arg1))
1484 return NULL;
1485 if (_argc0) {
1486 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1488 return NULL;
1489 }
1490 }
1491 wxRect_SetX(_arg0,_arg1);
1492 Py_INCREF(Py_None);
1493 _resultobj = Py_None;
1494 return _resultobj;
1495 }
1496
1497 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1498 static PyObject *_wrap_wxRect_GetY(PyObject *self, PyObject *args) {
1499 PyObject * _resultobj;
1500 long _result;
1501 wxRect * _arg0;
1502 char * _argc0 = 0;
1503
1504 self = self;
1505 if(!PyArg_ParseTuple(args,"s:wxRect_GetY",&_argc0))
1506 return NULL;
1507 if (_argc0) {
1508 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
1510 return NULL;
1511 }
1512 }
1513 _result = (long )wxRect_GetY(_arg0);
1514 _resultobj = Py_BuildValue("l",_result);
1515 return _resultobj;
1516 }
1517
1518 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1519 static PyObject *_wrap_wxRect_SetY(PyObject *self, PyObject *args) {
1520 PyObject * _resultobj;
1521 wxRect * _arg0;
1522 long _arg1;
1523 char * _argc0 = 0;
1524
1525 self = self;
1526 if(!PyArg_ParseTuple(args,"sl:wxRect_SetY",&_argc0,&_arg1))
1527 return NULL;
1528 if (_argc0) {
1529 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
1531 return NULL;
1532 }
1533 }
1534 wxRect_SetY(_arg0,_arg1);
1535 Py_INCREF(Py_None);
1536 _resultobj = Py_None;
1537 return _resultobj;
1538 }
1539
1540 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1541 static PyObject *_wrap_wxRect_GetWidth(PyObject *self, PyObject *args) {
1542 PyObject * _resultobj;
1543 long _result;
1544 wxRect * _arg0;
1545 char * _argc0 = 0;
1546
1547 self = self;
1548 if(!PyArg_ParseTuple(args,"s:wxRect_GetWidth",&_argc0))
1549 return NULL;
1550 if (_argc0) {
1551 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
1553 return NULL;
1554 }
1555 }
1556 _result = (long )wxRect_GetWidth(_arg0);
1557 _resultobj = Py_BuildValue("l",_result);
1558 return _resultobj;
1559 }
1560
1561 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1562 static PyObject *_wrap_wxRect_SetWidth(PyObject *self, PyObject *args) {
1563 PyObject * _resultobj;
1564 wxRect * _arg0;
1565 long _arg1;
1566 char * _argc0 = 0;
1567
1568 self = self;
1569 if(!PyArg_ParseTuple(args,"sl:wxRect_SetWidth",&_argc0,&_arg1))
1570 return NULL;
1571 if (_argc0) {
1572 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
1574 return NULL;
1575 }
1576 }
1577 wxRect_SetWidth(_arg0,_arg1);
1578 Py_INCREF(Py_None);
1579 _resultobj = Py_None;
1580 return _resultobj;
1581 }
1582
1583 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1584 static PyObject *_wrap_wxRect_GetHeight(PyObject *self, PyObject *args) {
1585 PyObject * _resultobj;
1586 long _result;
1587 wxRect * _arg0;
1588 char * _argc0 = 0;
1589
1590 self = self;
1591 if(!PyArg_ParseTuple(args,"s:wxRect_GetHeight",&_argc0))
1592 return NULL;
1593 if (_argc0) {
1594 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
1596 return NULL;
1597 }
1598 }
1599 _result = (long )wxRect_GetHeight(_arg0);
1600 _resultobj = Py_BuildValue("l",_result);
1601 return _resultobj;
1602 }
1603
1604 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1605 static PyObject *_wrap_wxRect_SetHeight(PyObject *self, PyObject *args) {
1606 PyObject * _resultobj;
1607 wxRect * _arg0;
1608 long _arg1;
1609 char * _argc0 = 0;
1610
1611 self = self;
1612 if(!PyArg_ParseTuple(args,"sl:wxRect_SetHeight",&_argc0,&_arg1))
1613 return NULL;
1614 if (_argc0) {
1615 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
1617 return NULL;
1618 }
1619 }
1620 wxRect_SetHeight(_arg0,_arg1);
1621 Py_INCREF(Py_None);
1622 _resultobj = Py_None;
1623 return _resultobj;
1624 }
1625
1626 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1627 static PyObject *_wrap_wxRect_GetPosition(PyObject *self, PyObject *args) {
1628 PyObject * _resultobj;
1629 wxPoint * _result;
1630 wxRect * _arg0;
1631 char * _argc0 = 0;
1632 char _ptemp[128];
1633
1634 self = self;
1635 if(!PyArg_ParseTuple(args,"s:wxRect_GetPosition",&_argc0))
1636 return NULL;
1637 if (_argc0) {
1638 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
1640 return NULL;
1641 }
1642 }
1643 _result = new wxPoint (wxRect_GetPosition(_arg0));
1644 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1645 _resultobj = Py_BuildValue("s",_ptemp);
1646 return _resultobj;
1647 }
1648
1649 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1650 static PyObject *_wrap_wxRect_GetSize(PyObject *self, PyObject *args) {
1651 PyObject * _resultobj;
1652 wxSize * _result;
1653 wxRect * _arg0;
1654 char * _argc0 = 0;
1655 char _ptemp[128];
1656
1657 self = self;
1658 if(!PyArg_ParseTuple(args,"s:wxRect_GetSize",&_argc0))
1659 return NULL;
1660 if (_argc0) {
1661 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
1663 return NULL;
1664 }
1665 }
1666 _result = new wxSize (wxRect_GetSize(_arg0));
1667 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1668 _resultobj = Py_BuildValue("s",_ptemp);
1669 return _resultobj;
1670 }
1671
1672 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1673 static PyObject *_wrap_wxRect_GetLeft(PyObject *self, PyObject *args) {
1674 PyObject * _resultobj;
1675 long _result;
1676 wxRect * _arg0;
1677 char * _argc0 = 0;
1678
1679 self = self;
1680 if(!PyArg_ParseTuple(args,"s:wxRect_GetLeft",&_argc0))
1681 return NULL;
1682 if (_argc0) {
1683 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
1685 return NULL;
1686 }
1687 }
1688 _result = (long )wxRect_GetLeft(_arg0);
1689 _resultobj = Py_BuildValue("l",_result);
1690 return _resultobj;
1691 }
1692
1693 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1694 static PyObject *_wrap_wxRect_GetTop(PyObject *self, PyObject *args) {
1695 PyObject * _resultobj;
1696 long _result;
1697 wxRect * _arg0;
1698 char * _argc0 = 0;
1699
1700 self = self;
1701 if(!PyArg_ParseTuple(args,"s:wxRect_GetTop",&_argc0))
1702 return NULL;
1703 if (_argc0) {
1704 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
1706 return NULL;
1707 }
1708 }
1709 _result = (long )wxRect_GetTop(_arg0);
1710 _resultobj = Py_BuildValue("l",_result);
1711 return _resultobj;
1712 }
1713
1714 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1715 static PyObject *_wrap_wxRect_GetBottom(PyObject *self, PyObject *args) {
1716 PyObject * _resultobj;
1717 long _result;
1718 wxRect * _arg0;
1719 char * _argc0 = 0;
1720
1721 self = self;
1722 if(!PyArg_ParseTuple(args,"s:wxRect_GetBottom",&_argc0))
1723 return NULL;
1724 if (_argc0) {
1725 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
1727 return NULL;
1728 }
1729 }
1730 _result = (long )wxRect_GetBottom(_arg0);
1731 _resultobj = Py_BuildValue("l",_result);
1732 return _resultobj;
1733 }
1734
1735 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1736 static PyObject *_wrap_wxRect_GetRight(PyObject *self, PyObject *args) {
1737 PyObject * _resultobj;
1738 long _result;
1739 wxRect * _arg0;
1740 char * _argc0 = 0;
1741
1742 self = self;
1743 if(!PyArg_ParseTuple(args,"s:wxRect_GetRight",&_argc0))
1744 return NULL;
1745 if (_argc0) {
1746 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
1748 return NULL;
1749 }
1750 }
1751 _result = (long )wxRect_GetRight(_arg0);
1752 _resultobj = Py_BuildValue("l",_result);
1753 return _resultobj;
1754 }
1755
1756 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1757 static PyObject *_wrap_wxRect_x_set(PyObject *self, PyObject *args) {
1758 PyObject * _resultobj;
1759 long _result;
1760 wxRect * _arg0;
1761 long _arg1;
1762 char * _argc0 = 0;
1763
1764 self = self;
1765 if(!PyArg_ParseTuple(args,"sl:wxRect_x_set",&_argc0,&_arg1))
1766 return NULL;
1767 if (_argc0) {
1768 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
1770 return NULL;
1771 }
1772 }
1773 _result = (long )wxRect_x_set(_arg0,_arg1);
1774 _resultobj = Py_BuildValue("l",_result);
1775 return _resultobj;
1776 }
1777
1778 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
1779 static PyObject *_wrap_wxRect_x_get(PyObject *self, PyObject *args) {
1780 PyObject * _resultobj;
1781 long _result;
1782 wxRect * _arg0;
1783 char * _argc0 = 0;
1784
1785 self = self;
1786 if(!PyArg_ParseTuple(args,"s:wxRect_x_get",&_argc0))
1787 return NULL;
1788 if (_argc0) {
1789 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
1791 return NULL;
1792 }
1793 }
1794 _result = (long )wxRect_x_get(_arg0);
1795 _resultobj = Py_BuildValue("l",_result);
1796 return _resultobj;
1797 }
1798
1799 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1800 static PyObject *_wrap_wxRect_y_set(PyObject *self, PyObject *args) {
1801 PyObject * _resultobj;
1802 long _result;
1803 wxRect * _arg0;
1804 long _arg1;
1805 char * _argc0 = 0;
1806
1807 self = self;
1808 if(!PyArg_ParseTuple(args,"sl:wxRect_y_set",&_argc0,&_arg1))
1809 return NULL;
1810 if (_argc0) {
1811 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
1813 return NULL;
1814 }
1815 }
1816 _result = (long )wxRect_y_set(_arg0,_arg1);
1817 _resultobj = Py_BuildValue("l",_result);
1818 return _resultobj;
1819 }
1820
1821 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
1822 static PyObject *_wrap_wxRect_y_get(PyObject *self, PyObject *args) {
1823 PyObject * _resultobj;
1824 long _result;
1825 wxRect * _arg0;
1826 char * _argc0 = 0;
1827
1828 self = self;
1829 if(!PyArg_ParseTuple(args,"s:wxRect_y_get",&_argc0))
1830 return NULL;
1831 if (_argc0) {
1832 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
1834 return NULL;
1835 }
1836 }
1837 _result = (long )wxRect_y_get(_arg0);
1838 _resultobj = Py_BuildValue("l",_result);
1839 return _resultobj;
1840 }
1841
1842 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
1843 static PyObject *_wrap_wxRect_width_set(PyObject *self, PyObject *args) {
1844 PyObject * _resultobj;
1845 long _result;
1846 wxRect * _arg0;
1847 long _arg1;
1848 char * _argc0 = 0;
1849
1850 self = self;
1851 if(!PyArg_ParseTuple(args,"sl:wxRect_width_set",&_argc0,&_arg1))
1852 return NULL;
1853 if (_argc0) {
1854 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
1856 return NULL;
1857 }
1858 }
1859 _result = (long )wxRect_width_set(_arg0,_arg1);
1860 _resultobj = Py_BuildValue("l",_result);
1861 return _resultobj;
1862 }
1863
1864 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
1865 static PyObject *_wrap_wxRect_width_get(PyObject *self, PyObject *args) {
1866 PyObject * _resultobj;
1867 long _result;
1868 wxRect * _arg0;
1869 char * _argc0 = 0;
1870
1871 self = self;
1872 if(!PyArg_ParseTuple(args,"s:wxRect_width_get",&_argc0))
1873 return NULL;
1874 if (_argc0) {
1875 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
1877 return NULL;
1878 }
1879 }
1880 _result = (long )wxRect_width_get(_arg0);
1881 _resultobj = Py_BuildValue("l",_result);
1882 return _resultobj;
1883 }
1884
1885 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
1886 static PyObject *_wrap_wxRect_height_set(PyObject *self, PyObject *args) {
1887 PyObject * _resultobj;
1888 long _result;
1889 wxRect * _arg0;
1890 long _arg1;
1891 char * _argc0 = 0;
1892
1893 self = self;
1894 if(!PyArg_ParseTuple(args,"sl:wxRect_height_set",&_argc0,&_arg1))
1895 return NULL;
1896 if (_argc0) {
1897 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
1899 return NULL;
1900 }
1901 }
1902 _result = (long )wxRect_height_set(_arg0,_arg1);
1903 _resultobj = Py_BuildValue("l",_result);
1904 return _resultobj;
1905 }
1906
1907 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
1908 static PyObject *_wrap_wxRect_height_get(PyObject *self, PyObject *args) {
1909 PyObject * _resultobj;
1910 long _result;
1911 wxRect * _arg0;
1912 char * _argc0 = 0;
1913
1914 self = self;
1915 if(!PyArg_ParseTuple(args,"s:wxRect_height_get",&_argc0))
1916 return NULL;
1917 if (_argc0) {
1918 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) {
1919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
1920 return NULL;
1921 }
1922 }
1923 _result = (long )wxRect_height_get(_arg0);
1924 _resultobj = Py_BuildValue("l",_result);
1925 return _resultobj;
1926 }
1927
1928 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
1929 static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args) {
1930 PyObject * _resultobj;
1931 wxPyTimer * _result;
1932 PyObject * _arg0;
1933 PyObject * _obj0 = 0;
1934 char _ptemp[128];
1935
1936 self = self;
1937 if(!PyArg_ParseTuple(args,"O:new_wxPyTimer",&_obj0))
1938 return NULL;
1939 {
1940 _arg0 = _obj0;
1941 }
1942 _result = (wxPyTimer *)new_wxPyTimer(_arg0);
1943 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p");
1944 _resultobj = Py_BuildValue("s",_ptemp);
1945 return _resultobj;
1946 }
1947
1948 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
1949 static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args) {
1950 PyObject * _resultobj;
1951 wxPyTimer * _arg0;
1952 char * _argc0 = 0;
1953
1954 self = self;
1955 if(!PyArg_ParseTuple(args,"s:delete_wxPyTimer",&_argc0))
1956 return NULL;
1957 if (_argc0) {
1958 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
1960 return NULL;
1961 }
1962 }
1963 delete_wxPyTimer(_arg0);
1964 Py_INCREF(Py_None);
1965 _resultobj = Py_None;
1966 return _resultobj;
1967 }
1968
1969 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
1970 static PyObject *_wrap_wxPyTimer_Interval(PyObject *self, PyObject *args) {
1971 PyObject * _resultobj;
1972 int _result;
1973 wxPyTimer * _arg0;
1974 char * _argc0 = 0;
1975
1976 self = self;
1977 if(!PyArg_ParseTuple(args,"s:wxPyTimer_Interval",&_argc0))
1978 return NULL;
1979 if (_argc0) {
1980 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
1981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
1982 return NULL;
1983 }
1984 }
1985 _result = (int )wxPyTimer_Interval(_arg0);
1986 _resultobj = Py_BuildValue("i",_result);
1987 return _resultobj;
1988 }
1989
1990 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
1991 static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args) {
1992 PyObject * _resultobj;
1993 wxPyTimer * _arg0;
1994 int _arg1 = -1;
1995 int _arg2 = (0);
1996 char * _argc0 = 0;
1997
1998 self = self;
1999 if(!PyArg_ParseTuple(args,"s|ii:wxPyTimer_Start",&_argc0,&_arg1,&_arg2))
2000 return NULL;
2001 if (_argc0) {
2002 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
2003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2004 return NULL;
2005 }
2006 }
2007 wxPyTimer_Start(_arg0,_arg1,_arg2);
2008 Py_INCREF(Py_None);
2009 _resultobj = Py_None;
2010 return _resultobj;
2011 }
2012
2013 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2014 static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args) {
2015 PyObject * _resultobj;
2016 wxPyTimer * _arg0;
2017 char * _argc0 = 0;
2018
2019 self = self;
2020 if(!PyArg_ParseTuple(args,"s:wxPyTimer_Stop",&_argc0))
2021 return NULL;
2022 if (_argc0) {
2023 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) {
2024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2025 return NULL;
2026 }
2027 }
2028 wxPyTimer_Stop(_arg0);
2029 Py_INCREF(Py_None);
2030 _resultobj = Py_None;
2031 return _resultobj;
2032 }
2033
2034 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2035 static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *self, PyObject *args) {
2036 PyObject * _resultobj;
2037 wxIndividualLayoutConstraint * _arg0;
2038 wxWindow * _arg1;
2039 int _arg2 = 0;
2040 char * _argc0 = 0;
2041 char * _argc1 = 0;
2042
2043 self = self;
2044 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0,&_argc1,&_arg2))
2045 return NULL;
2046 if (_argc0) {
2047 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2049 return NULL;
2050 }
2051 }
2052 if (_argc1) {
2053 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2054 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2055 return NULL;
2056 }
2057 }
2058 wxIndividualLayoutConstraint_Above(_arg0,_arg1,_arg2);
2059 Py_INCREF(Py_None);
2060 _resultobj = Py_None;
2061 return _resultobj;
2062 }
2063
2064 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2065 static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args) {
2066 PyObject * _resultobj;
2067 wxIndividualLayoutConstraint * _arg0;
2068 int _arg1;
2069 char * _argc0 = 0;
2070
2071 self = self;
2072 if(!PyArg_ParseTuple(args,"si:wxIndividualLayoutConstraint_Absolute",&_argc0,&_arg1))
2073 return NULL;
2074 if (_argc0) {
2075 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2077 return NULL;
2078 }
2079 }
2080 wxIndividualLayoutConstraint_Absolute(_arg0,_arg1);
2081 Py_INCREF(Py_None);
2082 _resultobj = Py_None;
2083 return _resultobj;
2084 }
2085
2086 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2087 static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args) {
2088 PyObject * _resultobj;
2089 wxIndividualLayoutConstraint * _arg0;
2090 char * _argc0 = 0;
2091
2092 self = self;
2093 if(!PyArg_ParseTuple(args,"s:wxIndividualLayoutConstraint_AsIs",&_argc0))
2094 return NULL;
2095 if (_argc0) {
2096 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2098 return NULL;
2099 }
2100 }
2101 wxIndividualLayoutConstraint_AsIs(_arg0);
2102 Py_INCREF(Py_None);
2103 _resultobj = Py_None;
2104 return _resultobj;
2105 }
2106
2107 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2108 static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *self, PyObject *args) {
2109 PyObject * _resultobj;
2110 wxIndividualLayoutConstraint * _arg0;
2111 wxWindow * _arg1;
2112 int _arg2 = 0;
2113 char * _argc0 = 0;
2114 char * _argc1 = 0;
2115
2116 self = self;
2117 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0,&_argc1,&_arg2))
2118 return NULL;
2119 if (_argc0) {
2120 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2122 return NULL;
2123 }
2124 }
2125 if (_argc1) {
2126 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2127 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2128 return NULL;
2129 }
2130 }
2131 wxIndividualLayoutConstraint_Below(_arg0,_arg1,_arg2);
2132 Py_INCREF(Py_None);
2133 _resultobj = Py_None;
2134 return _resultobj;
2135 }
2136
2137 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2138 static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args) {
2139 PyObject * _resultobj;
2140 wxIndividualLayoutConstraint * _arg0;
2141 char * _argc0 = 0;
2142
2143 self = self;
2144 if(!PyArg_ParseTuple(args,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0))
2145 return NULL;
2146 if (_argc0) {
2147 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2149 return NULL;
2150 }
2151 }
2152 wxIndividualLayoutConstraint_Unconstrained(_arg0);
2153 Py_INCREF(Py_None);
2154 _resultobj = Py_None;
2155 return _resultobj;
2156 }
2157
2158 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2159 static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args) {
2160 PyObject * _resultobj;
2161 wxIndividualLayoutConstraint * _arg0;
2162 wxWindow * _arg1;
2163 int _arg2 = 0;
2164 char * _argc0 = 0;
2165 char * _argc1 = 0;
2166
2167 self = self;
2168 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0,&_argc1,&_arg2))
2169 return NULL;
2170 if (_argc0) {
2171 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2173 return NULL;
2174 }
2175 }
2176 if (_argc1) {
2177 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2179 return NULL;
2180 }
2181 }
2182 wxIndividualLayoutConstraint_LeftOf(_arg0,_arg1,_arg2);
2183 Py_INCREF(Py_None);
2184 _resultobj = Py_None;
2185 return _resultobj;
2186 }
2187
2188 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2189 static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args) {
2190 PyObject * _resultobj;
2191 wxIndividualLayoutConstraint * _arg0;
2192 wxWindow * _arg1;
2193 wxEdge _arg2;
2194 int _arg3;
2195 char * _argc0 = 0;
2196 char * _argc1 = 0;
2197
2198 self = self;
2199 if(!PyArg_ParseTuple(args,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0,&_argc1,&_arg2,&_arg3))
2200 return NULL;
2201 if (_argc0) {
2202 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2204 return NULL;
2205 }
2206 }
2207 if (_argc1) {
2208 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2209 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2210 return NULL;
2211 }
2212 }
2213 wxIndividualLayoutConstraint_PercentOf(_arg0,_arg1,_arg2,_arg3);
2214 Py_INCREF(Py_None);
2215 _resultobj = Py_None;
2216 return _resultobj;
2217 }
2218
2219 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2220 static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args) {
2221 PyObject * _resultobj;
2222 wxIndividualLayoutConstraint * _arg0;
2223 wxWindow * _arg1;
2224 int _arg2 = 0;
2225 char * _argc0 = 0;
2226 char * _argc1 = 0;
2227
2228 self = self;
2229 if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0,&_argc1,&_arg2))
2230 return NULL;
2231 if (_argc0) {
2232 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2234 return NULL;
2235 }
2236 }
2237 if (_argc1) {
2238 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2239 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2240 return NULL;
2241 }
2242 }
2243 wxIndividualLayoutConstraint_RightOf(_arg0,_arg1,_arg2);
2244 Py_INCREF(Py_None);
2245 _resultobj = Py_None;
2246 return _resultobj;
2247 }
2248
2249 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2250 static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args) {
2251 PyObject * _resultobj;
2252 wxIndividualLayoutConstraint * _arg0;
2253 wxWindow * _arg1;
2254 wxEdge _arg2;
2255 int _arg3 = 0;
2256 char * _argc0 = 0;
2257 char * _argc1 = 0;
2258
2259 self = self;
2260 if(!PyArg_ParseTuple(args,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0,&_argc1,&_arg2,&_arg3))
2261 return NULL;
2262 if (_argc0) {
2263 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2265 return NULL;
2266 }
2267 }
2268 if (_argc1) {
2269 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
2270 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2271 return NULL;
2272 }
2273 }
2274 wxIndividualLayoutConstraint_SameAs(_arg0,_arg1,_arg2,_arg3);
2275 Py_INCREF(Py_None);
2276 _resultobj = Py_None;
2277 return _resultobj;
2278 }
2279
2280 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2281 static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *self, PyObject *args) {
2282 PyObject * _resultobj;
2283 wxIndividualLayoutConstraint * _arg0;
2284 wxRelationship _arg1;
2285 wxWindow * _arg2;
2286 wxEdge _arg3;
2287 int _arg4 = 0;
2288 int _arg5 = 0;
2289 char * _argc0 = 0;
2290 char * _argc2 = 0;
2291
2292 self = self;
2293 if(!PyArg_ParseTuple(args,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0,&_arg1,&_argc2,&_arg3,&_arg4,&_arg5))
2294 return NULL;
2295 if (_argc0) {
2296 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) {
2297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2298 return NULL;
2299 }
2300 }
2301 if (_argc2) {
2302 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
2303 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2304 return NULL;
2305 }
2306 }
2307 wxIndividualLayoutConstraint_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2308 Py_INCREF(Py_None);
2309 _resultobj = Py_None;
2310 return _resultobj;
2311 }
2312
2313 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2314 static PyObject *_wrap_new_wxLayoutConstraints(PyObject *self, PyObject *args) {
2315 PyObject * _resultobj;
2316 wxLayoutConstraints * _result;
2317 char _ptemp[128];
2318
2319 self = self;
2320 if(!PyArg_ParseTuple(args,":new_wxLayoutConstraints"))
2321 return NULL;
2322 _result = (wxLayoutConstraints *)new_wxLayoutConstraints();
2323 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
2324 _resultobj = Py_BuildValue("s",_ptemp);
2325 return _resultobj;
2326 }
2327
2328 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2329 static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *self, PyObject *args) {
2330 PyObject * _resultobj;
2331 wxIndividualLayoutConstraint * _result;
2332 wxLayoutConstraints * _arg0;
2333 char * _argc0 = 0;
2334 char _ptemp[128];
2335
2336 self = self;
2337 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_bottom_get",&_argc0))
2338 return NULL;
2339 if (_argc0) {
2340 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2342 return NULL;
2343 }
2344 }
2345 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_bottom_get(_arg0);
2346 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2347 _resultobj = Py_BuildValue("s",_ptemp);
2348 return _resultobj;
2349 }
2350
2351 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2352 static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *self, PyObject *args) {
2353 PyObject * _resultobj;
2354 wxIndividualLayoutConstraint * _result;
2355 wxLayoutConstraints * _arg0;
2356 char * _argc0 = 0;
2357 char _ptemp[128];
2358
2359 self = self;
2360 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_centreX_get",&_argc0))
2361 return NULL;
2362 if (_argc0) {
2363 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2365 return NULL;
2366 }
2367 }
2368 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreX_get(_arg0);
2369 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2370 _resultobj = Py_BuildValue("s",_ptemp);
2371 return _resultobj;
2372 }
2373
2374 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2375 static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *self, PyObject *args) {
2376 PyObject * _resultobj;
2377 wxIndividualLayoutConstraint * _result;
2378 wxLayoutConstraints * _arg0;
2379 char * _argc0 = 0;
2380 char _ptemp[128];
2381
2382 self = self;
2383 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_centreY_get",&_argc0))
2384 return NULL;
2385 if (_argc0) {
2386 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2388 return NULL;
2389 }
2390 }
2391 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreY_get(_arg0);
2392 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2393 _resultobj = Py_BuildValue("s",_ptemp);
2394 return _resultobj;
2395 }
2396
2397 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2398 static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *self, PyObject *args) {
2399 PyObject * _resultobj;
2400 wxIndividualLayoutConstraint * _result;
2401 wxLayoutConstraints * _arg0;
2402 char * _argc0 = 0;
2403 char _ptemp[128];
2404
2405 self = self;
2406 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_height_get",&_argc0))
2407 return NULL;
2408 if (_argc0) {
2409 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2411 return NULL;
2412 }
2413 }
2414 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_height_get(_arg0);
2415 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2416 _resultobj = Py_BuildValue("s",_ptemp);
2417 return _resultobj;
2418 }
2419
2420 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2421 static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *self, PyObject *args) {
2422 PyObject * _resultobj;
2423 wxIndividualLayoutConstraint * _result;
2424 wxLayoutConstraints * _arg0;
2425 char * _argc0 = 0;
2426 char _ptemp[128];
2427
2428 self = self;
2429 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_left_get",&_argc0))
2430 return NULL;
2431 if (_argc0) {
2432 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2434 return NULL;
2435 }
2436 }
2437 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_left_get(_arg0);
2438 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2439 _resultobj = Py_BuildValue("s",_ptemp);
2440 return _resultobj;
2441 }
2442
2443 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2444 static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *self, PyObject *args) {
2445 PyObject * _resultobj;
2446 wxIndividualLayoutConstraint * _result;
2447 wxLayoutConstraints * _arg0;
2448 char * _argc0 = 0;
2449 char _ptemp[128];
2450
2451 self = self;
2452 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_right_get",&_argc0))
2453 return NULL;
2454 if (_argc0) {
2455 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2457 return NULL;
2458 }
2459 }
2460 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_right_get(_arg0);
2461 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2462 _resultobj = Py_BuildValue("s",_ptemp);
2463 return _resultobj;
2464 }
2465
2466 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2467 static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *self, PyObject *args) {
2468 PyObject * _resultobj;
2469 wxIndividualLayoutConstraint * _result;
2470 wxLayoutConstraints * _arg0;
2471 char * _argc0 = 0;
2472 char _ptemp[128];
2473
2474 self = self;
2475 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_top_get",&_argc0))
2476 return NULL;
2477 if (_argc0) {
2478 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
2480 return NULL;
2481 }
2482 }
2483 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_top_get(_arg0);
2484 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2485 _resultobj = Py_BuildValue("s",_ptemp);
2486 return _resultobj;
2487 }
2488
2489 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
2490 static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *self, PyObject *args) {
2491 PyObject * _resultobj;
2492 wxIndividualLayoutConstraint * _result;
2493 wxLayoutConstraints * _arg0;
2494 char * _argc0 = 0;
2495 char _ptemp[128];
2496
2497 self = self;
2498 if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_width_get",&_argc0))
2499 return NULL;
2500 if (_argc0) {
2501 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) {
2502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
2503 return NULL;
2504 }
2505 }
2506 _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_width_get(_arg0);
2507 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p");
2508 _resultobj = Py_BuildValue("s",_ptemp);
2509 return _resultobj;
2510 }
2511
2512 static PyMethodDef misccMethods[] = {
2513 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get, 1 },
2514 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get, 1 },
2515 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get, 1 },
2516 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get, 1 },
2517 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get, 1 },
2518 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get, 1 },
2519 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get, 1 },
2520 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get, 1 },
2521 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints, 1 },
2522 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set, 1 },
2523 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs, 1 },
2524 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf, 1 },
2525 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf, 1 },
2526 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf, 1 },
2527 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained, 1 },
2528 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below, 1 },
2529 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs, 1 },
2530 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute, 1 },
2531 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above, 1 },
2532 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop, 1 },
2533 { "wxPyTimer_Start", _wrap_wxPyTimer_Start, 1 },
2534 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval, 1 },
2535 { "delete_wxPyTimer", _wrap_delete_wxPyTimer, 1 },
2536 { "new_wxPyTimer", _wrap_new_wxPyTimer, 1 },
2537 { "wxRect_height_get", _wrap_wxRect_height_get, 1 },
2538 { "wxRect_height_set", _wrap_wxRect_height_set, 1 },
2539 { "wxRect_width_get", _wrap_wxRect_width_get, 1 },
2540 { "wxRect_width_set", _wrap_wxRect_width_set, 1 },
2541 { "wxRect_y_get", _wrap_wxRect_y_get, 1 },
2542 { "wxRect_y_set", _wrap_wxRect_y_set, 1 },
2543 { "wxRect_x_get", _wrap_wxRect_x_get, 1 },
2544 { "wxRect_x_set", _wrap_wxRect_x_set, 1 },
2545 { "wxRect_GetRight", _wrap_wxRect_GetRight, 1 },
2546 { "wxRect_GetBottom", _wrap_wxRect_GetBottom, 1 },
2547 { "wxRect_GetTop", _wrap_wxRect_GetTop, 1 },
2548 { "wxRect_GetLeft", _wrap_wxRect_GetLeft, 1 },
2549 { "wxRect_GetSize", _wrap_wxRect_GetSize, 1 },
2550 { "wxRect_GetPosition", _wrap_wxRect_GetPosition, 1 },
2551 { "wxRect_SetHeight", _wrap_wxRect_SetHeight, 1 },
2552 { "wxRect_GetHeight", _wrap_wxRect_GetHeight, 1 },
2553 { "wxRect_SetWidth", _wrap_wxRect_SetWidth, 1 },
2554 { "wxRect_GetWidth", _wrap_wxRect_GetWidth, 1 },
2555 { "wxRect_SetY", _wrap_wxRect_SetY, 1 },
2556 { "wxRect_GetY", _wrap_wxRect_GetY, 1 },
2557 { "wxRect_SetX", _wrap_wxRect_SetX, 1 },
2558 { "wxRect_GetX", _wrap_wxRect_GetX, 1 },
2559 { "delete_wxRect", _wrap_delete_wxRect, 1 },
2560 { "new_wxRect", _wrap_new_wxRect, 1 },
2561 { "wxPoint___str__", _wrap_wxPoint___str__, 1 },
2562 { "wxPoint_Set", _wrap_wxPoint_Set, 1 },
2563 { "delete_wxPoint", _wrap_delete_wxPoint, 1 },
2564 { "new_wxPoint", _wrap_new_wxPoint, 1 },
2565 { "wxPoint_y_get", _wrap_wxPoint_y_get, 1 },
2566 { "wxPoint_y_set", _wrap_wxPoint_y_set, 1 },
2567 { "wxPoint_x_get", _wrap_wxPoint_x_get, 1 },
2568 { "wxPoint_x_set", _wrap_wxPoint_x_set, 1 },
2569 { "delete_wxRealPoint", _wrap_delete_wxRealPoint, 1 },
2570 { "new_wxRealPoint", _wrap_new_wxRealPoint, 1 },
2571 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get, 1 },
2572 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set, 1 },
2573 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get, 1 },
2574 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set, 1 },
2575 { "wxSize___str__", _wrap_wxSize___str__, 1 },
2576 { "wxSize_GetHeight", _wrap_wxSize_GetHeight, 1 },
2577 { "wxSize_GetWidth", _wrap_wxSize_GetWidth, 1 },
2578 { "wxSize_Set", _wrap_wxSize_Set, 1 },
2579 { "delete_wxSize", _wrap_delete_wxSize, 1 },
2580 { "new_wxSize", _wrap_new_wxSize, 1 },
2581 { "wxSize_height_get", _wrap_wxSize_height_get, 1 },
2582 { "wxSize_height_set", _wrap_wxSize_height_set, 1 },
2583 { "wxSize_width_get", _wrap_wxSize_width_get, 1 },
2584 { "wxSize_width_set", _wrap_wxSize_width_set, 1 },
2585 { "wxResourceParseString", _wrap_wxResourceParseString, 1 },
2586 { "wxResourceParseFile", _wrap_wxResourceParseFile, 1 },
2587 { "wxResourceParseData", _wrap_wxResourceParseData, 1 },
2588 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier, 1 },
2589 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar, 1 },
2590 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon, 1 },
2591 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap, 1 },
2592 { "wxResourceClear", _wrap_wxResourceClear, 1 },
2593 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier, 1 },
2594 { "wxGetResource", _wrap_wxGetResource, 1 },
2595 { "wxYield", _wrap_wxYield, 1 },
2596 { "wxNow", _wrap_wxNow, 1 },
2597 { "wxIsBusy", _wrap_wxIsBusy, 1 },
2598 { "wxGetMousePosition", _wrap_wxGetMousePosition, 1 },
2599 { "wxFindWindowByName", _wrap_wxFindWindowByName, 1 },
2600 { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel, 1 },
2601 { "wxExecute", _wrap_wxExecute, 1 },
2602 { "wxEndBusyCursor", _wrap_wxEndBusyCursor, 1 },
2603 { "wxDisplaySize", _wrap_wxDisplaySize, 1 },
2604 { "wxBell", _wrap_wxBell, 1 },
2605 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor, 1 },
2606 { "RegisterId", _wrap_RegisterId, 1 },
2607 { "NewId", _wrap_NewId, 1 },
2608 { "wxSetCursor", _wrap_wxSetCursor, 1 },
2609 { "wxDisplayDepth", _wrap_wxDisplayDepth, 1 },
2610 { "wxColourDisplay", _wrap_wxColourDisplay, 1 },
2611 { "wxMessageBox", _wrap_wxMessageBox, 1 },
2612 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex, 1 },
2613 { "wxGetSingleChoice", _wrap_wxGetSingleChoice, 1 },
2614 { "wxGetTextFromUser", _wrap_wxGetTextFromUser, 1 },
2615 { "wxFileSelector", _wrap_wxFileSelector, 1 },
2616 { NULL, NULL }
2617 };
2618 static PyObject *SWIG_globals;
2619 #ifdef __cplusplus
2620 extern "C"
2621 #endif
2622 SWIGEXPORT(void,initmiscc)() {
2623 PyObject *m, *d;
2624 SWIG_globals = SWIG_newvarlink();
2625 m = Py_InitModule("miscc", misccMethods);
2626 d = PyModule_GetDict(m);
2627 PyDict_SetItemString(d,"wxLeft", PyInt_FromLong((long) wxLeft));
2628 PyDict_SetItemString(d,"wxTop", PyInt_FromLong((long) wxTop));
2629 PyDict_SetItemString(d,"wxRight", PyInt_FromLong((long) wxRight));
2630 PyDict_SetItemString(d,"wxBottom", PyInt_FromLong((long) wxBottom));
2631 PyDict_SetItemString(d,"wxWidth", PyInt_FromLong((long) wxWidth));
2632 PyDict_SetItemString(d,"wxHeight", PyInt_FromLong((long) wxHeight));
2633 PyDict_SetItemString(d,"wxCentre", PyInt_FromLong((long) wxCentre));
2634 PyDict_SetItemString(d,"wxCenter", PyInt_FromLong((long) wxCenter));
2635 PyDict_SetItemString(d,"wxCentreX", PyInt_FromLong((long) wxCentreX));
2636 PyDict_SetItemString(d,"wxCentreY", PyInt_FromLong((long) wxCentreY));
2637 PyDict_SetItemString(d,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained));
2638 PyDict_SetItemString(d,"wxAsIs", PyInt_FromLong((long) wxAsIs));
2639 PyDict_SetItemString(d,"wxPercentOf", PyInt_FromLong((long) wxPercentOf));
2640 PyDict_SetItemString(d,"wxAbove", PyInt_FromLong((long) wxAbove));
2641 PyDict_SetItemString(d,"wxBelow", PyInt_FromLong((long) wxBelow));
2642 PyDict_SetItemString(d,"wxLeftOf", PyInt_FromLong((long) wxLeftOf));
2643 PyDict_SetItemString(d,"wxRightOf", PyInt_FromLong((long) wxRightOf));
2644 PyDict_SetItemString(d,"wxSameAs", PyInt_FromLong((long) wxSameAs));
2645 PyDict_SetItemString(d,"wxAbsolute", PyInt_FromLong((long) wxAbsolute));
2646 /*
2647 * These are the pointer type-equivalency mappings.
2648 * (Used by the SWIG pointer type-checker).
2649 */
2650 SWIG_RegisterMapping("_signed_long","_long",0);
2651 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2652 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2653 SWIG_RegisterMapping("_long","_unsigned_long",0);
2654 SWIG_RegisterMapping("_long","_signed_long",0);
2655 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2656 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2657 SWIG_RegisterMapping("_uint","_int",0);
2658 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2659 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2660 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2661 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2662 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2663 SWIG_RegisterMapping("_EBool","_signed_int",0);
2664 SWIG_RegisterMapping("_EBool","_int",0);
2665 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2666 SWIG_RegisterMapping("_unsigned_long","_long",0);
2667 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2668 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2669 SWIG_RegisterMapping("_signed_int","_EBool",0);
2670 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2671 SWIG_RegisterMapping("_signed_int","_int",0);
2672 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2673 SWIG_RegisterMapping("_WXTYPE","_short",0);
2674 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2675 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2676 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2677 SWIG_RegisterMapping("_unsigned_short","_short",0);
2678 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2679 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2680 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2681 SWIG_RegisterMapping("_signed_short","_short",0);
2682 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2683 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2684 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2685 SWIG_RegisterMapping("_unsigned_int","_int",0);
2686 SWIG_RegisterMapping("_short","_WXTYPE",0);
2687 SWIG_RegisterMapping("_short","_unsigned_short",0);
2688 SWIG_RegisterMapping("_short","_signed_short",0);
2689 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2690 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2691 SWIG_RegisterMapping("_wxWindowID","_int",0);
2692 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2693 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2694 SWIG_RegisterMapping("_int","_EBool",0);
2695 SWIG_RegisterMapping("_int","_uint",0);
2696 SWIG_RegisterMapping("_int","_wxWindowID",0);
2697 SWIG_RegisterMapping("_int","_unsigned_int",0);
2698 SWIG_RegisterMapping("_int","_signed_int",0);
2699 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2700 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2701 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
2702 }