4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initmiscc
54 #define SWIG_name "miscc"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
59 #include <wx/busyinfo.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
108 static char* wxStringErrorMsg
= "string type is required for parameter";
110 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
113 wxRect
dest(0,0,0,0);
116 reg1
.Intersect(reg2
);
117 dest
= reg1
.GetBox();
119 if (dest
!= wxRect(0,0,0,0)) {
120 bool doSave
= wxPyRestoreThread();
121 wxRect
* newRect
= new wxRect(dest
);
122 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
123 PyObject_SetAttrString(obj
, "thisown", PyInt_FromLong(1));
124 wxPySaveThread(doSave
);
131 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
133 wxGetResource(section
, entry
, &retval
, file
);
139 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
145 PyObject
* _obj0
= 0;
147 PyObject
* _obj1
= 0;
148 char *_kwnames
[] = { "r1","r2", NULL
};
151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
155 if (! wxRect_helper(_obj0
, &_arg0
))
160 if (! wxRect_helper(_obj1
, &_arg1
))
164 wxPy_BEGIN_ALLOW_THREADS
;
165 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
167 wxPy_END_ALLOW_THREADS
;
169 _resultobj
= _result
;
174 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
175 PyObject
* _resultobj
;
177 char *_kwnames
[] = { NULL
};
180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= (long )wxNewId();
186 wxPy_END_ALLOW_THREADS
;
187 } _resultobj
= Py_BuildValue("l",_result
);
191 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
192 PyObject
* _resultobj
;
194 char *_kwnames
[] = { "id", NULL
};
197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
200 wxPy_BEGIN_ALLOW_THREADS
;
203 wxPy_END_ALLOW_THREADS
;
204 } Py_INCREF(Py_None
);
205 _resultobj
= Py_None
;
209 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
210 PyObject
* _resultobj
;
212 char *_kwnames
[] = { NULL
};
215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
218 wxPy_BEGIN_ALLOW_THREADS
;
219 _result
= (long )wxNewId();
221 wxPy_END_ALLOW_THREADS
;
222 } _resultobj
= Py_BuildValue("l",_result
);
226 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
229 char *_kwnames
[] = { "id", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
235 wxPy_BEGIN_ALLOW_THREADS
;
238 wxPy_END_ALLOW_THREADS
;
239 } Py_INCREF(Py_None
);
240 _resultobj
= Py_None
;
244 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
245 PyObject
* _resultobj
;
246 char *_kwnames
[] = { NULL
};
249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
252 wxPy_BEGIN_ALLOW_THREADS
;
255 wxPy_END_ALLOW_THREADS
;
256 } Py_INCREF(Py_None
);
257 _resultobj
= Py_None
;
261 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
262 PyObject
* _resultobj
;
267 char *_kwnames
[] = { NULL
};
276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
279 wxPy_BEGIN_ALLOW_THREADS
;
280 wxDisplaySize(_arg0
,_arg1
);
282 wxPy_END_ALLOW_THREADS
;
283 } Py_INCREF(Py_None
);
284 _resultobj
= Py_None
;
287 o
= PyInt_FromLong((long) (*_arg0
));
288 _resultobj
= t_output_helper(_resultobj
, o
);
292 o
= PyInt_FromLong((long) (*_arg1
));
293 _resultobj
= t_output_helper(_resultobj
, o
);
298 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
299 PyObject
* _resultobj
;
300 char *_kwnames
[] = { NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
306 wxPy_BEGIN_ALLOW_THREADS
;
309 wxPy_END_ALLOW_THREADS
;
310 } Py_INCREF(Py_None
);
311 _resultobj
= Py_None
;
315 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
316 PyObject
* _resultobj
;
319 int _arg1
= (int ) FALSE
;
320 PyObject
* _obj0
= 0;
321 char *_kwnames
[] = { "command","sync", NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxExecute",_kwnames
,&_obj0
,&_arg1
))
327 if (!PyString_Check(_obj0
)) {
328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
331 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
334 wxPy_BEGIN_ALLOW_THREADS
;
335 _result
= (long )wxExecute(*_arg0
,_arg1
);
337 wxPy_END_ALLOW_THREADS
;
338 } _resultobj
= Py_BuildValue("l",_result
);
346 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
349 bool _arg0
= (bool ) TRUE
;
350 int tempbool0
= (int) TRUE
;
351 char *_kwnames
[] = { "resetTimer", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
356 _arg0
= (bool ) tempbool0
;
358 wxPy_BEGIN_ALLOW_THREADS
;
359 _result
= (long )wxGetElapsedTime(_arg0
);
361 wxPy_END_ALLOW_THREADS
;
362 } _resultobj
= Py_BuildValue("l",_result
);
366 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
369 char *_kwnames
[] = { NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
375 wxPy_BEGIN_ALLOW_THREADS
;
376 _result
= (long )wxGetFreeMemory();
378 wxPy_END_ALLOW_THREADS
;
379 } _resultobj
= Py_BuildValue("l",_result
);
383 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
384 PyObject
* _resultobj
;
389 char *_kwnames
[] = { NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
401 wxPy_BEGIN_ALLOW_THREADS
;
402 wxGetMousePosition(_arg0
,_arg1
);
404 wxPy_END_ALLOW_THREADS
;
405 } Py_INCREF(Py_None
);
406 _resultobj
= Py_None
;
409 o
= PyInt_FromLong((long) (*_arg0
));
410 _resultobj
= t_output_helper(_resultobj
, o
);
414 o
= PyInt_FromLong((long) (*_arg1
));
415 _resultobj
= t_output_helper(_resultobj
, o
);
420 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
423 char *_kwnames
[] = { NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
429 wxPy_BEGIN_ALLOW_THREADS
;
430 _result
= (bool )wxIsBusy();
432 wxPy_END_ALLOW_THREADS
;
433 } _resultobj
= Py_BuildValue("i",_result
);
437 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
438 PyObject
* _resultobj
;
440 char *_kwnames
[] = { NULL
};
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
446 wxPy_BEGIN_ALLOW_THREADS
;
447 _result
= new wxString (wxNow());
449 wxPy_END_ALLOW_THREADS
;
451 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
459 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
462 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
463 PyObject
* _obj0
= 0;
464 char *_kwnames
[] = { "command", NULL
};
467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
471 if (!PyString_Check(_obj0
)) {
472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
475 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
478 wxPy_BEGIN_ALLOW_THREADS
;
479 _result
= (bool )wxShell(*_arg0
);
481 wxPy_END_ALLOW_THREADS
;
482 } _resultobj
= Py_BuildValue("i",_result
);
490 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
492 char *_kwnames
[] = { NULL
};
495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
498 wxPy_BEGIN_ALLOW_THREADS
;
501 wxPy_END_ALLOW_THREADS
;
502 } Py_INCREF(Py_None
);
503 _resultobj
= Py_None
;
507 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
514 char *_kwnames
[] = { NULL
};
523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
526 wxPy_BEGIN_ALLOW_THREADS
;
527 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
529 wxPy_END_ALLOW_THREADS
;
530 } _resultobj
= Py_BuildValue("i",_result
);
533 o
= PyInt_FromLong((long) (*_arg0
));
534 _resultobj
= t_output_helper(_resultobj
, o
);
538 o
= PyInt_FromLong((long) (*_arg1
));
539 _resultobj
= t_output_helper(_resultobj
, o
);
544 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
547 char *_kwnames
[] = { "secs", NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
553 wxPy_BEGIN_ALLOW_THREADS
;
556 wxPy_END_ALLOW_THREADS
;
557 } Py_INCREF(Py_None
);
558 _resultobj
= Py_None
;
562 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 PyObject
* _resultobj
;
565 char *_kwnames
[] = { NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
571 wxPy_BEGIN_ALLOW_THREADS
;
572 _result
= (bool )wxYield();
574 wxPy_END_ALLOW_THREADS
;
575 } _resultobj
= Py_BuildValue("i",_result
);
579 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
582 char *_kwnames
[] = { NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSafeYield",_kwnames
))
588 wxPy_BEGIN_ALLOW_THREADS
;
589 _result
= (bool )wxSafeYield();
591 wxPy_END_ALLOW_THREADS
;
592 } _resultobj
= Py_BuildValue("i",_result
);
596 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
597 PyObject
* _resultobj
;
600 char *_kwnames
[] = { "enable", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
605 _arg0
= (bool ) tempbool0
;
607 wxPy_BEGIN_ALLOW_THREADS
;
608 wxEnableTopLevelWindows(_arg0
);
610 wxPy_END_ALLOW_THREADS
;
611 } Py_INCREF(Py_None
);
612 _resultobj
= Py_None
;
616 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
621 char * _arg2
= (char *) NULL
;
622 char *_kwnames
[] = { "section","entry","file", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
628 wxPy_BEGIN_ALLOW_THREADS
;
629 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
631 wxPy_END_ALLOW_THREADS
;
632 } _resultobj
= Py_BuildValue("s", _result
);
636 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
637 PyObject
* _resultobj
;
640 PyObject
* _obj0
= 0;
641 char *_kwnames
[] = { "in", NULL
};
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
647 if (!PyString_Check(_obj0
)) {
648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
651 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
654 wxPy_BEGIN_ALLOW_THREADS
;
655 _result
= new wxString (wxStripMenuCodes(*_arg0
));
657 wxPy_END_ALLOW_THREADS
;
659 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
671 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
672 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
678 PyObject
* _obj0
= 0;
679 char *_kwnames
[] = { "self","x", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
686 if (! wxSize_helper(_obj0
, &_arg0
))
690 wxPy_BEGIN_ALLOW_THREADS
;
691 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
693 wxPy_END_ALLOW_THREADS
;
694 } _resultobj
= Py_BuildValue("l",_result
);
698 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
699 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
700 PyObject
* _resultobj
;
704 PyObject
* _obj0
= 0;
705 char *_kwnames
[] = { "self", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
712 if (! wxSize_helper(_obj0
, &_arg0
))
716 wxPy_BEGIN_ALLOW_THREADS
;
717 _result
= (long )wxSize_x_get(_arg0
);
719 wxPy_END_ALLOW_THREADS
;
720 } _resultobj
= Py_BuildValue("l",_result
);
724 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
725 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 PyObject
* _resultobj
;
731 PyObject
* _obj0
= 0;
732 char *_kwnames
[] = { "self","y", NULL
};
735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
739 if (! wxSize_helper(_obj0
, &_arg0
))
743 wxPy_BEGIN_ALLOW_THREADS
;
744 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
746 wxPy_END_ALLOW_THREADS
;
747 } _resultobj
= Py_BuildValue("l",_result
);
751 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
752 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
757 PyObject
* _obj0
= 0;
758 char *_kwnames
[] = { "self", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
765 if (! wxSize_helper(_obj0
, &_arg0
))
769 wxPy_BEGIN_ALLOW_THREADS
;
770 _result
= (long )wxSize_y_get(_arg0
);
772 wxPy_END_ALLOW_THREADS
;
773 } _resultobj
= Py_BuildValue("l",_result
);
777 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
778 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
781 long _arg0
= (long ) 0;
782 long _arg1
= (long ) 0;
783 char *_kwnames
[] = { "w","h", NULL
};
787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
790 wxPy_BEGIN_ALLOW_THREADS
;
791 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
793 wxPy_END_ALLOW_THREADS
;
795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
796 _resultobj
= Py_BuildValue("s",_ptemp
);
799 _resultobj
= Py_None
;
804 #define delete_wxSize(_swigobj) (delete _swigobj)
805 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
809 PyObject
* _obj0
= 0;
810 char *_kwnames
[] = { "self", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
817 if (! wxSize_helper(_obj0
, &_arg0
))
821 wxPy_BEGIN_ALLOW_THREADS
;
822 delete_wxSize(_arg0
);
824 wxPy_END_ALLOW_THREADS
;
825 } Py_INCREF(Py_None
);
826 _resultobj
= Py_None
;
830 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
831 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
837 PyObject
* _obj0
= 0;
838 char *_kwnames
[] = { "self","w","h", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
845 if (! wxSize_helper(_obj0
, &_arg0
))
849 wxPy_BEGIN_ALLOW_THREADS
;
850 wxSize_Set(_arg0
,_arg1
,_arg2
);
852 wxPy_END_ALLOW_THREADS
;
853 } Py_INCREF(Py_None
);
854 _resultobj
= Py_None
;
858 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
859 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
864 PyObject
* _obj0
= 0;
865 char *_kwnames
[] = { "self", NULL
};
868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
872 if (! wxSize_helper(_obj0
, &_arg0
))
876 wxPy_BEGIN_ALLOW_THREADS
;
877 _result
= (long )wxSize_GetX(_arg0
);
879 wxPy_END_ALLOW_THREADS
;
880 } _resultobj
= Py_BuildValue("l",_result
);
884 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
885 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
886 PyObject
* _resultobj
;
890 PyObject
* _obj0
= 0;
891 char *_kwnames
[] = { "self", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
898 if (! wxSize_helper(_obj0
, &_arg0
))
902 wxPy_BEGIN_ALLOW_THREADS
;
903 _result
= (long )wxSize_GetY(_arg0
);
905 wxPy_END_ALLOW_THREADS
;
906 } _resultobj
= Py_BuildValue("l",_result
);
910 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
911 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
916 PyObject
* _obj0
= 0;
917 char *_kwnames
[] = { "self", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
924 if (! wxSize_helper(_obj0
, &_arg0
))
928 wxPy_BEGIN_ALLOW_THREADS
;
929 _result
= (long )wxSize_GetWidth(_arg0
);
931 wxPy_END_ALLOW_THREADS
;
932 } _resultobj
= Py_BuildValue("l",_result
);
936 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
937 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
942 PyObject
* _obj0
= 0;
943 char *_kwnames
[] = { "self", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
950 if (! wxSize_helper(_obj0
, &_arg0
))
954 wxPy_BEGIN_ALLOW_THREADS
;
955 _result
= (long )wxSize_GetHeight(_arg0
);
957 wxPy_END_ALLOW_THREADS
;
958 } _resultobj
= Py_BuildValue("l",_result
);
962 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
963 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
968 PyObject
* _obj0
= 0;
969 char *_kwnames
[] = { "self","w", NULL
};
972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
976 if (! wxSize_helper(_obj0
, &_arg0
))
980 wxPy_BEGIN_ALLOW_THREADS
;
981 wxSize_SetWidth(_arg0
,_arg1
);
983 wxPy_END_ALLOW_THREADS
;
984 } Py_INCREF(Py_None
);
985 _resultobj
= Py_None
;
989 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
990 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
995 PyObject
* _obj0
= 0;
996 char *_kwnames
[] = { "self","h", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1003 if (! wxSize_helper(_obj0
, &_arg0
))
1007 wxPy_BEGIN_ALLOW_THREADS
;
1008 wxSize_SetHeight(_arg0
,_arg1
);
1010 wxPy_END_ALLOW_THREADS
;
1011 } Py_INCREF(Py_None
);
1012 _resultobj
= Py_None
;
1016 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1017 PyObject
* tup
= PyTuple_New(2);
1018 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1019 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1022 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1023 PyObject
* _resultobj
;
1027 PyObject
* _obj0
= 0;
1028 char *_kwnames
[] = { "self", NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1035 if (! wxSize_helper(_obj0
, &_arg0
))
1039 wxPy_BEGIN_ALLOW_THREADS
;
1040 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1042 wxPy_END_ALLOW_THREADS
;
1044 _resultobj
= _result
;
1049 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1050 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1053 wxRealPoint
* _arg0
;
1056 PyObject
* _obj0
= 0;
1057 char *_kwnames
[] = { "self","x", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1064 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1068 wxPy_BEGIN_ALLOW_THREADS
;
1069 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1071 wxPy_END_ALLOW_THREADS
;
1072 } _resultobj
= Py_BuildValue("d",_result
);
1076 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1077 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
* _resultobj
;
1080 wxRealPoint
* _arg0
;
1082 PyObject
* _obj0
= 0;
1083 char *_kwnames
[] = { "self", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1090 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= (double )wxRealPoint_x_get(_arg0
);
1097 wxPy_END_ALLOW_THREADS
;
1098 } _resultobj
= Py_BuildValue("d",_result
);
1102 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1103 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1106 wxRealPoint
* _arg0
;
1109 PyObject
* _obj0
= 0;
1110 char *_kwnames
[] = { "self","y", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1117 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1121 wxPy_BEGIN_ALLOW_THREADS
;
1122 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1124 wxPy_END_ALLOW_THREADS
;
1125 } _resultobj
= Py_BuildValue("d",_result
);
1129 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1130 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
* _resultobj
;
1133 wxRealPoint
* _arg0
;
1135 PyObject
* _obj0
= 0;
1136 char *_kwnames
[] = { "self", NULL
};
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1143 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1147 wxPy_BEGIN_ALLOW_THREADS
;
1148 _result
= (double )wxRealPoint_y_get(_arg0
);
1150 wxPy_END_ALLOW_THREADS
;
1151 } _resultobj
= Py_BuildValue("d",_result
);
1155 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1156 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1158 wxRealPoint
* _result
;
1159 double _arg0
= (double ) 0.0;
1160 double _arg1
= (double ) 0.0;
1161 char *_kwnames
[] = { "x","y", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1171 wxPy_END_ALLOW_THREADS
;
1173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1174 _resultobj
= Py_BuildValue("s",_ptemp
);
1177 _resultobj
= Py_None
;
1182 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1183 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1185 wxRealPoint
* _arg0
;
1187 PyObject
* _obj0
= 0;
1188 char *_kwnames
[] = { "self", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1195 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1199 wxPy_BEGIN_ALLOW_THREADS
;
1200 delete_wxRealPoint(_arg0
);
1202 wxPy_END_ALLOW_THREADS
;
1203 } Py_INCREF(Py_None
);
1204 _resultobj
= Py_None
;
1208 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1212 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1214 wxRealPoint
* _arg0
;
1218 PyObject
* _obj0
= 0;
1219 char *_kwnames
[] = { "self","x","y", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1226 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1230 wxPy_BEGIN_ALLOW_THREADS
;
1231 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1233 wxPy_END_ALLOW_THREADS
;
1234 } Py_INCREF(Py_None
);
1235 _resultobj
= Py_None
;
1239 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1240 PyObject
* tup
= PyTuple_New(2);
1241 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1242 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1245 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
* _resultobj
;
1248 wxRealPoint
* _arg0
;
1250 PyObject
* _obj0
= 0;
1251 char *_kwnames
[] = { "self", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1258 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1262 wxPy_BEGIN_ALLOW_THREADS
;
1263 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1265 wxPy_END_ALLOW_THREADS
;
1267 _resultobj
= _result
;
1272 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1273 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1279 PyObject
* _obj0
= 0;
1280 char *_kwnames
[] = { "self","x", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1287 if (! wxPoint_helper(_obj0
, &_arg0
))
1291 wxPy_BEGIN_ALLOW_THREADS
;
1292 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1294 wxPy_END_ALLOW_THREADS
;
1295 } _resultobj
= Py_BuildValue("l",_result
);
1299 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1300 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1305 PyObject
* _obj0
= 0;
1306 char *_kwnames
[] = { "self", NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1313 if (! wxPoint_helper(_obj0
, &_arg0
))
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= (long )wxPoint_x_get(_arg0
);
1320 wxPy_END_ALLOW_THREADS
;
1321 } _resultobj
= Py_BuildValue("l",_result
);
1325 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1326 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
* _resultobj
;
1332 PyObject
* _obj0
= 0;
1333 char *_kwnames
[] = { "self","y", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1340 if (! wxPoint_helper(_obj0
, &_arg0
))
1344 wxPy_BEGIN_ALLOW_THREADS
;
1345 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1347 wxPy_END_ALLOW_THREADS
;
1348 } _resultobj
= Py_BuildValue("l",_result
);
1352 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1353 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
* _resultobj
;
1358 PyObject
* _obj0
= 0;
1359 char *_kwnames
[] = { "self", NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1366 if (! wxPoint_helper(_obj0
, &_arg0
))
1370 wxPy_BEGIN_ALLOW_THREADS
;
1371 _result
= (long )wxPoint_y_get(_arg0
);
1373 wxPy_END_ALLOW_THREADS
;
1374 } _resultobj
= Py_BuildValue("l",_result
);
1378 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1379 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1382 long _arg0
= (long ) 0;
1383 long _arg1
= (long ) 0;
1384 char *_kwnames
[] = { "x","y", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1394 wxPy_END_ALLOW_THREADS
;
1396 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1397 _resultobj
= Py_BuildValue("s",_ptemp
);
1400 _resultobj
= Py_None
;
1405 #define delete_wxPoint(_swigobj) (delete _swigobj)
1406 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1410 PyObject
* _obj0
= 0;
1411 char *_kwnames
[] = { "self", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1418 if (! wxPoint_helper(_obj0
, &_arg0
))
1422 wxPy_BEGIN_ALLOW_THREADS
;
1423 delete_wxPoint(_arg0
);
1425 wxPy_END_ALLOW_THREADS
;
1426 } Py_INCREF(Py_None
);
1427 _resultobj
= Py_None
;
1431 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1435 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1441 PyObject
* _obj0
= 0;
1442 char *_kwnames
[] = { "self","x","y", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1449 if (! wxPoint_helper(_obj0
, &_arg0
))
1453 wxPy_BEGIN_ALLOW_THREADS
;
1454 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1456 wxPy_END_ALLOW_THREADS
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1463 PyObject
* tup
= PyTuple_New(2);
1464 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1465 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1468 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
* _resultobj
;
1473 PyObject
* _obj0
= 0;
1474 char *_kwnames
[] = { "self", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1481 if (! wxPoint_helper(_obj0
, &_arg0
))
1485 wxPy_BEGIN_ALLOW_THREADS
;
1486 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1488 wxPy_END_ALLOW_THREADS
;
1490 _resultobj
= _result
;
1495 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1496 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1499 int _arg0
= (int ) 0;
1500 int _arg1
= (int ) 0;
1501 int _arg2
= (int ) 0;
1502 int _arg3
= (int ) 0;
1503 char *_kwnames
[] = { "x","y","w","h", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1510 wxPy_BEGIN_ALLOW_THREADS
;
1511 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1513 wxPy_END_ALLOW_THREADS
;
1515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1516 _resultobj
= Py_BuildValue("s",_ptemp
);
1519 _resultobj
= Py_None
;
1524 #define delete_wxRect(_swigobj) (delete _swigobj)
1525 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1529 PyObject
* _obj0
= 0;
1530 char *_kwnames
[] = { "self", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1537 if (! wxRect_helper(_obj0
, &_arg0
))
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 delete_wxRect(_arg0
);
1544 wxPy_END_ALLOW_THREADS
;
1545 } Py_INCREF(Py_None
);
1546 _resultobj
= Py_None
;
1550 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1551 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
* _resultobj
;
1556 PyObject
* _obj0
= 0;
1557 char *_kwnames
[] = { "self", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
1564 if (! wxRect_helper(_obj0
, &_arg0
))
1568 wxPy_BEGIN_ALLOW_THREADS
;
1569 _result
= (int )wxRect_GetX(_arg0
);
1571 wxPy_END_ALLOW_THREADS
;
1572 } _resultobj
= Py_BuildValue("i",_result
);
1576 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1577 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
* _resultobj
;
1582 PyObject
* _obj0
= 0;
1583 char *_kwnames
[] = { "self","X", NULL
};
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
1590 if (! wxRect_helper(_obj0
, &_arg0
))
1594 wxPy_BEGIN_ALLOW_THREADS
;
1595 wxRect_SetX(_arg0
,_arg1
);
1597 wxPy_END_ALLOW_THREADS
;
1598 } Py_INCREF(Py_None
);
1599 _resultobj
= Py_None
;
1603 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1604 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1609 PyObject
* _obj0
= 0;
1610 char *_kwnames
[] = { "self", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
1617 if (! wxRect_helper(_obj0
, &_arg0
))
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 _result
= (int )wxRect_GetY(_arg0
);
1624 wxPy_END_ALLOW_THREADS
;
1625 } _resultobj
= Py_BuildValue("i",_result
);
1629 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1630 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1635 PyObject
* _obj0
= 0;
1636 char *_kwnames
[] = { "self","Y", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
1643 if (! wxRect_helper(_obj0
, &_arg0
))
1647 wxPy_BEGIN_ALLOW_THREADS
;
1648 wxRect_SetY(_arg0
,_arg1
);
1650 wxPy_END_ALLOW_THREADS
;
1651 } Py_INCREF(Py_None
);
1652 _resultobj
= Py_None
;
1656 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1657 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
* _resultobj
;
1662 PyObject
* _obj0
= 0;
1663 char *_kwnames
[] = { "self", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
1670 if (! wxRect_helper(_obj0
, &_arg0
))
1674 wxPy_BEGIN_ALLOW_THREADS
;
1675 _result
= (int )wxRect_GetWidth(_arg0
);
1677 wxPy_END_ALLOW_THREADS
;
1678 } _resultobj
= Py_BuildValue("i",_result
);
1682 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1683 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1688 PyObject
* _obj0
= 0;
1689 char *_kwnames
[] = { "self","w", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1696 if (! wxRect_helper(_obj0
, &_arg0
))
1700 wxPy_BEGIN_ALLOW_THREADS
;
1701 wxRect_SetWidth(_arg0
,_arg1
);
1703 wxPy_END_ALLOW_THREADS
;
1704 } Py_INCREF(Py_None
);
1705 _resultobj
= Py_None
;
1709 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1710 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1715 PyObject
* _obj0
= 0;
1716 char *_kwnames
[] = { "self", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
1723 if (! wxRect_helper(_obj0
, &_arg0
))
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= (int )wxRect_GetHeight(_arg0
);
1730 wxPy_END_ALLOW_THREADS
;
1731 } _resultobj
= Py_BuildValue("i",_result
);
1735 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1736 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1741 PyObject
* _obj0
= 0;
1742 char *_kwnames
[] = { "self","h", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1749 if (! wxRect_helper(_obj0
, &_arg0
))
1753 wxPy_BEGIN_ALLOW_THREADS
;
1754 wxRect_SetHeight(_arg0
,_arg1
);
1756 wxPy_END_ALLOW_THREADS
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1762 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1763 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1768 PyObject
* _obj0
= 0;
1769 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
1777 if (! wxRect_helper(_obj0
, &_arg0
))
1781 wxPy_BEGIN_ALLOW_THREADS
;
1782 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1784 wxPy_END_ALLOW_THREADS
;
1785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1786 _resultobj
= Py_BuildValue("s",_ptemp
);
1790 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1791 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
* _resultobj
;
1796 PyObject
* _obj0
= 0;
1797 char *_kwnames
[] = { "self", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
1805 if (! wxRect_helper(_obj0
, &_arg0
))
1809 wxPy_BEGIN_ALLOW_THREADS
;
1810 _result
= new wxSize (wxRect_GetSize(_arg0
));
1812 wxPy_END_ALLOW_THREADS
;
1813 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1814 _resultobj
= Py_BuildValue("s",_ptemp
);
1818 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1819 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1824 PyObject
* _obj0
= 0;
1825 char *_kwnames
[] = { "self", NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
1832 if (! wxRect_helper(_obj0
, &_arg0
))
1836 wxPy_BEGIN_ALLOW_THREADS
;
1837 _result
= (int )wxRect_GetLeft(_arg0
);
1839 wxPy_END_ALLOW_THREADS
;
1840 } _resultobj
= Py_BuildValue("i",_result
);
1844 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1845 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
* _resultobj
;
1850 PyObject
* _obj0
= 0;
1851 char *_kwnames
[] = { "self", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
1858 if (! wxRect_helper(_obj0
, &_arg0
))
1862 wxPy_BEGIN_ALLOW_THREADS
;
1863 _result
= (int )wxRect_GetTop(_arg0
);
1865 wxPy_END_ALLOW_THREADS
;
1866 } _resultobj
= Py_BuildValue("i",_result
);
1870 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1871 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1876 PyObject
* _obj0
= 0;
1877 char *_kwnames
[] = { "self", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
1884 if (! wxRect_helper(_obj0
, &_arg0
))
1888 wxPy_BEGIN_ALLOW_THREADS
;
1889 _result
= (int )wxRect_GetBottom(_arg0
);
1891 wxPy_END_ALLOW_THREADS
;
1892 } _resultobj
= Py_BuildValue("i",_result
);
1896 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1897 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1902 PyObject
* _obj0
= 0;
1903 char *_kwnames
[] = { "self", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
1910 if (! wxRect_helper(_obj0
, &_arg0
))
1914 wxPy_BEGIN_ALLOW_THREADS
;
1915 _result
= (int )wxRect_GetRight(_arg0
);
1917 wxPy_END_ALLOW_THREADS
;
1918 } _resultobj
= Py_BuildValue("i",_result
);
1922 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
1923 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1928 PyObject
* _obj0
= 0;
1929 char *_kwnames
[] = { "self","left", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
1936 if (! wxRect_helper(_obj0
, &_arg0
))
1940 wxPy_BEGIN_ALLOW_THREADS
;
1941 wxRect_SetLeft(_arg0
,_arg1
);
1943 wxPy_END_ALLOW_THREADS
;
1944 } Py_INCREF(Py_None
);
1945 _resultobj
= Py_None
;
1949 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
1950 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1955 PyObject
* _obj0
= 0;
1956 char *_kwnames
[] = { "self","right", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
1963 if (! wxRect_helper(_obj0
, &_arg0
))
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 wxRect_SetRight(_arg0
,_arg1
);
1970 wxPy_END_ALLOW_THREADS
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1976 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
1977 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1982 PyObject
* _obj0
= 0;
1983 char *_kwnames
[] = { "self","top", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
1990 if (! wxRect_helper(_obj0
, &_arg0
))
1994 wxPy_BEGIN_ALLOW_THREADS
;
1995 wxRect_SetTop(_arg0
,_arg1
);
1997 wxPy_END_ALLOW_THREADS
;
1998 } Py_INCREF(Py_None
);
1999 _resultobj
= Py_None
;
2003 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2004 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
* _resultobj
;
2009 PyObject
* _obj0
= 0;
2010 char *_kwnames
[] = { "self","bottom", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2017 if (! wxRect_helper(_obj0
, &_arg0
))
2021 wxPy_BEGIN_ALLOW_THREADS
;
2022 wxRect_SetBottom(_arg0
,_arg1
);
2024 wxPy_END_ALLOW_THREADS
;
2025 } Py_INCREF(Py_None
);
2026 _resultobj
= Py_None
;
2030 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2031 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2037 PyObject
* _obj0
= 0;
2038 char *_kwnames
[] = { "self","x", NULL
};
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2045 if (! wxRect_helper(_obj0
, &_arg0
))
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2052 wxPy_END_ALLOW_THREADS
;
2053 } _resultobj
= Py_BuildValue("i",_result
);
2057 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2058 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2063 PyObject
* _obj0
= 0;
2064 char *_kwnames
[] = { "self", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2071 if (! wxRect_helper(_obj0
, &_arg0
))
2075 wxPy_BEGIN_ALLOW_THREADS
;
2076 _result
= (int )wxRect_x_get(_arg0
);
2078 wxPy_END_ALLOW_THREADS
;
2079 } _resultobj
= Py_BuildValue("i",_result
);
2083 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2084 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2090 PyObject
* _obj0
= 0;
2091 char *_kwnames
[] = { "self","y", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2098 if (! wxRect_helper(_obj0
, &_arg0
))
2102 wxPy_BEGIN_ALLOW_THREADS
;
2103 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2105 wxPy_END_ALLOW_THREADS
;
2106 } _resultobj
= Py_BuildValue("i",_result
);
2110 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2111 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2116 PyObject
* _obj0
= 0;
2117 char *_kwnames
[] = { "self", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2124 if (! wxRect_helper(_obj0
, &_arg0
))
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 _result
= (int )wxRect_y_get(_arg0
);
2131 wxPy_END_ALLOW_THREADS
;
2132 } _resultobj
= Py_BuildValue("i",_result
);
2136 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2137 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2143 PyObject
* _obj0
= 0;
2144 char *_kwnames
[] = { "self","width", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2151 if (! wxRect_helper(_obj0
, &_arg0
))
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2158 wxPy_END_ALLOW_THREADS
;
2159 } _resultobj
= Py_BuildValue("i",_result
);
2163 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2164 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
* _resultobj
;
2169 PyObject
* _obj0
= 0;
2170 char *_kwnames
[] = { "self", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2177 if (! wxRect_helper(_obj0
, &_arg0
))
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 _result
= (int )wxRect_width_get(_arg0
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } _resultobj
= Py_BuildValue("i",_result
);
2189 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2190 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
* _resultobj
;
2196 PyObject
* _obj0
= 0;
2197 char *_kwnames
[] = { "self","height", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2204 if (! wxRect_helper(_obj0
, &_arg0
))
2208 wxPy_BEGIN_ALLOW_THREADS
;
2209 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2211 wxPy_END_ALLOW_THREADS
;
2212 } _resultobj
= Py_BuildValue("i",_result
);
2216 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2217 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2222 PyObject
* _obj0
= 0;
2223 char *_kwnames
[] = { "self", NULL
};
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2230 if (! wxRect_helper(_obj0
, &_arg0
))
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= (int )wxRect_height_get(_arg0
);
2237 wxPy_END_ALLOW_THREADS
;
2238 } _resultobj
= Py_BuildValue("i",_result
);
2242 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2243 PyObject
* tup
= PyTuple_New(4);
2244 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2245 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2246 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2247 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2250 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2255 PyObject
* _obj0
= 0;
2256 char *_kwnames
[] = { "self", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2263 if (! wxRect_helper(_obj0
, &_arg0
))
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2270 wxPy_END_ALLOW_THREADS
;
2272 _resultobj
= _result
;
2277 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2278 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2280 wxPyTimer
* _result
;
2282 PyObject
* _obj0
= 0;
2283 char *_kwnames
[] = { "notify", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
2293 wxPy_BEGIN_ALLOW_THREADS
;
2294 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2296 wxPy_END_ALLOW_THREADS
;
2298 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2299 _resultobj
= Py_BuildValue("s",_ptemp
);
2302 _resultobj
= Py_None
;
2307 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2308 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 delete_wxPyTimer(_arg0
);
2328 wxPy_END_ALLOW_THREADS
;
2329 } Py_INCREF(Py_None
);
2330 _resultobj
= Py_None
;
2334 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
2335 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 _result
= (int )wxPyTimer_GetInterval(_arg0
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } _resultobj
= Py_BuildValue("i",_result
);
2361 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
2362 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2366 PyObject
* _argo0
= 0;
2367 char *_kwnames
[] = { "self", NULL
};
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
2373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
2380 wxPy_BEGIN_ALLOW_THREADS
;
2381 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
2383 wxPy_END_ALLOW_THREADS
;
2384 } _resultobj
= Py_BuildValue("i",_result
);
2388 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2389 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2392 int _arg1
= (int ) -1;
2393 int _arg2
= (int ) FALSE
;
2394 PyObject
* _argo0
= 0;
2395 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2411 wxPy_END_ALLOW_THREADS
;
2412 } Py_INCREF(Py_None
);
2413 _resultobj
= Py_None
;
2417 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2418 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2421 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 wxPyTimer_Stop(_arg0
);
2438 wxPy_END_ALLOW_THREADS
;
2439 } Py_INCREF(Py_None
);
2440 _resultobj
= Py_None
;
2444 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2445 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2447 wxIndividualLayoutConstraint
* _arg0
;
2449 int _arg2
= (int ) 0;
2450 PyObject
* _argo0
= 0;
2451 PyObject
* _argo1
= 0;
2452 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2465 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2466 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2472 wxPy_BEGIN_ALLOW_THREADS
;
2473 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2475 wxPy_END_ALLOW_THREADS
;
2476 } Py_INCREF(Py_None
);
2477 _resultobj
= Py_None
;
2481 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2482 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2484 wxIndividualLayoutConstraint
* _arg0
;
2486 PyObject
* _argo0
= 0;
2487 char *_kwnames
[] = { "self","value", NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2500 wxPy_BEGIN_ALLOW_THREADS
;
2501 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2503 wxPy_END_ALLOW_THREADS
;
2504 } Py_INCREF(Py_None
);
2505 _resultobj
= Py_None
;
2509 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2510 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
* _resultobj
;
2512 wxIndividualLayoutConstraint
* _arg0
;
2513 PyObject
* _argo0
= 0;
2514 char *_kwnames
[] = { "self", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2527 wxPy_BEGIN_ALLOW_THREADS
;
2528 wxIndividualLayoutConstraint_AsIs(_arg0
);
2530 wxPy_END_ALLOW_THREADS
;
2531 } Py_INCREF(Py_None
);
2532 _resultobj
= Py_None
;
2536 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2537 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
* _resultobj
;
2539 wxIndividualLayoutConstraint
* _arg0
;
2541 int _arg2
= (int ) 0;
2542 PyObject
* _argo0
= 0;
2543 PyObject
* _argo1
= 0;
2544 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2564 wxPy_BEGIN_ALLOW_THREADS
;
2565 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2567 wxPy_END_ALLOW_THREADS
;
2568 } Py_INCREF(Py_None
);
2569 _resultobj
= Py_None
;
2573 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2574 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2576 wxIndividualLayoutConstraint
* _arg0
;
2577 PyObject
* _argo0
= 0;
2578 char *_kwnames
[] = { "self", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
2584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2591 wxPy_BEGIN_ALLOW_THREADS
;
2592 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2594 wxPy_END_ALLOW_THREADS
;
2595 } Py_INCREF(Py_None
);
2596 _resultobj
= Py_None
;
2600 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2601 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
* _resultobj
;
2603 wxIndividualLayoutConstraint
* _arg0
;
2605 int _arg2
= (int ) 0;
2606 PyObject
* _argo0
= 0;
2607 PyObject
* _argo1
= 0;
2608 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2628 wxPy_BEGIN_ALLOW_THREADS
;
2629 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2631 wxPy_END_ALLOW_THREADS
;
2632 } Py_INCREF(Py_None
);
2633 _resultobj
= Py_None
;
2637 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2638 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2640 wxIndividualLayoutConstraint
* _arg0
;
2644 PyObject
* _argo0
= 0;
2645 PyObject
* _argo1
= 0;
2646 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2669 wxPy_END_ALLOW_THREADS
;
2670 } Py_INCREF(Py_None
);
2671 _resultobj
= Py_None
;
2675 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2676 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2678 wxIndividualLayoutConstraint
* _arg0
;
2680 int _arg2
= (int ) 0;
2681 PyObject
* _argo0
= 0;
2682 PyObject
* _argo1
= 0;
2683 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2703 wxPy_BEGIN_ALLOW_THREADS
;
2704 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2706 wxPy_END_ALLOW_THREADS
;
2707 } Py_INCREF(Py_None
);
2708 _resultobj
= Py_None
;
2712 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2713 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
* _resultobj
;
2715 wxIndividualLayoutConstraint
* _arg0
;
2718 int _arg3
= (int ) 0;
2719 PyObject
* _argo0
= 0;
2720 PyObject
* _argo1
= 0;
2721 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2734 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2735 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2741 wxPy_BEGIN_ALLOW_THREADS
;
2742 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2744 wxPy_END_ALLOW_THREADS
;
2745 } Py_INCREF(Py_None
);
2746 _resultobj
= Py_None
;
2750 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2751 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2753 wxIndividualLayoutConstraint
* _arg0
;
2754 wxRelationship _arg1
;
2757 int _arg4
= (int ) 0;
2758 int _arg5
= (int ) 0;
2759 PyObject
* _argo0
= 0;
2760 PyObject
* _argo2
= 0;
2761 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
2767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2774 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2781 wxPy_BEGIN_ALLOW_THREADS
;
2782 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2784 wxPy_END_ALLOW_THREADS
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2790 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2791 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2793 wxLayoutConstraints
* _result
;
2794 char *_kwnames
[] = { NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2804 wxPy_END_ALLOW_THREADS
;
2806 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2807 _resultobj
= Py_BuildValue("s",_ptemp
);
2810 _resultobj
= Py_None
;
2815 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2816 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
* _resultobj
;
2818 wxIndividualLayoutConstraint
* _result
;
2819 wxLayoutConstraints
* _arg0
;
2820 PyObject
* _argo0
= 0;
2821 char *_kwnames
[] = { "self", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
2828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2835 wxPy_BEGIN_ALLOW_THREADS
;
2836 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2838 wxPy_END_ALLOW_THREADS
;
2840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2841 _resultobj
= Py_BuildValue("s",_ptemp
);
2844 _resultobj
= Py_None
;
2849 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2850 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
* _resultobj
;
2852 wxIndividualLayoutConstraint
* _result
;
2853 wxLayoutConstraints
* _arg0
;
2854 PyObject
* _argo0
= 0;
2855 char *_kwnames
[] = { "self", NULL
};
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
2862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2869 wxPy_BEGIN_ALLOW_THREADS
;
2870 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2872 wxPy_END_ALLOW_THREADS
;
2874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2875 _resultobj
= Py_BuildValue("s",_ptemp
);
2878 _resultobj
= Py_None
;
2883 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2884 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2886 wxIndividualLayoutConstraint
* _result
;
2887 wxLayoutConstraints
* _arg0
;
2888 PyObject
* _argo0
= 0;
2889 char *_kwnames
[] = { "self", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
2896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2903 wxPy_BEGIN_ALLOW_THREADS
;
2904 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2906 wxPy_END_ALLOW_THREADS
;
2908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2909 _resultobj
= Py_BuildValue("s",_ptemp
);
2912 _resultobj
= Py_None
;
2917 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2918 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxIndividualLayoutConstraint
* _result
;
2921 wxLayoutConstraints
* _arg0
;
2922 PyObject
* _argo0
= 0;
2923 char *_kwnames
[] = { "self", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2937 wxPy_BEGIN_ALLOW_THREADS
;
2938 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2940 wxPy_END_ALLOW_THREADS
;
2942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2943 _resultobj
= Py_BuildValue("s",_ptemp
);
2946 _resultobj
= Py_None
;
2951 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2952 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2954 wxIndividualLayoutConstraint
* _result
;
2955 wxLayoutConstraints
* _arg0
;
2956 PyObject
* _argo0
= 0;
2957 char *_kwnames
[] = { "self", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2971 wxPy_BEGIN_ALLOW_THREADS
;
2972 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2974 wxPy_END_ALLOW_THREADS
;
2976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2977 _resultobj
= Py_BuildValue("s",_ptemp
);
2980 _resultobj
= Py_None
;
2985 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2986 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2988 wxIndividualLayoutConstraint
* _result
;
2989 wxLayoutConstraints
* _arg0
;
2990 PyObject
* _argo0
= 0;
2991 char *_kwnames
[] = { "self", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3005 wxPy_BEGIN_ALLOW_THREADS
;
3006 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3008 wxPy_END_ALLOW_THREADS
;
3010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3011 _resultobj
= Py_BuildValue("s",_ptemp
);
3014 _resultobj
= Py_None
;
3019 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3020 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3022 wxIndividualLayoutConstraint
* _result
;
3023 wxLayoutConstraints
* _arg0
;
3024 PyObject
* _argo0
= 0;
3025 char *_kwnames
[] = { "self", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3039 wxPy_BEGIN_ALLOW_THREADS
;
3040 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3042 wxPy_END_ALLOW_THREADS
;
3044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3045 _resultobj
= Py_BuildValue("s",_ptemp
);
3048 _resultobj
= Py_None
;
3053 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3054 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3056 wxIndividualLayoutConstraint
* _result
;
3057 wxLayoutConstraints
* _arg0
;
3058 PyObject
* _argo0
= 0;
3059 char *_kwnames
[] = { "self", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3073 wxPy_BEGIN_ALLOW_THREADS
;
3074 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3076 wxPy_END_ALLOW_THREADS
;
3078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3079 _resultobj
= Py_BuildValue("s",_ptemp
);
3082 _resultobj
= Py_None
;
3087 #define new_wxRegion() (new wxRegion())
3088 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3091 char *_kwnames
[] = { NULL
};
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxRegion",_kwnames
))
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 _result
= (wxRegion
*)new_wxRegion();
3101 wxPy_END_ALLOW_THREADS
;
3103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3104 _resultobj
= Py_BuildValue("s",_ptemp
);
3107 _resultobj
= Py_None
;
3112 #define delete_wxRegion(_swigobj) (delete _swigobj)
3113 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
* _resultobj
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3130 wxPy_BEGIN_ALLOW_THREADS
;
3131 delete_wxRegion(_arg0
);
3133 wxPy_END_ALLOW_THREADS
;
3134 } Py_INCREF(Py_None
);
3135 _resultobj
= Py_None
;
3139 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3140 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3143 PyObject
* _argo0
= 0;
3144 char *_kwnames
[] = { "self", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3157 wxPy_BEGIN_ALLOW_THREADS
;
3158 wxRegion_Clear(_arg0
);
3160 wxPy_END_ALLOW_THREADS
;
3161 } Py_INCREF(Py_None
);
3162 _resultobj
= Py_None
;
3166 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3167 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3169 wxRegionContain _result
;
3173 PyObject
* _argo0
= 0;
3174 char *_kwnames
[] = { "self","x","y", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3187 wxPy_BEGIN_ALLOW_THREADS
;
3188 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3190 wxPy_END_ALLOW_THREADS
;
3191 } _resultobj
= Py_BuildValue("i",_result
);
3195 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3196 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3198 wxRegionContain _result
;
3201 PyObject
* _argo0
= 0;
3203 PyObject
* _obj1
= 0;
3204 char *_kwnames
[] = { "self","pt", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3218 if (! wxPoint_helper(_obj1
, &_arg1
))
3222 wxPy_BEGIN_ALLOW_THREADS
;
3223 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3225 wxPy_END_ALLOW_THREADS
;
3226 } _resultobj
= Py_BuildValue("i",_result
);
3230 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3231 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3233 wxRegionContain _result
;
3236 PyObject
* _argo0
= 0;
3238 PyObject
* _obj1
= 0;
3239 char *_kwnames
[] = { "self","rect", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3253 if (! wxRect_helper(_obj1
, &_arg1
))
3257 wxPy_BEGIN_ALLOW_THREADS
;
3258 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3260 wxPy_END_ALLOW_THREADS
;
3261 } _resultobj
= Py_BuildValue("i",_result
);
3265 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3266 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3268 wxRegionContain _result
;
3274 PyObject
* _argo0
= 0;
3275 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3288 wxPy_BEGIN_ALLOW_THREADS
;
3289 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3291 wxPy_END_ALLOW_THREADS
;
3292 } _resultobj
= Py_BuildValue("i",_result
);
3296 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3297 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3301 PyObject
* _argo0
= 0;
3302 char *_kwnames
[] = { "self", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3319 wxPy_END_ALLOW_THREADS
;
3320 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3321 _resultobj
= Py_BuildValue("s",_ptemp
);
3325 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3326 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3334 PyObject
* _argo0
= 0;
3335 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3348 wxPy_BEGIN_ALLOW_THREADS
;
3349 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3351 wxPy_END_ALLOW_THREADS
;
3352 } _resultobj
= Py_BuildValue("i",_result
);
3356 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3357 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3362 PyObject
* _argo0
= 0;
3364 PyObject
* _obj1
= 0;
3365 char *_kwnames
[] = { "self","rect", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3379 if (! wxRect_helper(_obj1
, &_arg1
))
3383 wxPy_BEGIN_ALLOW_THREADS
;
3384 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3386 wxPy_END_ALLOW_THREADS
;
3387 } _resultobj
= Py_BuildValue("i",_result
);
3391 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3392 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
* _resultobj
;
3397 PyObject
* _argo0
= 0;
3398 PyObject
* _argo1
= 0;
3399 char *_kwnames
[] = { "self","region", NULL
};
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3419 wxPy_BEGIN_ALLOW_THREADS
;
3420 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3422 wxPy_END_ALLOW_THREADS
;
3423 } _resultobj
= Py_BuildValue("i",_result
);
3427 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3428 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
* _resultobj
;
3432 PyObject
* _argo0
= 0;
3433 char *_kwnames
[] = { "self", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3446 wxPy_BEGIN_ALLOW_THREADS
;
3447 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3449 wxPy_END_ALLOW_THREADS
;
3450 } _resultobj
= Py_BuildValue("i",_result
);
3454 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3455 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
* _resultobj
;
3463 PyObject
* _argo0
= 0;
3464 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3477 wxPy_BEGIN_ALLOW_THREADS
;
3478 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3480 wxPy_END_ALLOW_THREADS
;
3481 } _resultobj
= Py_BuildValue("i",_result
);
3485 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3486 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3491 PyObject
* _argo0
= 0;
3493 PyObject
* _obj1
= 0;
3494 char *_kwnames
[] = { "self","rect", NULL
};
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3508 if (! wxRect_helper(_obj1
, &_arg1
))
3512 wxPy_BEGIN_ALLOW_THREADS
;
3513 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3515 wxPy_END_ALLOW_THREADS
;
3516 } _resultobj
= Py_BuildValue("i",_result
);
3520 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3521 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
* _resultobj
;
3526 PyObject
* _argo0
= 0;
3527 PyObject
* _argo1
= 0;
3528 char *_kwnames
[] = { "self","region", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3548 wxPy_BEGIN_ALLOW_THREADS
;
3549 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
3551 wxPy_END_ALLOW_THREADS
;
3552 } _resultobj
= Py_BuildValue("i",_result
);
3556 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3557 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3565 PyObject
* _argo0
= 0;
3566 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3579 wxPy_BEGIN_ALLOW_THREADS
;
3580 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3582 wxPy_END_ALLOW_THREADS
;
3583 } _resultobj
= Py_BuildValue("i",_result
);
3587 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3588 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3593 PyObject
* _argo0
= 0;
3595 PyObject
* _obj1
= 0;
3596 char *_kwnames
[] = { "self","rect", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
3610 if (! wxRect_helper(_obj1
, &_arg1
))
3614 wxPy_BEGIN_ALLOW_THREADS
;
3615 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
3617 wxPy_END_ALLOW_THREADS
;
3618 } _resultobj
= Py_BuildValue("i",_result
);
3622 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3623 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3628 PyObject
* _argo0
= 0;
3629 PyObject
* _argo1
= 0;
3630 char *_kwnames
[] = { "self","region", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
3643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
3653 wxPy_END_ALLOW_THREADS
;
3654 } _resultobj
= Py_BuildValue("i",_result
);
3658 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3659 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3667 PyObject
* _argo0
= 0;
3668 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3681 wxPy_BEGIN_ALLOW_THREADS
;
3682 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3684 wxPy_END_ALLOW_THREADS
;
3685 } _resultobj
= Py_BuildValue("i",_result
);
3689 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3690 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
* _resultobj
;
3695 PyObject
* _argo0
= 0;
3697 PyObject
* _obj1
= 0;
3698 char *_kwnames
[] = { "self","rect", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
3712 if (! wxRect_helper(_obj1
, &_arg1
))
3716 wxPy_BEGIN_ALLOW_THREADS
;
3717 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
3719 wxPy_END_ALLOW_THREADS
;
3720 } _resultobj
= Py_BuildValue("i",_result
);
3724 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3725 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
* _resultobj
;
3730 PyObject
* _argo0
= 0;
3731 PyObject
* _argo1
= 0;
3732 char *_kwnames
[] = { "self","region", NULL
};
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
3738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
3745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
3752 wxPy_BEGIN_ALLOW_THREADS
;
3753 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
3755 wxPy_END_ALLOW_THREADS
;
3756 } _resultobj
= Py_BuildValue("i",_result
);
3760 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3761 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3763 wxRegionIterator
* _result
;
3765 PyObject
* _argo0
= 0;
3766 char *_kwnames
[] = { "region", NULL
};
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
3773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3780 wxPy_BEGIN_ALLOW_THREADS
;
3781 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3783 wxPy_END_ALLOW_THREADS
;
3785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3786 _resultobj
= Py_BuildValue("s",_ptemp
);
3789 _resultobj
= Py_None
;
3794 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3795 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3797 wxRegionIterator
* _arg0
;
3798 PyObject
* _argo0
= 0;
3799 char *_kwnames
[] = { "self", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3812 wxPy_BEGIN_ALLOW_THREADS
;
3813 delete_wxRegionIterator(_arg0
);
3815 wxPy_END_ALLOW_THREADS
;
3816 } Py_INCREF(Py_None
);
3817 _resultobj
= Py_None
;
3821 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3822 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3825 wxRegionIterator
* _arg0
;
3826 PyObject
* _argo0
= 0;
3827 char *_kwnames
[] = { "self", NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
3833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3840 wxPy_BEGIN_ALLOW_THREADS
;
3841 _result
= (long )wxRegionIterator_GetX(_arg0
);
3843 wxPy_END_ALLOW_THREADS
;
3844 } _resultobj
= Py_BuildValue("l",_result
);
3848 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3849 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3852 wxRegionIterator
* _arg0
;
3853 PyObject
* _argo0
= 0;
3854 char *_kwnames
[] = { "self", NULL
};
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
3860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3867 wxPy_BEGIN_ALLOW_THREADS
;
3868 _result
= (long )wxRegionIterator_GetY(_arg0
);
3870 wxPy_END_ALLOW_THREADS
;
3871 } _resultobj
= Py_BuildValue("l",_result
);
3875 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3876 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3879 wxRegionIterator
* _arg0
;
3880 PyObject
* _argo0
= 0;
3881 char *_kwnames
[] = { "self", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 _result
= (long )wxRegionIterator_GetW(_arg0
);
3897 wxPy_END_ALLOW_THREADS
;
3898 } _resultobj
= Py_BuildValue("l",_result
);
3902 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3903 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3906 wxRegionIterator
* _arg0
;
3907 PyObject
* _argo0
= 0;
3908 char *_kwnames
[] = { "self", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
3914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3921 wxPy_BEGIN_ALLOW_THREADS
;
3922 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3924 wxPy_END_ALLOW_THREADS
;
3925 } _resultobj
= Py_BuildValue("l",_result
);
3929 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3930 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3933 wxRegionIterator
* _arg0
;
3934 PyObject
* _argo0
= 0;
3935 char *_kwnames
[] = { "self", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3948 wxPy_BEGIN_ALLOW_THREADS
;
3949 _result
= (long )wxRegionIterator_GetH(_arg0
);
3951 wxPy_END_ALLOW_THREADS
;
3952 } _resultobj
= Py_BuildValue("l",_result
);
3956 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3957 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3960 wxRegionIterator
* _arg0
;
3961 PyObject
* _argo0
= 0;
3962 char *_kwnames
[] = { "self", NULL
};
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
3968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3975 wxPy_BEGIN_ALLOW_THREADS
;
3976 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3978 wxPy_END_ALLOW_THREADS
;
3979 } _resultobj
= Py_BuildValue("l",_result
);
3983 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3984 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
* _resultobj
;
3987 wxRegionIterator
* _arg0
;
3988 PyObject
* _argo0
= 0;
3989 char *_kwnames
[] = { "self", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
3996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4003 wxPy_BEGIN_ALLOW_THREADS
;
4004 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4006 wxPy_END_ALLOW_THREADS
;
4007 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4008 _resultobj
= Py_BuildValue("s",_ptemp
);
4012 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4013 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
* _resultobj
;
4016 wxRegionIterator
* _arg0
;
4017 PyObject
* _argo0
= 0;
4018 char *_kwnames
[] = { "self", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4031 wxPy_BEGIN_ALLOW_THREADS
;
4032 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4034 wxPy_END_ALLOW_THREADS
;
4035 } _resultobj
= Py_BuildValue("i",_result
);
4039 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4040 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4042 wxRegionIterator
* _arg0
;
4043 PyObject
* _argo0
= 0;
4044 char *_kwnames
[] = { "self", NULL
};
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4057 wxPy_BEGIN_ALLOW_THREADS
;
4058 wxRegionIterator_Reset(_arg0
);
4060 wxPy_END_ALLOW_THREADS
;
4061 } Py_INCREF(Py_None
);
4062 _resultobj
= Py_None
;
4066 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4069 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4071 wxRegionIterator
* _arg0
;
4072 PyObject
* _argo0
= 0;
4073 char *_kwnames
[] = { "self", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4086 wxPy_BEGIN_ALLOW_THREADS
;
4087 wxRegionIterator_Next(_arg0
);
4089 wxPy_END_ALLOW_THREADS
;
4090 } Py_INCREF(Py_None
);
4091 _resultobj
= Py_None
;
4095 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4096 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4098 wxAcceleratorEntry
* _result
;
4099 int _arg0
= (int ) 0;
4100 int _arg1
= (int ) 0;
4101 int _arg2
= (int ) 0;
4102 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4109 wxPy_BEGIN_ALLOW_THREADS
;
4110 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4112 wxPy_END_ALLOW_THREADS
;
4114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4115 _resultobj
= Py_BuildValue("s",_ptemp
);
4118 _resultobj
= Py_None
;
4123 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4124 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4126 wxAcceleratorEntry
* _arg0
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4141 wxPy_BEGIN_ALLOW_THREADS
;
4142 delete_wxAcceleratorEntry(_arg0
);
4144 wxPy_END_ALLOW_THREADS
;
4145 } Py_INCREF(Py_None
);
4146 _resultobj
= Py_None
;
4150 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4151 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4153 wxAcceleratorEntry
* _arg0
;
4157 PyObject
* _argo0
= 0;
4158 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4171 wxPy_BEGIN_ALLOW_THREADS
;
4172 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4174 wxPy_END_ALLOW_THREADS
;
4175 } Py_INCREF(Py_None
);
4176 _resultobj
= Py_None
;
4180 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4181 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4184 wxAcceleratorEntry
* _arg0
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "self", NULL
};
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4202 wxPy_END_ALLOW_THREADS
;
4203 } _resultobj
= Py_BuildValue("i",_result
);
4207 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4208 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
* _resultobj
;
4211 wxAcceleratorEntry
* _arg0
;
4212 PyObject
* _argo0
= 0;
4213 char *_kwnames
[] = { "self", NULL
};
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4226 wxPy_BEGIN_ALLOW_THREADS
;
4227 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4229 wxPy_END_ALLOW_THREADS
;
4230 } _resultobj
= Py_BuildValue("i",_result
);
4234 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4235 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4238 wxAcceleratorEntry
* _arg0
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4253 wxPy_BEGIN_ALLOW_THREADS
;
4254 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4256 wxPy_END_ALLOW_THREADS
;
4257 } _resultobj
= Py_BuildValue("i",_result
);
4261 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4262 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4264 wxAcceleratorTable
* _result
;
4266 wxAcceleratorEntry
* _arg1
;
4267 PyObject
* _obj1
= 0;
4268 char *_kwnames
[] = { "LIST", NULL
};
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4276 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4277 if (_arg1
== NULL
) {
4283 _arg0
= PyList_Size(_obj1
);
4290 wxPy_BEGIN_ALLOW_THREADS
;
4291 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4293 wxPy_END_ALLOW_THREADS
;
4295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4296 _resultobj
= Py_BuildValue("s",_ptemp
);
4299 _resultobj
= Py_None
;
4307 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4308 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
* _resultobj
;
4310 wxAcceleratorTable
* _arg0
;
4311 PyObject
* _argo0
= 0;
4312 char *_kwnames
[] = { "self", NULL
};
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4325 wxPy_BEGIN_ALLOW_THREADS
;
4326 delete_wxAcceleratorTable(_arg0
);
4328 wxPy_END_ALLOW_THREADS
;
4329 } Py_INCREF(Py_None
);
4330 _resultobj
= Py_None
;
4334 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4335 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4337 wxBusyInfo
* _result
;
4339 PyObject
* _obj0
= 0;
4340 char *_kwnames
[] = { "message", NULL
};
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4347 if (!PyString_Check(_obj0
)) {
4348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4351 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4354 wxPy_BEGIN_ALLOW_THREADS
;
4355 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4357 wxPy_END_ALLOW_THREADS
;
4359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4360 _resultobj
= Py_BuildValue("s",_ptemp
);
4363 _resultobj
= Py_None
;
4372 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4373 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4376 PyObject
* _argo0
= 0;
4377 char *_kwnames
[] = { "self", NULL
};
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4390 wxPy_BEGIN_ALLOW_THREADS
;
4391 delete_wxBusyInfo(_arg0
);
4393 wxPy_END_ALLOW_THREADS
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 static PyMethodDef misccMethods
[] = {
4400 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4401 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4402 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4403 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4404 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4405 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4406 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4407 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4408 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4409 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4410 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4411 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4412 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4413 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4414 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4415 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4416 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4417 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4418 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4419 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4420 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4421 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4422 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4423 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4424 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4425 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4426 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4427 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4428 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4429 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4430 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4431 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4432 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4433 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4434 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4435 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4436 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4437 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4438 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4439 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4440 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4441 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4442 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4443 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4444 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4445 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4446 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4447 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4448 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4449 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4450 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4451 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4452 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4453 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4454 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4455 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4456 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4457 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4458 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4459 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4460 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4461 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4462 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
4463 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
4464 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
4465 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
4466 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4467 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4468 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4469 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4470 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4471 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4472 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4473 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4474 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4475 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4476 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4477 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4478 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4479 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4480 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4481 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4482 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4483 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4484 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4485 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4486 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4487 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4488 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4489 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4490 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4491 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4492 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4493 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4494 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4495 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4496 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4497 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4498 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4499 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4500 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4501 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4502 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4503 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4504 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4505 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4506 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4507 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4508 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4509 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4510 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4511 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4512 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4513 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4514 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4515 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4516 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4517 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4518 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4519 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4520 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4521 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4522 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4523 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4524 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4525 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4526 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4527 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4528 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4529 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4530 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4531 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4532 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4533 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4534 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
4535 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4536 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4537 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4538 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4539 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4540 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4541 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4542 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4543 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4544 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4545 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
4546 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4547 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
4548 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4549 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4550 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4551 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4552 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4553 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4560 * This table is used by the pointer type-checker
4562 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4563 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4564 { "_signed_long","_long",0},
4565 { "_wxPrintQuality","_wxCoord",0},
4566 { "_wxPrintQuality","_int",0},
4567 { "_wxPrintQuality","_signed_int",0},
4568 { "_wxPrintQuality","_unsigned_int",0},
4569 { "_wxPrintQuality","_wxWindowID",0},
4570 { "_wxPrintQuality","_uint",0},
4571 { "_wxPrintQuality","_EBool",0},
4572 { "_wxPrintQuality","_size_t",0},
4573 { "_class_wxRegionIterator","_wxRegionIterator",0},
4574 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4575 { "_byte","_unsigned_char",0},
4576 { "_long","_unsigned_long",0},
4577 { "_long","_signed_long",0},
4578 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4579 { "_size_t","_wxCoord",0},
4580 { "_size_t","_wxPrintQuality",0},
4581 { "_size_t","_unsigned_int",0},
4582 { "_size_t","_int",0},
4583 { "_size_t","_wxWindowID",0},
4584 { "_size_t","_uint",0},
4585 { "_class_wxRealPoint","_wxRealPoint",0},
4586 { "_uint","_wxCoord",0},
4587 { "_uint","_wxPrintQuality",0},
4588 { "_uint","_size_t",0},
4589 { "_uint","_unsigned_int",0},
4590 { "_uint","_int",0},
4591 { "_uint","_wxWindowID",0},
4592 { "_wxRect","_class_wxRect",0},
4593 { "_wxPoint","_class_wxPoint",0},
4594 { "_wxPyTimer","_class_wxPyTimer",0},
4595 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4596 { "_EBool","_wxCoord",0},
4597 { "_EBool","_wxPrintQuality",0},
4598 { "_EBool","_signed_int",0},
4599 { "_EBool","_int",0},
4600 { "_EBool","_wxWindowID",0},
4601 { "_class_wxRegion","_wxRegion",0},
4602 { "_unsigned_long","_long",0},
4603 { "_class_wxRect","_wxRect",0},
4604 { "_class_wxPyTimer","_wxPyTimer",0},
4605 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4606 { "_signed_int","_wxCoord",0},
4607 { "_signed_int","_wxPrintQuality",0},
4608 { "_signed_int","_EBool",0},
4609 { "_signed_int","_wxWindowID",0},
4610 { "_signed_int","_int",0},
4611 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4612 { "_WXTYPE","_short",0},
4613 { "_WXTYPE","_signed_short",0},
4614 { "_WXTYPE","_unsigned_short",0},
4615 { "_unsigned_short","_WXTYPE",0},
4616 { "_unsigned_short","_short",0},
4617 { "_wxBusyInfo","_class_wxBusyInfo",0},
4618 { "_class_wxPoint","_wxPoint",0},
4619 { "_wxRealPoint","_class_wxRealPoint",0},
4620 { "_signed_short","_WXTYPE",0},
4621 { "_signed_short","_short",0},
4622 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4623 { "_unsigned_char","_byte",0},
4624 { "_unsigned_int","_wxCoord",0},
4625 { "_unsigned_int","_wxPrintQuality",0},
4626 { "_unsigned_int","_size_t",0},
4627 { "_unsigned_int","_uint",0},
4628 { "_unsigned_int","_wxWindowID",0},
4629 { "_unsigned_int","_int",0},
4630 { "_short","_WXTYPE",0},
4631 { "_short","_unsigned_short",0},
4632 { "_short","_signed_short",0},
4633 { "_wxWindowID","_wxCoord",0},
4634 { "_wxWindowID","_wxPrintQuality",0},
4635 { "_wxWindowID","_size_t",0},
4636 { "_wxWindowID","_EBool",0},
4637 { "_wxWindowID","_uint",0},
4638 { "_wxWindowID","_int",0},
4639 { "_wxWindowID","_signed_int",0},
4640 { "_wxWindowID","_unsigned_int",0},
4641 { "_int","_wxCoord",0},
4642 { "_int","_wxPrintQuality",0},
4643 { "_int","_size_t",0},
4644 { "_int","_EBool",0},
4645 { "_int","_uint",0},
4646 { "_int","_wxWindowID",0},
4647 { "_int","_unsigned_int",0},
4648 { "_int","_signed_int",0},
4649 { "_wxSize","_class_wxSize",0},
4650 { "_wxRegionIterator","_class_wxRegionIterator",0},
4651 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4652 { "_wxCoord","_int",0},
4653 { "_wxCoord","_signed_int",0},
4654 { "_wxCoord","_unsigned_int",0},
4655 { "_wxCoord","_wxWindowID",0},
4656 { "_wxCoord","_uint",0},
4657 { "_wxCoord","_EBool",0},
4658 { "_wxCoord","_size_t",0},
4659 { "_wxCoord","_wxPrintQuality",0},
4660 { "_wxRegion","_class_wxRegion",0},
4661 { "_class_wxBusyInfo","_wxBusyInfo",0},
4662 { "_class_wxSize","_wxSize",0},
4665 static PyObject
*SWIG_globals
;
4669 SWIGEXPORT(void) initmiscc() {
4671 SWIG_globals
= SWIG_newvarlink();
4672 m
= Py_InitModule("miscc", misccMethods
);
4673 d
= PyModule_GetDict(m
);
4674 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4675 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4676 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4677 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4678 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4679 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4680 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4681 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4682 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4683 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4684 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4685 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4686 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4687 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4688 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4689 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4690 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4691 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4692 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4693 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4694 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4695 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4698 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4699 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);