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_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
375 char *_kwnames
[] = { NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
381 wxPy_BEGIN_ALLOW_THREADS
;
382 _result
= (long )wxGetFreeMemory();
384 wxPy_END_ALLOW_THREADS
;
385 } _resultobj
= Py_BuildValue("l",_result
);
389 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
390 PyObject
* _resultobj
;
395 char *_kwnames
[] = { NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
407 wxPy_BEGIN_ALLOW_THREADS
;
408 wxGetMousePosition(_arg0
,_arg1
);
410 wxPy_END_ALLOW_THREADS
;
411 } Py_INCREF(Py_None
);
412 _resultobj
= Py_None
;
415 o
= PyInt_FromLong((long) (*_arg0
));
416 _resultobj
= t_output_helper(_resultobj
, o
);
420 o
= PyInt_FromLong((long) (*_arg1
));
421 _resultobj
= t_output_helper(_resultobj
, o
);
426 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
427 PyObject
* _resultobj
;
429 char *_kwnames
[] = { NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= (bool )wxIsBusy();
438 wxPy_END_ALLOW_THREADS
;
439 } _resultobj
= Py_BuildValue("i",_result
);
443 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
444 PyObject
* _resultobj
;
446 char *_kwnames
[] = { NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
452 wxPy_BEGIN_ALLOW_THREADS
;
453 _result
= new wxString (wxNow());
455 wxPy_END_ALLOW_THREADS
;
457 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
465 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
468 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
469 PyObject
* _obj0
= 0;
470 char *_kwnames
[] = { "command", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
477 if (!PyString_Check(_obj0
)) {
478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
481 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
484 wxPy_BEGIN_ALLOW_THREADS
;
485 _result
= (bool )wxShell(*_arg0
);
487 wxPy_END_ALLOW_THREADS
;
488 } _resultobj
= Py_BuildValue("i",_result
);
496 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
497 PyObject
* _resultobj
;
498 char *_kwnames
[] = { NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
504 wxPy_BEGIN_ALLOW_THREADS
;
507 wxPy_END_ALLOW_THREADS
;
508 } Py_INCREF(Py_None
);
509 _resultobj
= Py_None
;
513 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
520 char *_kwnames
[] = { NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
532 wxPy_BEGIN_ALLOW_THREADS
;
533 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
535 wxPy_END_ALLOW_THREADS
;
536 } _resultobj
= Py_BuildValue("i",_result
);
539 o
= PyInt_FromLong((long) (*_arg0
));
540 _resultobj
= t_output_helper(_resultobj
, o
);
544 o
= PyInt_FromLong((long) (*_arg1
));
545 _resultobj
= t_output_helper(_resultobj
, o
);
550 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
551 PyObject
* _resultobj
;
553 char *_kwnames
[] = { "secs", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
559 wxPy_BEGIN_ALLOW_THREADS
;
562 wxPy_END_ALLOW_THREADS
;
563 } Py_INCREF(Py_None
);
564 _resultobj
= Py_None
;
568 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
571 char *_kwnames
[] = { NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
577 wxPy_BEGIN_ALLOW_THREADS
;
578 _result
= (bool )wxYield();
580 wxPy_END_ALLOW_THREADS
;
581 } _resultobj
= Py_BuildValue("i",_result
);
585 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
588 char *_kwnames
[] = { NULL
};
591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSafeYield",_kwnames
))
594 wxPy_BEGIN_ALLOW_THREADS
;
595 _result
= (bool )wxSafeYield();
597 wxPy_END_ALLOW_THREADS
;
598 } _resultobj
= Py_BuildValue("i",_result
);
602 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
606 char *_kwnames
[] = { "enable", NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
611 _arg0
= (bool ) tempbool0
;
613 wxPy_BEGIN_ALLOW_THREADS
;
614 wxEnableTopLevelWindows(_arg0
);
616 wxPy_END_ALLOW_THREADS
;
617 } Py_INCREF(Py_None
);
618 _resultobj
= Py_None
;
622 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
627 char * _arg2
= (char *) NULL
;
628 char *_kwnames
[] = { "section","entry","file", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
634 wxPy_BEGIN_ALLOW_THREADS
;
635 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
637 wxPy_END_ALLOW_THREADS
;
638 } _resultobj
= Py_BuildValue("s", _result
);
642 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 PyObject
* _resultobj
;
646 PyObject
* _obj0
= 0;
647 char *_kwnames
[] = { "in", NULL
};
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
653 if (!PyString_Check(_obj0
)) {
654 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
657 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
660 wxPy_BEGIN_ALLOW_THREADS
;
661 _result
= new wxString (wxStripMenuCodes(*_arg0
));
663 wxPy_END_ALLOW_THREADS
;
665 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
677 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
679 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
683 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
687 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
688 pyobj
= PyString_FromString(ptemp
);
692 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
693 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
694 PyObject
* _resultobj
;
699 PyObject
* _obj0
= 0;
700 char *_kwnames
[] = { "self","x", NULL
};
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
707 if (! wxSize_helper(_obj0
, &_arg0
))
711 wxPy_BEGIN_ALLOW_THREADS
;
712 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
714 wxPy_END_ALLOW_THREADS
;
715 } _resultobj
= Py_BuildValue("l",_result
);
719 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
720 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
725 PyObject
* _obj0
= 0;
726 char *_kwnames
[] = { "self", NULL
};
729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
733 if (! wxSize_helper(_obj0
, &_arg0
))
737 wxPy_BEGIN_ALLOW_THREADS
;
738 _result
= (long )wxSize_x_get(_arg0
);
740 wxPy_END_ALLOW_THREADS
;
741 } _resultobj
= Py_BuildValue("l",_result
);
745 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
746 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
752 PyObject
* _obj0
= 0;
753 char *_kwnames
[] = { "self","y", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
760 if (! wxSize_helper(_obj0
, &_arg0
))
764 wxPy_BEGIN_ALLOW_THREADS
;
765 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
767 wxPy_END_ALLOW_THREADS
;
768 } _resultobj
= Py_BuildValue("l",_result
);
772 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
773 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
778 PyObject
* _obj0
= 0;
779 char *_kwnames
[] = { "self", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
786 if (! wxSize_helper(_obj0
, &_arg0
))
790 wxPy_BEGIN_ALLOW_THREADS
;
791 _result
= (long )wxSize_y_get(_arg0
);
793 wxPy_END_ALLOW_THREADS
;
794 } _resultobj
= Py_BuildValue("l",_result
);
798 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
799 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
802 long _arg0
= (long ) 0;
803 long _arg1
= (long ) 0;
804 char *_kwnames
[] = { "w","h", NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
811 wxPy_BEGIN_ALLOW_THREADS
;
812 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
814 wxPy_END_ALLOW_THREADS
;
816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
817 _resultobj
= Py_BuildValue("s",_ptemp
);
820 _resultobj
= Py_None
;
825 #define delete_wxSize(_swigobj) (delete _swigobj)
826 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
830 PyObject
* _obj0
= 0;
831 char *_kwnames
[] = { "self", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
838 if (! wxSize_helper(_obj0
, &_arg0
))
842 wxPy_BEGIN_ALLOW_THREADS
;
843 delete_wxSize(_arg0
);
845 wxPy_END_ALLOW_THREADS
;
846 } Py_INCREF(Py_None
);
847 _resultobj
= Py_None
;
851 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
852 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
853 PyObject
* _resultobj
;
858 PyObject
* _obj0
= 0;
859 char *_kwnames
[] = { "self","w","h", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
866 if (! wxSize_helper(_obj0
, &_arg0
))
870 wxPy_BEGIN_ALLOW_THREADS
;
871 wxSize_Set(_arg0
,_arg1
,_arg2
);
873 wxPy_END_ALLOW_THREADS
;
874 } Py_INCREF(Py_None
);
875 _resultobj
= Py_None
;
879 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
880 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
885 PyObject
* _obj0
= 0;
886 char *_kwnames
[] = { "self", NULL
};
889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
893 if (! wxSize_helper(_obj0
, &_arg0
))
897 wxPy_BEGIN_ALLOW_THREADS
;
898 _result
= (long )wxSize_GetX(_arg0
);
900 wxPy_END_ALLOW_THREADS
;
901 } _resultobj
= Py_BuildValue("l",_result
);
905 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
906 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
911 PyObject
* _obj0
= 0;
912 char *_kwnames
[] = { "self", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
919 if (! wxSize_helper(_obj0
, &_arg0
))
923 wxPy_BEGIN_ALLOW_THREADS
;
924 _result
= (long )wxSize_GetY(_arg0
);
926 wxPy_END_ALLOW_THREADS
;
927 } _resultobj
= Py_BuildValue("l",_result
);
931 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
932 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 PyObject
* _resultobj
;
937 PyObject
* _obj0
= 0;
938 char *_kwnames
[] = { "self", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
945 if (! wxSize_helper(_obj0
, &_arg0
))
949 wxPy_BEGIN_ALLOW_THREADS
;
950 _result
= (long )wxSize_GetWidth(_arg0
);
952 wxPy_END_ALLOW_THREADS
;
953 } _resultobj
= Py_BuildValue("l",_result
);
957 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
958 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
963 PyObject
* _obj0
= 0;
964 char *_kwnames
[] = { "self", NULL
};
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
971 if (! wxSize_helper(_obj0
, &_arg0
))
975 wxPy_BEGIN_ALLOW_THREADS
;
976 _result
= (long )wxSize_GetHeight(_arg0
);
978 wxPy_END_ALLOW_THREADS
;
979 } _resultobj
= Py_BuildValue("l",_result
);
983 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
984 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
989 PyObject
* _obj0
= 0;
990 char *_kwnames
[] = { "self","w", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
997 if (! wxSize_helper(_obj0
, &_arg0
))
1001 wxPy_BEGIN_ALLOW_THREADS
;
1002 wxSize_SetWidth(_arg0
,_arg1
);
1004 wxPy_END_ALLOW_THREADS
;
1005 } Py_INCREF(Py_None
);
1006 _resultobj
= Py_None
;
1010 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1011 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
* _resultobj
;
1016 PyObject
* _obj0
= 0;
1017 char *_kwnames
[] = { "self","h", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1024 if (! wxSize_helper(_obj0
, &_arg0
))
1028 wxPy_BEGIN_ALLOW_THREADS
;
1029 wxSize_SetHeight(_arg0
,_arg1
);
1031 wxPy_END_ALLOW_THREADS
;
1032 } Py_INCREF(Py_None
);
1033 _resultobj
= Py_None
;
1037 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1038 PyObject
* tup
= PyTuple_New(2);
1039 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1040 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1043 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
* _resultobj
;
1048 PyObject
* _obj0
= 0;
1049 char *_kwnames
[] = { "self", NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1056 if (! wxSize_helper(_obj0
, &_arg0
))
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1063 wxPy_END_ALLOW_THREADS
;
1065 _resultobj
= _result
;
1070 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1071 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
* _resultobj
;
1074 wxRealPoint
* _arg0
;
1077 PyObject
* _obj0
= 0;
1078 char *_kwnames
[] = { "self","x", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1085 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1089 wxPy_BEGIN_ALLOW_THREADS
;
1090 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1092 wxPy_END_ALLOW_THREADS
;
1093 } _resultobj
= Py_BuildValue("d",_result
);
1097 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1098 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1101 wxRealPoint
* _arg0
;
1103 PyObject
* _obj0
= 0;
1104 char *_kwnames
[] = { "self", NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1111 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1115 wxPy_BEGIN_ALLOW_THREADS
;
1116 _result
= (double )wxRealPoint_x_get(_arg0
);
1118 wxPy_END_ALLOW_THREADS
;
1119 } _resultobj
= Py_BuildValue("d",_result
);
1123 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1124 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1127 wxRealPoint
* _arg0
;
1130 PyObject
* _obj0
= 0;
1131 char *_kwnames
[] = { "self","y", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1138 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1142 wxPy_BEGIN_ALLOW_THREADS
;
1143 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1145 wxPy_END_ALLOW_THREADS
;
1146 } _resultobj
= Py_BuildValue("d",_result
);
1150 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1151 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1154 wxRealPoint
* _arg0
;
1156 PyObject
* _obj0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1164 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 _result
= (double )wxRealPoint_y_get(_arg0
);
1171 wxPy_END_ALLOW_THREADS
;
1172 } _resultobj
= Py_BuildValue("d",_result
);
1176 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1177 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1179 wxRealPoint
* _result
;
1180 double _arg0
= (double ) 0.0;
1181 double _arg1
= (double ) 0.0;
1182 char *_kwnames
[] = { "x","y", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1189 wxPy_BEGIN_ALLOW_THREADS
;
1190 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1192 wxPy_END_ALLOW_THREADS
;
1194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1195 _resultobj
= Py_BuildValue("s",_ptemp
);
1198 _resultobj
= Py_None
;
1203 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1204 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1206 wxRealPoint
* _arg0
;
1208 PyObject
* _obj0
= 0;
1209 char *_kwnames
[] = { "self", NULL
};
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1216 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1220 wxPy_BEGIN_ALLOW_THREADS
;
1221 delete_wxRealPoint(_arg0
);
1223 wxPy_END_ALLOW_THREADS
;
1224 } Py_INCREF(Py_None
);
1225 _resultobj
= Py_None
;
1229 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1233 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1235 wxRealPoint
* _arg0
;
1239 PyObject
* _obj0
= 0;
1240 char *_kwnames
[] = { "self","x","y", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1247 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1251 wxPy_BEGIN_ALLOW_THREADS
;
1252 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1254 wxPy_END_ALLOW_THREADS
;
1255 } Py_INCREF(Py_None
);
1256 _resultobj
= Py_None
;
1260 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1261 PyObject
* tup
= PyTuple_New(2);
1262 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1263 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1266 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
* _resultobj
;
1269 wxRealPoint
* _arg0
;
1271 PyObject
* _obj0
= 0;
1272 char *_kwnames
[] = { "self", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1279 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1286 wxPy_END_ALLOW_THREADS
;
1288 _resultobj
= _result
;
1293 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1294 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1300 PyObject
* _obj0
= 0;
1301 char *_kwnames
[] = { "self","x", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1308 if (! wxPoint_helper(_obj0
, &_arg0
))
1312 wxPy_BEGIN_ALLOW_THREADS
;
1313 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1315 wxPy_END_ALLOW_THREADS
;
1316 } _resultobj
= Py_BuildValue("l",_result
);
1320 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1321 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1326 PyObject
* _obj0
= 0;
1327 char *_kwnames
[] = { "self", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1334 if (! wxPoint_helper(_obj0
, &_arg0
))
1338 wxPy_BEGIN_ALLOW_THREADS
;
1339 _result
= (long )wxPoint_x_get(_arg0
);
1341 wxPy_END_ALLOW_THREADS
;
1342 } _resultobj
= Py_BuildValue("l",_result
);
1346 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1347 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1353 PyObject
* _obj0
= 0;
1354 char *_kwnames
[] = { "self","y", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1361 if (! wxPoint_helper(_obj0
, &_arg0
))
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } _resultobj
= Py_BuildValue("l",_result
);
1373 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1374 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1379 PyObject
* _obj0
= 0;
1380 char *_kwnames
[] = { "self", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1387 if (! wxPoint_helper(_obj0
, &_arg0
))
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 _result
= (long )wxPoint_y_get(_arg0
);
1394 wxPy_END_ALLOW_THREADS
;
1395 } _resultobj
= Py_BuildValue("l",_result
);
1399 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1400 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1403 long _arg0
= (long ) 0;
1404 long _arg1
= (long ) 0;
1405 char *_kwnames
[] = { "x","y", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1412 wxPy_BEGIN_ALLOW_THREADS
;
1413 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1415 wxPy_END_ALLOW_THREADS
;
1417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1418 _resultobj
= Py_BuildValue("s",_ptemp
);
1421 _resultobj
= Py_None
;
1426 #define delete_wxPoint(_swigobj) (delete _swigobj)
1427 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1431 PyObject
* _obj0
= 0;
1432 char *_kwnames
[] = { "self", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1439 if (! wxPoint_helper(_obj0
, &_arg0
))
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 delete_wxPoint(_arg0
);
1446 wxPy_END_ALLOW_THREADS
;
1447 } Py_INCREF(Py_None
);
1448 _resultobj
= Py_None
;
1452 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1456 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1462 PyObject
* _obj0
= 0;
1463 char *_kwnames
[] = { "self","x","y", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1470 if (! wxPoint_helper(_obj0
, &_arg0
))
1474 wxPy_BEGIN_ALLOW_THREADS
;
1475 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1477 wxPy_END_ALLOW_THREADS
;
1478 } Py_INCREF(Py_None
);
1479 _resultobj
= Py_None
;
1483 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1484 PyObject
* tup
= PyTuple_New(2);
1485 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1486 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1489 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1494 PyObject
* _obj0
= 0;
1495 char *_kwnames
[] = { "self", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1502 if (! wxPoint_helper(_obj0
, &_arg0
))
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1509 wxPy_END_ALLOW_THREADS
;
1511 _resultobj
= _result
;
1516 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1517 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1520 int _arg0
= (int ) 0;
1521 int _arg1
= (int ) 0;
1522 int _arg2
= (int ) 0;
1523 int _arg3
= (int ) 0;
1524 char *_kwnames
[] = { "x","y","w","h", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1534 wxPy_END_ALLOW_THREADS
;
1536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1537 _resultobj
= Py_BuildValue("s",_ptemp
);
1540 _resultobj
= Py_None
;
1545 #define delete_wxRect(_swigobj) (delete _swigobj)
1546 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1550 PyObject
* _obj0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1558 if (! wxRect_helper(_obj0
, &_arg0
))
1562 wxPy_BEGIN_ALLOW_THREADS
;
1563 delete_wxRect(_arg0
);
1565 wxPy_END_ALLOW_THREADS
;
1566 } Py_INCREF(Py_None
);
1567 _resultobj
= Py_None
;
1571 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1572 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1577 PyObject
* _obj0
= 0;
1578 char *_kwnames
[] = { "self", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
1585 if (! wxRect_helper(_obj0
, &_arg0
))
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 _result
= (int )wxRect_GetX(_arg0
);
1592 wxPy_END_ALLOW_THREADS
;
1593 } _resultobj
= Py_BuildValue("i",_result
);
1597 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1598 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1603 PyObject
* _obj0
= 0;
1604 char *_kwnames
[] = { "self","X", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
1611 if (! wxRect_helper(_obj0
, &_arg0
))
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 wxRect_SetX(_arg0
,_arg1
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } Py_INCREF(Py_None
);
1620 _resultobj
= Py_None
;
1624 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1625 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1630 PyObject
* _obj0
= 0;
1631 char *_kwnames
[] = { "self", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
1638 if (! wxRect_helper(_obj0
, &_arg0
))
1642 wxPy_BEGIN_ALLOW_THREADS
;
1643 _result
= (int )wxRect_GetY(_arg0
);
1645 wxPy_END_ALLOW_THREADS
;
1646 } _resultobj
= Py_BuildValue("i",_result
);
1650 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1651 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1656 PyObject
* _obj0
= 0;
1657 char *_kwnames
[] = { "self","Y", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
1664 if (! wxRect_helper(_obj0
, &_arg0
))
1668 wxPy_BEGIN_ALLOW_THREADS
;
1669 wxRect_SetY(_arg0
,_arg1
);
1671 wxPy_END_ALLOW_THREADS
;
1672 } Py_INCREF(Py_None
);
1673 _resultobj
= Py_None
;
1677 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1678 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1683 PyObject
* _obj0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
1691 if (! wxRect_helper(_obj0
, &_arg0
))
1695 wxPy_BEGIN_ALLOW_THREADS
;
1696 _result
= (int )wxRect_GetWidth(_arg0
);
1698 wxPy_END_ALLOW_THREADS
;
1699 } _resultobj
= Py_BuildValue("i",_result
);
1703 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1704 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1709 PyObject
* _obj0
= 0;
1710 char *_kwnames
[] = { "self","w", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1717 if (! wxRect_helper(_obj0
, &_arg0
))
1721 wxPy_BEGIN_ALLOW_THREADS
;
1722 wxRect_SetWidth(_arg0
,_arg1
);
1724 wxPy_END_ALLOW_THREADS
;
1725 } Py_INCREF(Py_None
);
1726 _resultobj
= Py_None
;
1730 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1731 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1736 PyObject
* _obj0
= 0;
1737 char *_kwnames
[] = { "self", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
1744 if (! wxRect_helper(_obj0
, &_arg0
))
1748 wxPy_BEGIN_ALLOW_THREADS
;
1749 _result
= (int )wxRect_GetHeight(_arg0
);
1751 wxPy_END_ALLOW_THREADS
;
1752 } _resultobj
= Py_BuildValue("i",_result
);
1756 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1757 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1762 PyObject
* _obj0
= 0;
1763 char *_kwnames
[] = { "self","h", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1770 if (! wxRect_helper(_obj0
, &_arg0
))
1774 wxPy_BEGIN_ALLOW_THREADS
;
1775 wxRect_SetHeight(_arg0
,_arg1
);
1777 wxPy_END_ALLOW_THREADS
;
1778 } Py_INCREF(Py_None
);
1779 _resultobj
= Py_None
;
1783 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1784 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1789 PyObject
* _obj0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
1798 if (! wxRect_helper(_obj0
, &_arg0
))
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1805 wxPy_END_ALLOW_THREADS
;
1806 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1807 _resultobj
= Py_BuildValue("s",_ptemp
);
1811 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1812 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
* _resultobj
;
1817 PyObject
* _obj0
= 0;
1818 char *_kwnames
[] = { "self", NULL
};
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
1826 if (! wxRect_helper(_obj0
, &_arg0
))
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 _result
= new wxSize (wxRect_GetSize(_arg0
));
1833 wxPy_END_ALLOW_THREADS
;
1834 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1835 _resultobj
= Py_BuildValue("s",_ptemp
);
1839 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1840 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
* _resultobj
;
1845 PyObject
* _obj0
= 0;
1846 char *_kwnames
[] = { "self", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
1853 if (! wxRect_helper(_obj0
, &_arg0
))
1857 wxPy_BEGIN_ALLOW_THREADS
;
1858 _result
= (int )wxRect_GetLeft(_arg0
);
1860 wxPy_END_ALLOW_THREADS
;
1861 } _resultobj
= Py_BuildValue("i",_result
);
1865 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1866 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1871 PyObject
* _obj0
= 0;
1872 char *_kwnames
[] = { "self", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
1879 if (! wxRect_helper(_obj0
, &_arg0
))
1883 wxPy_BEGIN_ALLOW_THREADS
;
1884 _result
= (int )wxRect_GetTop(_arg0
);
1886 wxPy_END_ALLOW_THREADS
;
1887 } _resultobj
= Py_BuildValue("i",_result
);
1891 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1892 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1897 PyObject
* _obj0
= 0;
1898 char *_kwnames
[] = { "self", NULL
};
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
1905 if (! wxRect_helper(_obj0
, &_arg0
))
1909 wxPy_BEGIN_ALLOW_THREADS
;
1910 _result
= (int )wxRect_GetBottom(_arg0
);
1912 wxPy_END_ALLOW_THREADS
;
1913 } _resultobj
= Py_BuildValue("i",_result
);
1917 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1918 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1923 PyObject
* _obj0
= 0;
1924 char *_kwnames
[] = { "self", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
1931 if (! wxRect_helper(_obj0
, &_arg0
))
1935 wxPy_BEGIN_ALLOW_THREADS
;
1936 _result
= (int )wxRect_GetRight(_arg0
);
1938 wxPy_END_ALLOW_THREADS
;
1939 } _resultobj
= Py_BuildValue("i",_result
);
1943 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
1944 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1949 PyObject
* _obj0
= 0;
1950 char *_kwnames
[] = { "self","left", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
1957 if (! wxRect_helper(_obj0
, &_arg0
))
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 wxRect_SetLeft(_arg0
,_arg1
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } Py_INCREF(Py_None
);
1966 _resultobj
= Py_None
;
1970 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
1971 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1976 PyObject
* _obj0
= 0;
1977 char *_kwnames
[] = { "self","right", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
1984 if (! wxRect_helper(_obj0
, &_arg0
))
1988 wxPy_BEGIN_ALLOW_THREADS
;
1989 wxRect_SetRight(_arg0
,_arg1
);
1991 wxPy_END_ALLOW_THREADS
;
1992 } Py_INCREF(Py_None
);
1993 _resultobj
= Py_None
;
1997 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
1998 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2003 PyObject
* _obj0
= 0;
2004 char *_kwnames
[] = { "self","top", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2011 if (! wxRect_helper(_obj0
, &_arg0
))
2015 wxPy_BEGIN_ALLOW_THREADS
;
2016 wxRect_SetTop(_arg0
,_arg1
);
2018 wxPy_END_ALLOW_THREADS
;
2019 } Py_INCREF(Py_None
);
2020 _resultobj
= Py_None
;
2024 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2025 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2030 PyObject
* _obj0
= 0;
2031 char *_kwnames
[] = { "self","bottom", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2038 if (! wxRect_helper(_obj0
, &_arg0
))
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 wxRect_SetBottom(_arg0
,_arg1
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } Py_INCREF(Py_None
);
2047 _resultobj
= Py_None
;
2051 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2052 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
* _resultobj
;
2058 PyObject
* _obj0
= 0;
2059 char *_kwnames
[] = { "self","dx","dy", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2066 if (! wxRect_helper(_obj0
, &_arg0
))
2070 wxPy_BEGIN_ALLOW_THREADS
;
2071 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2073 wxPy_END_ALLOW_THREADS
;
2074 } Py_INCREF(Py_None
);
2075 _resultobj
= Py_None
;
2079 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2080 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2087 PyObject
* _obj0
= 0;
2088 char *_kwnames
[] = { "self","cx","cy", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2095 if (! wxRect_helper(_obj0
, &_arg0
))
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2102 wxPy_END_ALLOW_THREADS
;
2103 } _resultobj
= Py_BuildValue("i",_result
);
2107 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2108 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2114 PyObject
* _obj0
= 0;
2115 char *_kwnames
[] = { "self","x", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2122 if (! wxRect_helper(_obj0
, &_arg0
))
2126 wxPy_BEGIN_ALLOW_THREADS
;
2127 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2129 wxPy_END_ALLOW_THREADS
;
2130 } _resultobj
= Py_BuildValue("i",_result
);
2134 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2135 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
* _resultobj
;
2140 PyObject
* _obj0
= 0;
2141 char *_kwnames
[] = { "self", NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2148 if (! wxRect_helper(_obj0
, &_arg0
))
2152 wxPy_BEGIN_ALLOW_THREADS
;
2153 _result
= (int )wxRect_x_get(_arg0
);
2155 wxPy_END_ALLOW_THREADS
;
2156 } _resultobj
= Py_BuildValue("i",_result
);
2160 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2161 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
* _resultobj
;
2167 PyObject
* _obj0
= 0;
2168 char *_kwnames
[] = { "self","y", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2175 if (! wxRect_helper(_obj0
, &_arg0
))
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2182 wxPy_END_ALLOW_THREADS
;
2183 } _resultobj
= Py_BuildValue("i",_result
);
2187 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2188 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2193 PyObject
* _obj0
= 0;
2194 char *_kwnames
[] = { "self", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2201 if (! wxRect_helper(_obj0
, &_arg0
))
2205 wxPy_BEGIN_ALLOW_THREADS
;
2206 _result
= (int )wxRect_y_get(_arg0
);
2208 wxPy_END_ALLOW_THREADS
;
2209 } _resultobj
= Py_BuildValue("i",_result
);
2213 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2214 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2220 PyObject
* _obj0
= 0;
2221 char *_kwnames
[] = { "self","width", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2228 if (! wxRect_helper(_obj0
, &_arg0
))
2232 wxPy_BEGIN_ALLOW_THREADS
;
2233 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2235 wxPy_END_ALLOW_THREADS
;
2236 } _resultobj
= Py_BuildValue("i",_result
);
2240 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2241 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2246 PyObject
* _obj0
= 0;
2247 char *_kwnames
[] = { "self", NULL
};
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2254 if (! wxRect_helper(_obj0
, &_arg0
))
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 _result
= (int )wxRect_width_get(_arg0
);
2261 wxPy_END_ALLOW_THREADS
;
2262 } _resultobj
= Py_BuildValue("i",_result
);
2266 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2267 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2273 PyObject
* _obj0
= 0;
2274 char *_kwnames
[] = { "self","height", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2281 if (! wxRect_helper(_obj0
, &_arg0
))
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2288 wxPy_END_ALLOW_THREADS
;
2289 } _resultobj
= Py_BuildValue("i",_result
);
2293 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2294 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2299 PyObject
* _obj0
= 0;
2300 char *_kwnames
[] = { "self", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2307 if (! wxRect_helper(_obj0
, &_arg0
))
2311 wxPy_BEGIN_ALLOW_THREADS
;
2312 _result
= (int )wxRect_height_get(_arg0
);
2314 wxPy_END_ALLOW_THREADS
;
2315 } _resultobj
= Py_BuildValue("i",_result
);
2319 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2320 PyObject
* tup
= PyTuple_New(4);
2321 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2322 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2323 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2324 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2327 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
* _resultobj
;
2332 PyObject
* _obj0
= 0;
2333 char *_kwnames
[] = { "self", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2340 if (! wxRect_helper(_obj0
, &_arg0
))
2344 wxPy_BEGIN_ALLOW_THREADS
;
2345 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2347 wxPy_END_ALLOW_THREADS
;
2349 _resultobj
= _result
;
2354 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2355 if (! rect
) return *self
;
2356 return *self
+ *rect
;
2358 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2364 PyObject
* _obj0
= 0;
2366 PyObject
* _obj1
= 0;
2367 char *_kwnames
[] = { "self","rect", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2375 if (! wxRect_helper(_obj0
, &_arg0
))
2380 if (! wxRect_helper(_obj1
, &_arg1
))
2384 wxPy_BEGIN_ALLOW_THREADS
;
2385 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2387 wxPy_END_ALLOW_THREADS
;
2388 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2389 _resultobj
= Py_BuildValue("s",_ptemp
);
2393 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
2394 if (! rect
) return 0;
2395 return *self
== *rect
;
2397 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2403 PyObject
* _obj0
= 0;
2405 PyObject
* _obj1
= 0;
2406 char *_kwnames
[] = { "self","rect", NULL
};
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
2413 if (! wxRect_helper(_obj0
, &_arg0
))
2418 if (! wxRect_helper(_obj1
, &_arg1
))
2422 wxPy_BEGIN_ALLOW_THREADS
;
2423 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
2425 wxPy_END_ALLOW_THREADS
;
2426 } _resultobj
= Py_BuildValue("i",_result
);
2430 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2431 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2433 wxIndividualLayoutConstraint
* _arg0
;
2435 int _arg2
= (int ) 0;
2436 PyObject
* _argo0
= 0;
2437 PyObject
* _argo1
= 0;
2438 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2451 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2458 wxPy_BEGIN_ALLOW_THREADS
;
2459 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2461 wxPy_END_ALLOW_THREADS
;
2462 } Py_INCREF(Py_None
);
2463 _resultobj
= Py_None
;
2467 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2468 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
* _resultobj
;
2470 wxIndividualLayoutConstraint
* _arg0
;
2472 PyObject
* _argo0
= 0;
2473 char *_kwnames
[] = { "self","value", NULL
};
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2486 wxPy_BEGIN_ALLOW_THREADS
;
2487 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2489 wxPy_END_ALLOW_THREADS
;
2490 } Py_INCREF(Py_None
);
2491 _resultobj
= Py_None
;
2495 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2496 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
* _resultobj
;
2498 wxIndividualLayoutConstraint
* _arg0
;
2499 PyObject
* _argo0
= 0;
2500 char *_kwnames
[] = { "self", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2513 wxPy_BEGIN_ALLOW_THREADS
;
2514 wxIndividualLayoutConstraint_AsIs(_arg0
);
2516 wxPy_END_ALLOW_THREADS
;
2517 } Py_INCREF(Py_None
);
2518 _resultobj
= Py_None
;
2522 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2523 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
* _resultobj
;
2525 wxIndividualLayoutConstraint
* _arg0
;
2527 int _arg2
= (int ) 0;
2528 PyObject
* _argo0
= 0;
2529 PyObject
* _argo1
= 0;
2530 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2543 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2553 wxPy_END_ALLOW_THREADS
;
2554 } Py_INCREF(Py_None
);
2555 _resultobj
= Py_None
;
2559 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2560 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2562 wxIndividualLayoutConstraint
* _arg0
;
2563 PyObject
* _argo0
= 0;
2564 char *_kwnames
[] = { "self", NULL
};
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
2570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2577 wxPy_BEGIN_ALLOW_THREADS
;
2578 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2580 wxPy_END_ALLOW_THREADS
;
2581 } Py_INCREF(Py_None
);
2582 _resultobj
= Py_None
;
2586 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2587 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
* _resultobj
;
2589 wxIndividualLayoutConstraint
* _arg0
;
2591 int _arg2
= (int ) 0;
2592 PyObject
* _argo0
= 0;
2593 PyObject
* _argo1
= 0;
2594 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2614 wxPy_BEGIN_ALLOW_THREADS
;
2615 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2617 wxPy_END_ALLOW_THREADS
;
2618 } Py_INCREF(Py_None
);
2619 _resultobj
= Py_None
;
2623 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2624 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2626 wxIndividualLayoutConstraint
* _arg0
;
2630 PyObject
* _argo0
= 0;
2631 PyObject
* _argo1
= 0;
2632 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2645 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2652 wxPy_BEGIN_ALLOW_THREADS
;
2653 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2655 wxPy_END_ALLOW_THREADS
;
2656 } Py_INCREF(Py_None
);
2657 _resultobj
= Py_None
;
2661 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2662 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2664 wxIndividualLayoutConstraint
* _arg0
;
2666 int _arg2
= (int ) 0;
2667 PyObject
* _argo0
= 0;
2668 PyObject
* _argo1
= 0;
2669 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2682 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2692 wxPy_END_ALLOW_THREADS
;
2693 } Py_INCREF(Py_None
);
2694 _resultobj
= Py_None
;
2698 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2699 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2701 wxIndividualLayoutConstraint
* _arg0
;
2704 int _arg3
= (int ) 0;
2705 PyObject
* _argo0
= 0;
2706 PyObject
* _argo1
= 0;
2707 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2727 wxPy_BEGIN_ALLOW_THREADS
;
2728 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2730 wxPy_END_ALLOW_THREADS
;
2731 } Py_INCREF(Py_None
);
2732 _resultobj
= Py_None
;
2736 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2737 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2739 wxIndividualLayoutConstraint
* _arg0
;
2740 wxRelationship _arg1
;
2743 int _arg4
= (int ) 0;
2744 int _arg5
= (int ) 0;
2745 PyObject
* _argo0
= 0;
2746 PyObject
* _argo2
= 0;
2747 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2760 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2761 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2767 wxPy_BEGIN_ALLOW_THREADS
;
2768 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2770 wxPy_END_ALLOW_THREADS
;
2771 } Py_INCREF(Py_None
);
2772 _resultobj
= Py_None
;
2776 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2777 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2779 wxLayoutConstraints
* _result
;
2780 char *_kwnames
[] = { NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
2787 wxPy_BEGIN_ALLOW_THREADS
;
2788 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2790 wxPy_END_ALLOW_THREADS
;
2792 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2793 _resultobj
= Py_BuildValue("s",_ptemp
);
2796 _resultobj
= Py_None
;
2801 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2802 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2804 wxIndividualLayoutConstraint
* _result
;
2805 wxLayoutConstraints
* _arg0
;
2806 PyObject
* _argo0
= 0;
2807 char *_kwnames
[] = { "self", NULL
};
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
2814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2821 wxPy_BEGIN_ALLOW_THREADS
;
2822 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2824 wxPy_END_ALLOW_THREADS
;
2826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2827 _resultobj
= Py_BuildValue("s",_ptemp
);
2830 _resultobj
= Py_None
;
2835 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2836 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
* _resultobj
;
2838 wxIndividualLayoutConstraint
* _result
;
2839 wxLayoutConstraints
* _arg0
;
2840 PyObject
* _argo0
= 0;
2841 char *_kwnames
[] = { "self", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2858 wxPy_END_ALLOW_THREADS
;
2860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2861 _resultobj
= Py_BuildValue("s",_ptemp
);
2864 _resultobj
= Py_None
;
2869 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2870 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2872 wxIndividualLayoutConstraint
* _result
;
2873 wxLayoutConstraints
* _arg0
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self", NULL
};
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
2882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2889 wxPy_BEGIN_ALLOW_THREADS
;
2890 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2892 wxPy_END_ALLOW_THREADS
;
2894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2895 _resultobj
= Py_BuildValue("s",_ptemp
);
2898 _resultobj
= Py_None
;
2903 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2904 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2906 wxIndividualLayoutConstraint
* _result
;
2907 wxLayoutConstraints
* _arg0
;
2908 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2929 _resultobj
= Py_BuildValue("s",_ptemp
);
2932 _resultobj
= Py_None
;
2937 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2938 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2940 wxIndividualLayoutConstraint
* _result
;
2941 wxLayoutConstraints
* _arg0
;
2942 PyObject
* _argo0
= 0;
2943 char *_kwnames
[] = { "self", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2957 wxPy_BEGIN_ALLOW_THREADS
;
2958 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2960 wxPy_END_ALLOW_THREADS
;
2962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2963 _resultobj
= Py_BuildValue("s",_ptemp
);
2966 _resultobj
= Py_None
;
2971 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2972 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2974 wxIndividualLayoutConstraint
* _result
;
2975 wxLayoutConstraints
* _arg0
;
2976 PyObject
* _argo0
= 0;
2977 char *_kwnames
[] = { "self", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2991 wxPy_BEGIN_ALLOW_THREADS
;
2992 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
2994 wxPy_END_ALLOW_THREADS
;
2996 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2997 _resultobj
= Py_BuildValue("s",_ptemp
);
3000 _resultobj
= Py_None
;
3005 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3006 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3008 wxIndividualLayoutConstraint
* _result
;
3009 wxLayoutConstraints
* _arg0
;
3010 PyObject
* _argo0
= 0;
3011 char *_kwnames
[] = { "self", NULL
};
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3025 wxPy_BEGIN_ALLOW_THREADS
;
3026 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3028 wxPy_END_ALLOW_THREADS
;
3030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3031 _resultobj
= Py_BuildValue("s",_ptemp
);
3034 _resultobj
= Py_None
;
3039 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3040 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3042 wxIndividualLayoutConstraint
* _result
;
3043 wxLayoutConstraints
* _arg0
;
3044 PyObject
* _argo0
= 0;
3045 char *_kwnames
[] = { "self", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3059 wxPy_BEGIN_ALLOW_THREADS
;
3060 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3062 wxPy_END_ALLOW_THREADS
;
3064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3065 _resultobj
= Py_BuildValue("s",_ptemp
);
3068 _resultobj
= Py_None
;
3073 #define new_wxRegion() (new wxRegion())
3074 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3077 char *_kwnames
[] = { NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxRegion",_kwnames
))
3084 wxPy_BEGIN_ALLOW_THREADS
;
3085 _result
= (wxRegion
*)new_wxRegion();
3087 wxPy_END_ALLOW_THREADS
;
3089 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3090 _resultobj
= Py_BuildValue("s",_ptemp
);
3093 _resultobj
= Py_None
;
3098 #define delete_wxRegion(_swigobj) (delete _swigobj)
3099 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3102 PyObject
* _argo0
= 0;
3103 char *_kwnames
[] = { "self", NULL
};
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3116 wxPy_BEGIN_ALLOW_THREADS
;
3117 delete_wxRegion(_arg0
);
3119 wxPy_END_ALLOW_THREADS
;
3120 } Py_INCREF(Py_None
);
3121 _resultobj
= Py_None
;
3125 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3126 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3129 PyObject
* _argo0
= 0;
3130 char *_kwnames
[] = { "self", NULL
};
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3143 wxPy_BEGIN_ALLOW_THREADS
;
3144 wxRegion_Clear(_arg0
);
3146 wxPy_END_ALLOW_THREADS
;
3147 } Py_INCREF(Py_None
);
3148 _resultobj
= Py_None
;
3152 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3153 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
* _resultobj
;
3155 wxRegionContain _result
;
3159 PyObject
* _argo0
= 0;
3160 char *_kwnames
[] = { "self","x","y", NULL
};
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3173 wxPy_BEGIN_ALLOW_THREADS
;
3174 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3176 wxPy_END_ALLOW_THREADS
;
3177 } _resultobj
= Py_BuildValue("i",_result
);
3181 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3182 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3184 wxRegionContain _result
;
3187 PyObject
* _argo0
= 0;
3189 PyObject
* _obj1
= 0;
3190 char *_kwnames
[] = { "self","pt", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3204 if (! wxPoint_helper(_obj1
, &_arg1
))
3208 wxPy_BEGIN_ALLOW_THREADS
;
3209 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3211 wxPy_END_ALLOW_THREADS
;
3212 } _resultobj
= Py_BuildValue("i",_result
);
3216 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3217 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3219 wxRegionContain _result
;
3222 PyObject
* _argo0
= 0;
3224 PyObject
* _obj1
= 0;
3225 char *_kwnames
[] = { "self","rect", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3239 if (! wxRect_helper(_obj1
, &_arg1
))
3243 wxPy_BEGIN_ALLOW_THREADS
;
3244 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3246 wxPy_END_ALLOW_THREADS
;
3247 } _resultobj
= Py_BuildValue("i",_result
);
3251 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3252 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3254 wxRegionContain _result
;
3260 PyObject
* _argo0
= 0;
3261 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3277 wxPy_END_ALLOW_THREADS
;
3278 } _resultobj
= Py_BuildValue("i",_result
);
3282 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3283 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
* _resultobj
;
3287 PyObject
* _argo0
= 0;
3288 char *_kwnames
[] = { "self", NULL
};
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3302 wxPy_BEGIN_ALLOW_THREADS
;
3303 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3305 wxPy_END_ALLOW_THREADS
;
3306 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3307 _resultobj
= Py_BuildValue("s",_ptemp
);
3311 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3312 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3321 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3337 wxPy_END_ALLOW_THREADS
;
3338 } _resultobj
= Py_BuildValue("i",_result
);
3342 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3343 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3348 PyObject
* _argo0
= 0;
3350 PyObject
* _obj1
= 0;
3351 char *_kwnames
[] = { "self","rect", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3365 if (! wxRect_helper(_obj1
, &_arg1
))
3369 wxPy_BEGIN_ALLOW_THREADS
;
3370 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3372 wxPy_END_ALLOW_THREADS
;
3373 } _resultobj
= Py_BuildValue("i",_result
);
3377 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3378 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3383 PyObject
* _argo0
= 0;
3384 PyObject
* _argo1
= 0;
3385 char *_kwnames
[] = { "self","region", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3405 wxPy_BEGIN_ALLOW_THREADS
;
3406 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3408 wxPy_END_ALLOW_THREADS
;
3409 } _resultobj
= Py_BuildValue("i",_result
);
3413 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3414 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3418 PyObject
* _argo0
= 0;
3419 char *_kwnames
[] = { "self", NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3432 wxPy_BEGIN_ALLOW_THREADS
;
3433 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3435 wxPy_END_ALLOW_THREADS
;
3436 } _resultobj
= Py_BuildValue("i",_result
);
3440 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3441 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3449 PyObject
* _argo0
= 0;
3450 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3463 wxPy_BEGIN_ALLOW_THREADS
;
3464 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3466 wxPy_END_ALLOW_THREADS
;
3467 } _resultobj
= Py_BuildValue("i",_result
);
3471 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3472 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3477 PyObject
* _argo0
= 0;
3479 PyObject
* _obj1
= 0;
3480 char *_kwnames
[] = { "self","rect", NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3494 if (! wxRect_helper(_obj1
, &_arg1
))
3498 wxPy_BEGIN_ALLOW_THREADS
;
3499 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3501 wxPy_END_ALLOW_THREADS
;
3502 } _resultobj
= Py_BuildValue("i",_result
);
3506 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3507 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
* _resultobj
;
3512 PyObject
* _argo0
= 0;
3513 PyObject
* _argo1
= 0;
3514 char *_kwnames
[] = { "self","region", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
3537 wxPy_END_ALLOW_THREADS
;
3538 } _resultobj
= Py_BuildValue("i",_result
);
3542 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3543 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3551 PyObject
* _argo0
= 0;
3552 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3565 wxPy_BEGIN_ALLOW_THREADS
;
3566 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3568 wxPy_END_ALLOW_THREADS
;
3569 } _resultobj
= Py_BuildValue("i",_result
);
3573 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3574 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3579 PyObject
* _argo0
= 0;
3581 PyObject
* _obj1
= 0;
3582 char *_kwnames
[] = { "self","rect", NULL
};
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
3588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
3596 if (! wxRect_helper(_obj1
, &_arg1
))
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
3603 wxPy_END_ALLOW_THREADS
;
3604 } _resultobj
= Py_BuildValue("i",_result
);
3608 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3609 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3614 PyObject
* _argo0
= 0;
3615 PyObject
* _argo1
= 0;
3616 char *_kwnames
[] = { "self","region", NULL
};
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
3622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
3629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
3636 wxPy_BEGIN_ALLOW_THREADS
;
3637 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
3639 wxPy_END_ALLOW_THREADS
;
3640 } _resultobj
= Py_BuildValue("i",_result
);
3644 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3645 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
* _resultobj
;
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3667 wxPy_BEGIN_ALLOW_THREADS
;
3668 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3670 wxPy_END_ALLOW_THREADS
;
3671 } _resultobj
= Py_BuildValue("i",_result
);
3675 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3676 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3681 PyObject
* _argo0
= 0;
3683 PyObject
* _obj1
= 0;
3684 char *_kwnames
[] = { "self","rect", NULL
};
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
3690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
3698 if (! wxRect_helper(_obj1
, &_arg1
))
3702 wxPy_BEGIN_ALLOW_THREADS
;
3703 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
3705 wxPy_END_ALLOW_THREADS
;
3706 } _resultobj
= Py_BuildValue("i",_result
);
3710 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3711 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3716 PyObject
* _argo0
= 0;
3717 PyObject
* _argo1
= 0;
3718 char *_kwnames
[] = { "self","region", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
3731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
3738 wxPy_BEGIN_ALLOW_THREADS
;
3739 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
3741 wxPy_END_ALLOW_THREADS
;
3742 } _resultobj
= Py_BuildValue("i",_result
);
3746 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3747 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
* _resultobj
;
3749 wxRegionIterator
* _result
;
3751 PyObject
* _argo0
= 0;
3752 char *_kwnames
[] = { "region", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
3759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3766 wxPy_BEGIN_ALLOW_THREADS
;
3767 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3769 wxPy_END_ALLOW_THREADS
;
3771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3772 _resultobj
= Py_BuildValue("s",_ptemp
);
3775 _resultobj
= Py_None
;
3780 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3781 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3783 wxRegionIterator
* _arg0
;
3784 PyObject
* _argo0
= 0;
3785 char *_kwnames
[] = { "self", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3798 wxPy_BEGIN_ALLOW_THREADS
;
3799 delete_wxRegionIterator(_arg0
);
3801 wxPy_END_ALLOW_THREADS
;
3802 } Py_INCREF(Py_None
);
3803 _resultobj
= Py_None
;
3807 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3808 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
* _resultobj
;
3811 wxRegionIterator
* _arg0
;
3812 PyObject
* _argo0
= 0;
3813 char *_kwnames
[] = { "self", NULL
};
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
3819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3826 wxPy_BEGIN_ALLOW_THREADS
;
3827 _result
= (long )wxRegionIterator_GetX(_arg0
);
3829 wxPy_END_ALLOW_THREADS
;
3830 } _resultobj
= Py_BuildValue("l",_result
);
3834 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3835 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
* _resultobj
;
3838 wxRegionIterator
* _arg0
;
3839 PyObject
* _argo0
= 0;
3840 char *_kwnames
[] = { "self", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
3846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3853 wxPy_BEGIN_ALLOW_THREADS
;
3854 _result
= (long )wxRegionIterator_GetY(_arg0
);
3856 wxPy_END_ALLOW_THREADS
;
3857 } _resultobj
= Py_BuildValue("l",_result
);
3861 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3862 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3865 wxRegionIterator
* _arg0
;
3866 PyObject
* _argo0
= 0;
3867 char *_kwnames
[] = { "self", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3880 wxPy_BEGIN_ALLOW_THREADS
;
3881 _result
= (long )wxRegionIterator_GetW(_arg0
);
3883 wxPy_END_ALLOW_THREADS
;
3884 } _resultobj
= Py_BuildValue("l",_result
);
3888 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3889 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3892 wxRegionIterator
* _arg0
;
3893 PyObject
* _argo0
= 0;
3894 char *_kwnames
[] = { "self", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3907 wxPy_BEGIN_ALLOW_THREADS
;
3908 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3910 wxPy_END_ALLOW_THREADS
;
3911 } _resultobj
= Py_BuildValue("l",_result
);
3915 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3916 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
* _resultobj
;
3919 wxRegionIterator
* _arg0
;
3920 PyObject
* _argo0
= 0;
3921 char *_kwnames
[] = { "self", NULL
};
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
3927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3934 wxPy_BEGIN_ALLOW_THREADS
;
3935 _result
= (long )wxRegionIterator_GetH(_arg0
);
3937 wxPy_END_ALLOW_THREADS
;
3938 } _resultobj
= Py_BuildValue("l",_result
);
3942 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3943 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
* _resultobj
;
3946 wxRegionIterator
* _arg0
;
3947 PyObject
* _argo0
= 0;
3948 char *_kwnames
[] = { "self", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3961 wxPy_BEGIN_ALLOW_THREADS
;
3962 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3964 wxPy_END_ALLOW_THREADS
;
3965 } _resultobj
= Py_BuildValue("l",_result
);
3969 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3970 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3973 wxRegionIterator
* _arg0
;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "self", NULL
};
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
3982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3989 wxPy_BEGIN_ALLOW_THREADS
;
3990 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3992 wxPy_END_ALLOW_THREADS
;
3993 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3994 _resultobj
= Py_BuildValue("s",_ptemp
);
3998 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3999 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4002 wxRegionIterator
* _arg0
;
4003 PyObject
* _argo0
= 0;
4004 char *_kwnames
[] = { "self", NULL
};
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4017 wxPy_BEGIN_ALLOW_THREADS
;
4018 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4020 wxPy_END_ALLOW_THREADS
;
4021 } _resultobj
= Py_BuildValue("i",_result
);
4025 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4026 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4028 wxRegionIterator
* _arg0
;
4029 PyObject
* _argo0
= 0;
4030 char *_kwnames
[] = { "self", NULL
};
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4043 wxPy_BEGIN_ALLOW_THREADS
;
4044 wxRegionIterator_Reset(_arg0
);
4046 wxPy_END_ALLOW_THREADS
;
4047 } Py_INCREF(Py_None
);
4048 _resultobj
= Py_None
;
4052 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4055 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4057 wxRegionIterator
* _arg0
;
4058 PyObject
* _argo0
= 0;
4059 char *_kwnames
[] = { "self", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4072 wxPy_BEGIN_ALLOW_THREADS
;
4073 wxRegionIterator_Next(_arg0
);
4075 wxPy_END_ALLOW_THREADS
;
4076 } Py_INCREF(Py_None
);
4077 _resultobj
= Py_None
;
4081 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4082 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4084 wxAcceleratorEntry
* _result
;
4085 int _arg0
= (int ) 0;
4086 int _arg1
= (int ) 0;
4087 int _arg2
= (int ) 0;
4088 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4095 wxPy_BEGIN_ALLOW_THREADS
;
4096 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4098 wxPy_END_ALLOW_THREADS
;
4100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4101 _resultobj
= Py_BuildValue("s",_ptemp
);
4104 _resultobj
= Py_None
;
4109 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4110 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
* _resultobj
;
4112 wxAcceleratorEntry
* _arg0
;
4113 PyObject
* _argo0
= 0;
4114 char *_kwnames
[] = { "self", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4127 wxPy_BEGIN_ALLOW_THREADS
;
4128 delete_wxAcceleratorEntry(_arg0
);
4130 wxPy_END_ALLOW_THREADS
;
4131 } Py_INCREF(Py_None
);
4132 _resultobj
= Py_None
;
4136 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4137 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4139 wxAcceleratorEntry
* _arg0
;
4143 PyObject
* _argo0
= 0;
4144 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4157 wxPy_BEGIN_ALLOW_THREADS
;
4158 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4160 wxPy_END_ALLOW_THREADS
;
4161 } Py_INCREF(Py_None
);
4162 _resultobj
= Py_None
;
4166 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4167 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4170 wxAcceleratorEntry
* _arg0
;
4171 PyObject
* _argo0
= 0;
4172 char *_kwnames
[] = { "self", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4188 wxPy_END_ALLOW_THREADS
;
4189 } _resultobj
= Py_BuildValue("i",_result
);
4193 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4194 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4197 wxAcceleratorEntry
* _arg0
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4212 wxPy_BEGIN_ALLOW_THREADS
;
4213 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4215 wxPy_END_ALLOW_THREADS
;
4216 } _resultobj
= Py_BuildValue("i",_result
);
4220 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4221 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
* _resultobj
;
4224 wxAcceleratorEntry
* _arg0
;
4225 PyObject
* _argo0
= 0;
4226 char *_kwnames
[] = { "self", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4239 wxPy_BEGIN_ALLOW_THREADS
;
4240 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4242 wxPy_END_ALLOW_THREADS
;
4243 } _resultobj
= Py_BuildValue("i",_result
);
4247 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4248 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4250 wxAcceleratorTable
* _result
;
4252 wxAcceleratorEntry
* _arg1
;
4253 PyObject
* _obj1
= 0;
4254 char *_kwnames
[] = { "choices", NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4262 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4263 if (_arg1
== NULL
) {
4269 _arg0
= PyList_Size(_obj1
);
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4279 wxPy_END_ALLOW_THREADS
;
4281 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4282 _resultobj
= Py_BuildValue("s",_ptemp
);
4285 _resultobj
= Py_None
;
4293 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4294 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
* _resultobj
;
4296 wxAcceleratorTable
* _arg0
;
4297 PyObject
* _argo0
= 0;
4298 char *_kwnames
[] = { "self", NULL
};
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4311 wxPy_BEGIN_ALLOW_THREADS
;
4312 delete_wxAcceleratorTable(_arg0
);
4314 wxPy_END_ALLOW_THREADS
;
4315 } Py_INCREF(Py_None
);
4316 _resultobj
= Py_None
;
4320 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4321 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
* _resultobj
;
4323 wxBusyInfo
* _result
;
4325 PyObject
* _obj0
= 0;
4326 char *_kwnames
[] = { "message", NULL
};
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4333 if (!PyString_Check(_obj0
)) {
4334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4337 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4340 wxPy_BEGIN_ALLOW_THREADS
;
4341 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4343 wxPy_END_ALLOW_THREADS
;
4345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4346 _resultobj
= Py_BuildValue("s",_ptemp
);
4349 _resultobj
= Py_None
;
4358 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4359 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4362 PyObject
* _argo0
= 0;
4363 char *_kwnames
[] = { "self", NULL
};
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4376 wxPy_BEGIN_ALLOW_THREADS
;
4377 delete_wxBusyInfo(_arg0
);
4379 wxPy_END_ALLOW_THREADS
;
4380 } Py_INCREF(Py_None
);
4381 _resultobj
= Py_None
;
4385 static PyMethodDef misccMethods
[] = {
4386 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4387 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4388 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4389 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4390 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4391 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4392 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4393 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4394 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4395 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4396 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4397 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4398 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4399 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4400 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4401 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4402 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4403 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4404 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4405 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4406 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4407 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4408 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4409 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4410 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4411 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4412 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4413 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4414 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4415 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4416 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4417 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4418 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4419 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4420 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4421 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4422 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4423 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4424 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4425 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4426 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4427 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4428 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4429 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4430 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4431 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4432 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4433 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4434 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4435 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4436 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4437 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4438 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4439 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4440 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4441 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4442 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4443 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4444 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4445 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4446 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4447 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4448 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4449 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4450 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4451 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4452 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4453 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4454 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4455 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4456 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4457 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4458 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4459 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4460 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4461 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4462 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4463 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4464 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4465 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4466 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4467 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4468 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4469 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4470 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4471 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4472 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4473 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4474 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4475 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4476 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4477 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4478 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4479 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4480 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4481 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4482 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4483 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4484 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4485 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4486 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4487 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4488 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4489 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4490 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4491 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4492 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4493 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4494 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4495 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4496 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4497 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4498 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4499 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4500 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4501 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4502 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4503 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4504 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4505 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4506 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4507 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4508 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4509 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4510 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4511 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4512 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4513 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4514 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4515 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4516 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4517 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4518 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
4519 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4520 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4521 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4522 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4523 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4524 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4525 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4526 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4527 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4528 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4529 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
4530 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4531 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
4532 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4533 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4534 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4535 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4536 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4537 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4544 * This table is used by the pointer type-checker
4546 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4547 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4548 { "_signed_long","_long",0},
4549 { "_wxPrintQuality","_wxCoord",0},
4550 { "_wxPrintQuality","_int",0},
4551 { "_wxPrintQuality","_signed_int",0},
4552 { "_wxPrintQuality","_unsigned_int",0},
4553 { "_wxPrintQuality","_wxWindowID",0},
4554 { "_wxPrintQuality","_uint",0},
4555 { "_wxPrintQuality","_EBool",0},
4556 { "_wxPrintQuality","_size_t",0},
4557 { "_class_wxRegionIterator","_wxRegionIterator",0},
4558 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4559 { "_byte","_unsigned_char",0},
4560 { "_long","_unsigned_long",0},
4561 { "_long","_signed_long",0},
4562 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4563 { "_size_t","_wxCoord",0},
4564 { "_size_t","_wxPrintQuality",0},
4565 { "_size_t","_unsigned_int",0},
4566 { "_size_t","_int",0},
4567 { "_size_t","_wxWindowID",0},
4568 { "_size_t","_uint",0},
4569 { "_class_wxRealPoint","_wxRealPoint",0},
4570 { "_uint","_wxCoord",0},
4571 { "_uint","_wxPrintQuality",0},
4572 { "_uint","_size_t",0},
4573 { "_uint","_unsigned_int",0},
4574 { "_uint","_int",0},
4575 { "_uint","_wxWindowID",0},
4576 { "_wxChar","_char",0},
4577 { "_wxRect","_class_wxRect",0},
4578 { "_wxPoint","_class_wxPoint",0},
4579 { "_char","_wxChar",0},
4580 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4581 { "_EBool","_wxCoord",0},
4582 { "_EBool","_wxPrintQuality",0},
4583 { "_EBool","_signed_int",0},
4584 { "_EBool","_int",0},
4585 { "_EBool","_wxWindowID",0},
4586 { "_class_wxRegion","_wxRegion",0},
4587 { "_unsigned_long","_long",0},
4588 { "_class_wxRect","_wxRect",0},
4589 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4590 { "_signed_int","_wxCoord",0},
4591 { "_signed_int","_wxPrintQuality",0},
4592 { "_signed_int","_EBool",0},
4593 { "_signed_int","_wxWindowID",0},
4594 { "_signed_int","_int",0},
4595 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4596 { "_WXTYPE","_short",0},
4597 { "_WXTYPE","_signed_short",0},
4598 { "_WXTYPE","_unsigned_short",0},
4599 { "_unsigned_short","_WXTYPE",0},
4600 { "_unsigned_short","_short",0},
4601 { "_wxBusyInfo","_class_wxBusyInfo",0},
4602 { "_class_wxPoint","_wxPoint",0},
4603 { "_wxRealPoint","_class_wxRealPoint",0},
4604 { "_signed_short","_WXTYPE",0},
4605 { "_signed_short","_short",0},
4606 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4607 { "_unsigned_char","_byte",0},
4608 { "_unsigned_int","_wxCoord",0},
4609 { "_unsigned_int","_wxPrintQuality",0},
4610 { "_unsigned_int","_size_t",0},
4611 { "_unsigned_int","_uint",0},
4612 { "_unsigned_int","_wxWindowID",0},
4613 { "_unsigned_int","_int",0},
4614 { "_short","_WXTYPE",0},
4615 { "_short","_unsigned_short",0},
4616 { "_short","_signed_short",0},
4617 { "_wxWindowID","_wxCoord",0},
4618 { "_wxWindowID","_wxPrintQuality",0},
4619 { "_wxWindowID","_size_t",0},
4620 { "_wxWindowID","_EBool",0},
4621 { "_wxWindowID","_uint",0},
4622 { "_wxWindowID","_int",0},
4623 { "_wxWindowID","_signed_int",0},
4624 { "_wxWindowID","_unsigned_int",0},
4625 { "_int","_wxCoord",0},
4626 { "_int","_wxPrintQuality",0},
4627 { "_int","_size_t",0},
4628 { "_int","_EBool",0},
4629 { "_int","_uint",0},
4630 { "_int","_wxWindowID",0},
4631 { "_int","_unsigned_int",0},
4632 { "_int","_signed_int",0},
4633 { "_wxSize","_class_wxSize",0},
4634 { "_wxRegionIterator","_class_wxRegionIterator",0},
4635 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4636 { "_wxCoord","_int",0},
4637 { "_wxCoord","_signed_int",0},
4638 { "_wxCoord","_unsigned_int",0},
4639 { "_wxCoord","_wxWindowID",0},
4640 { "_wxCoord","_uint",0},
4641 { "_wxCoord","_EBool",0},
4642 { "_wxCoord","_size_t",0},
4643 { "_wxCoord","_wxPrintQuality",0},
4644 { "_wxRegion","_class_wxRegion",0},
4645 { "_class_wxBusyInfo","_wxBusyInfo",0},
4646 { "_class_wxSize","_wxSize",0},
4649 static PyObject
*SWIG_globals
;
4653 SWIGEXPORT(void) initmiscc() {
4655 SWIG_globals
= SWIG_newvarlink();
4656 m
= Py_InitModule("miscc", misccMethods
);
4657 d
= PyModule_GetDict(m
);
4658 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4659 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4660 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4661 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4662 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4663 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4664 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4665 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4666 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4667 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4668 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4669 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4670 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4671 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4672 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4673 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4674 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4675 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4676 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4677 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4678 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4679 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4680 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4681 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4684 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4685 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);