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
);
137 #if 0 // we want to use the definition from the header, not the
138 // one SWIG will generate.
139 extern wxAcceleratorTable wxNullAcceleratorTable
;
145 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
146 PyObject
* _resultobj
;
151 PyObject
* _obj0
= 0;
153 PyObject
* _obj1
= 0;
154 char *_kwnames
[] = { "r1","r2", NULL
};
157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
161 if (! wxRect_helper(_obj0
, &_arg0
))
166 if (! wxRect_helper(_obj1
, &_arg1
))
170 wxPy_BEGIN_ALLOW_THREADS
;
171 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
173 wxPy_END_ALLOW_THREADS
;
175 _resultobj
= _result
;
180 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
183 char *_kwnames
[] = { NULL
};
186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
189 wxPy_BEGIN_ALLOW_THREADS
;
190 _result
= (long )wxNewId();
192 wxPy_END_ALLOW_THREADS
;
193 } _resultobj
= Py_BuildValue("l",_result
);
197 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
200 char *_kwnames
[] = { "id", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
206 wxPy_BEGIN_ALLOW_THREADS
;
209 wxPy_END_ALLOW_THREADS
;
210 } Py_INCREF(Py_None
);
211 _resultobj
= Py_None
;
215 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
216 PyObject
* _resultobj
;
218 char *_kwnames
[] = { NULL
};
221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
224 wxPy_BEGIN_ALLOW_THREADS
;
225 _result
= (long )wxNewId();
227 wxPy_END_ALLOW_THREADS
;
228 } _resultobj
= Py_BuildValue("l",_result
);
232 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
233 PyObject
* _resultobj
;
235 char *_kwnames
[] = { "id", NULL
};
238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
241 wxPy_BEGIN_ALLOW_THREADS
;
244 wxPy_END_ALLOW_THREADS
;
245 } Py_INCREF(Py_None
);
246 _resultobj
= Py_None
;
250 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
251 PyObject
* _resultobj
;
252 char *_kwnames
[] = { NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
258 wxPy_BEGIN_ALLOW_THREADS
;
261 wxPy_END_ALLOW_THREADS
;
262 } Py_INCREF(Py_None
);
263 _resultobj
= Py_None
;
267 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
268 PyObject
* _resultobj
;
273 char *_kwnames
[] = { NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
285 wxPy_BEGIN_ALLOW_THREADS
;
286 wxDisplaySize(_arg0
,_arg1
);
288 wxPy_END_ALLOW_THREADS
;
289 } Py_INCREF(Py_None
);
290 _resultobj
= Py_None
;
293 o
= PyInt_FromLong((long) (*_arg0
));
294 _resultobj
= t_output_helper(_resultobj
, o
);
298 o
= PyInt_FromLong((long) (*_arg1
));
299 _resultobj
= t_output_helper(_resultobj
, o
);
304 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
305 PyObject
* _resultobj
;
306 char *_kwnames
[] = { NULL
};
309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
312 wxPy_BEGIN_ALLOW_THREADS
;
315 wxPy_END_ALLOW_THREADS
;
316 } Py_INCREF(Py_None
);
317 _resultobj
= Py_None
;
321 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
325 int _arg1
= (int ) FALSE
;
326 PyObject
* _obj0
= 0;
327 char *_kwnames
[] = { "command","sync", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxExecute",_kwnames
,&_obj0
,&_arg1
))
333 if (!PyString_Check(_obj0
)) {
334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
337 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
340 wxPy_BEGIN_ALLOW_THREADS
;
341 _result
= (long )wxExecute(*_arg0
,_arg1
);
343 wxPy_END_ALLOW_THREADS
;
344 } _resultobj
= Py_BuildValue("l",_result
);
352 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
353 PyObject
* _resultobj
;
355 bool _arg0
= (bool ) TRUE
;
356 int tempbool0
= (int) TRUE
;
357 char *_kwnames
[] = { "resetTimer", NULL
};
360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
362 _arg0
= (bool ) tempbool0
;
364 wxPy_BEGIN_ALLOW_THREADS
;
365 _result
= (long )wxGetElapsedTime(_arg0
);
367 wxPy_END_ALLOW_THREADS
;
368 } _resultobj
= Py_BuildValue("l",_result
);
372 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
378 char *_kwnames
[] = { NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
390 wxPy_BEGIN_ALLOW_THREADS
;
391 wxGetMousePosition(_arg0
,_arg1
);
393 wxPy_END_ALLOW_THREADS
;
394 } Py_INCREF(Py_None
);
395 _resultobj
= Py_None
;
398 o
= PyInt_FromLong((long) (*_arg0
));
399 _resultobj
= t_output_helper(_resultobj
, o
);
403 o
= PyInt_FromLong((long) (*_arg1
));
404 _resultobj
= t_output_helper(_resultobj
, o
);
409 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
410 PyObject
* _resultobj
;
412 char *_kwnames
[] = { NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
418 wxPy_BEGIN_ALLOW_THREADS
;
419 _result
= (bool )wxIsBusy();
421 wxPy_END_ALLOW_THREADS
;
422 } _resultobj
= Py_BuildValue("i",_result
);
426 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
427 PyObject
* _resultobj
;
429 char *_kwnames
[] = { NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= new wxString (wxNow());
438 wxPy_END_ALLOW_THREADS
;
440 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
448 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
451 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
452 PyObject
* _obj0
= 0;
453 char *_kwnames
[] = { "command", NULL
};
456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
460 if (!PyString_Check(_obj0
)) {
461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
464 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
467 wxPy_BEGIN_ALLOW_THREADS
;
468 _result
= (bool )wxShell(*_arg0
);
470 wxPy_END_ALLOW_THREADS
;
471 } _resultobj
= Py_BuildValue("i",_result
);
479 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
481 char *_kwnames
[] = { NULL
};
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
487 wxPy_BEGIN_ALLOW_THREADS
;
490 wxPy_END_ALLOW_THREADS
;
491 } Py_INCREF(Py_None
);
492 _resultobj
= Py_None
;
496 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
497 PyObject
* _resultobj
;
503 char *_kwnames
[] = { NULL
};
512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
515 wxPy_BEGIN_ALLOW_THREADS
;
516 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
518 wxPy_END_ALLOW_THREADS
;
519 } _resultobj
= Py_BuildValue("i",_result
);
522 o
= PyInt_FromLong((long) (*_arg0
));
523 _resultobj
= t_output_helper(_resultobj
, o
);
527 o
= PyInt_FromLong((long) (*_arg1
));
528 _resultobj
= t_output_helper(_resultobj
, o
);
533 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
534 PyObject
* _resultobj
;
536 char *_kwnames
[] = { "secs", NULL
};
539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
542 wxPy_BEGIN_ALLOW_THREADS
;
545 wxPy_END_ALLOW_THREADS
;
546 } Py_INCREF(Py_None
);
547 _resultobj
= Py_None
;
551 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
554 char *_kwnames
[] = { NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
560 wxPy_BEGIN_ALLOW_THREADS
;
561 _result
= (bool )wxYield();
563 wxPy_END_ALLOW_THREADS
;
564 } _resultobj
= Py_BuildValue("i",_result
);
568 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
571 char *_kwnames
[] = { NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSafeYield",_kwnames
))
577 wxPy_BEGIN_ALLOW_THREADS
;
578 _result
= (bool )wxSafeYield();
580 wxPy_END_ALLOW_THREADS
;
581 } _resultobj
= Py_BuildValue("i",_result
);
585 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
589 char *_kwnames
[] = { "enable", NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
594 _arg0
= (bool ) tempbool0
;
596 wxPy_BEGIN_ALLOW_THREADS
;
597 wxEnableTopLevelWindows(_arg0
);
599 wxPy_END_ALLOW_THREADS
;
600 } Py_INCREF(Py_None
);
601 _resultobj
= Py_None
;
605 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
610 char * _arg2
= (char *) NULL
;
611 char *_kwnames
[] = { "section","entry","file", NULL
};
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
617 wxPy_BEGIN_ALLOW_THREADS
;
618 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
620 wxPy_END_ALLOW_THREADS
;
621 } _resultobj
= Py_BuildValue("s", _result
);
625 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
626 PyObject
* _resultobj
;
629 PyObject
* _obj0
= 0;
630 char *_kwnames
[] = { "in", NULL
};
633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
636 if (!PyString_Check(_obj0
)) {
637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
640 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
643 wxPy_BEGIN_ALLOW_THREADS
;
644 _result
= new wxString (wxStripMenuCodes(*_arg0
));
646 wxPy_END_ALLOW_THREADS
;
648 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
660 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
662 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
666 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
670 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
671 pyobj
= PyString_FromString(ptemp
);
675 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
676 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
682 PyObject
* _obj0
= 0;
683 char *_kwnames
[] = { "self","x", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
690 if (! wxSize_helper(_obj0
, &_arg0
))
694 wxPy_BEGIN_ALLOW_THREADS
;
695 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
697 wxPy_END_ALLOW_THREADS
;
698 } _resultobj
= Py_BuildValue("l",_result
);
702 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
703 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
708 PyObject
* _obj0
= 0;
709 char *_kwnames
[] = { "self", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
716 if (! wxSize_helper(_obj0
, &_arg0
))
720 wxPy_BEGIN_ALLOW_THREADS
;
721 _result
= (long )wxSize_x_get(_arg0
);
723 wxPy_END_ALLOW_THREADS
;
724 } _resultobj
= Py_BuildValue("l",_result
);
728 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
729 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
735 PyObject
* _obj0
= 0;
736 char *_kwnames
[] = { "self","y", NULL
};
739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
743 if (! wxSize_helper(_obj0
, &_arg0
))
747 wxPy_BEGIN_ALLOW_THREADS
;
748 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
750 wxPy_END_ALLOW_THREADS
;
751 } _resultobj
= Py_BuildValue("l",_result
);
755 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
756 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
761 PyObject
* _obj0
= 0;
762 char *_kwnames
[] = { "self", NULL
};
765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
769 if (! wxSize_helper(_obj0
, &_arg0
))
773 wxPy_BEGIN_ALLOW_THREADS
;
774 _result
= (long )wxSize_y_get(_arg0
);
776 wxPy_END_ALLOW_THREADS
;
777 } _resultobj
= Py_BuildValue("l",_result
);
781 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
782 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
785 long _arg0
= (long ) 0;
786 long _arg1
= (long ) 0;
787 char *_kwnames
[] = { "w","h", NULL
};
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
794 wxPy_BEGIN_ALLOW_THREADS
;
795 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
797 wxPy_END_ALLOW_THREADS
;
799 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
800 _resultobj
= Py_BuildValue("s",_ptemp
);
803 _resultobj
= Py_None
;
808 #define delete_wxSize(_swigobj) (delete _swigobj)
809 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 PyObject
* _resultobj
;
813 PyObject
* _obj0
= 0;
814 char *_kwnames
[] = { "self", NULL
};
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
821 if (! wxSize_helper(_obj0
, &_arg0
))
825 wxPy_BEGIN_ALLOW_THREADS
;
826 delete_wxSize(_arg0
);
828 wxPy_END_ALLOW_THREADS
;
829 } Py_INCREF(Py_None
);
830 _resultobj
= Py_None
;
834 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
835 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
841 PyObject
* _obj0
= 0;
842 char *_kwnames
[] = { "self","w","h", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
849 if (! wxSize_helper(_obj0
, &_arg0
))
853 wxPy_BEGIN_ALLOW_THREADS
;
854 wxSize_Set(_arg0
,_arg1
,_arg2
);
856 wxPy_END_ALLOW_THREADS
;
857 } Py_INCREF(Py_None
);
858 _resultobj
= Py_None
;
862 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
863 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
868 PyObject
* _obj0
= 0;
869 char *_kwnames
[] = { "self", NULL
};
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
876 if (! wxSize_helper(_obj0
, &_arg0
))
880 wxPy_BEGIN_ALLOW_THREADS
;
881 _result
= (long )wxSize_GetX(_arg0
);
883 wxPy_END_ALLOW_THREADS
;
884 } _resultobj
= Py_BuildValue("l",_result
);
888 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
889 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
894 PyObject
* _obj0
= 0;
895 char *_kwnames
[] = { "self", NULL
};
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
902 if (! wxSize_helper(_obj0
, &_arg0
))
906 wxPy_BEGIN_ALLOW_THREADS
;
907 _result
= (long )wxSize_GetY(_arg0
);
909 wxPy_END_ALLOW_THREADS
;
910 } _resultobj
= Py_BuildValue("l",_result
);
914 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
915 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
920 PyObject
* _obj0
= 0;
921 char *_kwnames
[] = { "self", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
928 if (! wxSize_helper(_obj0
, &_arg0
))
932 wxPy_BEGIN_ALLOW_THREADS
;
933 _result
= (long )wxSize_GetWidth(_arg0
);
935 wxPy_END_ALLOW_THREADS
;
936 } _resultobj
= Py_BuildValue("l",_result
);
940 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
941 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
946 PyObject
* _obj0
= 0;
947 char *_kwnames
[] = { "self", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
954 if (! wxSize_helper(_obj0
, &_arg0
))
958 wxPy_BEGIN_ALLOW_THREADS
;
959 _result
= (long )wxSize_GetHeight(_arg0
);
961 wxPy_END_ALLOW_THREADS
;
962 } _resultobj
= Py_BuildValue("l",_result
);
966 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
967 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
972 PyObject
* _obj0
= 0;
973 char *_kwnames
[] = { "self","w", NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
980 if (! wxSize_helper(_obj0
, &_arg0
))
984 wxPy_BEGIN_ALLOW_THREADS
;
985 wxSize_SetWidth(_arg0
,_arg1
);
987 wxPy_END_ALLOW_THREADS
;
988 } Py_INCREF(Py_None
);
989 _resultobj
= Py_None
;
993 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
994 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
999 PyObject
* _obj0
= 0;
1000 char *_kwnames
[] = { "self","h", NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1007 if (! wxSize_helper(_obj0
, &_arg0
))
1011 wxPy_BEGIN_ALLOW_THREADS
;
1012 wxSize_SetHeight(_arg0
,_arg1
);
1014 wxPy_END_ALLOW_THREADS
;
1015 } Py_INCREF(Py_None
);
1016 _resultobj
= Py_None
;
1020 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1021 PyObject
* tup
= PyTuple_New(2);
1022 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1023 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1026 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1031 PyObject
* _obj0
= 0;
1032 char *_kwnames
[] = { "self", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1039 if (! wxSize_helper(_obj0
, &_arg0
))
1043 wxPy_BEGIN_ALLOW_THREADS
;
1044 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1046 wxPy_END_ALLOW_THREADS
;
1048 _resultobj
= _result
;
1053 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1054 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1057 wxRealPoint
* _arg0
;
1060 PyObject
* _obj0
= 0;
1061 char *_kwnames
[] = { "self","x", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1068 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1072 wxPy_BEGIN_ALLOW_THREADS
;
1073 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1075 wxPy_END_ALLOW_THREADS
;
1076 } _resultobj
= Py_BuildValue("d",_result
);
1080 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1081 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1084 wxRealPoint
* _arg0
;
1086 PyObject
* _obj0
= 0;
1087 char *_kwnames
[] = { "self", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1094 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1098 wxPy_BEGIN_ALLOW_THREADS
;
1099 _result
= (double )wxRealPoint_x_get(_arg0
);
1101 wxPy_END_ALLOW_THREADS
;
1102 } _resultobj
= Py_BuildValue("d",_result
);
1106 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1107 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1110 wxRealPoint
* _arg0
;
1113 PyObject
* _obj0
= 0;
1114 char *_kwnames
[] = { "self","y", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1121 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1125 wxPy_BEGIN_ALLOW_THREADS
;
1126 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1128 wxPy_END_ALLOW_THREADS
;
1129 } _resultobj
= Py_BuildValue("d",_result
);
1133 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1134 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
* _resultobj
;
1137 wxRealPoint
* _arg0
;
1139 PyObject
* _obj0
= 0;
1140 char *_kwnames
[] = { "self", NULL
};
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1147 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 _result
= (double )wxRealPoint_y_get(_arg0
);
1154 wxPy_END_ALLOW_THREADS
;
1155 } _resultobj
= Py_BuildValue("d",_result
);
1159 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1160 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
* _resultobj
;
1162 wxRealPoint
* _result
;
1163 double _arg0
= (double ) 0.0;
1164 double _arg1
= (double ) 0.0;
1165 char *_kwnames
[] = { "x","y", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1172 wxPy_BEGIN_ALLOW_THREADS
;
1173 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1175 wxPy_END_ALLOW_THREADS
;
1177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1178 _resultobj
= Py_BuildValue("s",_ptemp
);
1181 _resultobj
= Py_None
;
1186 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1187 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1188 PyObject
* _resultobj
;
1189 wxRealPoint
* _arg0
;
1191 PyObject
* _obj0
= 0;
1192 char *_kwnames
[] = { "self", NULL
};
1195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1199 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1203 wxPy_BEGIN_ALLOW_THREADS
;
1204 delete_wxRealPoint(_arg0
);
1206 wxPy_END_ALLOW_THREADS
;
1207 } Py_INCREF(Py_None
);
1208 _resultobj
= Py_None
;
1212 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1216 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1218 wxRealPoint
* _arg0
;
1222 PyObject
* _obj0
= 0;
1223 char *_kwnames
[] = { "self","x","y", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1230 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1234 wxPy_BEGIN_ALLOW_THREADS
;
1235 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1237 wxPy_END_ALLOW_THREADS
;
1238 } Py_INCREF(Py_None
);
1239 _resultobj
= Py_None
;
1243 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1244 PyObject
* tup
= PyTuple_New(2);
1245 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1246 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1249 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1252 wxRealPoint
* _arg0
;
1254 PyObject
* _obj0
= 0;
1255 char *_kwnames
[] = { "self", NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1262 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1266 wxPy_BEGIN_ALLOW_THREADS
;
1267 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1269 wxPy_END_ALLOW_THREADS
;
1271 _resultobj
= _result
;
1276 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1277 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1283 PyObject
* _obj0
= 0;
1284 char *_kwnames
[] = { "self","x", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1291 if (! wxPoint_helper(_obj0
, &_arg0
))
1295 wxPy_BEGIN_ALLOW_THREADS
;
1296 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1298 wxPy_END_ALLOW_THREADS
;
1299 } _resultobj
= Py_BuildValue("l",_result
);
1303 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1304 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1309 PyObject
* _obj0
= 0;
1310 char *_kwnames
[] = { "self", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1317 if (! wxPoint_helper(_obj0
, &_arg0
))
1321 wxPy_BEGIN_ALLOW_THREADS
;
1322 _result
= (long )wxPoint_x_get(_arg0
);
1324 wxPy_END_ALLOW_THREADS
;
1325 } _resultobj
= Py_BuildValue("l",_result
);
1329 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1330 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
* _resultobj
;
1336 PyObject
* _obj0
= 0;
1337 char *_kwnames
[] = { "self","y", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1344 if (! wxPoint_helper(_obj0
, &_arg0
))
1348 wxPy_BEGIN_ALLOW_THREADS
;
1349 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1351 wxPy_END_ALLOW_THREADS
;
1352 } _resultobj
= Py_BuildValue("l",_result
);
1356 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1357 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1362 PyObject
* _obj0
= 0;
1363 char *_kwnames
[] = { "self", NULL
};
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1370 if (! wxPoint_helper(_obj0
, &_arg0
))
1374 wxPy_BEGIN_ALLOW_THREADS
;
1375 _result
= (long )wxPoint_y_get(_arg0
);
1377 wxPy_END_ALLOW_THREADS
;
1378 } _resultobj
= Py_BuildValue("l",_result
);
1382 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1383 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1386 long _arg0
= (long ) 0;
1387 long _arg1
= (long ) 0;
1388 char *_kwnames
[] = { "x","y", NULL
};
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1395 wxPy_BEGIN_ALLOW_THREADS
;
1396 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1398 wxPy_END_ALLOW_THREADS
;
1400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1401 _resultobj
= Py_BuildValue("s",_ptemp
);
1404 _resultobj
= Py_None
;
1409 #define delete_wxPoint(_swigobj) (delete _swigobj)
1410 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1414 PyObject
* _obj0
= 0;
1415 char *_kwnames
[] = { "self", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1422 if (! wxPoint_helper(_obj0
, &_arg0
))
1426 wxPy_BEGIN_ALLOW_THREADS
;
1427 delete_wxPoint(_arg0
);
1429 wxPy_END_ALLOW_THREADS
;
1430 } Py_INCREF(Py_None
);
1431 _resultobj
= Py_None
;
1435 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1439 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1445 PyObject
* _obj0
= 0;
1446 char *_kwnames
[] = { "self","x","y", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1453 if (! wxPoint_helper(_obj0
, &_arg0
))
1457 wxPy_BEGIN_ALLOW_THREADS
;
1458 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1460 wxPy_END_ALLOW_THREADS
;
1461 } Py_INCREF(Py_None
);
1462 _resultobj
= Py_None
;
1466 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1467 PyObject
* tup
= PyTuple_New(2);
1468 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1469 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1472 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1477 PyObject
* _obj0
= 0;
1478 char *_kwnames
[] = { "self", NULL
};
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1485 if (! wxPoint_helper(_obj0
, &_arg0
))
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1492 wxPy_END_ALLOW_THREADS
;
1494 _resultobj
= _result
;
1499 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1500 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1503 int _arg0
= (int ) 0;
1504 int _arg1
= (int ) 0;
1505 int _arg2
= (int ) 0;
1506 int _arg3
= (int ) 0;
1507 char *_kwnames
[] = { "x","y","w","h", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1514 wxPy_BEGIN_ALLOW_THREADS
;
1515 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1517 wxPy_END_ALLOW_THREADS
;
1519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1520 _resultobj
= Py_BuildValue("s",_ptemp
);
1523 _resultobj
= Py_None
;
1528 #define delete_wxRect(_swigobj) (delete _swigobj)
1529 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1533 PyObject
* _obj0
= 0;
1534 char *_kwnames
[] = { "self", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1541 if (! wxRect_helper(_obj0
, &_arg0
))
1545 wxPy_BEGIN_ALLOW_THREADS
;
1546 delete_wxRect(_arg0
);
1548 wxPy_END_ALLOW_THREADS
;
1549 } Py_INCREF(Py_None
);
1550 _resultobj
= Py_None
;
1554 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1555 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1560 PyObject
* _obj0
= 0;
1561 char *_kwnames
[] = { "self", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
1568 if (! wxRect_helper(_obj0
, &_arg0
))
1572 wxPy_BEGIN_ALLOW_THREADS
;
1573 _result
= (int )wxRect_GetX(_arg0
);
1575 wxPy_END_ALLOW_THREADS
;
1576 } _resultobj
= Py_BuildValue("i",_result
);
1580 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1581 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1586 PyObject
* _obj0
= 0;
1587 char *_kwnames
[] = { "self","X", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
1594 if (! wxRect_helper(_obj0
, &_arg0
))
1598 wxPy_BEGIN_ALLOW_THREADS
;
1599 wxRect_SetX(_arg0
,_arg1
);
1601 wxPy_END_ALLOW_THREADS
;
1602 } Py_INCREF(Py_None
);
1603 _resultobj
= Py_None
;
1607 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1608 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1613 PyObject
* _obj0
= 0;
1614 char *_kwnames
[] = { "self", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
1621 if (! wxRect_helper(_obj0
, &_arg0
))
1625 wxPy_BEGIN_ALLOW_THREADS
;
1626 _result
= (int )wxRect_GetY(_arg0
);
1628 wxPy_END_ALLOW_THREADS
;
1629 } _resultobj
= Py_BuildValue("i",_result
);
1633 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1634 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1639 PyObject
* _obj0
= 0;
1640 char *_kwnames
[] = { "self","Y", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
1647 if (! wxRect_helper(_obj0
, &_arg0
))
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 wxRect_SetY(_arg0
,_arg1
);
1654 wxPy_END_ALLOW_THREADS
;
1655 } Py_INCREF(Py_None
);
1656 _resultobj
= Py_None
;
1660 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1661 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1666 PyObject
* _obj0
= 0;
1667 char *_kwnames
[] = { "self", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
1674 if (! wxRect_helper(_obj0
, &_arg0
))
1678 wxPy_BEGIN_ALLOW_THREADS
;
1679 _result
= (int )wxRect_GetWidth(_arg0
);
1681 wxPy_END_ALLOW_THREADS
;
1682 } _resultobj
= Py_BuildValue("i",_result
);
1686 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1687 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
* _resultobj
;
1692 PyObject
* _obj0
= 0;
1693 char *_kwnames
[] = { "self","w", NULL
};
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1700 if (! wxRect_helper(_obj0
, &_arg0
))
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 wxRect_SetWidth(_arg0
,_arg1
);
1707 wxPy_END_ALLOW_THREADS
;
1708 } Py_INCREF(Py_None
);
1709 _resultobj
= Py_None
;
1713 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1714 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1719 PyObject
* _obj0
= 0;
1720 char *_kwnames
[] = { "self", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
1727 if (! wxRect_helper(_obj0
, &_arg0
))
1731 wxPy_BEGIN_ALLOW_THREADS
;
1732 _result
= (int )wxRect_GetHeight(_arg0
);
1734 wxPy_END_ALLOW_THREADS
;
1735 } _resultobj
= Py_BuildValue("i",_result
);
1739 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1740 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
* _resultobj
;
1745 PyObject
* _obj0
= 0;
1746 char *_kwnames
[] = { "self","h", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1753 if (! wxRect_helper(_obj0
, &_arg0
))
1757 wxPy_BEGIN_ALLOW_THREADS
;
1758 wxRect_SetHeight(_arg0
,_arg1
);
1760 wxPy_END_ALLOW_THREADS
;
1761 } Py_INCREF(Py_None
);
1762 _resultobj
= Py_None
;
1766 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1767 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1772 PyObject
* _obj0
= 0;
1773 char *_kwnames
[] = { "self", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
1781 if (! wxRect_helper(_obj0
, &_arg0
))
1785 wxPy_BEGIN_ALLOW_THREADS
;
1786 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1788 wxPy_END_ALLOW_THREADS
;
1789 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1790 _resultobj
= Py_BuildValue("s",_ptemp
);
1794 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1795 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1800 PyObject
* _obj0
= 0;
1801 char *_kwnames
[] = { "self", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
1809 if (! wxRect_helper(_obj0
, &_arg0
))
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 _result
= new wxSize (wxRect_GetSize(_arg0
));
1816 wxPy_END_ALLOW_THREADS
;
1817 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1818 _resultobj
= Py_BuildValue("s",_ptemp
);
1822 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1823 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1828 PyObject
* _obj0
= 0;
1829 char *_kwnames
[] = { "self", NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
1836 if (! wxRect_helper(_obj0
, &_arg0
))
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 _result
= (int )wxRect_GetLeft(_arg0
);
1843 wxPy_END_ALLOW_THREADS
;
1844 } _resultobj
= Py_BuildValue("i",_result
);
1848 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1849 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1854 PyObject
* _obj0
= 0;
1855 char *_kwnames
[] = { "self", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
1862 if (! wxRect_helper(_obj0
, &_arg0
))
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 _result
= (int )wxRect_GetTop(_arg0
);
1869 wxPy_END_ALLOW_THREADS
;
1870 } _resultobj
= Py_BuildValue("i",_result
);
1874 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1875 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1880 PyObject
* _obj0
= 0;
1881 char *_kwnames
[] = { "self", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
1888 if (! wxRect_helper(_obj0
, &_arg0
))
1892 wxPy_BEGIN_ALLOW_THREADS
;
1893 _result
= (int )wxRect_GetBottom(_arg0
);
1895 wxPy_END_ALLOW_THREADS
;
1896 } _resultobj
= Py_BuildValue("i",_result
);
1900 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1901 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1906 PyObject
* _obj0
= 0;
1907 char *_kwnames
[] = { "self", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
1914 if (! wxRect_helper(_obj0
, &_arg0
))
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 _result
= (int )wxRect_GetRight(_arg0
);
1921 wxPy_END_ALLOW_THREADS
;
1922 } _resultobj
= Py_BuildValue("i",_result
);
1926 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
1927 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1932 PyObject
* _obj0
= 0;
1933 char *_kwnames
[] = { "self","left", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
1940 if (! wxRect_helper(_obj0
, &_arg0
))
1944 wxPy_BEGIN_ALLOW_THREADS
;
1945 wxRect_SetLeft(_arg0
,_arg1
);
1947 wxPy_END_ALLOW_THREADS
;
1948 } Py_INCREF(Py_None
);
1949 _resultobj
= Py_None
;
1953 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
1954 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1959 PyObject
* _obj0
= 0;
1960 char *_kwnames
[] = { "self","right", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
1967 if (! wxRect_helper(_obj0
, &_arg0
))
1971 wxPy_BEGIN_ALLOW_THREADS
;
1972 wxRect_SetRight(_arg0
,_arg1
);
1974 wxPy_END_ALLOW_THREADS
;
1975 } Py_INCREF(Py_None
);
1976 _resultobj
= Py_None
;
1980 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
1981 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1986 PyObject
* _obj0
= 0;
1987 char *_kwnames
[] = { "self","top", NULL
};
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
1994 if (! wxRect_helper(_obj0
, &_arg0
))
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 wxRect_SetTop(_arg0
,_arg1
);
2001 wxPy_END_ALLOW_THREADS
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2007 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2008 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2013 PyObject
* _obj0
= 0;
2014 char *_kwnames
[] = { "self","bottom", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2021 if (! wxRect_helper(_obj0
, &_arg0
))
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 wxRect_SetBottom(_arg0
,_arg1
);
2028 wxPy_END_ALLOW_THREADS
;
2029 } Py_INCREF(Py_None
);
2030 _resultobj
= Py_None
;
2034 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2035 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
* _resultobj
;
2041 PyObject
* _obj0
= 0;
2042 char *_kwnames
[] = { "self","dx","dy", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2049 if (! wxRect_helper(_obj0
, &_arg0
))
2053 wxPy_BEGIN_ALLOW_THREADS
;
2054 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2056 wxPy_END_ALLOW_THREADS
;
2057 } Py_INCREF(Py_None
);
2058 _resultobj
= Py_None
;
2062 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2063 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2070 PyObject
* _obj0
= 0;
2071 char *_kwnames
[] = { "self","cx","cy", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2078 if (! wxRect_helper(_obj0
, &_arg0
))
2082 wxPy_BEGIN_ALLOW_THREADS
;
2083 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2085 wxPy_END_ALLOW_THREADS
;
2086 } _resultobj
= Py_BuildValue("i",_result
);
2090 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2091 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
* _resultobj
;
2097 PyObject
* _obj0
= 0;
2098 char *_kwnames
[] = { "self","x", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2105 if (! wxRect_helper(_obj0
, &_arg0
))
2109 wxPy_BEGIN_ALLOW_THREADS
;
2110 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2112 wxPy_END_ALLOW_THREADS
;
2113 } _resultobj
= Py_BuildValue("i",_result
);
2117 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2118 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2123 PyObject
* _obj0
= 0;
2124 char *_kwnames
[] = { "self", NULL
};
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2131 if (! wxRect_helper(_obj0
, &_arg0
))
2135 wxPy_BEGIN_ALLOW_THREADS
;
2136 _result
= (int )wxRect_x_get(_arg0
);
2138 wxPy_END_ALLOW_THREADS
;
2139 } _resultobj
= Py_BuildValue("i",_result
);
2143 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2144 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2150 PyObject
* _obj0
= 0;
2151 char *_kwnames
[] = { "self","y", NULL
};
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2158 if (! wxRect_helper(_obj0
, &_arg0
))
2162 wxPy_BEGIN_ALLOW_THREADS
;
2163 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2165 wxPy_END_ALLOW_THREADS
;
2166 } _resultobj
= Py_BuildValue("i",_result
);
2170 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2171 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2176 PyObject
* _obj0
= 0;
2177 char *_kwnames
[] = { "self", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2184 if (! wxRect_helper(_obj0
, &_arg0
))
2188 wxPy_BEGIN_ALLOW_THREADS
;
2189 _result
= (int )wxRect_y_get(_arg0
);
2191 wxPy_END_ALLOW_THREADS
;
2192 } _resultobj
= Py_BuildValue("i",_result
);
2196 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2197 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2203 PyObject
* _obj0
= 0;
2204 char *_kwnames
[] = { "self","width", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2211 if (! wxRect_helper(_obj0
, &_arg0
))
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } _resultobj
= Py_BuildValue("i",_result
);
2223 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2224 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
* _resultobj
;
2229 PyObject
* _obj0
= 0;
2230 char *_kwnames
[] = { "self", NULL
};
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2237 if (! wxRect_helper(_obj0
, &_arg0
))
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 _result
= (int )wxRect_width_get(_arg0
);
2244 wxPy_END_ALLOW_THREADS
;
2245 } _resultobj
= Py_BuildValue("i",_result
);
2249 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2250 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2256 PyObject
* _obj0
= 0;
2257 char *_kwnames
[] = { "self","height", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2264 if (! wxRect_helper(_obj0
, &_arg0
))
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2271 wxPy_END_ALLOW_THREADS
;
2272 } _resultobj
= Py_BuildValue("i",_result
);
2276 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2277 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2282 PyObject
* _obj0
= 0;
2283 char *_kwnames
[] = { "self", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2290 if (! wxRect_helper(_obj0
, &_arg0
))
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 _result
= (int )wxRect_height_get(_arg0
);
2297 wxPy_END_ALLOW_THREADS
;
2298 } _resultobj
= Py_BuildValue("i",_result
);
2302 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2303 PyObject
* tup
= PyTuple_New(4);
2304 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2305 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2306 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2307 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2310 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2315 PyObject
* _obj0
= 0;
2316 char *_kwnames
[] = { "self", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2323 if (! wxRect_helper(_obj0
, &_arg0
))
2327 wxPy_BEGIN_ALLOW_THREADS
;
2328 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2330 wxPy_END_ALLOW_THREADS
;
2332 _resultobj
= _result
;
2337 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2338 if (! rect
) return *self
;
2339 return *self
+ *rect
;
2341 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2347 PyObject
* _obj0
= 0;
2349 PyObject
* _obj1
= 0;
2350 char *_kwnames
[] = { "self","rect", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2358 if (! wxRect_helper(_obj0
, &_arg0
))
2363 if (! wxRect_helper(_obj1
, &_arg1
))
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2370 wxPy_END_ALLOW_THREADS
;
2371 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2372 _resultobj
= Py_BuildValue("s",_ptemp
);
2376 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
2377 if (! rect
) return 0;
2378 return *self
== *rect
;
2380 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2386 PyObject
* _obj0
= 0;
2388 PyObject
* _obj1
= 0;
2389 char *_kwnames
[] = { "self","rect", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
2396 if (! wxRect_helper(_obj0
, &_arg0
))
2401 if (! wxRect_helper(_obj1
, &_arg1
))
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
2408 wxPy_END_ALLOW_THREADS
;
2409 } _resultobj
= Py_BuildValue("i",_result
);
2413 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2414 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2416 wxIndividualLayoutConstraint
* _arg0
;
2418 int _arg2
= (int ) 0;
2419 PyObject
* _argo0
= 0;
2420 PyObject
* _argo1
= 0;
2421 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2441 wxPy_BEGIN_ALLOW_THREADS
;
2442 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2444 wxPy_END_ALLOW_THREADS
;
2445 } Py_INCREF(Py_None
);
2446 _resultobj
= Py_None
;
2450 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2451 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2453 wxIndividualLayoutConstraint
* _arg0
;
2455 PyObject
* _argo0
= 0;
2456 char *_kwnames
[] = { "self","value", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2469 wxPy_BEGIN_ALLOW_THREADS
;
2470 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2472 wxPy_END_ALLOW_THREADS
;
2473 } Py_INCREF(Py_None
);
2474 _resultobj
= Py_None
;
2478 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2479 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2481 wxIndividualLayoutConstraint
* _arg0
;
2482 PyObject
* _argo0
= 0;
2483 char *_kwnames
[] = { "self", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2496 wxPy_BEGIN_ALLOW_THREADS
;
2497 wxIndividualLayoutConstraint_AsIs(_arg0
);
2499 wxPy_END_ALLOW_THREADS
;
2500 } Py_INCREF(Py_None
);
2501 _resultobj
= Py_None
;
2505 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2506 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2508 wxIndividualLayoutConstraint
* _arg0
;
2510 int _arg2
= (int ) 0;
2511 PyObject
* _argo0
= 0;
2512 PyObject
* _argo1
= 0;
2513 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2533 wxPy_BEGIN_ALLOW_THREADS
;
2534 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2536 wxPy_END_ALLOW_THREADS
;
2537 } Py_INCREF(Py_None
);
2538 _resultobj
= Py_None
;
2542 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2543 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2545 wxIndividualLayoutConstraint
* _arg0
;
2546 PyObject
* _argo0
= 0;
2547 char *_kwnames
[] = { "self", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
2553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2560 wxPy_BEGIN_ALLOW_THREADS
;
2561 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2563 wxPy_END_ALLOW_THREADS
;
2564 } Py_INCREF(Py_None
);
2565 _resultobj
= Py_None
;
2569 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2570 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
* _resultobj
;
2572 wxIndividualLayoutConstraint
* _arg0
;
2574 int _arg2
= (int ) 0;
2575 PyObject
* _argo0
= 0;
2576 PyObject
* _argo1
= 0;
2577 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2600 wxPy_END_ALLOW_THREADS
;
2601 } Py_INCREF(Py_None
);
2602 _resultobj
= Py_None
;
2606 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2607 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2609 wxIndividualLayoutConstraint
* _arg0
;
2613 PyObject
* _argo0
= 0;
2614 PyObject
* _argo1
= 0;
2615 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2628 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2638 wxPy_END_ALLOW_THREADS
;
2639 } Py_INCREF(Py_None
);
2640 _resultobj
= Py_None
;
2644 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2645 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2647 wxIndividualLayoutConstraint
* _arg0
;
2649 int _arg2
= (int ) 0;
2650 PyObject
* _argo0
= 0;
2651 PyObject
* _argo1
= 0;
2652 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2665 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2666 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2672 wxPy_BEGIN_ALLOW_THREADS
;
2673 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2675 wxPy_END_ALLOW_THREADS
;
2676 } Py_INCREF(Py_None
);
2677 _resultobj
= Py_None
;
2681 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2682 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2684 wxIndividualLayoutConstraint
* _arg0
;
2687 int _arg3
= (int ) 0;
2688 PyObject
* _argo0
= 0;
2689 PyObject
* _argo1
= 0;
2690 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2703 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2713 wxPy_END_ALLOW_THREADS
;
2714 } Py_INCREF(Py_None
);
2715 _resultobj
= Py_None
;
2719 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2720 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2722 wxIndividualLayoutConstraint
* _arg0
;
2723 wxRelationship _arg1
;
2726 int _arg4
= (int ) 0;
2727 int _arg5
= (int ) 0;
2728 PyObject
* _argo0
= 0;
2729 PyObject
* _argo2
= 0;
2730 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
2736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2743 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2744 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2750 wxPy_BEGIN_ALLOW_THREADS
;
2751 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2753 wxPy_END_ALLOW_THREADS
;
2754 } Py_INCREF(Py_None
);
2755 _resultobj
= Py_None
;
2759 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2760 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2762 wxLayoutConstraints
* _result
;
2763 char *_kwnames
[] = { NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2773 wxPy_END_ALLOW_THREADS
;
2775 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2776 _resultobj
= Py_BuildValue("s",_ptemp
);
2779 _resultobj
= Py_None
;
2784 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2785 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2787 wxIndividualLayoutConstraint
* _result
;
2788 wxLayoutConstraints
* _arg0
;
2789 PyObject
* _argo0
= 0;
2790 char *_kwnames
[] = { "self", NULL
};
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
2797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2804 wxPy_BEGIN_ALLOW_THREADS
;
2805 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2807 wxPy_END_ALLOW_THREADS
;
2809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2810 _resultobj
= Py_BuildValue("s",_ptemp
);
2813 _resultobj
= Py_None
;
2818 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2819 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
* _resultobj
;
2821 wxIndividualLayoutConstraint
* _result
;
2822 wxLayoutConstraints
* _arg0
;
2823 PyObject
* _argo0
= 0;
2824 char *_kwnames
[] = { "self", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2838 wxPy_BEGIN_ALLOW_THREADS
;
2839 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2841 wxPy_END_ALLOW_THREADS
;
2843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2844 _resultobj
= Py_BuildValue("s",_ptemp
);
2847 _resultobj
= Py_None
;
2852 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2853 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2855 wxIndividualLayoutConstraint
* _result
;
2856 wxLayoutConstraints
* _arg0
;
2857 PyObject
* _argo0
= 0;
2858 char *_kwnames
[] = { "self", NULL
};
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
2865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2872 wxPy_BEGIN_ALLOW_THREADS
;
2873 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2875 wxPy_END_ALLOW_THREADS
;
2877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2878 _resultobj
= Py_BuildValue("s",_ptemp
);
2881 _resultobj
= Py_None
;
2886 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2887 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2889 wxIndividualLayoutConstraint
* _result
;
2890 wxLayoutConstraints
* _arg0
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
2899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2906 wxPy_BEGIN_ALLOW_THREADS
;
2907 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2909 wxPy_END_ALLOW_THREADS
;
2911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2912 _resultobj
= Py_BuildValue("s",_ptemp
);
2915 _resultobj
= Py_None
;
2920 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2921 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2923 wxIndividualLayoutConstraint
* _result
;
2924 wxLayoutConstraints
* _arg0
;
2925 PyObject
* _argo0
= 0;
2926 char *_kwnames
[] = { "self", NULL
};
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
2933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2940 wxPy_BEGIN_ALLOW_THREADS
;
2941 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2943 wxPy_END_ALLOW_THREADS
;
2945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2946 _resultobj
= Py_BuildValue("s",_ptemp
);
2949 _resultobj
= Py_None
;
2954 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2955 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2957 wxIndividualLayoutConstraint
* _result
;
2958 wxLayoutConstraints
* _arg0
;
2959 PyObject
* _argo0
= 0;
2960 char *_kwnames
[] = { "self", NULL
};
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
2967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2974 wxPy_BEGIN_ALLOW_THREADS
;
2975 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
2977 wxPy_END_ALLOW_THREADS
;
2979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2980 _resultobj
= Py_BuildValue("s",_ptemp
);
2983 _resultobj
= Py_None
;
2988 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2989 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
* _resultobj
;
2991 wxIndividualLayoutConstraint
* _result
;
2992 wxLayoutConstraints
* _arg0
;
2993 PyObject
* _argo0
= 0;
2994 char *_kwnames
[] = { "self", NULL
};
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3008 wxPy_BEGIN_ALLOW_THREADS
;
3009 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3011 wxPy_END_ALLOW_THREADS
;
3013 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3014 _resultobj
= Py_BuildValue("s",_ptemp
);
3017 _resultobj
= Py_None
;
3022 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3023 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3025 wxIndividualLayoutConstraint
* _result
;
3026 wxLayoutConstraints
* _arg0
;
3027 PyObject
* _argo0
= 0;
3028 char *_kwnames
[] = { "self", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3042 wxPy_BEGIN_ALLOW_THREADS
;
3043 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3045 wxPy_END_ALLOW_THREADS
;
3047 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3048 _resultobj
= Py_BuildValue("s",_ptemp
);
3051 _resultobj
= Py_None
;
3056 #define new_wxRegion() (new wxRegion())
3057 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
* _resultobj
;
3060 char *_kwnames
[] = { NULL
};
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxRegion",_kwnames
))
3067 wxPy_BEGIN_ALLOW_THREADS
;
3068 _result
= (wxRegion
*)new_wxRegion();
3070 wxPy_END_ALLOW_THREADS
;
3072 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3073 _resultobj
= Py_BuildValue("s",_ptemp
);
3076 _resultobj
= Py_None
;
3081 #define delete_wxRegion(_swigobj) (delete _swigobj)
3082 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3085 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 delete_wxRegion(_arg0
);
3102 wxPy_END_ALLOW_THREADS
;
3103 } Py_INCREF(Py_None
);
3104 _resultobj
= Py_None
;
3108 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3109 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3112 PyObject
* _argo0
= 0;
3113 char *_kwnames
[] = { "self", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 wxRegion_Clear(_arg0
);
3129 wxPy_END_ALLOW_THREADS
;
3130 } Py_INCREF(Py_None
);
3131 _resultobj
= Py_None
;
3135 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3136 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
* _resultobj
;
3138 wxRegionContain _result
;
3142 PyObject
* _argo0
= 0;
3143 char *_kwnames
[] = { "self","x","y", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3156 wxPy_BEGIN_ALLOW_THREADS
;
3157 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3159 wxPy_END_ALLOW_THREADS
;
3160 } _resultobj
= Py_BuildValue("i",_result
);
3164 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3165 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3167 wxRegionContain _result
;
3170 PyObject
* _argo0
= 0;
3172 PyObject
* _obj1
= 0;
3173 char *_kwnames
[] = { "self","pt", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3187 if (! wxPoint_helper(_obj1
, &_arg1
))
3191 wxPy_BEGIN_ALLOW_THREADS
;
3192 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3194 wxPy_END_ALLOW_THREADS
;
3195 } _resultobj
= Py_BuildValue("i",_result
);
3199 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3200 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3202 wxRegionContain _result
;
3205 PyObject
* _argo0
= 0;
3207 PyObject
* _obj1
= 0;
3208 char *_kwnames
[] = { "self","rect", NULL
};
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3222 if (! wxRect_helper(_obj1
, &_arg1
))
3226 wxPy_BEGIN_ALLOW_THREADS
;
3227 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3229 wxPy_END_ALLOW_THREADS
;
3230 } _resultobj
= Py_BuildValue("i",_result
);
3234 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3235 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3237 wxRegionContain _result
;
3243 PyObject
* _argo0
= 0;
3244 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3257 wxPy_BEGIN_ALLOW_THREADS
;
3258 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3260 wxPy_END_ALLOW_THREADS
;
3261 } _resultobj
= Py_BuildValue("i",_result
);
3265 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3266 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3270 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3285 wxPy_BEGIN_ALLOW_THREADS
;
3286 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3288 wxPy_END_ALLOW_THREADS
;
3289 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3290 _resultobj
= Py_BuildValue("s",_ptemp
);
3294 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3295 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
* _resultobj
;
3303 PyObject
* _argo0
= 0;
3304 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3317 wxPy_BEGIN_ALLOW_THREADS
;
3318 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3320 wxPy_END_ALLOW_THREADS
;
3321 } _resultobj
= Py_BuildValue("i",_result
);
3325 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3326 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3331 PyObject
* _argo0
= 0;
3333 PyObject
* _obj1
= 0;
3334 char *_kwnames
[] = { "self","rect", NULL
};
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3348 if (! wxRect_helper(_obj1
, &_arg1
))
3352 wxPy_BEGIN_ALLOW_THREADS
;
3353 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3355 wxPy_END_ALLOW_THREADS
;
3356 } _resultobj
= Py_BuildValue("i",_result
);
3360 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3361 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3366 PyObject
* _argo0
= 0;
3367 PyObject
* _argo1
= 0;
3368 char *_kwnames
[] = { "self","region", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3388 wxPy_BEGIN_ALLOW_THREADS
;
3389 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3391 wxPy_END_ALLOW_THREADS
;
3392 } _resultobj
= Py_BuildValue("i",_result
);
3396 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3397 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
* _resultobj
;
3401 PyObject
* _argo0
= 0;
3402 char *_kwnames
[] = { "self", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3415 wxPy_BEGIN_ALLOW_THREADS
;
3416 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3418 wxPy_END_ALLOW_THREADS
;
3419 } _resultobj
= Py_BuildValue("i",_result
);
3423 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3424 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3432 PyObject
* _argo0
= 0;
3433 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3446 wxPy_BEGIN_ALLOW_THREADS
;
3447 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3449 wxPy_END_ALLOW_THREADS
;
3450 } _resultobj
= Py_BuildValue("i",_result
);
3454 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3455 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
* _resultobj
;
3460 PyObject
* _argo0
= 0;
3462 PyObject
* _obj1
= 0;
3463 char *_kwnames
[] = { "self","rect", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3477 if (! wxRect_helper(_obj1
, &_arg1
))
3481 wxPy_BEGIN_ALLOW_THREADS
;
3482 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3484 wxPy_END_ALLOW_THREADS
;
3485 } _resultobj
= Py_BuildValue("i",_result
);
3489 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3490 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
* _resultobj
;
3495 PyObject
* _argo0
= 0;
3496 PyObject
* _argo1
= 0;
3497 char *_kwnames
[] = { "self","region", NULL
};
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3517 wxPy_BEGIN_ALLOW_THREADS
;
3518 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
3520 wxPy_END_ALLOW_THREADS
;
3521 } _resultobj
= Py_BuildValue("i",_result
);
3525 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3526 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
* _resultobj
;
3534 PyObject
* _argo0
= 0;
3535 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3548 wxPy_BEGIN_ALLOW_THREADS
;
3549 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3551 wxPy_END_ALLOW_THREADS
;
3552 } _resultobj
= Py_BuildValue("i",_result
);
3556 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3557 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3562 PyObject
* _argo0
= 0;
3564 PyObject
* _obj1
= 0;
3565 char *_kwnames
[] = { "self","rect", NULL
};
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
3571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
3579 if (! wxRect_helper(_obj1
, &_arg1
))
3583 wxPy_BEGIN_ALLOW_THREADS
;
3584 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
3586 wxPy_END_ALLOW_THREADS
;
3587 } _resultobj
= Py_BuildValue("i",_result
);
3591 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3592 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3597 PyObject
* _argo0
= 0;
3598 PyObject
* _argo1
= 0;
3599 char *_kwnames
[] = { "self","region", NULL
};
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
3605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
3612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
3619 wxPy_BEGIN_ALLOW_THREADS
;
3620 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
3622 wxPy_END_ALLOW_THREADS
;
3623 } _resultobj
= Py_BuildValue("i",_result
);
3627 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3628 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3636 PyObject
* _argo0
= 0;
3637 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3653 wxPy_END_ALLOW_THREADS
;
3654 } _resultobj
= Py_BuildValue("i",_result
);
3658 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3659 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3664 PyObject
* _argo0
= 0;
3666 PyObject
* _obj1
= 0;
3667 char *_kwnames
[] = { "self","rect", NULL
};
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
3673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
3681 if (! wxRect_helper(_obj1
, &_arg1
))
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
3688 wxPy_END_ALLOW_THREADS
;
3689 } _resultobj
= Py_BuildValue("i",_result
);
3693 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3694 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
* _resultobj
;
3699 PyObject
* _argo0
= 0;
3700 PyObject
* _argo1
= 0;
3701 char *_kwnames
[] = { "self","region", NULL
};
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
3707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
3714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
3721 wxPy_BEGIN_ALLOW_THREADS
;
3722 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
3724 wxPy_END_ALLOW_THREADS
;
3725 } _resultobj
= Py_BuildValue("i",_result
);
3729 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3730 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3732 wxRegionIterator
* _result
;
3734 PyObject
* _argo0
= 0;
3735 char *_kwnames
[] = { "region", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3749 wxPy_BEGIN_ALLOW_THREADS
;
3750 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3752 wxPy_END_ALLOW_THREADS
;
3754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3755 _resultobj
= Py_BuildValue("s",_ptemp
);
3758 _resultobj
= Py_None
;
3763 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3764 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3766 wxRegionIterator
* _arg0
;
3767 PyObject
* _argo0
= 0;
3768 char *_kwnames
[] = { "self", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3781 wxPy_BEGIN_ALLOW_THREADS
;
3782 delete_wxRegionIterator(_arg0
);
3784 wxPy_END_ALLOW_THREADS
;
3785 } Py_INCREF(Py_None
);
3786 _resultobj
= Py_None
;
3790 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3791 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
* _resultobj
;
3794 wxRegionIterator
* _arg0
;
3795 PyObject
* _argo0
= 0;
3796 char *_kwnames
[] = { "self", NULL
};
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
3802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3809 wxPy_BEGIN_ALLOW_THREADS
;
3810 _result
= (long )wxRegionIterator_GetX(_arg0
);
3812 wxPy_END_ALLOW_THREADS
;
3813 } _resultobj
= Py_BuildValue("l",_result
);
3817 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3818 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
* _resultobj
;
3821 wxRegionIterator
* _arg0
;
3822 PyObject
* _argo0
= 0;
3823 char *_kwnames
[] = { "self", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3836 wxPy_BEGIN_ALLOW_THREADS
;
3837 _result
= (long )wxRegionIterator_GetY(_arg0
);
3839 wxPy_END_ALLOW_THREADS
;
3840 } _resultobj
= Py_BuildValue("l",_result
);
3844 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3845 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
* _resultobj
;
3848 wxRegionIterator
* _arg0
;
3849 PyObject
* _argo0
= 0;
3850 char *_kwnames
[] = { "self", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 _result
= (long )wxRegionIterator_GetW(_arg0
);
3866 wxPy_END_ALLOW_THREADS
;
3867 } _resultobj
= Py_BuildValue("l",_result
);
3871 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3872 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3875 wxRegionIterator
* _arg0
;
3876 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3890 wxPy_BEGIN_ALLOW_THREADS
;
3891 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3893 wxPy_END_ALLOW_THREADS
;
3894 } _resultobj
= Py_BuildValue("l",_result
);
3898 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3899 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3902 wxRegionIterator
* _arg0
;
3903 PyObject
* _argo0
= 0;
3904 char *_kwnames
[] = { "self", NULL
};
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
3910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3917 wxPy_BEGIN_ALLOW_THREADS
;
3918 _result
= (long )wxRegionIterator_GetH(_arg0
);
3920 wxPy_END_ALLOW_THREADS
;
3921 } _resultobj
= Py_BuildValue("l",_result
);
3925 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3926 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3929 wxRegionIterator
* _arg0
;
3930 PyObject
* _argo0
= 0;
3931 char *_kwnames
[] = { "self", NULL
};
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
3937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3944 wxPy_BEGIN_ALLOW_THREADS
;
3945 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3947 wxPy_END_ALLOW_THREADS
;
3948 } _resultobj
= Py_BuildValue("l",_result
);
3952 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3953 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3956 wxRegionIterator
* _arg0
;
3957 PyObject
* _argo0
= 0;
3958 char *_kwnames
[] = { "self", NULL
};
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
3965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3972 wxPy_BEGIN_ALLOW_THREADS
;
3973 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3975 wxPy_END_ALLOW_THREADS
;
3976 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3977 _resultobj
= Py_BuildValue("s",_ptemp
);
3981 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3982 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
* _resultobj
;
3985 wxRegionIterator
* _arg0
;
3986 PyObject
* _argo0
= 0;
3987 char *_kwnames
[] = { "self", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4000 wxPy_BEGIN_ALLOW_THREADS
;
4001 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4003 wxPy_END_ALLOW_THREADS
;
4004 } _resultobj
= Py_BuildValue("i",_result
);
4008 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4009 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4011 wxRegionIterator
* _arg0
;
4012 PyObject
* _argo0
= 0;
4013 char *_kwnames
[] = { "self", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4026 wxPy_BEGIN_ALLOW_THREADS
;
4027 wxRegionIterator_Reset(_arg0
);
4029 wxPy_END_ALLOW_THREADS
;
4030 } Py_INCREF(Py_None
);
4031 _resultobj
= Py_None
;
4035 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4038 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4040 wxRegionIterator
* _arg0
;
4041 PyObject
* _argo0
= 0;
4042 char *_kwnames
[] = { "self", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4055 wxPy_BEGIN_ALLOW_THREADS
;
4056 wxRegionIterator_Next(_arg0
);
4058 wxPy_END_ALLOW_THREADS
;
4059 } Py_INCREF(Py_None
);
4060 _resultobj
= Py_None
;
4064 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4065 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4067 wxAcceleratorEntry
* _result
;
4068 int _arg0
= (int ) 0;
4069 int _arg1
= (int ) 0;
4070 int _arg2
= (int ) 0;
4071 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4078 wxPy_BEGIN_ALLOW_THREADS
;
4079 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4081 wxPy_END_ALLOW_THREADS
;
4083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4084 _resultobj
= Py_BuildValue("s",_ptemp
);
4087 _resultobj
= Py_None
;
4092 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4093 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4095 wxAcceleratorEntry
* _arg0
;
4096 PyObject
* _argo0
= 0;
4097 char *_kwnames
[] = { "self", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4110 wxPy_BEGIN_ALLOW_THREADS
;
4111 delete_wxAcceleratorEntry(_arg0
);
4113 wxPy_END_ALLOW_THREADS
;
4114 } Py_INCREF(Py_None
);
4115 _resultobj
= Py_None
;
4119 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4120 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4122 wxAcceleratorEntry
* _arg0
;
4126 PyObject
* _argo0
= 0;
4127 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4140 wxPy_BEGIN_ALLOW_THREADS
;
4141 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4143 wxPy_END_ALLOW_THREADS
;
4144 } Py_INCREF(Py_None
);
4145 _resultobj
= Py_None
;
4149 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4150 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
* _resultobj
;
4153 wxAcceleratorEntry
* _arg0
;
4154 PyObject
* _argo0
= 0;
4155 char *_kwnames
[] = { "self", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4168 wxPy_BEGIN_ALLOW_THREADS
;
4169 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4171 wxPy_END_ALLOW_THREADS
;
4172 } _resultobj
= Py_BuildValue("i",_result
);
4176 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4177 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
* _resultobj
;
4180 wxAcceleratorEntry
* _arg0
;
4181 PyObject
* _argo0
= 0;
4182 char *_kwnames
[] = { "self", NULL
};
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4195 wxPy_BEGIN_ALLOW_THREADS
;
4196 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4198 wxPy_END_ALLOW_THREADS
;
4199 } _resultobj
= Py_BuildValue("i",_result
);
4203 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4204 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
* _resultobj
;
4207 wxAcceleratorEntry
* _arg0
;
4208 PyObject
* _argo0
= 0;
4209 char *_kwnames
[] = { "self", NULL
};
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4222 wxPy_BEGIN_ALLOW_THREADS
;
4223 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4225 wxPy_END_ALLOW_THREADS
;
4226 } _resultobj
= Py_BuildValue("i",_result
);
4230 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4231 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4233 wxAcceleratorTable
* _result
;
4235 wxAcceleratorEntry
* _arg1
;
4236 PyObject
* _obj1
= 0;
4237 char *_kwnames
[] = { "choices", NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4245 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4246 if (_arg1
== NULL
) {
4252 _arg0
= PyList_Size(_obj1
);
4259 wxPy_BEGIN_ALLOW_THREADS
;
4260 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4262 wxPy_END_ALLOW_THREADS
;
4264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4265 _resultobj
= Py_BuildValue("s",_ptemp
);
4268 _resultobj
= Py_None
;
4276 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4277 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4279 wxAcceleratorTable
* _arg0
;
4280 PyObject
* _argo0
= 0;
4281 char *_kwnames
[] = { "self", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4294 wxPy_BEGIN_ALLOW_THREADS
;
4295 delete_wxAcceleratorTable(_arg0
);
4297 wxPy_END_ALLOW_THREADS
;
4298 } Py_INCREF(Py_None
);
4299 _resultobj
= Py_None
;
4303 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4304 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
* _resultobj
;
4306 wxBusyInfo
* _result
;
4308 PyObject
* _obj0
= 0;
4309 char *_kwnames
[] = { "message", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4316 if (!PyString_Check(_obj0
)) {
4317 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4320 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4323 wxPy_BEGIN_ALLOW_THREADS
;
4324 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4326 wxPy_END_ALLOW_THREADS
;
4328 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4329 _resultobj
= Py_BuildValue("s",_ptemp
);
4332 _resultobj
= Py_None
;
4341 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4342 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
* _resultobj
;
4345 PyObject
* _argo0
= 0;
4346 char *_kwnames
[] = { "self", NULL
};
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4359 wxPy_BEGIN_ALLOW_THREADS
;
4360 delete_wxBusyInfo(_arg0
);
4362 wxPy_END_ALLOW_THREADS
;
4363 } Py_INCREF(Py_None
);
4364 _resultobj
= Py_None
;
4368 static PyMethodDef misccMethods
[] = {
4369 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4370 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4371 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4372 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4373 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4374 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4375 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4376 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4377 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4378 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4379 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4380 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4381 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4382 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4383 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4384 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4385 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4386 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4387 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4388 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4389 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4390 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4391 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4392 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4393 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4394 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4395 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4396 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4397 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4398 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4399 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4400 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4401 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4402 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4403 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4404 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4405 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4406 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4407 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4408 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4409 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4410 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4411 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4412 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4413 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4414 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4415 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4416 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4417 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4418 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4419 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4420 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4421 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4422 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4423 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4424 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4425 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4426 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4427 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4428 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4429 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4430 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4431 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4432 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4433 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4434 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4435 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4436 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4437 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4438 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4439 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4440 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4441 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4442 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4443 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4444 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4445 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4446 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4447 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4448 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4449 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4450 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4451 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4452 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4453 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4454 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4455 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4456 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4457 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4458 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4459 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4460 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4461 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4462 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4463 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4464 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4465 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4466 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4467 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4468 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4469 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4470 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4471 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4472 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4473 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4474 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4475 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4476 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4477 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4478 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4479 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4480 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4481 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4482 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4483 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4484 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4485 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4486 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4487 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4488 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4489 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4490 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4491 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4492 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4493 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4494 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4495 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4496 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4497 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4498 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4499 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4500 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4501 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
4502 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4503 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4504 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4505 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4506 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4507 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4508 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4509 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4510 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4511 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
4512 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4513 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
4514 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4515 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4516 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4517 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4518 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4519 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4526 * This table is used by the pointer type-checker
4528 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4529 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4530 { "_signed_long","_long",0},
4531 { "_wxPrintQuality","_wxCoord",0},
4532 { "_wxPrintQuality","_int",0},
4533 { "_wxPrintQuality","_signed_int",0},
4534 { "_wxPrintQuality","_unsigned_int",0},
4535 { "_wxPrintQuality","_wxWindowID",0},
4536 { "_wxPrintQuality","_uint",0},
4537 { "_wxPrintQuality","_EBool",0},
4538 { "_wxPrintQuality","_size_t",0},
4539 { "_class_wxRegionIterator","_wxRegionIterator",0},
4540 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4541 { "_byte","_unsigned_char",0},
4542 { "_long","_unsigned_long",0},
4543 { "_long","_signed_long",0},
4544 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4545 { "_size_t","_wxCoord",0},
4546 { "_size_t","_wxPrintQuality",0},
4547 { "_size_t","_unsigned_int",0},
4548 { "_size_t","_int",0},
4549 { "_size_t","_wxWindowID",0},
4550 { "_size_t","_uint",0},
4551 { "_class_wxRealPoint","_wxRealPoint",0},
4552 { "_uint","_wxCoord",0},
4553 { "_uint","_wxPrintQuality",0},
4554 { "_uint","_size_t",0},
4555 { "_uint","_unsigned_int",0},
4556 { "_uint","_int",0},
4557 { "_uint","_wxWindowID",0},
4558 { "_wxChar","_char",0},
4559 { "_wxRect","_class_wxRect",0},
4560 { "_wxPoint","_class_wxPoint",0},
4561 { "_char","_wxChar",0},
4562 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4563 { "_EBool","_wxCoord",0},
4564 { "_EBool","_wxPrintQuality",0},
4565 { "_EBool","_signed_int",0},
4566 { "_EBool","_int",0},
4567 { "_EBool","_wxWindowID",0},
4568 { "_class_wxRegion","_wxRegion",0},
4569 { "_unsigned_long","_long",0},
4570 { "_class_wxRect","_wxRect",0},
4571 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4572 { "_signed_int","_wxCoord",0},
4573 { "_signed_int","_wxPrintQuality",0},
4574 { "_signed_int","_EBool",0},
4575 { "_signed_int","_wxWindowID",0},
4576 { "_signed_int","_int",0},
4577 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4578 { "_WXTYPE","_short",0},
4579 { "_WXTYPE","_signed_short",0},
4580 { "_WXTYPE","_unsigned_short",0},
4581 { "_unsigned_short","_WXTYPE",0},
4582 { "_unsigned_short","_short",0},
4583 { "_wxBusyInfo","_class_wxBusyInfo",0},
4584 { "_class_wxPoint","_wxPoint",0},
4585 { "_wxRealPoint","_class_wxRealPoint",0},
4586 { "_signed_short","_WXTYPE",0},
4587 { "_signed_short","_short",0},
4588 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4589 { "_unsigned_char","_byte",0},
4590 { "_unsigned_int","_wxCoord",0},
4591 { "_unsigned_int","_wxPrintQuality",0},
4592 { "_unsigned_int","_size_t",0},
4593 { "_unsigned_int","_uint",0},
4594 { "_unsigned_int","_wxWindowID",0},
4595 { "_unsigned_int","_int",0},
4596 { "_short","_WXTYPE",0},
4597 { "_short","_unsigned_short",0},
4598 { "_short","_signed_short",0},
4599 { "_wxWindowID","_wxCoord",0},
4600 { "_wxWindowID","_wxPrintQuality",0},
4601 { "_wxWindowID","_size_t",0},
4602 { "_wxWindowID","_EBool",0},
4603 { "_wxWindowID","_uint",0},
4604 { "_wxWindowID","_int",0},
4605 { "_wxWindowID","_signed_int",0},
4606 { "_wxWindowID","_unsigned_int",0},
4607 { "_int","_wxCoord",0},
4608 { "_int","_wxPrintQuality",0},
4609 { "_int","_size_t",0},
4610 { "_int","_EBool",0},
4611 { "_int","_uint",0},
4612 { "_int","_wxWindowID",0},
4613 { "_int","_unsigned_int",0},
4614 { "_int","_signed_int",0},
4615 { "_wxSize","_class_wxSize",0},
4616 { "_wxRegionIterator","_class_wxRegionIterator",0},
4617 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4618 { "_wxCoord","_int",0},
4619 { "_wxCoord","_signed_int",0},
4620 { "_wxCoord","_unsigned_int",0},
4621 { "_wxCoord","_wxWindowID",0},
4622 { "_wxCoord","_uint",0},
4623 { "_wxCoord","_EBool",0},
4624 { "_wxCoord","_size_t",0},
4625 { "_wxCoord","_wxPrintQuality",0},
4626 { "_wxRegion","_class_wxRegion",0},
4627 { "_class_wxBusyInfo","_wxBusyInfo",0},
4628 { "_class_wxSize","_wxSize",0},
4631 static PyObject
*SWIG_globals
;
4635 SWIGEXPORT(void) initmiscc() {
4637 SWIG_globals
= SWIG_newvarlink();
4638 m
= Py_InitModule("miscc", misccMethods
);
4639 d
= PyModule_GetDict(m
);
4640 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4641 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4642 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4643 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4644 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4645 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4646 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4647 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4648 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4649 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4650 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4651 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4652 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4653 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4654 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4655 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4656 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4657 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4658 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4659 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4660 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4661 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4662 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4663 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4666 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4667 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);