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>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
111 wxGetResource(section
, entry
, &retval
, file
);
117 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
118 PyObject
* _resultobj
;
120 char *_kwnames
[] = { NULL
};
123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
126 wxPy_BEGIN_ALLOW_THREADS
;
127 _result
= (long )wxNewId();
129 wxPy_END_ALLOW_THREADS
;
130 } _resultobj
= Py_BuildValue("l",_result
);
134 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
135 PyObject
* _resultobj
;
137 char *_kwnames
[] = { "id", NULL
};
140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
143 wxPy_BEGIN_ALLOW_THREADS
;
146 wxPy_END_ALLOW_THREADS
;
147 } Py_INCREF(Py_None
);
148 _resultobj
= Py_None
;
152 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
155 char *_kwnames
[] = { NULL
};
158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
161 wxPy_BEGIN_ALLOW_THREADS
;
162 _result
= (long )wxNewId();
164 wxPy_END_ALLOW_THREADS
;
165 } _resultobj
= Py_BuildValue("l",_result
);
169 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
170 PyObject
* _resultobj
;
172 char *_kwnames
[] = { "id", NULL
};
175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
178 wxPy_BEGIN_ALLOW_THREADS
;
181 wxPy_END_ALLOW_THREADS
;
182 } Py_INCREF(Py_None
);
183 _resultobj
= Py_None
;
187 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
188 PyObject
* _resultobj
;
189 char *_kwnames
[] = { NULL
};
192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
195 wxPy_BEGIN_ALLOW_THREADS
;
198 wxPy_END_ALLOW_THREADS
;
199 } Py_INCREF(Py_None
);
200 _resultobj
= Py_None
;
204 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
205 PyObject
* _resultobj
;
210 char *_kwnames
[] = { NULL
};
219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
222 wxPy_BEGIN_ALLOW_THREADS
;
223 wxDisplaySize(_arg0
,_arg1
);
225 wxPy_END_ALLOW_THREADS
;
226 } Py_INCREF(Py_None
);
227 _resultobj
= Py_None
;
230 o
= PyInt_FromLong((long) (*_arg0
));
231 _resultobj
= t_output_helper(_resultobj
, o
);
235 o
= PyInt_FromLong((long) (*_arg1
));
236 _resultobj
= t_output_helper(_resultobj
, o
);
241 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
243 char *_kwnames
[] = { NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
249 wxPy_BEGIN_ALLOW_THREADS
;
252 wxPy_END_ALLOW_THREADS
;
253 } Py_INCREF(Py_None
);
254 _resultobj
= Py_None
;
258 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
259 PyObject
* _resultobj
;
262 bool _arg1
= (bool ) FALSE
;
263 PyObject
* _obj0
= 0;
264 int tempbool1
= (int) FALSE
;
265 char *_kwnames
[] = { "command","sync", NULL
};
268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxExecute",_kwnames
,&_obj0
,&tempbool1
))
271 if (!PyString_Check(_obj0
)) {
272 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
275 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
277 _arg1
= (bool ) tempbool1
;
279 wxPy_BEGIN_ALLOW_THREADS
;
280 _result
= (long )wxExecute(*_arg0
,_arg1
);
282 wxPy_END_ALLOW_THREADS
;
283 } _resultobj
= Py_BuildValue("l",_result
);
291 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
292 PyObject
* _resultobj
;
294 bool _arg0
= (bool ) TRUE
;
295 int tempbool0
= (int) TRUE
;
296 char *_kwnames
[] = { "resetTimer", NULL
};
299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
301 _arg0
= (bool ) tempbool0
;
303 wxPy_BEGIN_ALLOW_THREADS
;
304 _result
= (long )wxGetElapsedTime(_arg0
);
306 wxPy_END_ALLOW_THREADS
;
307 } _resultobj
= Py_BuildValue("l",_result
);
311 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
317 char *_kwnames
[] = { NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
329 wxPy_BEGIN_ALLOW_THREADS
;
330 wxGetMousePosition(_arg0
,_arg1
);
332 wxPy_END_ALLOW_THREADS
;
333 } Py_INCREF(Py_None
);
334 _resultobj
= Py_None
;
337 o
= PyInt_FromLong((long) (*_arg0
));
338 _resultobj
= t_output_helper(_resultobj
, o
);
342 o
= PyInt_FromLong((long) (*_arg1
));
343 _resultobj
= t_output_helper(_resultobj
, o
);
348 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
351 char *_kwnames
[] = { NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
357 wxPy_BEGIN_ALLOW_THREADS
;
358 _result
= (bool )wxIsBusy();
360 wxPy_END_ALLOW_THREADS
;
361 } _resultobj
= Py_BuildValue("i",_result
);
365 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
368 char *_kwnames
[] = { NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
374 wxPy_BEGIN_ALLOW_THREADS
;
375 _result
= new wxString (wxNow());
377 wxPy_END_ALLOW_THREADS
;
379 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
387 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
388 PyObject
* _resultobj
;
390 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
391 PyObject
* _obj0
= 0;
392 char *_kwnames
[] = { "command", NULL
};
395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
399 if (!PyString_Check(_obj0
)) {
400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
403 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
406 wxPy_BEGIN_ALLOW_THREADS
;
407 _result
= (bool )wxShell(*_arg0
);
409 wxPy_END_ALLOW_THREADS
;
410 } _resultobj
= Py_BuildValue("i",_result
);
418 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
419 PyObject
* _resultobj
;
420 char *_kwnames
[] = { NULL
};
423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
426 wxPy_BEGIN_ALLOW_THREADS
;
429 wxPy_END_ALLOW_THREADS
;
430 } Py_INCREF(Py_None
);
431 _resultobj
= Py_None
;
435 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
436 PyObject
* _resultobj
;
442 char *_kwnames
[] = { NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
454 wxPy_BEGIN_ALLOW_THREADS
;
455 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
457 wxPy_END_ALLOW_THREADS
;
458 } _resultobj
= Py_BuildValue("i",_result
);
461 o
= PyInt_FromLong((long) (*_arg0
));
462 _resultobj
= t_output_helper(_resultobj
, o
);
466 o
= PyInt_FromLong((long) (*_arg1
));
467 _resultobj
= t_output_helper(_resultobj
, o
);
472 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
473 PyObject
* _resultobj
;
475 char *_kwnames
[] = { "secs", NULL
};
478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
481 wxPy_BEGIN_ALLOW_THREADS
;
484 wxPy_END_ALLOW_THREADS
;
485 } Py_INCREF(Py_None
);
486 _resultobj
= Py_None
;
490 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
493 char *_kwnames
[] = { NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
499 wxPy_BEGIN_ALLOW_THREADS
;
500 _result
= (bool )wxYield();
502 wxPy_END_ALLOW_THREADS
;
503 } _resultobj
= Py_BuildValue("i",_result
);
507 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
510 char *_kwnames
[] = { NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSafeYield",_kwnames
))
516 wxPy_BEGIN_ALLOW_THREADS
;
517 _result
= (bool )wxSafeYield();
519 wxPy_END_ALLOW_THREADS
;
520 } _resultobj
= Py_BuildValue("i",_result
);
524 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
528 char *_kwnames
[] = { "enable", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
533 _arg0
= (bool ) tempbool0
;
535 wxPy_BEGIN_ALLOW_THREADS
;
536 wxEnableTopLevelWindows(_arg0
);
538 wxPy_END_ALLOW_THREADS
;
539 } Py_INCREF(Py_None
);
540 _resultobj
= Py_None
;
544 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
549 char * _arg2
= (char *) NULL
;
550 char *_kwnames
[] = { "section","entry","file", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
556 wxPy_BEGIN_ALLOW_THREADS
;
557 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
559 wxPy_END_ALLOW_THREADS
;
560 } _resultobj
= Py_BuildValue("s", _result
);
564 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
565 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
571 PyObject
* _obj0
= 0;
572 char *_kwnames
[] = { "self","x", NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
579 if (! wxSize_helper(_obj0
, &_arg0
))
583 wxPy_BEGIN_ALLOW_THREADS
;
584 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
586 wxPy_END_ALLOW_THREADS
;
587 } _resultobj
= Py_BuildValue("l",_result
);
591 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
592 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
597 PyObject
* _obj0
= 0;
598 char *_kwnames
[] = { "self", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
605 if (! wxSize_helper(_obj0
, &_arg0
))
609 wxPy_BEGIN_ALLOW_THREADS
;
610 _result
= (long )wxSize_x_get(_arg0
);
612 wxPy_END_ALLOW_THREADS
;
613 } _resultobj
= Py_BuildValue("l",_result
);
617 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
618 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
619 PyObject
* _resultobj
;
624 PyObject
* _obj0
= 0;
625 char *_kwnames
[] = { "self","y", NULL
};
628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
632 if (! wxSize_helper(_obj0
, &_arg0
))
636 wxPy_BEGIN_ALLOW_THREADS
;
637 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
639 wxPy_END_ALLOW_THREADS
;
640 } _resultobj
= Py_BuildValue("l",_result
);
644 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
645 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
646 PyObject
* _resultobj
;
650 PyObject
* _obj0
= 0;
651 char *_kwnames
[] = { "self", NULL
};
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
658 if (! wxSize_helper(_obj0
, &_arg0
))
662 wxPy_BEGIN_ALLOW_THREADS
;
663 _result
= (long )wxSize_y_get(_arg0
);
665 wxPy_END_ALLOW_THREADS
;
666 } _resultobj
= Py_BuildValue("l",_result
);
670 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
671 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
674 long _arg0
= (long ) 0;
675 long _arg1
= (long ) 0;
676 char *_kwnames
[] = { "w","h", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
683 wxPy_BEGIN_ALLOW_THREADS
;
684 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
686 wxPy_END_ALLOW_THREADS
;
688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
689 _resultobj
= Py_BuildValue("s",_ptemp
);
692 _resultobj
= Py_None
;
697 #define delete_wxSize(_swigobj) (delete _swigobj)
698 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
702 PyObject
* _obj0
= 0;
703 char *_kwnames
[] = { "self", NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
710 if (! wxSize_helper(_obj0
, &_arg0
))
714 wxPy_BEGIN_ALLOW_THREADS
;
715 delete_wxSize(_arg0
);
717 wxPy_END_ALLOW_THREADS
;
718 } Py_INCREF(Py_None
);
719 _resultobj
= Py_None
;
723 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
724 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
730 PyObject
* _obj0
= 0;
731 char *_kwnames
[] = { "self","w","h", NULL
};
734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
738 if (! wxSize_helper(_obj0
, &_arg0
))
742 wxPy_BEGIN_ALLOW_THREADS
;
743 wxSize_Set(_arg0
,_arg1
,_arg2
);
745 wxPy_END_ALLOW_THREADS
;
746 } Py_INCREF(Py_None
);
747 _resultobj
= Py_None
;
751 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
752 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
757 PyObject
* _obj0
= 0;
758 char *_kwnames
[] = { "self", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
765 if (! wxSize_helper(_obj0
, &_arg0
))
769 wxPy_BEGIN_ALLOW_THREADS
;
770 _result
= (long )wxSize_GetX(_arg0
);
772 wxPy_END_ALLOW_THREADS
;
773 } _resultobj
= Py_BuildValue("l",_result
);
777 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
778 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
783 PyObject
* _obj0
= 0;
784 char *_kwnames
[] = { "self", NULL
};
787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
791 if (! wxSize_helper(_obj0
, &_arg0
))
795 wxPy_BEGIN_ALLOW_THREADS
;
796 _result
= (long )wxSize_GetY(_arg0
);
798 wxPy_END_ALLOW_THREADS
;
799 } _resultobj
= Py_BuildValue("l",_result
);
803 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
804 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
809 PyObject
* _obj0
= 0;
810 char *_kwnames
[] = { "self", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
817 if (! wxSize_helper(_obj0
, &_arg0
))
821 wxPy_BEGIN_ALLOW_THREADS
;
822 _result
= (long )wxSize_GetWidth(_arg0
);
824 wxPy_END_ALLOW_THREADS
;
825 } _resultobj
= Py_BuildValue("l",_result
);
829 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
830 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
835 PyObject
* _obj0
= 0;
836 char *_kwnames
[] = { "self", NULL
};
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
843 if (! wxSize_helper(_obj0
, &_arg0
))
847 wxPy_BEGIN_ALLOW_THREADS
;
848 _result
= (long )wxSize_GetHeight(_arg0
);
850 wxPy_END_ALLOW_THREADS
;
851 } _resultobj
= Py_BuildValue("l",_result
);
855 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
856 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
861 PyObject
* _obj0
= 0;
862 char *_kwnames
[] = { "self","w", NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
869 if (! wxSize_helper(_obj0
, &_arg0
))
873 wxPy_BEGIN_ALLOW_THREADS
;
874 wxSize_SetWidth(_arg0
,_arg1
);
876 wxPy_END_ALLOW_THREADS
;
877 } Py_INCREF(Py_None
);
878 _resultobj
= Py_None
;
882 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
883 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
884 PyObject
* _resultobj
;
888 PyObject
* _obj0
= 0;
889 char *_kwnames
[] = { "self","h", NULL
};
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
896 if (! wxSize_helper(_obj0
, &_arg0
))
900 wxPy_BEGIN_ALLOW_THREADS
;
901 wxSize_SetHeight(_arg0
,_arg1
);
903 wxPy_END_ALLOW_THREADS
;
904 } Py_INCREF(Py_None
);
905 _resultobj
= Py_None
;
909 static PyObject
* wxSize_asTuple(wxSize
*self
) {
910 PyObject
* tup
= PyTuple_New(2);
911 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
912 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
915 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
920 PyObject
* _obj0
= 0;
921 char *_kwnames
[] = { "self", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
928 if (! wxSize_helper(_obj0
, &_arg0
))
932 wxPy_BEGIN_ALLOW_THREADS
;
933 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
935 wxPy_END_ALLOW_THREADS
;
937 _resultobj
= _result
;
942 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
943 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
949 PyObject
* _obj0
= 0;
950 char *_kwnames
[] = { "self","x", NULL
};
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
957 if (! wxRealPoint_helper(_obj0
, &_arg0
))
961 wxPy_BEGIN_ALLOW_THREADS
;
962 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
964 wxPy_END_ALLOW_THREADS
;
965 } _resultobj
= Py_BuildValue("d",_result
);
969 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
970 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
975 PyObject
* _obj0
= 0;
976 char *_kwnames
[] = { "self", NULL
};
979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
983 if (! wxRealPoint_helper(_obj0
, &_arg0
))
987 wxPy_BEGIN_ALLOW_THREADS
;
988 _result
= (double )wxRealPoint_x_get(_arg0
);
990 wxPy_END_ALLOW_THREADS
;
991 } _resultobj
= Py_BuildValue("d",_result
);
995 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
996 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
1002 PyObject
* _obj0
= 0;
1003 char *_kwnames
[] = { "self","y", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1010 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1014 wxPy_BEGIN_ALLOW_THREADS
;
1015 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1017 wxPy_END_ALLOW_THREADS
;
1018 } _resultobj
= Py_BuildValue("d",_result
);
1022 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1023 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1026 wxRealPoint
* _arg0
;
1028 PyObject
* _obj0
= 0;
1029 char *_kwnames
[] = { "self", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1036 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1040 wxPy_BEGIN_ALLOW_THREADS
;
1041 _result
= (double )wxRealPoint_y_get(_arg0
);
1043 wxPy_END_ALLOW_THREADS
;
1044 } _resultobj
= Py_BuildValue("d",_result
);
1048 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1049 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
* _resultobj
;
1051 wxRealPoint
* _result
;
1052 double _arg0
= (double ) 0.0;
1053 double _arg1
= (double ) 0.0;
1054 char *_kwnames
[] = { "x","y", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1061 wxPy_BEGIN_ALLOW_THREADS
;
1062 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1064 wxPy_END_ALLOW_THREADS
;
1066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1067 _resultobj
= Py_BuildValue("s",_ptemp
);
1070 _resultobj
= Py_None
;
1075 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1076 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
* _resultobj
;
1078 wxRealPoint
* _arg0
;
1080 PyObject
* _obj0
= 0;
1081 char *_kwnames
[] = { "self", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1088 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1092 wxPy_BEGIN_ALLOW_THREADS
;
1093 delete_wxRealPoint(_arg0
);
1095 wxPy_END_ALLOW_THREADS
;
1096 } Py_INCREF(Py_None
);
1097 _resultobj
= Py_None
;
1101 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1105 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1107 wxRealPoint
* _arg0
;
1111 PyObject
* _obj0
= 0;
1112 char *_kwnames
[] = { "self","x","y", NULL
};
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1119 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1123 wxPy_BEGIN_ALLOW_THREADS
;
1124 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1126 wxPy_END_ALLOW_THREADS
;
1127 } Py_INCREF(Py_None
);
1128 _resultobj
= Py_None
;
1132 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1133 PyObject
* tup
= PyTuple_New(2);
1134 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1135 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1138 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1141 wxRealPoint
* _arg0
;
1143 PyObject
* _obj0
= 0;
1144 char *_kwnames
[] = { "self", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1151 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1155 wxPy_BEGIN_ALLOW_THREADS
;
1156 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1158 wxPy_END_ALLOW_THREADS
;
1160 _resultobj
= _result
;
1165 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1166 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
* _resultobj
;
1172 PyObject
* _obj0
= 0;
1173 char *_kwnames
[] = { "self","x", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1180 if (! wxPoint_helper(_obj0
, &_arg0
))
1184 wxPy_BEGIN_ALLOW_THREADS
;
1185 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1187 wxPy_END_ALLOW_THREADS
;
1188 } _resultobj
= Py_BuildValue("l",_result
);
1192 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1193 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1198 PyObject
* _obj0
= 0;
1199 char *_kwnames
[] = { "self", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1206 if (! wxPoint_helper(_obj0
, &_arg0
))
1210 wxPy_BEGIN_ALLOW_THREADS
;
1211 _result
= (long )wxPoint_x_get(_arg0
);
1213 wxPy_END_ALLOW_THREADS
;
1214 } _resultobj
= Py_BuildValue("l",_result
);
1218 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1219 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1225 PyObject
* _obj0
= 0;
1226 char *_kwnames
[] = { "self","y", NULL
};
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1233 if (! wxPoint_helper(_obj0
, &_arg0
))
1237 wxPy_BEGIN_ALLOW_THREADS
;
1238 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1240 wxPy_END_ALLOW_THREADS
;
1241 } _resultobj
= Py_BuildValue("l",_result
);
1245 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1246 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1251 PyObject
* _obj0
= 0;
1252 char *_kwnames
[] = { "self", NULL
};
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1259 if (! wxPoint_helper(_obj0
, &_arg0
))
1263 wxPy_BEGIN_ALLOW_THREADS
;
1264 _result
= (long )wxPoint_y_get(_arg0
);
1266 wxPy_END_ALLOW_THREADS
;
1267 } _resultobj
= Py_BuildValue("l",_result
);
1271 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1272 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1275 long _arg0
= (long ) 0;
1276 long _arg1
= (long ) 0;
1277 char *_kwnames
[] = { "x","y", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1284 wxPy_BEGIN_ALLOW_THREADS
;
1285 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1287 wxPy_END_ALLOW_THREADS
;
1289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1290 _resultobj
= Py_BuildValue("s",_ptemp
);
1293 _resultobj
= Py_None
;
1298 #define delete_wxPoint(_swigobj) (delete _swigobj)
1299 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1303 PyObject
* _obj0
= 0;
1304 char *_kwnames
[] = { "self", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1311 if (! wxPoint_helper(_obj0
, &_arg0
))
1315 wxPy_BEGIN_ALLOW_THREADS
;
1316 delete_wxPoint(_arg0
);
1318 wxPy_END_ALLOW_THREADS
;
1319 } Py_INCREF(Py_None
);
1320 _resultobj
= Py_None
;
1324 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1328 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1334 PyObject
* _obj0
= 0;
1335 char *_kwnames
[] = { "self","x","y", NULL
};
1338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1342 if (! wxPoint_helper(_obj0
, &_arg0
))
1346 wxPy_BEGIN_ALLOW_THREADS
;
1347 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1349 wxPy_END_ALLOW_THREADS
;
1350 } Py_INCREF(Py_None
);
1351 _resultobj
= Py_None
;
1355 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1356 PyObject
* tup
= PyTuple_New(2);
1357 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1358 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1361 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1366 PyObject
* _obj0
= 0;
1367 char *_kwnames
[] = { "self", NULL
};
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1374 if (! wxPoint_helper(_obj0
, &_arg0
))
1378 wxPy_BEGIN_ALLOW_THREADS
;
1379 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1381 wxPy_END_ALLOW_THREADS
;
1383 _resultobj
= _result
;
1388 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1389 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1392 long _arg0
= (long ) 0;
1393 long _arg1
= (long ) 0;
1394 long _arg2
= (long ) 0;
1395 long _arg3
= (long ) 0;
1396 char *_kwnames
[] = { "x","y","w","h", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1403 wxPy_BEGIN_ALLOW_THREADS
;
1404 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1406 wxPy_END_ALLOW_THREADS
;
1408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1409 _resultobj
= Py_BuildValue("s",_ptemp
);
1412 _resultobj
= Py_None
;
1417 #define delete_wxRect(_swigobj) (delete _swigobj)
1418 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1422 PyObject
* _obj0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1430 if (! wxRect_helper(_obj0
, &_arg0
))
1434 wxPy_BEGIN_ALLOW_THREADS
;
1435 delete_wxRect(_arg0
);
1437 wxPy_END_ALLOW_THREADS
;
1438 } Py_INCREF(Py_None
);
1439 _resultobj
= Py_None
;
1443 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1444 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1449 PyObject
* _obj0
= 0;
1450 char *_kwnames
[] = { "self", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
1457 if (! wxRect_helper(_obj0
, &_arg0
))
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 _result
= (long )wxRect_GetX(_arg0
);
1464 wxPy_END_ALLOW_THREADS
;
1465 } _resultobj
= Py_BuildValue("l",_result
);
1469 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1470 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1475 PyObject
* _obj0
= 0;
1476 char *_kwnames
[] = { "self","X", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
1483 if (! wxRect_helper(_obj0
, &_arg0
))
1487 wxPy_BEGIN_ALLOW_THREADS
;
1488 wxRect_SetX(_arg0
,_arg1
);
1490 wxPy_END_ALLOW_THREADS
;
1491 } Py_INCREF(Py_None
);
1492 _resultobj
= Py_None
;
1496 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1497 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1502 PyObject
* _obj0
= 0;
1503 char *_kwnames
[] = { "self", NULL
};
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
1510 if (! wxRect_helper(_obj0
, &_arg0
))
1514 wxPy_BEGIN_ALLOW_THREADS
;
1515 _result
= (long )wxRect_GetY(_arg0
);
1517 wxPy_END_ALLOW_THREADS
;
1518 } _resultobj
= Py_BuildValue("l",_result
);
1522 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1523 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1528 PyObject
* _obj0
= 0;
1529 char *_kwnames
[] = { "self","Y", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
1536 if (! wxRect_helper(_obj0
, &_arg0
))
1540 wxPy_BEGIN_ALLOW_THREADS
;
1541 wxRect_SetY(_arg0
,_arg1
);
1543 wxPy_END_ALLOW_THREADS
;
1544 } Py_INCREF(Py_None
);
1545 _resultobj
= Py_None
;
1549 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1550 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1555 PyObject
* _obj0
= 0;
1556 char *_kwnames
[] = { "self", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
1563 if (! wxRect_helper(_obj0
, &_arg0
))
1567 wxPy_BEGIN_ALLOW_THREADS
;
1568 _result
= (long )wxRect_GetWidth(_arg0
);
1570 wxPy_END_ALLOW_THREADS
;
1571 } _resultobj
= Py_BuildValue("l",_result
);
1575 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1576 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1581 PyObject
* _obj0
= 0;
1582 char *_kwnames
[] = { "self","w", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1589 if (! wxRect_helper(_obj0
, &_arg0
))
1593 wxPy_BEGIN_ALLOW_THREADS
;
1594 wxRect_SetWidth(_arg0
,_arg1
);
1596 wxPy_END_ALLOW_THREADS
;
1597 } Py_INCREF(Py_None
);
1598 _resultobj
= Py_None
;
1602 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1603 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1608 PyObject
* _obj0
= 0;
1609 char *_kwnames
[] = { "self", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
1616 if (! wxRect_helper(_obj0
, &_arg0
))
1620 wxPy_BEGIN_ALLOW_THREADS
;
1621 _result
= (long )wxRect_GetHeight(_arg0
);
1623 wxPy_END_ALLOW_THREADS
;
1624 } _resultobj
= Py_BuildValue("l",_result
);
1628 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1629 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1634 PyObject
* _obj0
= 0;
1635 char *_kwnames
[] = { "self","h", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1642 if (! wxRect_helper(_obj0
, &_arg0
))
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 wxRect_SetHeight(_arg0
,_arg1
);
1649 wxPy_END_ALLOW_THREADS
;
1650 } Py_INCREF(Py_None
);
1651 _resultobj
= Py_None
;
1655 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1656 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1661 PyObject
* _obj0
= 0;
1662 char *_kwnames
[] = { "self", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
1670 if (! wxRect_helper(_obj0
, &_arg0
))
1674 wxPy_BEGIN_ALLOW_THREADS
;
1675 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1677 wxPy_END_ALLOW_THREADS
;
1678 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1679 _resultobj
= Py_BuildValue("s",_ptemp
);
1683 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1684 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1689 PyObject
* _obj0
= 0;
1690 char *_kwnames
[] = { "self", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
1698 if (! wxRect_helper(_obj0
, &_arg0
))
1702 wxPy_BEGIN_ALLOW_THREADS
;
1703 _result
= new wxSize (wxRect_GetSize(_arg0
));
1705 wxPy_END_ALLOW_THREADS
;
1706 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1707 _resultobj
= Py_BuildValue("s",_ptemp
);
1711 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1712 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1717 PyObject
* _obj0
= 0;
1718 char *_kwnames
[] = { "self", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
1725 if (! wxRect_helper(_obj0
, &_arg0
))
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 _result
= (long )wxRect_GetLeft(_arg0
);
1732 wxPy_END_ALLOW_THREADS
;
1733 } _resultobj
= Py_BuildValue("l",_result
);
1737 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1738 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1743 PyObject
* _obj0
= 0;
1744 char *_kwnames
[] = { "self", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
1751 if (! wxRect_helper(_obj0
, &_arg0
))
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 _result
= (long )wxRect_GetTop(_arg0
);
1758 wxPy_END_ALLOW_THREADS
;
1759 } _resultobj
= Py_BuildValue("l",_result
);
1763 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1764 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1769 PyObject
* _obj0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
1777 if (! wxRect_helper(_obj0
, &_arg0
))
1781 wxPy_BEGIN_ALLOW_THREADS
;
1782 _result
= (long )wxRect_GetBottom(_arg0
);
1784 wxPy_END_ALLOW_THREADS
;
1785 } _resultobj
= Py_BuildValue("l",_result
);
1789 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1790 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1795 PyObject
* _obj0
= 0;
1796 char *_kwnames
[] = { "self", NULL
};
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
1803 if (! wxRect_helper(_obj0
, &_arg0
))
1807 wxPy_BEGIN_ALLOW_THREADS
;
1808 _result
= (long )wxRect_GetRight(_arg0
);
1810 wxPy_END_ALLOW_THREADS
;
1811 } _resultobj
= Py_BuildValue("l",_result
);
1815 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1816 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1822 PyObject
* _obj0
= 0;
1823 char *_kwnames
[] = { "self","x", NULL
};
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
1830 if (! wxRect_helper(_obj0
, &_arg0
))
1834 wxPy_BEGIN_ALLOW_THREADS
;
1835 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
1837 wxPy_END_ALLOW_THREADS
;
1838 } _resultobj
= Py_BuildValue("l",_result
);
1842 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
1843 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1848 PyObject
* _obj0
= 0;
1849 char *_kwnames
[] = { "self", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
1856 if (! wxRect_helper(_obj0
, &_arg0
))
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 _result
= (long )wxRect_x_get(_arg0
);
1863 wxPy_END_ALLOW_THREADS
;
1864 } _resultobj
= Py_BuildValue("l",_result
);
1868 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1869 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1875 PyObject
* _obj0
= 0;
1876 char *_kwnames
[] = { "self","y", NULL
};
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
1883 if (! wxRect_helper(_obj0
, &_arg0
))
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
1890 wxPy_END_ALLOW_THREADS
;
1891 } _resultobj
= Py_BuildValue("l",_result
);
1895 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
1896 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1901 PyObject
* _obj0
= 0;
1902 char *_kwnames
[] = { "self", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
1909 if (! wxRect_helper(_obj0
, &_arg0
))
1913 wxPy_BEGIN_ALLOW_THREADS
;
1914 _result
= (long )wxRect_y_get(_arg0
);
1916 wxPy_END_ALLOW_THREADS
;
1917 } _resultobj
= Py_BuildValue("l",_result
);
1921 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
1922 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1928 PyObject
* _obj0
= 0;
1929 char *_kwnames
[] = { "self","width", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
1936 if (! wxRect_helper(_obj0
, &_arg0
))
1940 wxPy_BEGIN_ALLOW_THREADS
;
1941 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
1943 wxPy_END_ALLOW_THREADS
;
1944 } _resultobj
= Py_BuildValue("l",_result
);
1948 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
1949 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1954 PyObject
* _obj0
= 0;
1955 char *_kwnames
[] = { "self", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
1962 if (! wxRect_helper(_obj0
, &_arg0
))
1966 wxPy_BEGIN_ALLOW_THREADS
;
1967 _result
= (long )wxRect_width_get(_arg0
);
1969 wxPy_END_ALLOW_THREADS
;
1970 } _resultobj
= Py_BuildValue("l",_result
);
1974 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
1975 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1981 PyObject
* _obj0
= 0;
1982 char *_kwnames
[] = { "self","height", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
1989 if (! wxRect_helper(_obj0
, &_arg0
))
1993 wxPy_BEGIN_ALLOW_THREADS
;
1994 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
1996 wxPy_END_ALLOW_THREADS
;
1997 } _resultobj
= Py_BuildValue("l",_result
);
2001 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2002 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2007 PyObject
* _obj0
= 0;
2008 char *_kwnames
[] = { "self", NULL
};
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2015 if (! wxRect_helper(_obj0
, &_arg0
))
2019 wxPy_BEGIN_ALLOW_THREADS
;
2020 _result
= (long )wxRect_height_get(_arg0
);
2022 wxPy_END_ALLOW_THREADS
;
2023 } _resultobj
= Py_BuildValue("l",_result
);
2027 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2028 PyObject
* tup
= PyTuple_New(4);
2029 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2030 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2031 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2032 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2035 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
* _resultobj
;
2040 PyObject
* _obj0
= 0;
2041 char *_kwnames
[] = { "self", NULL
};
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2048 if (! wxRect_helper(_obj0
, &_arg0
))
2052 wxPy_BEGIN_ALLOW_THREADS
;
2053 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2055 wxPy_END_ALLOW_THREADS
;
2057 _resultobj
= _result
;
2062 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2063 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2065 wxPyTimer
* _result
;
2067 PyObject
* _obj0
= 0;
2068 char *_kwnames
[] = { "notify", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2081 wxPy_END_ALLOW_THREADS
;
2083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2084 _resultobj
= Py_BuildValue("s",_ptemp
);
2087 _resultobj
= Py_None
;
2092 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2093 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2096 PyObject
* _argo0
= 0;
2097 char *_kwnames
[] = { "self", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
2103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2110 wxPy_BEGIN_ALLOW_THREADS
;
2111 delete_wxPyTimer(_arg0
);
2113 wxPy_END_ALLOW_THREADS
;
2114 } Py_INCREF(Py_None
);
2115 _resultobj
= Py_None
;
2119 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2120 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2124 PyObject
* _argo0
= 0;
2125 char *_kwnames
[] = { "self", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Interval",_kwnames
,&_argo0
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2138 wxPy_BEGIN_ALLOW_THREADS
;
2139 _result
= (int )wxPyTimer_Interval(_arg0
);
2141 wxPy_END_ALLOW_THREADS
;
2142 } _resultobj
= Py_BuildValue("i",_result
);
2146 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2147 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2150 int _arg1
= (int ) -1;
2151 int _arg2
= (int ) FALSE
;
2152 PyObject
* _argo0
= 0;
2153 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2169 wxPy_END_ALLOW_THREADS
;
2170 } Py_INCREF(Py_None
);
2171 _resultobj
= Py_None
;
2175 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2176 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2179 PyObject
* _argo0
= 0;
2180 char *_kwnames
[] = { "self", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
2186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2193 wxPy_BEGIN_ALLOW_THREADS
;
2194 wxPyTimer_Stop(_arg0
);
2196 wxPy_END_ALLOW_THREADS
;
2197 } Py_INCREF(Py_None
);
2198 _resultobj
= Py_None
;
2202 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2203 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
* _resultobj
;
2205 wxIndividualLayoutConstraint
* _arg0
;
2207 int _arg2
= (int ) 0;
2208 PyObject
* _argo0
= 0;
2209 PyObject
* _argo1
= 0;
2210 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2223 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2230 wxPy_BEGIN_ALLOW_THREADS
;
2231 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2233 wxPy_END_ALLOW_THREADS
;
2234 } Py_INCREF(Py_None
);
2235 _resultobj
= Py_None
;
2239 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2240 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2242 wxIndividualLayoutConstraint
* _arg0
;
2244 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self","value", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2261 wxPy_END_ALLOW_THREADS
;
2262 } Py_INCREF(Py_None
);
2263 _resultobj
= Py_None
;
2267 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2268 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2270 wxIndividualLayoutConstraint
* _arg0
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 wxIndividualLayoutConstraint_AsIs(_arg0
);
2288 wxPy_END_ALLOW_THREADS
;
2289 } Py_INCREF(Py_None
);
2290 _resultobj
= Py_None
;
2294 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2295 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2297 wxIndividualLayoutConstraint
* _arg0
;
2299 int _arg2
= (int ) 0;
2300 PyObject
* _argo0
= 0;
2301 PyObject
* _argo1
= 0;
2302 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2322 wxPy_BEGIN_ALLOW_THREADS
;
2323 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2325 wxPy_END_ALLOW_THREADS
;
2326 } Py_INCREF(Py_None
);
2327 _resultobj
= Py_None
;
2331 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2332 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2334 wxIndividualLayoutConstraint
* _arg0
;
2335 PyObject
* _argo0
= 0;
2336 char *_kwnames
[] = { "self", NULL
};
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
2342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2349 wxPy_BEGIN_ALLOW_THREADS
;
2350 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2352 wxPy_END_ALLOW_THREADS
;
2353 } Py_INCREF(Py_None
);
2354 _resultobj
= Py_None
;
2358 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2359 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2361 wxIndividualLayoutConstraint
* _arg0
;
2363 int _arg2
= (int ) 0;
2364 PyObject
* _argo0
= 0;
2365 PyObject
* _argo1
= 0;
2366 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2386 wxPy_BEGIN_ALLOW_THREADS
;
2387 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2389 wxPy_END_ALLOW_THREADS
;
2390 } Py_INCREF(Py_None
);
2391 _resultobj
= Py_None
;
2395 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2396 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2398 wxIndividualLayoutConstraint
* _arg0
;
2402 PyObject
* _argo0
= 0;
2403 PyObject
* _argo1
= 0;
2404 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2427 wxPy_END_ALLOW_THREADS
;
2428 } Py_INCREF(Py_None
);
2429 _resultobj
= Py_None
;
2433 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2434 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2436 wxIndividualLayoutConstraint
* _arg0
;
2438 int _arg2
= (int ) 0;
2439 PyObject
* _argo0
= 0;
2440 PyObject
* _argo1
= 0;
2441 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2454 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2455 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2461 wxPy_BEGIN_ALLOW_THREADS
;
2462 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2464 wxPy_END_ALLOW_THREADS
;
2465 } Py_INCREF(Py_None
);
2466 _resultobj
= Py_None
;
2470 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2471 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2473 wxIndividualLayoutConstraint
* _arg0
;
2476 int _arg3
= (int ) 0;
2477 PyObject
* _argo0
= 0;
2478 PyObject
* _argo1
= 0;
2479 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2499 wxPy_BEGIN_ALLOW_THREADS
;
2500 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2502 wxPy_END_ALLOW_THREADS
;
2503 } Py_INCREF(Py_None
);
2504 _resultobj
= Py_None
;
2508 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2509 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2511 wxIndividualLayoutConstraint
* _arg0
;
2512 wxRelationship _arg1
;
2515 int _arg4
= (int ) 0;
2516 int _arg5
= (int ) 0;
2517 PyObject
* _argo0
= 0;
2518 PyObject
* _argo2
= 0;
2519 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2532 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2542 wxPy_END_ALLOW_THREADS
;
2543 } Py_INCREF(Py_None
);
2544 _resultobj
= Py_None
;
2548 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2549 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2551 wxLayoutConstraints
* _result
;
2552 char *_kwnames
[] = { NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
2559 wxPy_BEGIN_ALLOW_THREADS
;
2560 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2562 wxPy_END_ALLOW_THREADS
;
2564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2565 _resultobj
= Py_BuildValue("s",_ptemp
);
2568 _resultobj
= Py_None
;
2573 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2574 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2576 wxIndividualLayoutConstraint
* _result
;
2577 wxLayoutConstraints
* _arg0
;
2578 PyObject
* _argo0
= 0;
2579 char *_kwnames
[] = { "self", NULL
};
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
2586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2593 wxPy_BEGIN_ALLOW_THREADS
;
2594 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2596 wxPy_END_ALLOW_THREADS
;
2598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2599 _resultobj
= Py_BuildValue("s",_ptemp
);
2602 _resultobj
= Py_None
;
2607 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2608 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2610 wxIndividualLayoutConstraint
* _result
;
2611 wxLayoutConstraints
* _arg0
;
2612 PyObject
* _argo0
= 0;
2613 char *_kwnames
[] = { "self", NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
2620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2627 wxPy_BEGIN_ALLOW_THREADS
;
2628 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2630 wxPy_END_ALLOW_THREADS
;
2632 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2633 _resultobj
= Py_BuildValue("s",_ptemp
);
2636 _resultobj
= Py_None
;
2641 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2642 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2644 wxIndividualLayoutConstraint
* _result
;
2645 wxLayoutConstraints
* _arg0
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2661 wxPy_BEGIN_ALLOW_THREADS
;
2662 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2664 wxPy_END_ALLOW_THREADS
;
2666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2667 _resultobj
= Py_BuildValue("s",_ptemp
);
2670 _resultobj
= Py_None
;
2675 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2676 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2678 wxIndividualLayoutConstraint
* _result
;
2679 wxLayoutConstraints
* _arg0
;
2680 PyObject
* _argo0
= 0;
2681 char *_kwnames
[] = { "self", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
2688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2695 wxPy_BEGIN_ALLOW_THREADS
;
2696 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2698 wxPy_END_ALLOW_THREADS
;
2700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2701 _resultobj
= Py_BuildValue("s",_ptemp
);
2704 _resultobj
= Py_None
;
2709 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2710 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2712 wxIndividualLayoutConstraint
* _result
;
2713 wxLayoutConstraints
* _arg0
;
2714 PyObject
* _argo0
= 0;
2715 char *_kwnames
[] = { "self", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2729 wxPy_BEGIN_ALLOW_THREADS
;
2730 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2732 wxPy_END_ALLOW_THREADS
;
2734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2735 _resultobj
= Py_BuildValue("s",_ptemp
);
2738 _resultobj
= Py_None
;
2743 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2744 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2746 wxIndividualLayoutConstraint
* _result
;
2747 wxLayoutConstraints
* _arg0
;
2748 PyObject
* _argo0
= 0;
2749 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2763 wxPy_BEGIN_ALLOW_THREADS
;
2764 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
2766 wxPy_END_ALLOW_THREADS
;
2768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2769 _resultobj
= Py_BuildValue("s",_ptemp
);
2772 _resultobj
= Py_None
;
2777 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2778 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2780 wxIndividualLayoutConstraint
* _result
;
2781 wxLayoutConstraints
* _arg0
;
2782 PyObject
* _argo0
= 0;
2783 char *_kwnames
[] = { "self", NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
2790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
2800 wxPy_END_ALLOW_THREADS
;
2802 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2803 _resultobj
= Py_BuildValue("s",_ptemp
);
2806 _resultobj
= Py_None
;
2811 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
2812 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
* _resultobj
;
2814 wxIndividualLayoutConstraint
* _result
;
2815 wxLayoutConstraints
* _arg0
;
2816 PyObject
* _argo0
= 0;
2817 char *_kwnames
[] = { "self", NULL
};
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
2824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
2831 wxPy_BEGIN_ALLOW_THREADS
;
2832 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
2834 wxPy_END_ALLOW_THREADS
;
2836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2837 _resultobj
= Py_BuildValue("s",_ptemp
);
2840 _resultobj
= Py_None
;
2845 #define new_wxRegion() (new wxRegion())
2846 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2849 char *_kwnames
[] = { NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxRegion",_kwnames
))
2856 wxPy_BEGIN_ALLOW_THREADS
;
2857 _result
= (wxRegion
*)new_wxRegion();
2859 wxPy_END_ALLOW_THREADS
;
2861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
2862 _resultobj
= Py_BuildValue("s",_ptemp
);
2865 _resultobj
= Py_None
;
2870 #define delete_wxRegion(_swigobj) (delete _swigobj)
2871 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 delete_wxRegion(_arg0
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } Py_INCREF(Py_None
);
2893 _resultobj
= Py_None
;
2897 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
2898 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 wxRegion_Clear(_arg0
);
2918 wxPy_END_ALLOW_THREADS
;
2919 } Py_INCREF(Py_None
);
2920 _resultobj
= Py_None
;
2924 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
2925 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
* _resultobj
;
2927 wxRegionContain _result
;
2931 PyObject
* _argo0
= 0;
2932 char *_kwnames
[] = { "self","x","y", NULL
};
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
2945 wxPy_BEGIN_ALLOW_THREADS
;
2946 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
2948 wxPy_END_ALLOW_THREADS
;
2949 } _resultobj
= Py_BuildValue("i",_result
);
2953 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
2954 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
* _resultobj
;
2956 wxRegionContain _result
;
2959 PyObject
* _argo0
= 0;
2961 PyObject
* _obj1
= 0;
2962 char *_kwnames
[] = { "self","pt", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
2976 if (! wxPoint_helper(_obj1
, &_arg1
))
2980 wxPy_BEGIN_ALLOW_THREADS
;
2981 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
2983 wxPy_END_ALLOW_THREADS
;
2984 } _resultobj
= Py_BuildValue("i",_result
);
2988 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
2989 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
* _resultobj
;
2991 wxRegionContain _result
;
2994 PyObject
* _argo0
= 0;
2996 PyObject
* _obj1
= 0;
2997 char *_kwnames
[] = { "self","rect", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3011 if (! wxRect_helper(_obj1
, &_arg1
))
3015 wxPy_BEGIN_ALLOW_THREADS
;
3016 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3018 wxPy_END_ALLOW_THREADS
;
3019 } _resultobj
= Py_BuildValue("i",_result
);
3023 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3024 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3043 wxPy_BEGIN_ALLOW_THREADS
;
3044 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3046 wxPy_END_ALLOW_THREADS
;
3047 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3048 _resultobj
= Py_BuildValue("s",_ptemp
);
3052 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3053 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
* _resultobj
;
3058 PyObject
* _argo0
= 0;
3060 PyObject
* _obj1
= 0;
3061 char *_kwnames
[] = { "self","rect", NULL
};
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Intersect",_kwnames
,&_argo0
,&_obj1
))
3067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3075 if (! wxRect_helper(_obj1
, &_arg1
))
3079 wxPy_BEGIN_ALLOW_THREADS
;
3080 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
3082 wxPy_END_ALLOW_THREADS
;
3083 } _resultobj
= Py_BuildValue("i",_result
);
3087 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3088 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3092 PyObject
* _argo0
= 0;
3093 char *_kwnames
[] = { "self", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3106 wxPy_BEGIN_ALLOW_THREADS
;
3107 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3109 wxPy_END_ALLOW_THREADS
;
3110 } _resultobj
= Py_BuildValue("i",_result
);
3114 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3115 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3120 PyObject
* _argo0
= 0;
3122 PyObject
* _obj1
= 0;
3123 char *_kwnames
[] = { "self","rect", NULL
};
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Subtract",_kwnames
,&_argo0
,&_obj1
))
3129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3137 if (! wxRect_helper(_obj1
, &_arg1
))
3141 wxPy_BEGIN_ALLOW_THREADS
;
3142 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
3144 wxPy_END_ALLOW_THREADS
;
3145 } _resultobj
= Py_BuildValue("i",_result
);
3149 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3150 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3155 PyObject
* _argo0
= 0;
3157 PyObject
* _obj1
= 0;
3158 char *_kwnames
[] = { "self","rect", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Union",_kwnames
,&_argo0
,&_obj1
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3172 if (! wxRect_helper(_obj1
, &_arg1
))
3176 wxPy_BEGIN_ALLOW_THREADS
;
3177 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
3179 wxPy_END_ALLOW_THREADS
;
3180 } _resultobj
= Py_BuildValue("i",_result
);
3184 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3185 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3190 PyObject
* _argo0
= 0;
3192 PyObject
* _obj1
= 0;
3193 char *_kwnames
[] = { "self","rect", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Xor",_kwnames
,&_argo0
,&_obj1
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3207 if (! wxRect_helper(_obj1
, &_arg1
))
3211 wxPy_BEGIN_ALLOW_THREADS
;
3212 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
3214 wxPy_END_ALLOW_THREADS
;
3215 } _resultobj
= Py_BuildValue("i",_result
);
3219 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3220 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3222 wxRegionIterator
* _result
;
3224 PyObject
* _argo0
= 0;
3225 char *_kwnames
[] = { "region", NULL
};
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
3232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3239 wxPy_BEGIN_ALLOW_THREADS
;
3240 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3242 wxPy_END_ALLOW_THREADS
;
3244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3245 _resultobj
= Py_BuildValue("s",_ptemp
);
3248 _resultobj
= Py_None
;
3253 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3254 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
* _resultobj
;
3256 wxRegionIterator
* _arg0
;
3257 PyObject
* _argo0
= 0;
3258 char *_kwnames
[] = { "self", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3271 wxPy_BEGIN_ALLOW_THREADS
;
3272 delete_wxRegionIterator(_arg0
);
3274 wxPy_END_ALLOW_THREADS
;
3275 } Py_INCREF(Py_None
);
3276 _resultobj
= Py_None
;
3280 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3281 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3284 wxRegionIterator
* _arg0
;
3285 PyObject
* _argo0
= 0;
3286 char *_kwnames
[] = { "self", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3299 wxPy_BEGIN_ALLOW_THREADS
;
3300 _result
= (long )wxRegionIterator_GetX(_arg0
);
3302 wxPy_END_ALLOW_THREADS
;
3303 } _resultobj
= Py_BuildValue("l",_result
);
3307 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3308 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3311 wxRegionIterator
* _arg0
;
3312 PyObject
* _argo0
= 0;
3313 char *_kwnames
[] = { "self", NULL
};
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
3319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3326 wxPy_BEGIN_ALLOW_THREADS
;
3327 _result
= (long )wxRegionIterator_GetY(_arg0
);
3329 wxPy_END_ALLOW_THREADS
;
3330 } _resultobj
= Py_BuildValue("l",_result
);
3334 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3335 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
* _resultobj
;
3338 wxRegionIterator
* _arg0
;
3339 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 _result
= (long )wxRegionIterator_GetW(_arg0
);
3356 wxPy_END_ALLOW_THREADS
;
3357 } _resultobj
= Py_BuildValue("l",_result
);
3361 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3362 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3365 wxRegionIterator
* _arg0
;
3366 PyObject
* _argo0
= 0;
3367 char *_kwnames
[] = { "self", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3380 wxPy_BEGIN_ALLOW_THREADS
;
3381 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3383 wxPy_END_ALLOW_THREADS
;
3384 } _resultobj
= Py_BuildValue("l",_result
);
3388 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3389 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
* _resultobj
;
3392 wxRegionIterator
* _arg0
;
3393 PyObject
* _argo0
= 0;
3394 char *_kwnames
[] = { "self", NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
3400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3407 wxPy_BEGIN_ALLOW_THREADS
;
3408 _result
= (long )wxRegionIterator_GetH(_arg0
);
3410 wxPy_END_ALLOW_THREADS
;
3411 } _resultobj
= Py_BuildValue("l",_result
);
3415 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3416 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3419 wxRegionIterator
* _arg0
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3434 wxPy_BEGIN_ALLOW_THREADS
;
3435 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3437 wxPy_END_ALLOW_THREADS
;
3438 } _resultobj
= Py_BuildValue("l",_result
);
3442 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3443 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3446 wxRegionIterator
* _arg0
;
3447 PyObject
* _argo0
= 0;
3448 char *_kwnames
[] = { "self", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3462 wxPy_BEGIN_ALLOW_THREADS
;
3463 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3465 wxPy_END_ALLOW_THREADS
;
3466 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3467 _resultobj
= Py_BuildValue("s",_ptemp
);
3471 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3472 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3475 wxRegionIterator
* _arg0
;
3476 PyObject
* _argo0
= 0;
3477 char *_kwnames
[] = { "self", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
3490 wxPy_BEGIN_ALLOW_THREADS
;
3491 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
3493 wxPy_END_ALLOW_THREADS
;
3494 } _resultobj
= Py_BuildValue("i",_result
);
3498 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
3499 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3501 wxRegionIterator
* _arg0
;
3502 PyObject
* _argo0
= 0;
3503 char *_kwnames
[] = { "self", NULL
};
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
3509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
3516 wxPy_BEGIN_ALLOW_THREADS
;
3517 wxRegionIterator_Reset(_arg0
);
3519 wxPy_END_ALLOW_THREADS
;
3520 } Py_INCREF(Py_None
);
3521 _resultobj
= Py_None
;
3525 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
3528 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3530 wxRegionIterator
* _arg0
;
3531 PyObject
* _argo0
= 0;
3532 char *_kwnames
[] = { "self", NULL
};
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
3538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
3545 wxPy_BEGIN_ALLOW_THREADS
;
3546 wxRegionIterator_Next(_arg0
);
3548 wxPy_END_ALLOW_THREADS
;
3549 } Py_INCREF(Py_None
);
3550 _resultobj
= Py_None
;
3554 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3555 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
* _resultobj
;
3557 wxAcceleratorEntry
* _result
;
3558 int _arg0
= (int ) 0;
3559 int _arg1
= (int ) 0;
3560 int _arg2
= (int ) 0;
3561 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3571 wxPy_END_ALLOW_THREADS
;
3573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3574 _resultobj
= Py_BuildValue("s",_ptemp
);
3577 _resultobj
= Py_None
;
3582 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3583 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3585 wxAcceleratorEntry
* _arg0
;
3586 PyObject
* _argo0
= 0;
3587 char *_kwnames
[] = { "self", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 delete_wxAcceleratorEntry(_arg0
);
3603 wxPy_END_ALLOW_THREADS
;
3604 } Py_INCREF(Py_None
);
3605 _resultobj
= Py_None
;
3609 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3610 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
* _resultobj
;
3612 wxAcceleratorEntry
* _arg0
;
3616 PyObject
* _argo0
= 0;
3617 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3630 wxPy_BEGIN_ALLOW_THREADS
;
3631 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3633 wxPy_END_ALLOW_THREADS
;
3634 } Py_INCREF(Py_None
);
3635 _resultobj
= Py_None
;
3639 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3640 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3643 wxAcceleratorEntry
* _arg0
;
3644 PyObject
* _argo0
= 0;
3645 char *_kwnames
[] = { "self", NULL
};
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3658 wxPy_BEGIN_ALLOW_THREADS
;
3659 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3661 wxPy_END_ALLOW_THREADS
;
3662 } _resultobj
= Py_BuildValue("i",_result
);
3666 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3667 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
* _resultobj
;
3670 wxAcceleratorEntry
* _arg0
;
3671 PyObject
* _argo0
= 0;
3672 char *_kwnames
[] = { "self", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3688 wxPy_END_ALLOW_THREADS
;
3689 } _resultobj
= Py_BuildValue("i",_result
);
3693 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3694 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
* _resultobj
;
3697 wxAcceleratorEntry
* _arg0
;
3698 PyObject
* _argo0
= 0;
3699 char *_kwnames
[] = { "self", NULL
};
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3712 wxPy_BEGIN_ALLOW_THREADS
;
3713 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3715 wxPy_END_ALLOW_THREADS
;
3716 } _resultobj
= Py_BuildValue("i",_result
);
3720 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3721 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
* _resultobj
;
3723 wxAcceleratorTable
* _result
;
3725 wxAcceleratorEntry
* _arg1
;
3726 PyObject
* _obj1
= 0;
3727 char *_kwnames
[] = { "LIST", NULL
};
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3735 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3736 if (_arg1
== NULL
) {
3742 _arg0
= PyList_Size(_obj1
);
3749 wxPy_BEGIN_ALLOW_THREADS
;
3750 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3752 wxPy_END_ALLOW_THREADS
;
3754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3755 _resultobj
= Py_BuildValue("s",_ptemp
);
3758 _resultobj
= Py_None
;
3766 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3767 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
* _resultobj
;
3769 wxAcceleratorTable
* _arg0
;
3770 PyObject
* _argo0
= 0;
3771 char *_kwnames
[] = { "self", NULL
};
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
3777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
3784 wxPy_BEGIN_ALLOW_THREADS
;
3785 delete_wxAcceleratorTable(_arg0
);
3787 wxPy_END_ALLOW_THREADS
;
3788 } Py_INCREF(Py_None
);
3789 _resultobj
= Py_None
;
3793 static PyMethodDef misccMethods
[] = {
3794 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
3795 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
3796 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
3797 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
3798 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3799 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
3800 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
3801 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
3802 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
3803 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
3804 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
3805 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
3806 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3807 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
3808 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3809 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
3810 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3811 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
3812 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
3813 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
3814 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
3815 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
3816 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
3817 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
3818 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
3819 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
3820 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
3821 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
3822 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
3823 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3824 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
3825 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
3826 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
3827 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
3828 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
3829 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
3830 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
3831 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
3832 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
3833 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
3834 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
3835 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
3836 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
3837 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
3838 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
3839 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
3840 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
3841 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
3842 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
3843 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
3844 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
3845 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
3846 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
3847 { "wxPyTimer_Interval", (PyCFunction
) _wrap_wxPyTimer_Interval
, METH_VARARGS
| METH_KEYWORDS
},
3848 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
3849 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
3850 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3851 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
3852 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
3853 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
3854 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
3855 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3856 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3857 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3858 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3859 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
3860 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
3861 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
3862 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
3863 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3864 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3865 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3866 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3867 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3868 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3869 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
3870 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3871 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
3872 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
3873 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
3874 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
3875 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3876 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
3877 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
3878 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
3879 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3880 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3881 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3882 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3883 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3884 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
3885 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
3886 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
3887 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3888 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3889 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3890 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3891 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3892 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3893 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3894 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3895 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3896 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3897 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
3898 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
3899 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
3900 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
3901 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3902 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3903 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3904 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3905 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3906 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3907 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3908 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3909 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
3910 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
3911 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
3912 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
3913 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
3914 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
3915 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
3916 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
3917 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
3918 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
3919 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
3920 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
3921 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
3922 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
3923 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
3924 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
3925 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
3926 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
3927 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
3928 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
3935 * This table is used by the pointer type-checker
3937 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3938 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3939 { "_signed_long","_long",0},
3940 { "_wxPrintQuality","_int",0},
3941 { "_wxPrintQuality","_signed_int",0},
3942 { "_wxPrintQuality","_unsigned_int",0},
3943 { "_wxPrintQuality","_wxWindowID",0},
3944 { "_wxPrintQuality","_uint",0},
3945 { "_wxPrintQuality","_EBool",0},
3946 { "_wxPrintQuality","_size_t",0},
3947 { "_class_wxRegionIterator","_wxRegionIterator",0},
3948 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3949 { "_byte","_unsigned_char",0},
3950 { "_long","_unsigned_long",0},
3951 { "_long","_signed_long",0},
3952 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3953 { "_size_t","_wxPrintQuality",0},
3954 { "_size_t","_unsigned_int",0},
3955 { "_size_t","_int",0},
3956 { "_size_t","_wxWindowID",0},
3957 { "_size_t","_uint",0},
3958 { "_class_wxRealPoint","_wxRealPoint",0},
3959 { "_uint","_wxPrintQuality",0},
3960 { "_uint","_size_t",0},
3961 { "_uint","_unsigned_int",0},
3962 { "_uint","_int",0},
3963 { "_uint","_wxWindowID",0},
3964 { "_wxRect","_class_wxRect",0},
3965 { "_wxPoint","_class_wxPoint",0},
3966 { "_wxPyTimer","_class_wxPyTimer",0},
3967 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3968 { "_EBool","_wxPrintQuality",0},
3969 { "_EBool","_signed_int",0},
3970 { "_EBool","_int",0},
3971 { "_EBool","_wxWindowID",0},
3972 { "_class_wxRegion","_wxRegion",0},
3973 { "_unsigned_long","_long",0},
3974 { "_class_wxRect","_wxRect",0},
3975 { "_class_wxPyTimer","_wxPyTimer",0},
3976 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3977 { "_signed_int","_wxPrintQuality",0},
3978 { "_signed_int","_EBool",0},
3979 { "_signed_int","_wxWindowID",0},
3980 { "_signed_int","_int",0},
3981 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3982 { "_WXTYPE","_short",0},
3983 { "_WXTYPE","_signed_short",0},
3984 { "_WXTYPE","_unsigned_short",0},
3985 { "_unsigned_short","_WXTYPE",0},
3986 { "_unsigned_short","_short",0},
3987 { "_class_wxPoint","_wxPoint",0},
3988 { "_wxRealPoint","_class_wxRealPoint",0},
3989 { "_signed_short","_WXTYPE",0},
3990 { "_signed_short","_short",0},
3991 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3992 { "_unsigned_char","_byte",0},
3993 { "_unsigned_int","_wxPrintQuality",0},
3994 { "_unsigned_int","_size_t",0},
3995 { "_unsigned_int","_uint",0},
3996 { "_unsigned_int","_wxWindowID",0},
3997 { "_unsigned_int","_int",0},
3998 { "_short","_WXTYPE",0},
3999 { "_short","_unsigned_short",0},
4000 { "_short","_signed_short",0},
4001 { "_wxWindowID","_wxPrintQuality",0},
4002 { "_wxWindowID","_size_t",0},
4003 { "_wxWindowID","_EBool",0},
4004 { "_wxWindowID","_uint",0},
4005 { "_wxWindowID","_int",0},
4006 { "_wxWindowID","_signed_int",0},
4007 { "_wxWindowID","_unsigned_int",0},
4008 { "_int","_wxPrintQuality",0},
4009 { "_int","_size_t",0},
4010 { "_int","_EBool",0},
4011 { "_int","_uint",0},
4012 { "_int","_wxWindowID",0},
4013 { "_int","_unsigned_int",0},
4014 { "_int","_signed_int",0},
4015 { "_wxSize","_class_wxSize",0},
4016 { "_wxRegionIterator","_class_wxRegionIterator",0},
4017 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4018 { "_wxRegion","_class_wxRegion",0},
4019 { "_class_wxSize","_wxSize",0},
4022 static PyObject
*SWIG_globals
;
4026 SWIGEXPORT(void) initmiscc() {
4028 SWIG_globals
= SWIG_newvarlink();
4029 m
= Py_InitModule("miscc", misccMethods
);
4030 d
= PyModule_GetDict(m
);
4031 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4032 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4033 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4034 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4035 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4036 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4037 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4038 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4039 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4040 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4041 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4042 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4043 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4044 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4045 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4046 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4047 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4048 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4049 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4050 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4051 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4052 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4055 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4056 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);