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