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