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_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
372 char *_kwnames
[] = { NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
384 wxPy_BEGIN_ALLOW_THREADS
;
385 wxGetMousePosition(_arg0
,_arg1
);
387 wxPy_END_ALLOW_THREADS
;
388 } Py_INCREF(Py_None
);
389 _resultobj
= Py_None
;
392 o
= PyInt_FromLong((long) (*_arg0
));
393 _resultobj
= t_output_helper(_resultobj
, o
);
397 o
= PyInt_FromLong((long) (*_arg1
));
398 _resultobj
= t_output_helper(_resultobj
, o
);
403 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
404 PyObject
* _resultobj
;
406 char *_kwnames
[] = { NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
412 wxPy_BEGIN_ALLOW_THREADS
;
413 _result
= (bool )wxIsBusy();
415 wxPy_END_ALLOW_THREADS
;
416 } _resultobj
= Py_BuildValue("i",_result
);
420 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
423 char *_kwnames
[] = { NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
429 wxPy_BEGIN_ALLOW_THREADS
;
430 _result
= new wxString (wxNow());
432 wxPy_END_ALLOW_THREADS
;
434 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
442 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
445 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
446 PyObject
* _obj0
= 0;
447 char *_kwnames
[] = { "command", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
454 if (!PyString_Check(_obj0
)) {
455 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
458 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
461 wxPy_BEGIN_ALLOW_THREADS
;
462 _result
= (bool )wxShell(*_arg0
);
464 wxPy_END_ALLOW_THREADS
;
465 } _resultobj
= Py_BuildValue("i",_result
);
473 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
475 char *_kwnames
[] = { NULL
};
478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
481 wxPy_BEGIN_ALLOW_THREADS
;
484 wxPy_END_ALLOW_THREADS
;
485 } Py_INCREF(Py_None
);
486 _resultobj
= Py_None
;
490 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
497 char *_kwnames
[] = { NULL
};
506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
509 wxPy_BEGIN_ALLOW_THREADS
;
510 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
512 wxPy_END_ALLOW_THREADS
;
513 } _resultobj
= Py_BuildValue("i",_result
);
516 o
= PyInt_FromLong((long) (*_arg0
));
517 _resultobj
= t_output_helper(_resultobj
, o
);
521 o
= PyInt_FromLong((long) (*_arg1
));
522 _resultobj
= t_output_helper(_resultobj
, o
);
527 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
528 PyObject
* _resultobj
;
530 char *_kwnames
[] = { "secs", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
536 wxPy_BEGIN_ALLOW_THREADS
;
539 wxPy_END_ALLOW_THREADS
;
540 } Py_INCREF(Py_None
);
541 _resultobj
= Py_None
;
545 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
546 PyObject
* _resultobj
;
548 char *_kwnames
[] = { NULL
};
551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
554 wxPy_BEGIN_ALLOW_THREADS
;
555 _result
= (bool )wxYield();
557 wxPy_END_ALLOW_THREADS
;
558 } _resultobj
= Py_BuildValue("i",_result
);
562 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 PyObject
* _resultobj
;
565 char *_kwnames
[] = { NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSafeYield",_kwnames
))
571 wxPy_BEGIN_ALLOW_THREADS
;
572 _result
= (bool )wxSafeYield();
574 wxPy_END_ALLOW_THREADS
;
575 } _resultobj
= Py_BuildValue("i",_result
);
579 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
583 char *_kwnames
[] = { "enable", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
588 _arg0
= (bool ) tempbool0
;
590 wxPy_BEGIN_ALLOW_THREADS
;
591 wxEnableTopLevelWindows(_arg0
);
593 wxPy_END_ALLOW_THREADS
;
594 } Py_INCREF(Py_None
);
595 _resultobj
= Py_None
;
599 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
604 char * _arg2
= (char *) NULL
;
605 char *_kwnames
[] = { "section","entry","file", NULL
};
608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
611 wxPy_BEGIN_ALLOW_THREADS
;
612 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
614 wxPy_END_ALLOW_THREADS
;
615 } _resultobj
= Py_BuildValue("s", _result
);
619 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
620 PyObject
* _resultobj
;
623 PyObject
* _obj0
= 0;
624 char *_kwnames
[] = { "in", NULL
};
627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
630 if (!PyString_Check(_obj0
)) {
631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
634 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
637 wxPy_BEGIN_ALLOW_THREADS
;
638 _result
= new wxString (wxStripMenuCodes(*_arg0
));
640 wxPy_END_ALLOW_THREADS
;
642 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
654 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
655 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
661 PyObject
* _obj0
= 0;
662 char *_kwnames
[] = { "self","x", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
669 if (! wxSize_helper(_obj0
, &_arg0
))
673 wxPy_BEGIN_ALLOW_THREADS
;
674 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
676 wxPy_END_ALLOW_THREADS
;
677 } _resultobj
= Py_BuildValue("l",_result
);
681 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
682 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
683 PyObject
* _resultobj
;
687 PyObject
* _obj0
= 0;
688 char *_kwnames
[] = { "self", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
695 if (! wxSize_helper(_obj0
, &_arg0
))
699 wxPy_BEGIN_ALLOW_THREADS
;
700 _result
= (long )wxSize_x_get(_arg0
);
702 wxPy_END_ALLOW_THREADS
;
703 } _resultobj
= Py_BuildValue("l",_result
);
707 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
708 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
709 PyObject
* _resultobj
;
714 PyObject
* _obj0
= 0;
715 char *_kwnames
[] = { "self","y", NULL
};
718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
722 if (! wxSize_helper(_obj0
, &_arg0
))
726 wxPy_BEGIN_ALLOW_THREADS
;
727 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
729 wxPy_END_ALLOW_THREADS
;
730 } _resultobj
= Py_BuildValue("l",_result
);
734 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
735 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
740 PyObject
* _obj0
= 0;
741 char *_kwnames
[] = { "self", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
748 if (! wxSize_helper(_obj0
, &_arg0
))
752 wxPy_BEGIN_ALLOW_THREADS
;
753 _result
= (long )wxSize_y_get(_arg0
);
755 wxPy_END_ALLOW_THREADS
;
756 } _resultobj
= Py_BuildValue("l",_result
);
760 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
761 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 PyObject
* _resultobj
;
764 long _arg0
= (long ) 0;
765 long _arg1
= (long ) 0;
766 char *_kwnames
[] = { "w","h", NULL
};
770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
773 wxPy_BEGIN_ALLOW_THREADS
;
774 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
776 wxPy_END_ALLOW_THREADS
;
778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
779 _resultobj
= Py_BuildValue("s",_ptemp
);
782 _resultobj
= Py_None
;
787 #define delete_wxSize(_swigobj) (delete _swigobj)
788 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
792 PyObject
* _obj0
= 0;
793 char *_kwnames
[] = { "self", NULL
};
796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
800 if (! wxSize_helper(_obj0
, &_arg0
))
804 wxPy_BEGIN_ALLOW_THREADS
;
805 delete_wxSize(_arg0
);
807 wxPy_END_ALLOW_THREADS
;
808 } Py_INCREF(Py_None
);
809 _resultobj
= Py_None
;
813 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
814 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
815 PyObject
* _resultobj
;
820 PyObject
* _obj0
= 0;
821 char *_kwnames
[] = { "self","w","h", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
828 if (! wxSize_helper(_obj0
, &_arg0
))
832 wxPy_BEGIN_ALLOW_THREADS
;
833 wxSize_Set(_arg0
,_arg1
,_arg2
);
835 wxPy_END_ALLOW_THREADS
;
836 } Py_INCREF(Py_None
);
837 _resultobj
= Py_None
;
841 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
842 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 PyObject
* _resultobj
;
847 PyObject
* _obj0
= 0;
848 char *_kwnames
[] = { "self", NULL
};
851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
855 if (! wxSize_helper(_obj0
, &_arg0
))
859 wxPy_BEGIN_ALLOW_THREADS
;
860 _result
= (long )wxSize_GetX(_arg0
);
862 wxPy_END_ALLOW_THREADS
;
863 } _resultobj
= Py_BuildValue("l",_result
);
867 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
868 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
873 PyObject
* _obj0
= 0;
874 char *_kwnames
[] = { "self", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
881 if (! wxSize_helper(_obj0
, &_arg0
))
885 wxPy_BEGIN_ALLOW_THREADS
;
886 _result
= (long )wxSize_GetY(_arg0
);
888 wxPy_END_ALLOW_THREADS
;
889 } _resultobj
= Py_BuildValue("l",_result
);
893 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
894 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 PyObject
* _resultobj
;
899 PyObject
* _obj0
= 0;
900 char *_kwnames
[] = { "self", NULL
};
903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
907 if (! wxSize_helper(_obj0
, &_arg0
))
911 wxPy_BEGIN_ALLOW_THREADS
;
912 _result
= (long )wxSize_GetWidth(_arg0
);
914 wxPy_END_ALLOW_THREADS
;
915 } _resultobj
= Py_BuildValue("l",_result
);
919 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
920 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 PyObject
* _resultobj
;
925 PyObject
* _obj0
= 0;
926 char *_kwnames
[] = { "self", NULL
};
929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
933 if (! wxSize_helper(_obj0
, &_arg0
))
937 wxPy_BEGIN_ALLOW_THREADS
;
938 _result
= (long )wxSize_GetHeight(_arg0
);
940 wxPy_END_ALLOW_THREADS
;
941 } _resultobj
= Py_BuildValue("l",_result
);
945 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
946 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
951 PyObject
* _obj0
= 0;
952 char *_kwnames
[] = { "self","w", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
959 if (! wxSize_helper(_obj0
, &_arg0
))
963 wxPy_BEGIN_ALLOW_THREADS
;
964 wxSize_SetWidth(_arg0
,_arg1
);
966 wxPy_END_ALLOW_THREADS
;
967 } Py_INCREF(Py_None
);
968 _resultobj
= Py_None
;
972 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
973 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
978 PyObject
* _obj0
= 0;
979 char *_kwnames
[] = { "self","h", NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
986 if (! wxSize_helper(_obj0
, &_arg0
))
990 wxPy_BEGIN_ALLOW_THREADS
;
991 wxSize_SetHeight(_arg0
,_arg1
);
993 wxPy_END_ALLOW_THREADS
;
994 } Py_INCREF(Py_None
);
995 _resultobj
= Py_None
;
999 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1000 PyObject
* tup
= PyTuple_New(2);
1001 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1002 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1005 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1010 PyObject
* _obj0
= 0;
1011 char *_kwnames
[] = { "self", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1018 if (! wxSize_helper(_obj0
, &_arg0
))
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1025 wxPy_END_ALLOW_THREADS
;
1027 _resultobj
= _result
;
1032 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1033 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
* _resultobj
;
1036 wxRealPoint
* _arg0
;
1039 PyObject
* _obj0
= 0;
1040 char *_kwnames
[] = { "self","x", NULL
};
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1047 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1051 wxPy_BEGIN_ALLOW_THREADS
;
1052 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1054 wxPy_END_ALLOW_THREADS
;
1055 } _resultobj
= Py_BuildValue("d",_result
);
1059 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1060 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1063 wxRealPoint
* _arg0
;
1065 PyObject
* _obj0
= 0;
1066 char *_kwnames
[] = { "self", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1073 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 _result
= (double )wxRealPoint_x_get(_arg0
);
1080 wxPy_END_ALLOW_THREADS
;
1081 } _resultobj
= Py_BuildValue("d",_result
);
1085 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1086 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 wxRealPoint
* _arg0
;
1092 PyObject
* _obj0
= 0;
1093 char *_kwnames
[] = { "self","y", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1100 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } _resultobj
= Py_BuildValue("d",_result
);
1112 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1113 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
* _resultobj
;
1116 wxRealPoint
* _arg0
;
1118 PyObject
* _obj0
= 0;
1119 char *_kwnames
[] = { "self", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1126 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1130 wxPy_BEGIN_ALLOW_THREADS
;
1131 _result
= (double )wxRealPoint_y_get(_arg0
);
1133 wxPy_END_ALLOW_THREADS
;
1134 } _resultobj
= Py_BuildValue("d",_result
);
1138 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1139 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
* _resultobj
;
1141 wxRealPoint
* _result
;
1142 double _arg0
= (double ) 0.0;
1143 double _arg1
= (double ) 0.0;
1144 char *_kwnames
[] = { "x","y", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1154 wxPy_END_ALLOW_THREADS
;
1156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1157 _resultobj
= Py_BuildValue("s",_ptemp
);
1160 _resultobj
= Py_None
;
1165 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1166 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
* _resultobj
;
1168 wxRealPoint
* _arg0
;
1170 PyObject
* _obj0
= 0;
1171 char *_kwnames
[] = { "self", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1178 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 delete_wxRealPoint(_arg0
);
1185 wxPy_END_ALLOW_THREADS
;
1186 } Py_INCREF(Py_None
);
1187 _resultobj
= Py_None
;
1191 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1195 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1197 wxRealPoint
* _arg0
;
1201 PyObject
* _obj0
= 0;
1202 char *_kwnames
[] = { "self","x","y", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1209 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1216 wxPy_END_ALLOW_THREADS
;
1217 } Py_INCREF(Py_None
);
1218 _resultobj
= Py_None
;
1222 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1223 PyObject
* tup
= PyTuple_New(2);
1224 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1225 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1228 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1231 wxRealPoint
* _arg0
;
1233 PyObject
* _obj0
= 0;
1234 char *_kwnames
[] = { "self", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1241 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1245 wxPy_BEGIN_ALLOW_THREADS
;
1246 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1248 wxPy_END_ALLOW_THREADS
;
1250 _resultobj
= _result
;
1255 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1256 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1262 PyObject
* _obj0
= 0;
1263 char *_kwnames
[] = { "self","x", NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1270 if (! wxPoint_helper(_obj0
, &_arg0
))
1274 wxPy_BEGIN_ALLOW_THREADS
;
1275 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1277 wxPy_END_ALLOW_THREADS
;
1278 } _resultobj
= Py_BuildValue("l",_result
);
1282 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1283 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
* _resultobj
;
1288 PyObject
* _obj0
= 0;
1289 char *_kwnames
[] = { "self", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1296 if (! wxPoint_helper(_obj0
, &_arg0
))
1300 wxPy_BEGIN_ALLOW_THREADS
;
1301 _result
= (long )wxPoint_x_get(_arg0
);
1303 wxPy_END_ALLOW_THREADS
;
1304 } _resultobj
= Py_BuildValue("l",_result
);
1308 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1309 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1315 PyObject
* _obj0
= 0;
1316 char *_kwnames
[] = { "self","y", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1323 if (! wxPoint_helper(_obj0
, &_arg0
))
1327 wxPy_BEGIN_ALLOW_THREADS
;
1328 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1330 wxPy_END_ALLOW_THREADS
;
1331 } _resultobj
= Py_BuildValue("l",_result
);
1335 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1336 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1341 PyObject
* _obj0
= 0;
1342 char *_kwnames
[] = { "self", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1349 if (! wxPoint_helper(_obj0
, &_arg0
))
1353 wxPy_BEGIN_ALLOW_THREADS
;
1354 _result
= (long )wxPoint_y_get(_arg0
);
1356 wxPy_END_ALLOW_THREADS
;
1357 } _resultobj
= Py_BuildValue("l",_result
);
1361 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1362 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1365 long _arg0
= (long ) 0;
1366 long _arg1
= (long ) 0;
1367 char *_kwnames
[] = { "x","y", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1374 wxPy_BEGIN_ALLOW_THREADS
;
1375 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1377 wxPy_END_ALLOW_THREADS
;
1379 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1380 _resultobj
= Py_BuildValue("s",_ptemp
);
1383 _resultobj
= Py_None
;
1388 #define delete_wxPoint(_swigobj) (delete _swigobj)
1389 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1393 PyObject
* _obj0
= 0;
1394 char *_kwnames
[] = { "self", NULL
};
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1401 if (! wxPoint_helper(_obj0
, &_arg0
))
1405 wxPy_BEGIN_ALLOW_THREADS
;
1406 delete_wxPoint(_arg0
);
1408 wxPy_END_ALLOW_THREADS
;
1409 } Py_INCREF(Py_None
);
1410 _resultobj
= Py_None
;
1414 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1418 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1424 PyObject
* _obj0
= 0;
1425 char *_kwnames
[] = { "self","x","y", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1432 if (! wxPoint_helper(_obj0
, &_arg0
))
1436 wxPy_BEGIN_ALLOW_THREADS
;
1437 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1439 wxPy_END_ALLOW_THREADS
;
1440 } Py_INCREF(Py_None
);
1441 _resultobj
= Py_None
;
1445 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1446 PyObject
* tup
= PyTuple_New(2);
1447 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1448 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1451 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1456 PyObject
* _obj0
= 0;
1457 char *_kwnames
[] = { "self", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1464 if (! wxPoint_helper(_obj0
, &_arg0
))
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1471 wxPy_END_ALLOW_THREADS
;
1473 _resultobj
= _result
;
1478 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1479 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1482 int _arg0
= (int ) 0;
1483 int _arg1
= (int ) 0;
1484 int _arg2
= (int ) 0;
1485 int _arg3
= (int ) 0;
1486 char *_kwnames
[] = { "x","y","w","h", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1493 wxPy_BEGIN_ALLOW_THREADS
;
1494 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1496 wxPy_END_ALLOW_THREADS
;
1498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1499 _resultobj
= Py_BuildValue("s",_ptemp
);
1502 _resultobj
= Py_None
;
1507 #define delete_wxRect(_swigobj) (delete _swigobj)
1508 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1512 PyObject
* _obj0
= 0;
1513 char *_kwnames
[] = { "self", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1520 if (! wxRect_helper(_obj0
, &_arg0
))
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 delete_wxRect(_arg0
);
1527 wxPy_END_ALLOW_THREADS
;
1528 } Py_INCREF(Py_None
);
1529 _resultobj
= Py_None
;
1533 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1534 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1539 PyObject
* _obj0
= 0;
1540 char *_kwnames
[] = { "self", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
1547 if (! wxRect_helper(_obj0
, &_arg0
))
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 _result
= (int )wxRect_GetX(_arg0
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } _resultobj
= Py_BuildValue("i",_result
);
1559 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1560 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1565 PyObject
* _obj0
= 0;
1566 char *_kwnames
[] = { "self","X", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
1573 if (! wxRect_helper(_obj0
, &_arg0
))
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 wxRect_SetX(_arg0
,_arg1
);
1580 wxPy_END_ALLOW_THREADS
;
1581 } Py_INCREF(Py_None
);
1582 _resultobj
= Py_None
;
1586 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1587 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1592 PyObject
* _obj0
= 0;
1593 char *_kwnames
[] = { "self", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
1600 if (! wxRect_helper(_obj0
, &_arg0
))
1604 wxPy_BEGIN_ALLOW_THREADS
;
1605 _result
= (int )wxRect_GetY(_arg0
);
1607 wxPy_END_ALLOW_THREADS
;
1608 } _resultobj
= Py_BuildValue("i",_result
);
1612 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1613 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1618 PyObject
* _obj0
= 0;
1619 char *_kwnames
[] = { "self","Y", NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
1626 if (! wxRect_helper(_obj0
, &_arg0
))
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 wxRect_SetY(_arg0
,_arg1
);
1633 wxPy_END_ALLOW_THREADS
;
1634 } Py_INCREF(Py_None
);
1635 _resultobj
= Py_None
;
1639 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1640 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1645 PyObject
* _obj0
= 0;
1646 char *_kwnames
[] = { "self", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
1653 if (! wxRect_helper(_obj0
, &_arg0
))
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 _result
= (int )wxRect_GetWidth(_arg0
);
1660 wxPy_END_ALLOW_THREADS
;
1661 } _resultobj
= Py_BuildValue("i",_result
);
1665 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1666 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1671 PyObject
* _obj0
= 0;
1672 char *_kwnames
[] = { "self","w", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1679 if (! wxRect_helper(_obj0
, &_arg0
))
1683 wxPy_BEGIN_ALLOW_THREADS
;
1684 wxRect_SetWidth(_arg0
,_arg1
);
1686 wxPy_END_ALLOW_THREADS
;
1687 } Py_INCREF(Py_None
);
1688 _resultobj
= Py_None
;
1692 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1693 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
* _resultobj
;
1698 PyObject
* _obj0
= 0;
1699 char *_kwnames
[] = { "self", NULL
};
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
1706 if (! wxRect_helper(_obj0
, &_arg0
))
1710 wxPy_BEGIN_ALLOW_THREADS
;
1711 _result
= (int )wxRect_GetHeight(_arg0
);
1713 wxPy_END_ALLOW_THREADS
;
1714 } _resultobj
= Py_BuildValue("i",_result
);
1718 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1719 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
* _resultobj
;
1724 PyObject
* _obj0
= 0;
1725 char *_kwnames
[] = { "self","h", NULL
};
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1732 if (! wxRect_helper(_obj0
, &_arg0
))
1736 wxPy_BEGIN_ALLOW_THREADS
;
1737 wxRect_SetHeight(_arg0
,_arg1
);
1739 wxPy_END_ALLOW_THREADS
;
1740 } Py_INCREF(Py_None
);
1741 _resultobj
= Py_None
;
1745 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1746 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
* _resultobj
;
1751 PyObject
* _obj0
= 0;
1752 char *_kwnames
[] = { "self", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
1760 if (! wxRect_helper(_obj0
, &_arg0
))
1764 wxPy_BEGIN_ALLOW_THREADS
;
1765 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1767 wxPy_END_ALLOW_THREADS
;
1768 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1769 _resultobj
= Py_BuildValue("s",_ptemp
);
1773 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1774 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1779 PyObject
* _obj0
= 0;
1780 char *_kwnames
[] = { "self", NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
1788 if (! wxRect_helper(_obj0
, &_arg0
))
1792 wxPy_BEGIN_ALLOW_THREADS
;
1793 _result
= new wxSize (wxRect_GetSize(_arg0
));
1795 wxPy_END_ALLOW_THREADS
;
1796 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1797 _resultobj
= Py_BuildValue("s",_ptemp
);
1801 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1802 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1807 PyObject
* _obj0
= 0;
1808 char *_kwnames
[] = { "self", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
1815 if (! wxRect_helper(_obj0
, &_arg0
))
1819 wxPy_BEGIN_ALLOW_THREADS
;
1820 _result
= (int )wxRect_GetLeft(_arg0
);
1822 wxPy_END_ALLOW_THREADS
;
1823 } _resultobj
= Py_BuildValue("i",_result
);
1827 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1828 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1833 PyObject
* _obj0
= 0;
1834 char *_kwnames
[] = { "self", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
1841 if (! wxRect_helper(_obj0
, &_arg0
))
1845 wxPy_BEGIN_ALLOW_THREADS
;
1846 _result
= (int )wxRect_GetTop(_arg0
);
1848 wxPy_END_ALLOW_THREADS
;
1849 } _resultobj
= Py_BuildValue("i",_result
);
1853 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1854 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1859 PyObject
* _obj0
= 0;
1860 char *_kwnames
[] = { "self", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
1867 if (! wxRect_helper(_obj0
, &_arg0
))
1871 wxPy_BEGIN_ALLOW_THREADS
;
1872 _result
= (int )wxRect_GetBottom(_arg0
);
1874 wxPy_END_ALLOW_THREADS
;
1875 } _resultobj
= Py_BuildValue("i",_result
);
1879 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1880 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1885 PyObject
* _obj0
= 0;
1886 char *_kwnames
[] = { "self", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
1893 if (! wxRect_helper(_obj0
, &_arg0
))
1897 wxPy_BEGIN_ALLOW_THREADS
;
1898 _result
= (int )wxRect_GetRight(_arg0
);
1900 wxPy_END_ALLOW_THREADS
;
1901 } _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
1906 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1911 PyObject
* _obj0
= 0;
1912 char *_kwnames
[] = { "self","left", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
1919 if (! wxRect_helper(_obj0
, &_arg0
))
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 wxRect_SetLeft(_arg0
,_arg1
);
1926 wxPy_END_ALLOW_THREADS
;
1927 } Py_INCREF(Py_None
);
1928 _resultobj
= Py_None
;
1932 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
1933 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1938 PyObject
* _obj0
= 0;
1939 char *_kwnames
[] = { "self","right", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
1946 if (! wxRect_helper(_obj0
, &_arg0
))
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 wxRect_SetRight(_arg0
,_arg1
);
1953 wxPy_END_ALLOW_THREADS
;
1954 } Py_INCREF(Py_None
);
1955 _resultobj
= Py_None
;
1959 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
1960 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1965 PyObject
* _obj0
= 0;
1966 char *_kwnames
[] = { "self","top", NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
1973 if (! wxRect_helper(_obj0
, &_arg0
))
1977 wxPy_BEGIN_ALLOW_THREADS
;
1978 wxRect_SetTop(_arg0
,_arg1
);
1980 wxPy_END_ALLOW_THREADS
;
1981 } Py_INCREF(Py_None
);
1982 _resultobj
= Py_None
;
1986 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
1987 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1992 PyObject
* _obj0
= 0;
1993 char *_kwnames
[] = { "self","bottom", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2000 if (! wxRect_helper(_obj0
, &_arg0
))
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 wxRect_SetBottom(_arg0
,_arg1
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } Py_INCREF(Py_None
);
2009 _resultobj
= Py_None
;
2013 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2014 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2020 PyObject
* _obj0
= 0;
2021 char *_kwnames
[] = { "self","x", NULL
};
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2028 if (! wxRect_helper(_obj0
, &_arg0
))
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2035 wxPy_END_ALLOW_THREADS
;
2036 } _resultobj
= Py_BuildValue("i",_result
);
2040 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2041 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2046 PyObject
* _obj0
= 0;
2047 char *_kwnames
[] = { "self", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2054 if (! wxRect_helper(_obj0
, &_arg0
))
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 _result
= (int )wxRect_x_get(_arg0
);
2061 wxPy_END_ALLOW_THREADS
;
2062 } _resultobj
= Py_BuildValue("i",_result
);
2066 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2067 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2073 PyObject
* _obj0
= 0;
2074 char *_kwnames
[] = { "self","y", NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2081 if (! wxRect_helper(_obj0
, &_arg0
))
2085 wxPy_BEGIN_ALLOW_THREADS
;
2086 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2088 wxPy_END_ALLOW_THREADS
;
2089 } _resultobj
= Py_BuildValue("i",_result
);
2093 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2094 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2099 PyObject
* _obj0
= 0;
2100 char *_kwnames
[] = { "self", NULL
};
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2107 if (! wxRect_helper(_obj0
, &_arg0
))
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 _result
= (int )wxRect_y_get(_arg0
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } _resultobj
= Py_BuildValue("i",_result
);
2119 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2120 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2126 PyObject
* _obj0
= 0;
2127 char *_kwnames
[] = { "self","width", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2134 if (! wxRect_helper(_obj0
, &_arg0
))
2138 wxPy_BEGIN_ALLOW_THREADS
;
2139 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2141 wxPy_END_ALLOW_THREADS
;
2142 } _resultobj
= Py_BuildValue("i",_result
);
2146 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2147 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2152 PyObject
* _obj0
= 0;
2153 char *_kwnames
[] = { "self", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2160 if (! wxRect_helper(_obj0
, &_arg0
))
2164 wxPy_BEGIN_ALLOW_THREADS
;
2165 _result
= (int )wxRect_width_get(_arg0
);
2167 wxPy_END_ALLOW_THREADS
;
2168 } _resultobj
= Py_BuildValue("i",_result
);
2172 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2173 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
* _resultobj
;
2179 PyObject
* _obj0
= 0;
2180 char *_kwnames
[] = { "self","height", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2187 if (! wxRect_helper(_obj0
, &_arg0
))
2191 wxPy_BEGIN_ALLOW_THREADS
;
2192 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2194 wxPy_END_ALLOW_THREADS
;
2195 } _resultobj
= Py_BuildValue("i",_result
);
2199 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2200 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2205 PyObject
* _obj0
= 0;
2206 char *_kwnames
[] = { "self", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2213 if (! wxRect_helper(_obj0
, &_arg0
))
2217 wxPy_BEGIN_ALLOW_THREADS
;
2218 _result
= (int )wxRect_height_get(_arg0
);
2220 wxPy_END_ALLOW_THREADS
;
2221 } _resultobj
= Py_BuildValue("i",_result
);
2225 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2226 PyObject
* tup
= PyTuple_New(4);
2227 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2228 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2229 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2230 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2233 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
* _resultobj
;
2238 PyObject
* _obj0
= 0;
2239 char *_kwnames
[] = { "self", NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2246 if (! wxRect_helper(_obj0
, &_arg0
))
2250 wxPy_BEGIN_ALLOW_THREADS
;
2251 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2253 wxPy_END_ALLOW_THREADS
;
2255 _resultobj
= _result
;
2260 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2261 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2263 wxPyTimer
* _result
;
2265 PyObject
* _obj0
= 0;
2266 char *_kwnames
[] = { "notify", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
2276 wxPy_BEGIN_ALLOW_THREADS
;
2277 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2279 wxPy_END_ALLOW_THREADS
;
2281 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2282 _resultobj
= Py_BuildValue("s",_ptemp
);
2285 _resultobj
= Py_None
;
2290 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2291 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2294 PyObject
* _argo0
= 0;
2295 char *_kwnames
[] = { "self", NULL
};
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
2301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2308 wxPy_BEGIN_ALLOW_THREADS
;
2309 delete_wxPyTimer(_arg0
);
2311 wxPy_END_ALLOW_THREADS
;
2312 } Py_INCREF(Py_None
);
2313 _resultobj
= Py_None
;
2317 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
2318 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2322 PyObject
* _argo0
= 0;
2323 char *_kwnames
[] = { "self", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
2329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
2336 wxPy_BEGIN_ALLOW_THREADS
;
2337 _result
= (int )wxPyTimer_GetInterval(_arg0
);
2339 wxPy_END_ALLOW_THREADS
;
2340 } _resultobj
= Py_BuildValue("i",_result
);
2344 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
2345 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2349 PyObject
* _argo0
= 0;
2350 char *_kwnames
[] = { "self", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
2363 wxPy_BEGIN_ALLOW_THREADS
;
2364 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
2366 wxPy_END_ALLOW_THREADS
;
2367 } _resultobj
= Py_BuildValue("i",_result
);
2371 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2372 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2375 int _arg1
= (int ) -1;
2376 int _arg2
= (int ) FALSE
;
2377 PyObject
* _argo0
= 0;
2378 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2391 wxPy_BEGIN_ALLOW_THREADS
;
2392 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2394 wxPy_END_ALLOW_THREADS
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2400 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2401 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2404 PyObject
* _argo0
= 0;
2405 char *_kwnames
[] = { "self", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
2411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2418 wxPy_BEGIN_ALLOW_THREADS
;
2419 wxPyTimer_Stop(_arg0
);
2421 wxPy_END_ALLOW_THREADS
;
2422 } Py_INCREF(Py_None
);
2423 _resultobj
= Py_None
;
2427 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2428 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2430 wxIndividualLayoutConstraint
* _arg0
;
2432 int _arg2
= (int ) 0;
2433 PyObject
* _argo0
= 0;
2434 PyObject
* _argo1
= 0;
2435 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2448 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2455 wxPy_BEGIN_ALLOW_THREADS
;
2456 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2458 wxPy_END_ALLOW_THREADS
;
2459 } Py_INCREF(Py_None
);
2460 _resultobj
= Py_None
;
2464 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2465 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2467 wxIndividualLayoutConstraint
* _arg0
;
2469 PyObject
* _argo0
= 0;
2470 char *_kwnames
[] = { "self","value", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2483 wxPy_BEGIN_ALLOW_THREADS
;
2484 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2486 wxPy_END_ALLOW_THREADS
;
2487 } Py_INCREF(Py_None
);
2488 _resultobj
= Py_None
;
2492 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2493 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2495 wxIndividualLayoutConstraint
* _arg0
;
2496 PyObject
* _argo0
= 0;
2497 char *_kwnames
[] = { "self", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 wxIndividualLayoutConstraint_AsIs(_arg0
);
2513 wxPy_END_ALLOW_THREADS
;
2514 } Py_INCREF(Py_None
);
2515 _resultobj
= Py_None
;
2519 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2520 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2522 wxIndividualLayoutConstraint
* _arg0
;
2524 int _arg2
= (int ) 0;
2525 PyObject
* _argo0
= 0;
2526 PyObject
* _argo1
= 0;
2527 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2547 wxPy_BEGIN_ALLOW_THREADS
;
2548 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2550 wxPy_END_ALLOW_THREADS
;
2551 } Py_INCREF(Py_None
);
2552 _resultobj
= Py_None
;
2556 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2557 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2559 wxIndividualLayoutConstraint
* _arg0
;
2560 PyObject
* _argo0
= 0;
2561 char *_kwnames
[] = { "self", NULL
};
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
2567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2574 wxPy_BEGIN_ALLOW_THREADS
;
2575 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2577 wxPy_END_ALLOW_THREADS
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2583 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2584 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2586 wxIndividualLayoutConstraint
* _arg0
;
2588 int _arg2
= (int ) 0;
2589 PyObject
* _argo0
= 0;
2590 PyObject
* _argo1
= 0;
2591 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2611 wxPy_BEGIN_ALLOW_THREADS
;
2612 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2614 wxPy_END_ALLOW_THREADS
;
2615 } Py_INCREF(Py_None
);
2616 _resultobj
= Py_None
;
2620 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2621 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2623 wxIndividualLayoutConstraint
* _arg0
;
2627 PyObject
* _argo0
= 0;
2628 PyObject
* _argo1
= 0;
2629 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2649 wxPy_BEGIN_ALLOW_THREADS
;
2650 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2652 wxPy_END_ALLOW_THREADS
;
2653 } Py_INCREF(Py_None
);
2654 _resultobj
= Py_None
;
2658 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2659 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2661 wxIndividualLayoutConstraint
* _arg0
;
2663 int _arg2
= (int ) 0;
2664 PyObject
* _argo0
= 0;
2665 PyObject
* _argo1
= 0;
2666 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2686 wxPy_BEGIN_ALLOW_THREADS
;
2687 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2689 wxPy_END_ALLOW_THREADS
;
2690 } Py_INCREF(Py_None
);
2691 _resultobj
= Py_None
;
2695 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2696 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2698 wxIndividualLayoutConstraint
* _arg0
;
2701 int _arg3
= (int ) 0;
2702 PyObject
* _argo0
= 0;
2703 PyObject
* _argo1
= 0;
2704 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2717 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2724 wxPy_BEGIN_ALLOW_THREADS
;
2725 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2727 wxPy_END_ALLOW_THREADS
;
2728 } Py_INCREF(Py_None
);
2729 _resultobj
= Py_None
;
2733 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2734 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2736 wxIndividualLayoutConstraint
* _arg0
;
2737 wxRelationship _arg1
;
2740 int _arg4
= (int ) 0;
2741 int _arg5
= (int ) 0;
2742 PyObject
* _argo0
= 0;
2743 PyObject
* _argo2
= 0;
2744 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
2750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2757 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2764 wxPy_BEGIN_ALLOW_THREADS
;
2765 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2767 wxPy_END_ALLOW_THREADS
;
2768 } Py_INCREF(Py_None
);
2769 _resultobj
= Py_None
;
2773 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2774 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2776 wxLayoutConstraints
* _result
;
2777 char *_kwnames
[] = { NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
2784 wxPy_BEGIN_ALLOW_THREADS
;
2785 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2787 wxPy_END_ALLOW_THREADS
;
2789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2790 _resultobj
= Py_BuildValue("s",_ptemp
);
2793 _resultobj
= Py_None
;
2798 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2799 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
* _resultobj
;
2801 wxIndividualLayoutConstraint
* _result
;
2802 wxLayoutConstraints
* _arg0
;
2803 PyObject
* _argo0
= 0;
2804 char *_kwnames
[] = { "self", NULL
};
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
2811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2818 wxPy_BEGIN_ALLOW_THREADS
;
2819 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2821 wxPy_END_ALLOW_THREADS
;
2823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2824 _resultobj
= Py_BuildValue("s",_ptemp
);
2827 _resultobj
= Py_None
;
2832 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2833 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2835 wxIndividualLayoutConstraint
* _result
;
2836 wxLayoutConstraints
* _arg0
;
2837 PyObject
* _argo0
= 0;
2838 char *_kwnames
[] = { "self", NULL
};
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
2845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2852 wxPy_BEGIN_ALLOW_THREADS
;
2853 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2855 wxPy_END_ALLOW_THREADS
;
2857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2858 _resultobj
= Py_BuildValue("s",_ptemp
);
2861 _resultobj
= Py_None
;
2866 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2867 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2869 wxIndividualLayoutConstraint
* _result
;
2870 wxLayoutConstraints
* _arg0
;
2871 PyObject
* _argo0
= 0;
2872 char *_kwnames
[] = { "self", NULL
};
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
2879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2886 wxPy_BEGIN_ALLOW_THREADS
;
2887 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2889 wxPy_END_ALLOW_THREADS
;
2891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2892 _resultobj
= Py_BuildValue("s",_ptemp
);
2895 _resultobj
= Py_None
;
2900 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2901 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2903 wxIndividualLayoutConstraint
* _result
;
2904 wxLayoutConstraints
* _arg0
;
2905 PyObject
* _argo0
= 0;
2906 char *_kwnames
[] = { "self", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
2913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2920 wxPy_BEGIN_ALLOW_THREADS
;
2921 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2923 wxPy_END_ALLOW_THREADS
;
2925 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2926 _resultobj
= Py_BuildValue("s",_ptemp
);
2929 _resultobj
= Py_None
;
2934 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2935 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2937 wxIndividualLayoutConstraint
* _result
;
2938 wxLayoutConstraints
* _arg0
;
2939 PyObject
* _argo0
= 0;
2940 char *_kwnames
[] = { "self", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
2947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2954 wxPy_BEGIN_ALLOW_THREADS
;
2955 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2957 wxPy_END_ALLOW_THREADS
;
2959 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2960 _resultobj
= Py_BuildValue("s",_ptemp
);
2963 _resultobj
= Py_None
;
2968 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2969 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2971 wxIndividualLayoutConstraint
* _result
;
2972 wxLayoutConstraints
* _arg0
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2988 wxPy_BEGIN_ALLOW_THREADS
;
2989 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
2991 wxPy_END_ALLOW_THREADS
;
2993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2994 _resultobj
= Py_BuildValue("s",_ptemp
);
2997 _resultobj
= Py_None
;
3002 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3003 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3005 wxIndividualLayoutConstraint
* _result
;
3006 wxLayoutConstraints
* _arg0
;
3007 PyObject
* _argo0
= 0;
3008 char *_kwnames
[] = { "self", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3022 wxPy_BEGIN_ALLOW_THREADS
;
3023 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3025 wxPy_END_ALLOW_THREADS
;
3027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3028 _resultobj
= Py_BuildValue("s",_ptemp
);
3031 _resultobj
= Py_None
;
3036 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3037 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3039 wxIndividualLayoutConstraint
* _result
;
3040 wxLayoutConstraints
* _arg0
;
3041 PyObject
* _argo0
= 0;
3042 char *_kwnames
[] = { "self", NULL
};
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3056 wxPy_BEGIN_ALLOW_THREADS
;
3057 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3059 wxPy_END_ALLOW_THREADS
;
3061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3062 _resultobj
= Py_BuildValue("s",_ptemp
);
3065 _resultobj
= Py_None
;
3070 #define new_wxRegion() (new wxRegion())
3071 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3074 char *_kwnames
[] = { NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxRegion",_kwnames
))
3081 wxPy_BEGIN_ALLOW_THREADS
;
3082 _result
= (wxRegion
*)new_wxRegion();
3084 wxPy_END_ALLOW_THREADS
;
3086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3087 _resultobj
= Py_BuildValue("s",_ptemp
);
3090 _resultobj
= Py_None
;
3095 #define delete_wxRegion(_swigobj) (delete _swigobj)
3096 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
* _resultobj
;
3099 PyObject
* _argo0
= 0;
3100 char *_kwnames
[] = { "self", NULL
};
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3113 wxPy_BEGIN_ALLOW_THREADS
;
3114 delete_wxRegion(_arg0
);
3116 wxPy_END_ALLOW_THREADS
;
3117 } Py_INCREF(Py_None
);
3118 _resultobj
= Py_None
;
3122 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3123 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3126 PyObject
* _argo0
= 0;
3127 char *_kwnames
[] = { "self", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3140 wxPy_BEGIN_ALLOW_THREADS
;
3141 wxRegion_Clear(_arg0
);
3143 wxPy_END_ALLOW_THREADS
;
3144 } Py_INCREF(Py_None
);
3145 _resultobj
= Py_None
;
3149 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3150 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3152 wxRegionContain _result
;
3156 PyObject
* _argo0
= 0;
3157 char *_kwnames
[] = { "self","x","y", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3170 wxPy_BEGIN_ALLOW_THREADS
;
3171 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3173 wxPy_END_ALLOW_THREADS
;
3174 } _resultobj
= Py_BuildValue("i",_result
);
3178 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3179 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3181 wxRegionContain _result
;
3184 PyObject
* _argo0
= 0;
3186 PyObject
* _obj1
= 0;
3187 char *_kwnames
[] = { "self","pt", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3201 if (! wxPoint_helper(_obj1
, &_arg1
))
3205 wxPy_BEGIN_ALLOW_THREADS
;
3206 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3208 wxPy_END_ALLOW_THREADS
;
3209 } _resultobj
= Py_BuildValue("i",_result
);
3213 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3214 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3216 wxRegionContain _result
;
3219 PyObject
* _argo0
= 0;
3221 PyObject
* _obj1
= 0;
3222 char *_kwnames
[] = { "self","rect", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3236 if (! wxRect_helper(_obj1
, &_arg1
))
3240 wxPy_BEGIN_ALLOW_THREADS
;
3241 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3243 wxPy_END_ALLOW_THREADS
;
3244 } _resultobj
= Py_BuildValue("i",_result
);
3248 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3249 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
* _resultobj
;
3251 wxRegionContain _result
;
3257 PyObject
* _argo0
= 0;
3258 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3271 wxPy_BEGIN_ALLOW_THREADS
;
3272 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3274 wxPy_END_ALLOW_THREADS
;
3275 } _resultobj
= Py_BuildValue("i",_result
);
3279 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3280 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3284 PyObject
* _argo0
= 0;
3285 char *_kwnames
[] = { "self", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3299 wxPy_BEGIN_ALLOW_THREADS
;
3300 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3302 wxPy_END_ALLOW_THREADS
;
3303 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3304 _resultobj
= Py_BuildValue("s",_ptemp
);
3308 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3309 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3317 PyObject
* _argo0
= 0;
3318 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3331 wxPy_BEGIN_ALLOW_THREADS
;
3332 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3334 wxPy_END_ALLOW_THREADS
;
3335 } _resultobj
= Py_BuildValue("i",_result
);
3339 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3340 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3345 PyObject
* _argo0
= 0;
3347 PyObject
* _obj1
= 0;
3348 char *_kwnames
[] = { "self","rect", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3362 if (! wxRect_helper(_obj1
, &_arg1
))
3366 wxPy_BEGIN_ALLOW_THREADS
;
3367 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3369 wxPy_END_ALLOW_THREADS
;
3370 } _resultobj
= Py_BuildValue("i",_result
);
3374 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3375 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
* _resultobj
;
3380 PyObject
* _argo0
= 0;
3381 PyObject
* _argo1
= 0;
3382 char *_kwnames
[] = { "self","region", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3402 wxPy_BEGIN_ALLOW_THREADS
;
3403 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3405 wxPy_END_ALLOW_THREADS
;
3406 } _resultobj
= Py_BuildValue("i",_result
);
3410 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3411 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
* _resultobj
;
3415 PyObject
* _argo0
= 0;
3416 char *_kwnames
[] = { "self", NULL
};
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3429 wxPy_BEGIN_ALLOW_THREADS
;
3430 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3432 wxPy_END_ALLOW_THREADS
;
3433 } _resultobj
= Py_BuildValue("i",_result
);
3437 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3438 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3446 PyObject
* _argo0
= 0;
3447 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3460 wxPy_BEGIN_ALLOW_THREADS
;
3461 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3463 wxPy_END_ALLOW_THREADS
;
3464 } _resultobj
= Py_BuildValue("i",_result
);
3468 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3469 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
* _resultobj
;
3474 PyObject
* _argo0
= 0;
3476 PyObject
* _obj1
= 0;
3477 char *_kwnames
[] = { "self","rect", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3491 if (! wxRect_helper(_obj1
, &_arg1
))
3495 wxPy_BEGIN_ALLOW_THREADS
;
3496 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3498 wxPy_END_ALLOW_THREADS
;
3499 } _resultobj
= Py_BuildValue("i",_result
);
3503 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3504 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
* _resultobj
;
3509 PyObject
* _argo0
= 0;
3510 PyObject
* _argo1
= 0;
3511 char *_kwnames
[] = { "self","region", NULL
};
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3531 wxPy_BEGIN_ALLOW_THREADS
;
3532 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
3534 wxPy_END_ALLOW_THREADS
;
3535 } _resultobj
= Py_BuildValue("i",_result
);
3539 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3540 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3562 wxPy_BEGIN_ALLOW_THREADS
;
3563 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3565 wxPy_END_ALLOW_THREADS
;
3566 } _resultobj
= Py_BuildValue("i",_result
);
3570 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3571 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3576 PyObject
* _argo0
= 0;
3578 PyObject
* _obj1
= 0;
3579 char *_kwnames
[] = { "self","rect", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
3593 if (! wxRect_helper(_obj1
, &_arg1
))
3597 wxPy_BEGIN_ALLOW_THREADS
;
3598 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
3600 wxPy_END_ALLOW_THREADS
;
3601 } _resultobj
= Py_BuildValue("i",_result
);
3605 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3606 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
* _resultobj
;
3611 PyObject
* _argo0
= 0;
3612 PyObject
* _argo1
= 0;
3613 char *_kwnames
[] = { "self","region", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
3626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
3633 wxPy_BEGIN_ALLOW_THREADS
;
3634 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
3636 wxPy_END_ALLOW_THREADS
;
3637 } _resultobj
= Py_BuildValue("i",_result
);
3641 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3642 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3650 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3664 wxPy_BEGIN_ALLOW_THREADS
;
3665 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3667 wxPy_END_ALLOW_THREADS
;
3668 } _resultobj
= Py_BuildValue("i",_result
);
3672 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3673 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
* _resultobj
;
3678 PyObject
* _argo0
= 0;
3680 PyObject
* _obj1
= 0;
3681 char *_kwnames
[] = { "self","rect", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
3695 if (! wxRect_helper(_obj1
, &_arg1
))
3699 wxPy_BEGIN_ALLOW_THREADS
;
3700 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
3702 wxPy_END_ALLOW_THREADS
;
3703 } _resultobj
= Py_BuildValue("i",_result
);
3707 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3708 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3713 PyObject
* _argo0
= 0;
3714 PyObject
* _argo1
= 0;
3715 char *_kwnames
[] = { "self","region", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
3721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
3728 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
3735 wxPy_BEGIN_ALLOW_THREADS
;
3736 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
3738 wxPy_END_ALLOW_THREADS
;
3739 } _resultobj
= Py_BuildValue("i",_result
);
3743 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3744 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3746 wxRegionIterator
* _result
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "region", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3763 wxPy_BEGIN_ALLOW_THREADS
;
3764 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3766 wxPy_END_ALLOW_THREADS
;
3768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3769 _resultobj
= Py_BuildValue("s",_ptemp
);
3772 _resultobj
= Py_None
;
3777 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3778 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3780 wxRegionIterator
* _arg0
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3795 wxPy_BEGIN_ALLOW_THREADS
;
3796 delete_wxRegionIterator(_arg0
);
3798 wxPy_END_ALLOW_THREADS
;
3799 } Py_INCREF(Py_None
);
3800 _resultobj
= Py_None
;
3804 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3805 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
* _resultobj
;
3808 wxRegionIterator
* _arg0
;
3809 PyObject
* _argo0
= 0;
3810 char *_kwnames
[] = { "self", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
3816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3823 wxPy_BEGIN_ALLOW_THREADS
;
3824 _result
= (long )wxRegionIterator_GetX(_arg0
);
3826 wxPy_END_ALLOW_THREADS
;
3827 } _resultobj
= Py_BuildValue("l",_result
);
3831 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3832 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3835 wxRegionIterator
* _arg0
;
3836 PyObject
* _argo0
= 0;
3837 char *_kwnames
[] = { "self", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3850 wxPy_BEGIN_ALLOW_THREADS
;
3851 _result
= (long )wxRegionIterator_GetY(_arg0
);
3853 wxPy_END_ALLOW_THREADS
;
3854 } _resultobj
= Py_BuildValue("l",_result
);
3858 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3859 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3862 wxRegionIterator
* _arg0
;
3863 PyObject
* _argo0
= 0;
3864 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3877 wxPy_BEGIN_ALLOW_THREADS
;
3878 _result
= (long )wxRegionIterator_GetW(_arg0
);
3880 wxPy_END_ALLOW_THREADS
;
3881 } _resultobj
= Py_BuildValue("l",_result
);
3885 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3886 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3889 wxRegionIterator
* _arg0
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self", NULL
};
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
3897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3904 wxPy_BEGIN_ALLOW_THREADS
;
3905 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3907 wxPy_END_ALLOW_THREADS
;
3908 } _resultobj
= Py_BuildValue("l",_result
);
3912 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3913 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
* _resultobj
;
3916 wxRegionIterator
* _arg0
;
3917 PyObject
* _argo0
= 0;
3918 char *_kwnames
[] = { "self", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 _result
= (long )wxRegionIterator_GetH(_arg0
);
3934 wxPy_END_ALLOW_THREADS
;
3935 } _resultobj
= Py_BuildValue("l",_result
);
3939 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3940 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3943 wxRegionIterator
* _arg0
;
3944 PyObject
* _argo0
= 0;
3945 char *_kwnames
[] = { "self", NULL
};
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
3951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3958 wxPy_BEGIN_ALLOW_THREADS
;
3959 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3961 wxPy_END_ALLOW_THREADS
;
3962 } _resultobj
= Py_BuildValue("l",_result
);
3966 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3967 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
* _resultobj
;
3970 wxRegionIterator
* _arg0
;
3971 PyObject
* _argo0
= 0;
3972 char *_kwnames
[] = { "self", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3986 wxPy_BEGIN_ALLOW_THREADS
;
3987 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3989 wxPy_END_ALLOW_THREADS
;
3990 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3991 _resultobj
= Py_BuildValue("s",_ptemp
);
3995 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3996 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
* _resultobj
;
3999 wxRegionIterator
* _arg0
;
4000 PyObject
* _argo0
= 0;
4001 char *_kwnames
[] = { "self", NULL
};
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4014 wxPy_BEGIN_ALLOW_THREADS
;
4015 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4017 wxPy_END_ALLOW_THREADS
;
4018 } _resultobj
= Py_BuildValue("i",_result
);
4022 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4023 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
* _resultobj
;
4025 wxRegionIterator
* _arg0
;
4026 PyObject
* _argo0
= 0;
4027 char *_kwnames
[] = { "self", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 wxRegionIterator_Reset(_arg0
);
4043 wxPy_END_ALLOW_THREADS
;
4044 } Py_INCREF(Py_None
);
4045 _resultobj
= Py_None
;
4049 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4052 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4054 wxRegionIterator
* _arg0
;
4055 PyObject
* _argo0
= 0;
4056 char *_kwnames
[] = { "self", NULL
};
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4069 wxPy_BEGIN_ALLOW_THREADS
;
4070 wxRegionIterator_Next(_arg0
);
4072 wxPy_END_ALLOW_THREADS
;
4073 } Py_INCREF(Py_None
);
4074 _resultobj
= Py_None
;
4078 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4079 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
* _resultobj
;
4081 wxAcceleratorEntry
* _result
;
4082 int _arg0
= (int ) 0;
4083 int _arg1
= (int ) 0;
4084 int _arg2
= (int ) 0;
4085 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4092 wxPy_BEGIN_ALLOW_THREADS
;
4093 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4095 wxPy_END_ALLOW_THREADS
;
4097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4098 _resultobj
= Py_BuildValue("s",_ptemp
);
4101 _resultobj
= Py_None
;
4106 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4107 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
* _resultobj
;
4109 wxAcceleratorEntry
* _arg0
;
4110 PyObject
* _argo0
= 0;
4111 char *_kwnames
[] = { "self", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4124 wxPy_BEGIN_ALLOW_THREADS
;
4125 delete_wxAcceleratorEntry(_arg0
);
4127 wxPy_END_ALLOW_THREADS
;
4128 } Py_INCREF(Py_None
);
4129 _resultobj
= Py_None
;
4133 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4134 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
* _resultobj
;
4136 wxAcceleratorEntry
* _arg0
;
4140 PyObject
* _argo0
= 0;
4141 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4154 wxPy_BEGIN_ALLOW_THREADS
;
4155 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4157 wxPy_END_ALLOW_THREADS
;
4158 } Py_INCREF(Py_None
);
4159 _resultobj
= Py_None
;
4163 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4164 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
* _resultobj
;
4167 wxAcceleratorEntry
* _arg0
;
4168 PyObject
* _argo0
= 0;
4169 char *_kwnames
[] = { "self", NULL
};
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4182 wxPy_BEGIN_ALLOW_THREADS
;
4183 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4185 wxPy_END_ALLOW_THREADS
;
4186 } _resultobj
= Py_BuildValue("i",_result
);
4190 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4191 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
* _resultobj
;
4194 wxAcceleratorEntry
* _arg0
;
4195 PyObject
* _argo0
= 0;
4196 char *_kwnames
[] = { "self", NULL
};
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4209 wxPy_BEGIN_ALLOW_THREADS
;
4210 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4212 wxPy_END_ALLOW_THREADS
;
4213 } _resultobj
= Py_BuildValue("i",_result
);
4217 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4218 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
* _resultobj
;
4221 wxAcceleratorEntry
* _arg0
;
4222 PyObject
* _argo0
= 0;
4223 char *_kwnames
[] = { "self", NULL
};
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4236 wxPy_BEGIN_ALLOW_THREADS
;
4237 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4239 wxPy_END_ALLOW_THREADS
;
4240 } _resultobj
= Py_BuildValue("i",_result
);
4244 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4245 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4247 wxAcceleratorTable
* _result
;
4249 wxAcceleratorEntry
* _arg1
;
4250 PyObject
* _obj1
= 0;
4251 char *_kwnames
[] = { "LIST", NULL
};
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4259 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4260 if (_arg1
== NULL
) {
4266 _arg0
= PyList_Size(_obj1
);
4273 wxPy_BEGIN_ALLOW_THREADS
;
4274 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4276 wxPy_END_ALLOW_THREADS
;
4278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4279 _resultobj
= Py_BuildValue("s",_ptemp
);
4282 _resultobj
= Py_None
;
4290 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4291 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
* _resultobj
;
4293 wxAcceleratorTable
* _arg0
;
4294 PyObject
* _argo0
= 0;
4295 char *_kwnames
[] = { "self", NULL
};
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4308 wxPy_BEGIN_ALLOW_THREADS
;
4309 delete_wxAcceleratorTable(_arg0
);
4311 wxPy_END_ALLOW_THREADS
;
4312 } Py_INCREF(Py_None
);
4313 _resultobj
= Py_None
;
4317 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4318 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
* _resultobj
;
4320 wxBusyInfo
* _result
;
4322 PyObject
* _obj0
= 0;
4323 char *_kwnames
[] = { "message", NULL
};
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4330 if (!PyString_Check(_obj0
)) {
4331 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4334 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4337 wxPy_BEGIN_ALLOW_THREADS
;
4338 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4340 wxPy_END_ALLOW_THREADS
;
4342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4343 _resultobj
= Py_BuildValue("s",_ptemp
);
4346 _resultobj
= Py_None
;
4355 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4356 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
* _resultobj
;
4359 PyObject
* _argo0
= 0;
4360 char *_kwnames
[] = { "self", NULL
};
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4373 wxPy_BEGIN_ALLOW_THREADS
;
4374 delete_wxBusyInfo(_arg0
);
4376 wxPy_END_ALLOW_THREADS
;
4377 } Py_INCREF(Py_None
);
4378 _resultobj
= Py_None
;
4382 static PyMethodDef misccMethods
[] = {
4383 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4384 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4385 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4386 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4387 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4388 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4389 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4390 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4391 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4392 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4393 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4394 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4395 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4396 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4397 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4398 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4399 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4400 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4401 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4402 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4403 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4404 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4405 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4406 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4407 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4408 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4409 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4410 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4411 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4412 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4413 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4414 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4415 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4416 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4417 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4418 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4419 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4420 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4421 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4422 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4423 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4424 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4425 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4426 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4427 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4428 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4429 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4430 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4431 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4432 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4433 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4434 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4435 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4436 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4437 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4438 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4439 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4440 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4441 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4442 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4443 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4444 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4445 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
4446 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
4447 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
4448 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
4449 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4450 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4451 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4452 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4453 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4454 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4455 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4456 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4457 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4458 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4459 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4460 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4461 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4462 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4463 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4464 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4465 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4466 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4467 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4468 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4469 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4470 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4471 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4472 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4473 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4474 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4475 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4476 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4477 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4478 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4479 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4480 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4481 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4482 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4483 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4484 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4485 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4486 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4487 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4488 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4489 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4490 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4491 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4492 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4493 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4494 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4495 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4496 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4497 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4498 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4499 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4500 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4501 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4502 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4503 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4504 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4505 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4506 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4507 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4508 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4509 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4510 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4511 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4512 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4513 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4514 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4515 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4516 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4517 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
4518 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4519 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4520 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4521 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4522 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4523 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4524 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4525 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4526 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4527 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
4528 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4529 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
4530 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4531 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4532 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4533 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4534 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4535 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4542 * This table is used by the pointer type-checker
4544 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4545 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4546 { "_signed_long","_long",0},
4547 { "_wxPrintQuality","_wxCoord",0},
4548 { "_wxPrintQuality","_int",0},
4549 { "_wxPrintQuality","_signed_int",0},
4550 { "_wxPrintQuality","_unsigned_int",0},
4551 { "_wxPrintQuality","_wxWindowID",0},
4552 { "_wxPrintQuality","_uint",0},
4553 { "_wxPrintQuality","_EBool",0},
4554 { "_wxPrintQuality","_size_t",0},
4555 { "_class_wxRegionIterator","_wxRegionIterator",0},
4556 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4557 { "_byte","_unsigned_char",0},
4558 { "_long","_unsigned_long",0},
4559 { "_long","_signed_long",0},
4560 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4561 { "_size_t","_wxCoord",0},
4562 { "_size_t","_wxPrintQuality",0},
4563 { "_size_t","_unsigned_int",0},
4564 { "_size_t","_int",0},
4565 { "_size_t","_wxWindowID",0},
4566 { "_size_t","_uint",0},
4567 { "_class_wxRealPoint","_wxRealPoint",0},
4568 { "_uint","_wxCoord",0},
4569 { "_uint","_wxPrintQuality",0},
4570 { "_uint","_size_t",0},
4571 { "_uint","_unsigned_int",0},
4572 { "_uint","_int",0},
4573 { "_uint","_wxWindowID",0},
4574 { "_wxRect","_class_wxRect",0},
4575 { "_wxPoint","_class_wxPoint",0},
4576 { "_wxPyTimer","_class_wxPyTimer",0},
4577 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4578 { "_EBool","_wxCoord",0},
4579 { "_EBool","_wxPrintQuality",0},
4580 { "_EBool","_signed_int",0},
4581 { "_EBool","_int",0},
4582 { "_EBool","_wxWindowID",0},
4583 { "_class_wxRegion","_wxRegion",0},
4584 { "_unsigned_long","_long",0},
4585 { "_class_wxRect","_wxRect",0},
4586 { "_class_wxPyTimer","_wxPyTimer",0},
4587 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4588 { "_signed_int","_wxCoord",0},
4589 { "_signed_int","_wxPrintQuality",0},
4590 { "_signed_int","_EBool",0},
4591 { "_signed_int","_wxWindowID",0},
4592 { "_signed_int","_int",0},
4593 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4594 { "_WXTYPE","_short",0},
4595 { "_WXTYPE","_signed_short",0},
4596 { "_WXTYPE","_unsigned_short",0},
4597 { "_unsigned_short","_WXTYPE",0},
4598 { "_unsigned_short","_short",0},
4599 { "_wxBusyInfo","_class_wxBusyInfo",0},
4600 { "_class_wxPoint","_wxPoint",0},
4601 { "_wxRealPoint","_class_wxRealPoint",0},
4602 { "_signed_short","_WXTYPE",0},
4603 { "_signed_short","_short",0},
4604 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4605 { "_unsigned_char","_byte",0},
4606 { "_unsigned_int","_wxCoord",0},
4607 { "_unsigned_int","_wxPrintQuality",0},
4608 { "_unsigned_int","_size_t",0},
4609 { "_unsigned_int","_uint",0},
4610 { "_unsigned_int","_wxWindowID",0},
4611 { "_unsigned_int","_int",0},
4612 { "_short","_WXTYPE",0},
4613 { "_short","_unsigned_short",0},
4614 { "_short","_signed_short",0},
4615 { "_wxWindowID","_wxCoord",0},
4616 { "_wxWindowID","_wxPrintQuality",0},
4617 { "_wxWindowID","_size_t",0},
4618 { "_wxWindowID","_EBool",0},
4619 { "_wxWindowID","_uint",0},
4620 { "_wxWindowID","_int",0},
4621 { "_wxWindowID","_signed_int",0},
4622 { "_wxWindowID","_unsigned_int",0},
4623 { "_int","_wxCoord",0},
4624 { "_int","_wxPrintQuality",0},
4625 { "_int","_size_t",0},
4626 { "_int","_EBool",0},
4627 { "_int","_uint",0},
4628 { "_int","_wxWindowID",0},
4629 { "_int","_unsigned_int",0},
4630 { "_int","_signed_int",0},
4631 { "_wxSize","_class_wxSize",0},
4632 { "_wxRegionIterator","_class_wxRegionIterator",0},
4633 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4634 { "_wxCoord","_int",0},
4635 { "_wxCoord","_signed_int",0},
4636 { "_wxCoord","_unsigned_int",0},
4637 { "_wxCoord","_wxWindowID",0},
4638 { "_wxCoord","_uint",0},
4639 { "_wxCoord","_EBool",0},
4640 { "_wxCoord","_size_t",0},
4641 { "_wxCoord","_wxPrintQuality",0},
4642 { "_wxRegion","_class_wxRegion",0},
4643 { "_class_wxBusyInfo","_wxBusyInfo",0},
4644 { "_class_wxSize","_wxSize",0},
4647 static PyObject
*SWIG_globals
;
4651 SWIGEXPORT(void) initmiscc() {
4653 SWIG_globals
= SWIG_newvarlink();
4654 m
= Py_InitModule("miscc", misccMethods
);
4655 d
= PyModule_GetDict(m
);
4656 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4657 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4658 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4659 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4660 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4661 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4662 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4663 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4664 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4665 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4666 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4667 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4668 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4669 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4670 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4671 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4672 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4673 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4674 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4675 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4676 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4677 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4680 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4681 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);