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