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_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
314 char *_kwnames
[] = { NULL
};
317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
320 wxPy_BEGIN_ALLOW_THREADS
;
321 _result
= (long )wxGetFreeMemory();
323 wxPy_END_ALLOW_THREADS
;
324 } _resultobj
= Py_BuildValue("l",_result
);
328 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
334 char *_kwnames
[] = { NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
346 wxPy_BEGIN_ALLOW_THREADS
;
347 wxGetMousePosition(_arg0
,_arg1
);
349 wxPy_END_ALLOW_THREADS
;
350 } Py_INCREF(Py_None
);
351 _resultobj
= Py_None
;
354 o
= PyInt_FromLong((long) (*_arg0
));
355 _resultobj
= t_output_helper(_resultobj
, o
);
359 o
= PyInt_FromLong((long) (*_arg1
));
360 _resultobj
= t_output_helper(_resultobj
, o
);
365 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
368 char *_kwnames
[] = { NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
374 wxPy_BEGIN_ALLOW_THREADS
;
375 _result
= (bool )wxIsBusy();
377 wxPy_END_ALLOW_THREADS
;
378 } _resultobj
= Py_BuildValue("i",_result
);
382 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
383 PyObject
* _resultobj
;
385 char *_kwnames
[] = { NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
391 wxPy_BEGIN_ALLOW_THREADS
;
392 _result
= new wxString (wxNow());
394 wxPy_END_ALLOW_THREADS
;
396 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
404 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
405 PyObject
* _resultobj
;
407 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
408 PyObject
* _obj0
= 0;
409 char *_kwnames
[] = { "command", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
416 if (!PyString_Check(_obj0
)) {
417 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
420 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
423 wxPy_BEGIN_ALLOW_THREADS
;
424 _result
= (bool )wxShell(*_arg0
);
426 wxPy_END_ALLOW_THREADS
;
427 } _resultobj
= Py_BuildValue("i",_result
);
435 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
436 PyObject
* _resultobj
;
437 char *_kwnames
[] = { NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
443 wxPy_BEGIN_ALLOW_THREADS
;
446 wxPy_END_ALLOW_THREADS
;
447 } Py_INCREF(Py_None
);
448 _resultobj
= Py_None
;
452 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
459 char *_kwnames
[] = { NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
471 wxPy_BEGIN_ALLOW_THREADS
;
472 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
474 wxPy_END_ALLOW_THREADS
;
475 } _resultobj
= Py_BuildValue("i",_result
);
478 o
= PyInt_FromLong((long) (*_arg0
));
479 _resultobj
= t_output_helper(_resultobj
, o
);
483 o
= PyInt_FromLong((long) (*_arg1
));
484 _resultobj
= t_output_helper(_resultobj
, o
);
489 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
492 char *_kwnames
[] = { "secs", NULL
};
495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
498 wxPy_BEGIN_ALLOW_THREADS
;
501 wxPy_END_ALLOW_THREADS
;
502 } Py_INCREF(Py_None
);
503 _resultobj
= Py_None
;
507 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
510 char *_kwnames
[] = { NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
516 wxPy_BEGIN_ALLOW_THREADS
;
517 _result
= (bool )wxYield();
519 wxPy_END_ALLOW_THREADS
;
520 } _resultobj
= Py_BuildValue("i",_result
);
524 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
527 char *_kwnames
[] = { NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSafeYield",_kwnames
))
533 wxPy_BEGIN_ALLOW_THREADS
;
534 _result
= (bool )wxSafeYield();
536 wxPy_END_ALLOW_THREADS
;
537 } _resultobj
= Py_BuildValue("i",_result
);
541 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
545 char *_kwnames
[] = { "enable", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
550 _arg0
= (bool ) tempbool0
;
552 wxPy_BEGIN_ALLOW_THREADS
;
553 wxEnableTopLevelWindows(_arg0
);
555 wxPy_END_ALLOW_THREADS
;
556 } Py_INCREF(Py_None
);
557 _resultobj
= Py_None
;
561 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
566 char * _arg2
= (char *) NULL
;
567 char *_kwnames
[] = { "section","entry","file", NULL
};
570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
573 wxPy_BEGIN_ALLOW_THREADS
;
574 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
576 wxPy_END_ALLOW_THREADS
;
577 } _resultobj
= Py_BuildValue("s", _result
);
581 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
582 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
583 PyObject
* _resultobj
;
588 PyObject
* _obj0
= 0;
589 char *_kwnames
[] = { "self","x", NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
596 if (! wxSize_helper(_obj0
, &_arg0
))
600 wxPy_BEGIN_ALLOW_THREADS
;
601 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
603 wxPy_END_ALLOW_THREADS
;
604 } _resultobj
= Py_BuildValue("l",_result
);
608 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
609 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
610 PyObject
* _resultobj
;
614 PyObject
* _obj0
= 0;
615 char *_kwnames
[] = { "self", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
622 if (! wxSize_helper(_obj0
, &_arg0
))
626 wxPy_BEGIN_ALLOW_THREADS
;
627 _result
= (long )wxSize_x_get(_arg0
);
629 wxPy_END_ALLOW_THREADS
;
630 } _resultobj
= Py_BuildValue("l",_result
);
634 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
635 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
641 PyObject
* _obj0
= 0;
642 char *_kwnames
[] = { "self","y", NULL
};
645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
649 if (! wxSize_helper(_obj0
, &_arg0
))
653 wxPy_BEGIN_ALLOW_THREADS
;
654 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
656 wxPy_END_ALLOW_THREADS
;
657 } _resultobj
= Py_BuildValue("l",_result
);
661 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
662 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
663 PyObject
* _resultobj
;
667 PyObject
* _obj0
= 0;
668 char *_kwnames
[] = { "self", NULL
};
671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
675 if (! wxSize_helper(_obj0
, &_arg0
))
679 wxPy_BEGIN_ALLOW_THREADS
;
680 _result
= (long )wxSize_y_get(_arg0
);
682 wxPy_END_ALLOW_THREADS
;
683 } _resultobj
= Py_BuildValue("l",_result
);
687 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
688 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
691 long _arg0
= (long ) 0;
692 long _arg1
= (long ) 0;
693 char *_kwnames
[] = { "w","h", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
700 wxPy_BEGIN_ALLOW_THREADS
;
701 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
703 wxPy_END_ALLOW_THREADS
;
705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
706 _resultobj
= Py_BuildValue("s",_ptemp
);
709 _resultobj
= Py_None
;
714 #define delete_wxSize(_swigobj) (delete _swigobj)
715 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
716 PyObject
* _resultobj
;
719 PyObject
* _obj0
= 0;
720 char *_kwnames
[] = { "self", NULL
};
723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
727 if (! wxSize_helper(_obj0
, &_arg0
))
731 wxPy_BEGIN_ALLOW_THREADS
;
732 delete_wxSize(_arg0
);
734 wxPy_END_ALLOW_THREADS
;
735 } Py_INCREF(Py_None
);
736 _resultobj
= Py_None
;
740 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
741 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
747 PyObject
* _obj0
= 0;
748 char *_kwnames
[] = { "self","w","h", NULL
};
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
755 if (! wxSize_helper(_obj0
, &_arg0
))
759 wxPy_BEGIN_ALLOW_THREADS
;
760 wxSize_Set(_arg0
,_arg1
,_arg2
);
762 wxPy_END_ALLOW_THREADS
;
763 } Py_INCREF(Py_None
);
764 _resultobj
= Py_None
;
768 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
769 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
774 PyObject
* _obj0
= 0;
775 char *_kwnames
[] = { "self", NULL
};
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
782 if (! wxSize_helper(_obj0
, &_arg0
))
786 wxPy_BEGIN_ALLOW_THREADS
;
787 _result
= (long )wxSize_GetX(_arg0
);
789 wxPy_END_ALLOW_THREADS
;
790 } _resultobj
= Py_BuildValue("l",_result
);
794 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
795 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
800 PyObject
* _obj0
= 0;
801 char *_kwnames
[] = { "self", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
808 if (! wxSize_helper(_obj0
, &_arg0
))
812 wxPy_BEGIN_ALLOW_THREADS
;
813 _result
= (long )wxSize_GetY(_arg0
);
815 wxPy_END_ALLOW_THREADS
;
816 } _resultobj
= Py_BuildValue("l",_result
);
820 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
821 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
826 PyObject
* _obj0
= 0;
827 char *_kwnames
[] = { "self", NULL
};
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
834 if (! wxSize_helper(_obj0
, &_arg0
))
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= (long )wxSize_GetWidth(_arg0
);
841 wxPy_END_ALLOW_THREADS
;
842 } _resultobj
= Py_BuildValue("l",_result
);
846 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
847 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
852 PyObject
* _obj0
= 0;
853 char *_kwnames
[] = { "self", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
860 if (! wxSize_helper(_obj0
, &_arg0
))
864 wxPy_BEGIN_ALLOW_THREADS
;
865 _result
= (long )wxSize_GetHeight(_arg0
);
867 wxPy_END_ALLOW_THREADS
;
868 } _resultobj
= Py_BuildValue("l",_result
);
872 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
873 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
874 PyObject
* _resultobj
;
878 PyObject
* _obj0
= 0;
879 char *_kwnames
[] = { "self","w", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
886 if (! wxSize_helper(_obj0
, &_arg0
))
890 wxPy_BEGIN_ALLOW_THREADS
;
891 wxSize_SetWidth(_arg0
,_arg1
);
893 wxPy_END_ALLOW_THREADS
;
894 } Py_INCREF(Py_None
);
895 _resultobj
= Py_None
;
899 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
900 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
905 PyObject
* _obj0
= 0;
906 char *_kwnames
[] = { "self","h", NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
913 if (! wxSize_helper(_obj0
, &_arg0
))
917 wxPy_BEGIN_ALLOW_THREADS
;
918 wxSize_SetHeight(_arg0
,_arg1
);
920 wxPy_END_ALLOW_THREADS
;
921 } Py_INCREF(Py_None
);
922 _resultobj
= Py_None
;
926 static PyObject
* wxSize_asTuple(wxSize
*self
) {
927 PyObject
* tup
= PyTuple_New(2);
928 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
929 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
932 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 PyObject
* _resultobj
;
937 PyObject
* _obj0
= 0;
938 char *_kwnames
[] = { "self", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
945 if (! wxSize_helper(_obj0
, &_arg0
))
949 wxPy_BEGIN_ALLOW_THREADS
;
950 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
952 wxPy_END_ALLOW_THREADS
;
954 _resultobj
= _result
;
959 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
960 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
966 PyObject
* _obj0
= 0;
967 char *_kwnames
[] = { "self","x", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
974 if (! wxRealPoint_helper(_obj0
, &_arg0
))
978 wxPy_BEGIN_ALLOW_THREADS
;
979 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
981 wxPy_END_ALLOW_THREADS
;
982 } _resultobj
= Py_BuildValue("d",_result
);
986 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
987 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
992 PyObject
* _obj0
= 0;
993 char *_kwnames
[] = { "self", NULL
};
996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1000 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1004 wxPy_BEGIN_ALLOW_THREADS
;
1005 _result
= (double )wxRealPoint_x_get(_arg0
);
1007 wxPy_END_ALLOW_THREADS
;
1008 } _resultobj
= Py_BuildValue("d",_result
);
1012 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1013 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1016 wxRealPoint
* _arg0
;
1019 PyObject
* _obj0
= 0;
1020 char *_kwnames
[] = { "self","y", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1027 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1031 wxPy_BEGIN_ALLOW_THREADS
;
1032 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1034 wxPy_END_ALLOW_THREADS
;
1035 } _resultobj
= Py_BuildValue("d",_result
);
1039 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1040 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
* _resultobj
;
1043 wxRealPoint
* _arg0
;
1045 PyObject
* _obj0
= 0;
1046 char *_kwnames
[] = { "self", NULL
};
1049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1053 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1057 wxPy_BEGIN_ALLOW_THREADS
;
1058 _result
= (double )wxRealPoint_y_get(_arg0
);
1060 wxPy_END_ALLOW_THREADS
;
1061 } _resultobj
= Py_BuildValue("d",_result
);
1065 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1066 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1068 wxRealPoint
* _result
;
1069 double _arg0
= (double ) 0.0;
1070 double _arg1
= (double ) 0.0;
1071 char *_kwnames
[] = { "x","y", NULL
};
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1078 wxPy_BEGIN_ALLOW_THREADS
;
1079 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1081 wxPy_END_ALLOW_THREADS
;
1083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1084 _resultobj
= Py_BuildValue("s",_ptemp
);
1087 _resultobj
= Py_None
;
1092 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1093 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
* _resultobj
;
1095 wxRealPoint
* _arg0
;
1097 PyObject
* _obj0
= 0;
1098 char *_kwnames
[] = { "self", NULL
};
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1105 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1109 wxPy_BEGIN_ALLOW_THREADS
;
1110 delete_wxRealPoint(_arg0
);
1112 wxPy_END_ALLOW_THREADS
;
1113 } Py_INCREF(Py_None
);
1114 _resultobj
= Py_None
;
1118 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1122 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1124 wxRealPoint
* _arg0
;
1128 PyObject
* _obj0
= 0;
1129 char *_kwnames
[] = { "self","x","y", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1136 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1143 wxPy_END_ALLOW_THREADS
;
1144 } Py_INCREF(Py_None
);
1145 _resultobj
= Py_None
;
1149 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1150 PyObject
* tup
= PyTuple_New(2);
1151 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1152 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1155 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
* _resultobj
;
1158 wxRealPoint
* _arg0
;
1160 PyObject
* _obj0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1168 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1172 wxPy_BEGIN_ALLOW_THREADS
;
1173 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1175 wxPy_END_ALLOW_THREADS
;
1177 _resultobj
= _result
;
1182 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1183 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1189 PyObject
* _obj0
= 0;
1190 char *_kwnames
[] = { "self","x", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1197 if (! wxPoint_helper(_obj0
, &_arg0
))
1201 wxPy_BEGIN_ALLOW_THREADS
;
1202 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1204 wxPy_END_ALLOW_THREADS
;
1205 } _resultobj
= Py_BuildValue("l",_result
);
1209 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1210 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1215 PyObject
* _obj0
= 0;
1216 char *_kwnames
[] = { "self", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1223 if (! wxPoint_helper(_obj0
, &_arg0
))
1227 wxPy_BEGIN_ALLOW_THREADS
;
1228 _result
= (long )wxPoint_x_get(_arg0
);
1230 wxPy_END_ALLOW_THREADS
;
1231 } _resultobj
= Py_BuildValue("l",_result
);
1235 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1236 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1242 PyObject
* _obj0
= 0;
1243 char *_kwnames
[] = { "self","y", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1250 if (! wxPoint_helper(_obj0
, &_arg0
))
1254 wxPy_BEGIN_ALLOW_THREADS
;
1255 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1257 wxPy_END_ALLOW_THREADS
;
1258 } _resultobj
= Py_BuildValue("l",_result
);
1262 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1263 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1268 PyObject
* _obj0
= 0;
1269 char *_kwnames
[] = { "self", NULL
};
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1276 if (! wxPoint_helper(_obj0
, &_arg0
))
1280 wxPy_BEGIN_ALLOW_THREADS
;
1281 _result
= (long )wxPoint_y_get(_arg0
);
1283 wxPy_END_ALLOW_THREADS
;
1284 } _resultobj
= Py_BuildValue("l",_result
);
1288 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1289 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1292 long _arg0
= (long ) 0;
1293 long _arg1
= (long ) 0;
1294 char *_kwnames
[] = { "x","y", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1301 wxPy_BEGIN_ALLOW_THREADS
;
1302 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1304 wxPy_END_ALLOW_THREADS
;
1306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1307 _resultobj
= Py_BuildValue("s",_ptemp
);
1310 _resultobj
= Py_None
;
1315 #define delete_wxPoint(_swigobj) (delete _swigobj)
1316 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1320 PyObject
* _obj0
= 0;
1321 char *_kwnames
[] = { "self", NULL
};
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1328 if (! wxPoint_helper(_obj0
, &_arg0
))
1332 wxPy_BEGIN_ALLOW_THREADS
;
1333 delete_wxPoint(_arg0
);
1335 wxPy_END_ALLOW_THREADS
;
1336 } Py_INCREF(Py_None
);
1337 _resultobj
= Py_None
;
1341 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1345 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1351 PyObject
* _obj0
= 0;
1352 char *_kwnames
[] = { "self","x","y", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1359 if (! wxPoint_helper(_obj0
, &_arg0
))
1363 wxPy_BEGIN_ALLOW_THREADS
;
1364 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1366 wxPy_END_ALLOW_THREADS
;
1367 } Py_INCREF(Py_None
);
1368 _resultobj
= Py_None
;
1372 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1373 PyObject
* tup
= PyTuple_New(2);
1374 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1375 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1378 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
* _resultobj
;
1383 PyObject
* _obj0
= 0;
1384 char *_kwnames
[] = { "self", NULL
};
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1391 if (! wxPoint_helper(_obj0
, &_arg0
))
1395 wxPy_BEGIN_ALLOW_THREADS
;
1396 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1398 wxPy_END_ALLOW_THREADS
;
1400 _resultobj
= _result
;
1405 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1406 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1409 long _arg0
= (long ) 0;
1410 long _arg1
= (long ) 0;
1411 long _arg2
= (long ) 0;
1412 long _arg3
= (long ) 0;
1413 char *_kwnames
[] = { "x","y","w","h", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1420 wxPy_BEGIN_ALLOW_THREADS
;
1421 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1423 wxPy_END_ALLOW_THREADS
;
1425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1426 _resultobj
= Py_BuildValue("s",_ptemp
);
1429 _resultobj
= Py_None
;
1434 #define delete_wxRect(_swigobj) (delete _swigobj)
1435 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1439 PyObject
* _obj0
= 0;
1440 char *_kwnames
[] = { "self", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1447 if (! wxRect_helper(_obj0
, &_arg0
))
1451 wxPy_BEGIN_ALLOW_THREADS
;
1452 delete_wxRect(_arg0
);
1454 wxPy_END_ALLOW_THREADS
;
1455 } Py_INCREF(Py_None
);
1456 _resultobj
= Py_None
;
1460 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1461 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1466 PyObject
* _obj0
= 0;
1467 char *_kwnames
[] = { "self", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
1474 if (! wxRect_helper(_obj0
, &_arg0
))
1478 wxPy_BEGIN_ALLOW_THREADS
;
1479 _result
= (long )wxRect_GetX(_arg0
);
1481 wxPy_END_ALLOW_THREADS
;
1482 } _resultobj
= Py_BuildValue("l",_result
);
1486 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1487 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1492 PyObject
* _obj0
= 0;
1493 char *_kwnames
[] = { "self","X", NULL
};
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
1500 if (! wxRect_helper(_obj0
, &_arg0
))
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 wxRect_SetX(_arg0
,_arg1
);
1507 wxPy_END_ALLOW_THREADS
;
1508 } Py_INCREF(Py_None
);
1509 _resultobj
= Py_None
;
1513 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1514 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1519 PyObject
* _obj0
= 0;
1520 char *_kwnames
[] = { "self", NULL
};
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
1527 if (! wxRect_helper(_obj0
, &_arg0
))
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 _result
= (long )wxRect_GetY(_arg0
);
1534 wxPy_END_ALLOW_THREADS
;
1535 } _resultobj
= Py_BuildValue("l",_result
);
1539 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1540 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
* _resultobj
;
1545 PyObject
* _obj0
= 0;
1546 char *_kwnames
[] = { "self","Y", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
1553 if (! wxRect_helper(_obj0
, &_arg0
))
1557 wxPy_BEGIN_ALLOW_THREADS
;
1558 wxRect_SetY(_arg0
,_arg1
);
1560 wxPy_END_ALLOW_THREADS
;
1561 } Py_INCREF(Py_None
);
1562 _resultobj
= Py_None
;
1566 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1567 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1572 PyObject
* _obj0
= 0;
1573 char *_kwnames
[] = { "self", NULL
};
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
1580 if (! wxRect_helper(_obj0
, &_arg0
))
1584 wxPy_BEGIN_ALLOW_THREADS
;
1585 _result
= (long )wxRect_GetWidth(_arg0
);
1587 wxPy_END_ALLOW_THREADS
;
1588 } _resultobj
= Py_BuildValue("l",_result
);
1592 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1593 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
* _resultobj
;
1598 PyObject
* _obj0
= 0;
1599 char *_kwnames
[] = { "self","w", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1606 if (! wxRect_helper(_obj0
, &_arg0
))
1610 wxPy_BEGIN_ALLOW_THREADS
;
1611 wxRect_SetWidth(_arg0
,_arg1
);
1613 wxPy_END_ALLOW_THREADS
;
1614 } Py_INCREF(Py_None
);
1615 _resultobj
= Py_None
;
1619 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1620 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1625 PyObject
* _obj0
= 0;
1626 char *_kwnames
[] = { "self", NULL
};
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
1633 if (! wxRect_helper(_obj0
, &_arg0
))
1637 wxPy_BEGIN_ALLOW_THREADS
;
1638 _result
= (long )wxRect_GetHeight(_arg0
);
1640 wxPy_END_ALLOW_THREADS
;
1641 } _resultobj
= Py_BuildValue("l",_result
);
1645 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1646 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1651 PyObject
* _obj0
= 0;
1652 char *_kwnames
[] = { "self","h", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1659 if (! wxRect_helper(_obj0
, &_arg0
))
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 wxRect_SetHeight(_arg0
,_arg1
);
1666 wxPy_END_ALLOW_THREADS
;
1667 } Py_INCREF(Py_None
);
1668 _resultobj
= Py_None
;
1672 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1673 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1678 PyObject
* _obj0
= 0;
1679 char *_kwnames
[] = { "self", NULL
};
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
1687 if (! wxRect_helper(_obj0
, &_arg0
))
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1694 wxPy_END_ALLOW_THREADS
;
1695 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1696 _resultobj
= Py_BuildValue("s",_ptemp
);
1700 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1701 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1706 PyObject
* _obj0
= 0;
1707 char *_kwnames
[] = { "self", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
1715 if (! wxRect_helper(_obj0
, &_arg0
))
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 _result
= new wxSize (wxRect_GetSize(_arg0
));
1722 wxPy_END_ALLOW_THREADS
;
1723 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1724 _resultobj
= Py_BuildValue("s",_ptemp
);
1728 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1729 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1734 PyObject
* _obj0
= 0;
1735 char *_kwnames
[] = { "self", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
1742 if (! wxRect_helper(_obj0
, &_arg0
))
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 _result
= (long )wxRect_GetLeft(_arg0
);
1749 wxPy_END_ALLOW_THREADS
;
1750 } _resultobj
= Py_BuildValue("l",_result
);
1754 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1755 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1760 PyObject
* _obj0
= 0;
1761 char *_kwnames
[] = { "self", NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
1768 if (! wxRect_helper(_obj0
, &_arg0
))
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 _result
= (long )wxRect_GetTop(_arg0
);
1775 wxPy_END_ALLOW_THREADS
;
1776 } _resultobj
= Py_BuildValue("l",_result
);
1780 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1781 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1786 PyObject
* _obj0
= 0;
1787 char *_kwnames
[] = { "self", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
1794 if (! wxRect_helper(_obj0
, &_arg0
))
1798 wxPy_BEGIN_ALLOW_THREADS
;
1799 _result
= (long )wxRect_GetBottom(_arg0
);
1801 wxPy_END_ALLOW_THREADS
;
1802 } _resultobj
= Py_BuildValue("l",_result
);
1806 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1807 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1812 PyObject
* _obj0
= 0;
1813 char *_kwnames
[] = { "self", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
1820 if (! wxRect_helper(_obj0
, &_arg0
))
1824 wxPy_BEGIN_ALLOW_THREADS
;
1825 _result
= (long )wxRect_GetRight(_arg0
);
1827 wxPy_END_ALLOW_THREADS
;
1828 } _resultobj
= Py_BuildValue("l",_result
);
1832 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1833 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1839 PyObject
* _obj0
= 0;
1840 char *_kwnames
[] = { "self","x", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
1847 if (! wxRect_helper(_obj0
, &_arg0
))
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
1854 wxPy_END_ALLOW_THREADS
;
1855 } _resultobj
= Py_BuildValue("l",_result
);
1859 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
1860 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1865 PyObject
* _obj0
= 0;
1866 char *_kwnames
[] = { "self", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
1873 if (! wxRect_helper(_obj0
, &_arg0
))
1877 wxPy_BEGIN_ALLOW_THREADS
;
1878 _result
= (long )wxRect_x_get(_arg0
);
1880 wxPy_END_ALLOW_THREADS
;
1881 } _resultobj
= Py_BuildValue("l",_result
);
1885 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1886 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1892 PyObject
* _obj0
= 0;
1893 char *_kwnames
[] = { "self","y", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
1900 if (! wxRect_helper(_obj0
, &_arg0
))
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
1907 wxPy_END_ALLOW_THREADS
;
1908 } _resultobj
= Py_BuildValue("l",_result
);
1912 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
1913 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1918 PyObject
* _obj0
= 0;
1919 char *_kwnames
[] = { "self", NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
1926 if (! wxRect_helper(_obj0
, &_arg0
))
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 _result
= (long )wxRect_y_get(_arg0
);
1933 wxPy_END_ALLOW_THREADS
;
1934 } _resultobj
= Py_BuildValue("l",_result
);
1938 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
1939 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1945 PyObject
* _obj0
= 0;
1946 char *_kwnames
[] = { "self","width", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
1953 if (! wxRect_helper(_obj0
, &_arg0
))
1957 wxPy_BEGIN_ALLOW_THREADS
;
1958 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
1960 wxPy_END_ALLOW_THREADS
;
1961 } _resultobj
= Py_BuildValue("l",_result
);
1965 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
1966 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1971 PyObject
* _obj0
= 0;
1972 char *_kwnames
[] = { "self", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
1979 if (! wxRect_helper(_obj0
, &_arg0
))
1983 wxPy_BEGIN_ALLOW_THREADS
;
1984 _result
= (long )wxRect_width_get(_arg0
);
1986 wxPy_END_ALLOW_THREADS
;
1987 } _resultobj
= Py_BuildValue("l",_result
);
1991 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
1992 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1998 PyObject
* _obj0
= 0;
1999 char *_kwnames
[] = { "self","height", NULL
};
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2006 if (! wxRect_helper(_obj0
, &_arg0
))
2010 wxPy_BEGIN_ALLOW_THREADS
;
2011 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2013 wxPy_END_ALLOW_THREADS
;
2014 } _resultobj
= Py_BuildValue("l",_result
);
2018 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2019 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2024 PyObject
* _obj0
= 0;
2025 char *_kwnames
[] = { "self", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2032 if (! wxRect_helper(_obj0
, &_arg0
))
2036 wxPy_BEGIN_ALLOW_THREADS
;
2037 _result
= (long )wxRect_height_get(_arg0
);
2039 wxPy_END_ALLOW_THREADS
;
2040 } _resultobj
= Py_BuildValue("l",_result
);
2044 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2045 PyObject
* tup
= PyTuple_New(4);
2046 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2047 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2048 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2049 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2052 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
* _resultobj
;
2057 PyObject
* _obj0
= 0;
2058 char *_kwnames
[] = { "self", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2065 if (! wxRect_helper(_obj0
, &_arg0
))
2069 wxPy_BEGIN_ALLOW_THREADS
;
2070 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2072 wxPy_END_ALLOW_THREADS
;
2074 _resultobj
= _result
;
2079 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2080 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2082 wxPyTimer
* _result
;
2084 PyObject
* _obj0
= 0;
2085 char *_kwnames
[] = { "notify", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
2095 wxPy_BEGIN_ALLOW_THREADS
;
2096 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2098 wxPy_END_ALLOW_THREADS
;
2100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2101 _resultobj
= Py_BuildValue("s",_ptemp
);
2104 _resultobj
= Py_None
;
2109 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2110 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2113 PyObject
* _argo0
= 0;
2114 char *_kwnames
[] = { "self", NULL
};
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
2120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2127 wxPy_BEGIN_ALLOW_THREADS
;
2128 delete_wxPyTimer(_arg0
);
2130 wxPy_END_ALLOW_THREADS
;
2131 } Py_INCREF(Py_None
);
2132 _resultobj
= Py_None
;
2136 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2137 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2141 PyObject
* _argo0
= 0;
2142 char *_kwnames
[] = { "self", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Interval",_kwnames
,&_argo0
))
2148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 _result
= (int )wxPyTimer_Interval(_arg0
);
2158 wxPy_END_ALLOW_THREADS
;
2159 } _resultobj
= Py_BuildValue("i",_result
);
2163 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2164 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
* _resultobj
;
2167 int _arg1
= (int ) -1;
2168 int _arg2
= (int ) FALSE
;
2169 PyObject
* _argo0
= 0;
2170 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2186 wxPy_END_ALLOW_THREADS
;
2187 } Py_INCREF(Py_None
);
2188 _resultobj
= Py_None
;
2192 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2193 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2196 PyObject
* _argo0
= 0;
2197 char *_kwnames
[] = { "self", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2210 wxPy_BEGIN_ALLOW_THREADS
;
2211 wxPyTimer_Stop(_arg0
);
2213 wxPy_END_ALLOW_THREADS
;
2214 } Py_INCREF(Py_None
);
2215 _resultobj
= Py_None
;
2219 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2220 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2222 wxIndividualLayoutConstraint
* _arg0
;
2224 int _arg2
= (int ) 0;
2225 PyObject
* _argo0
= 0;
2226 PyObject
* _argo1
= 0;
2227 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2247 wxPy_BEGIN_ALLOW_THREADS
;
2248 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2250 wxPy_END_ALLOW_THREADS
;
2251 } Py_INCREF(Py_None
);
2252 _resultobj
= Py_None
;
2256 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2257 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
* _resultobj
;
2259 wxIndividualLayoutConstraint
* _arg0
;
2261 PyObject
* _argo0
= 0;
2262 char *_kwnames
[] = { "self","value", NULL
};
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2275 wxPy_BEGIN_ALLOW_THREADS
;
2276 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2278 wxPy_END_ALLOW_THREADS
;
2279 } Py_INCREF(Py_None
);
2280 _resultobj
= Py_None
;
2284 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2285 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2287 wxIndividualLayoutConstraint
* _arg0
;
2288 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2302 wxPy_BEGIN_ALLOW_THREADS
;
2303 wxIndividualLayoutConstraint_AsIs(_arg0
);
2305 wxPy_END_ALLOW_THREADS
;
2306 } Py_INCREF(Py_None
);
2307 _resultobj
= Py_None
;
2311 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2312 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2314 wxIndividualLayoutConstraint
* _arg0
;
2316 int _arg2
= (int ) 0;
2317 PyObject
* _argo0
= 0;
2318 PyObject
* _argo1
= 0;
2319 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2339 wxPy_BEGIN_ALLOW_THREADS
;
2340 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2342 wxPy_END_ALLOW_THREADS
;
2343 } Py_INCREF(Py_None
);
2344 _resultobj
= Py_None
;
2348 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2349 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2351 wxIndividualLayoutConstraint
* _arg0
;
2352 PyObject
* _argo0
= 0;
2353 char *_kwnames
[] = { "self", NULL
};
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
2359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2366 wxPy_BEGIN_ALLOW_THREADS
;
2367 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2369 wxPy_END_ALLOW_THREADS
;
2370 } Py_INCREF(Py_None
);
2371 _resultobj
= Py_None
;
2375 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2376 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2378 wxIndividualLayoutConstraint
* _arg0
;
2380 int _arg2
= (int ) 0;
2381 PyObject
* _argo0
= 0;
2382 PyObject
* _argo1
= 0;
2383 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2396 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2397 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2403 wxPy_BEGIN_ALLOW_THREADS
;
2404 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2406 wxPy_END_ALLOW_THREADS
;
2407 } Py_INCREF(Py_None
);
2408 _resultobj
= Py_None
;
2412 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2413 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
* _resultobj
;
2415 wxIndividualLayoutConstraint
* _arg0
;
2419 PyObject
* _argo0
= 0;
2420 PyObject
* _argo1
= 0;
2421 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2441 wxPy_BEGIN_ALLOW_THREADS
;
2442 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2444 wxPy_END_ALLOW_THREADS
;
2445 } Py_INCREF(Py_None
);
2446 _resultobj
= Py_None
;
2450 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2451 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2453 wxIndividualLayoutConstraint
* _arg0
;
2455 int _arg2
= (int ) 0;
2456 PyObject
* _argo0
= 0;
2457 PyObject
* _argo1
= 0;
2458 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2481 wxPy_END_ALLOW_THREADS
;
2482 } Py_INCREF(Py_None
);
2483 _resultobj
= Py_None
;
2487 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2488 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
* _resultobj
;
2490 wxIndividualLayoutConstraint
* _arg0
;
2493 int _arg3
= (int ) 0;
2494 PyObject
* _argo0
= 0;
2495 PyObject
* _argo1
= 0;
2496 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2509 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2516 wxPy_BEGIN_ALLOW_THREADS
;
2517 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2519 wxPy_END_ALLOW_THREADS
;
2520 } Py_INCREF(Py_None
);
2521 _resultobj
= Py_None
;
2525 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2526 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2528 wxIndividualLayoutConstraint
* _arg0
;
2529 wxRelationship _arg1
;
2532 int _arg4
= (int ) 0;
2533 int _arg5
= (int ) 0;
2534 PyObject
* _argo0
= 0;
2535 PyObject
* _argo2
= 0;
2536 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2549 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2556 wxPy_BEGIN_ALLOW_THREADS
;
2557 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2559 wxPy_END_ALLOW_THREADS
;
2560 } Py_INCREF(Py_None
);
2561 _resultobj
= Py_None
;
2565 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2566 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
* _resultobj
;
2568 wxLayoutConstraints
* _result
;
2569 char *_kwnames
[] = { NULL
};
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
2576 wxPy_BEGIN_ALLOW_THREADS
;
2577 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2579 wxPy_END_ALLOW_THREADS
;
2581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2582 _resultobj
= Py_BuildValue("s",_ptemp
);
2585 _resultobj
= Py_None
;
2590 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2591 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
* _resultobj
;
2593 wxIndividualLayoutConstraint
* _result
;
2594 wxLayoutConstraints
* _arg0
;
2595 PyObject
* _argo0
= 0;
2596 char *_kwnames
[] = { "self", NULL
};
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
2603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2610 wxPy_BEGIN_ALLOW_THREADS
;
2611 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2613 wxPy_END_ALLOW_THREADS
;
2615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2616 _resultobj
= Py_BuildValue("s",_ptemp
);
2619 _resultobj
= Py_None
;
2624 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2625 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2627 wxIndividualLayoutConstraint
* _result
;
2628 wxLayoutConstraints
* _arg0
;
2629 PyObject
* _argo0
= 0;
2630 char *_kwnames
[] = { "self", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2644 wxPy_BEGIN_ALLOW_THREADS
;
2645 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2647 wxPy_END_ALLOW_THREADS
;
2649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2650 _resultobj
= Py_BuildValue("s",_ptemp
);
2653 _resultobj
= Py_None
;
2658 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2659 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2661 wxIndividualLayoutConstraint
* _result
;
2662 wxLayoutConstraints
* _arg0
;
2663 PyObject
* _argo0
= 0;
2664 char *_kwnames
[] = { "self", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2678 wxPy_BEGIN_ALLOW_THREADS
;
2679 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2681 wxPy_END_ALLOW_THREADS
;
2683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2684 _resultobj
= Py_BuildValue("s",_ptemp
);
2687 _resultobj
= Py_None
;
2692 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2693 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
* _resultobj
;
2695 wxIndividualLayoutConstraint
* _result
;
2696 wxLayoutConstraints
* _arg0
;
2697 PyObject
* _argo0
= 0;
2698 char *_kwnames
[] = { "self", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2712 wxPy_BEGIN_ALLOW_THREADS
;
2713 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2715 wxPy_END_ALLOW_THREADS
;
2717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2718 _resultobj
= Py_BuildValue("s",_ptemp
);
2721 _resultobj
= Py_None
;
2726 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2727 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
* _resultobj
;
2729 wxIndividualLayoutConstraint
* _result
;
2730 wxLayoutConstraints
* _arg0
;
2731 PyObject
* _argo0
= 0;
2732 char *_kwnames
[] = { "self", NULL
};
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
2739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2749 wxPy_END_ALLOW_THREADS
;
2751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2752 _resultobj
= Py_BuildValue("s",_ptemp
);
2755 _resultobj
= Py_None
;
2760 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2761 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2763 wxIndividualLayoutConstraint
* _result
;
2764 wxLayoutConstraints
* _arg0
;
2765 PyObject
* _argo0
= 0;
2766 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
2783 wxPy_END_ALLOW_THREADS
;
2785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2786 _resultobj
= Py_BuildValue("s",_ptemp
);
2789 _resultobj
= Py_None
;
2794 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2795 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2797 wxIndividualLayoutConstraint
* _result
;
2798 wxLayoutConstraints
* _arg0
;
2799 PyObject
* _argo0
= 0;
2800 char *_kwnames
[] = { "self", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
2814 wxPy_BEGIN_ALLOW_THREADS
;
2815 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
2817 wxPy_END_ALLOW_THREADS
;
2819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2820 _resultobj
= Py_BuildValue("s",_ptemp
);
2823 _resultobj
= Py_None
;
2828 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
2829 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
* _resultobj
;
2831 wxIndividualLayoutConstraint
* _result
;
2832 wxLayoutConstraints
* _arg0
;
2833 PyObject
* _argo0
= 0;
2834 char *_kwnames
[] = { "self", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
2848 wxPy_BEGIN_ALLOW_THREADS
;
2849 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
2851 wxPy_END_ALLOW_THREADS
;
2853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2854 _resultobj
= Py_BuildValue("s",_ptemp
);
2857 _resultobj
= Py_None
;
2862 #define new_wxRegion() (new wxRegion())
2863 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2866 char *_kwnames
[] = { NULL
};
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxRegion",_kwnames
))
2873 wxPy_BEGIN_ALLOW_THREADS
;
2874 _result
= (wxRegion
*)new_wxRegion();
2876 wxPy_END_ALLOW_THREADS
;
2878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
2879 _resultobj
= Py_BuildValue("s",_ptemp
);
2882 _resultobj
= Py_None
;
2887 #define delete_wxRegion(_swigobj) (delete _swigobj)
2888 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 delete_wxRegion(_arg0
);
2908 wxPy_END_ALLOW_THREADS
;
2909 } Py_INCREF(Py_None
);
2910 _resultobj
= Py_None
;
2914 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
2915 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 wxRegion_Clear(_arg0
);
2935 wxPy_END_ALLOW_THREADS
;
2936 } Py_INCREF(Py_None
);
2937 _resultobj
= Py_None
;
2941 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
2942 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
* _resultobj
;
2944 wxRegionContain _result
;
2948 PyObject
* _argo0
= 0;
2949 char *_kwnames
[] = { "self","x","y", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
2962 wxPy_BEGIN_ALLOW_THREADS
;
2963 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
2965 wxPy_END_ALLOW_THREADS
;
2966 } _resultobj
= Py_BuildValue("i",_result
);
2970 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
2971 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2973 wxRegionContain _result
;
2976 PyObject
* _argo0
= 0;
2978 PyObject
* _obj1
= 0;
2979 char *_kwnames
[] = { "self","pt", NULL
};
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
2985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
2993 if (! wxPoint_helper(_obj1
, &_arg1
))
2997 wxPy_BEGIN_ALLOW_THREADS
;
2998 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3000 wxPy_END_ALLOW_THREADS
;
3001 } _resultobj
= Py_BuildValue("i",_result
);
3005 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3006 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3008 wxRegionContain _result
;
3011 PyObject
* _argo0
= 0;
3013 PyObject
* _obj1
= 0;
3014 char *_kwnames
[] = { "self","rect", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3028 if (! wxRect_helper(_obj1
, &_arg1
))
3032 wxPy_BEGIN_ALLOW_THREADS
;
3033 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3035 wxPy_END_ALLOW_THREADS
;
3036 } _resultobj
= Py_BuildValue("i",_result
);
3040 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3041 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
* _resultobj
;
3045 PyObject
* _argo0
= 0;
3046 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3060 wxPy_BEGIN_ALLOW_THREADS
;
3061 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3063 wxPy_END_ALLOW_THREADS
;
3064 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3065 _resultobj
= Py_BuildValue("s",_ptemp
);
3069 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3070 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3075 PyObject
* _argo0
= 0;
3077 PyObject
* _obj1
= 0;
3078 char *_kwnames
[] = { "self","rect", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Intersect",_kwnames
,&_argo0
,&_obj1
))
3084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3092 if (! wxRect_helper(_obj1
, &_arg1
))
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
3099 wxPy_END_ALLOW_THREADS
;
3100 } _resultobj
= Py_BuildValue("i",_result
);
3104 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3105 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3109 PyObject
* _argo0
= 0;
3110 char *_kwnames
[] = { "self", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3123 wxPy_BEGIN_ALLOW_THREADS
;
3124 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3126 wxPy_END_ALLOW_THREADS
;
3127 } _resultobj
= Py_BuildValue("i",_result
);
3131 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3132 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
* _resultobj
;
3137 PyObject
* _argo0
= 0;
3139 PyObject
* _obj1
= 0;
3140 char *_kwnames
[] = { "self","rect", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Subtract",_kwnames
,&_argo0
,&_obj1
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3154 if (! wxRect_helper(_obj1
, &_arg1
))
3158 wxPy_BEGIN_ALLOW_THREADS
;
3159 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
3161 wxPy_END_ALLOW_THREADS
;
3162 } _resultobj
= Py_BuildValue("i",_result
);
3166 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3167 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3172 PyObject
* _argo0
= 0;
3174 PyObject
* _obj1
= 0;
3175 char *_kwnames
[] = { "self","rect", NULL
};
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Union",_kwnames
,&_argo0
,&_obj1
))
3181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3189 if (! wxRect_helper(_obj1
, &_arg1
))
3193 wxPy_BEGIN_ALLOW_THREADS
;
3194 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
3196 wxPy_END_ALLOW_THREADS
;
3197 } _resultobj
= Py_BuildValue("i",_result
);
3201 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3202 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3207 PyObject
* _argo0
= 0;
3209 PyObject
* _obj1
= 0;
3210 char *_kwnames
[] = { "self","rect", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Xor",_kwnames
,&_argo0
,&_obj1
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3224 if (! wxRect_helper(_obj1
, &_arg1
))
3228 wxPy_BEGIN_ALLOW_THREADS
;
3229 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
3231 wxPy_END_ALLOW_THREADS
;
3232 } _resultobj
= Py_BuildValue("i",_result
);
3236 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3237 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3239 wxRegionIterator
* _result
;
3241 PyObject
* _argo0
= 0;
3242 char *_kwnames
[] = { "region", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3256 wxPy_BEGIN_ALLOW_THREADS
;
3257 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3259 wxPy_END_ALLOW_THREADS
;
3261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3262 _resultobj
= Py_BuildValue("s",_ptemp
);
3265 _resultobj
= Py_None
;
3270 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3271 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3273 wxRegionIterator
* _arg0
;
3274 PyObject
* _argo0
= 0;
3275 char *_kwnames
[] = { "self", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3288 wxPy_BEGIN_ALLOW_THREADS
;
3289 delete_wxRegionIterator(_arg0
);
3291 wxPy_END_ALLOW_THREADS
;
3292 } Py_INCREF(Py_None
);
3293 _resultobj
= Py_None
;
3297 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3298 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3301 wxRegionIterator
* _arg0
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 _result
= (long )wxRegionIterator_GetX(_arg0
);
3319 wxPy_END_ALLOW_THREADS
;
3320 } _resultobj
= Py_BuildValue("l",_result
);
3324 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3325 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3328 wxRegionIterator
* _arg0
;
3329 PyObject
* _argo0
= 0;
3330 char *_kwnames
[] = { "self", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3343 wxPy_BEGIN_ALLOW_THREADS
;
3344 _result
= (long )wxRegionIterator_GetY(_arg0
);
3346 wxPy_END_ALLOW_THREADS
;
3347 } _resultobj
= Py_BuildValue("l",_result
);
3351 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3352 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3355 wxRegionIterator
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (long )wxRegionIterator_GetW(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("l",_result
);
3378 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3379 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3382 wxRegionIterator
* _arg0
;
3383 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3397 wxPy_BEGIN_ALLOW_THREADS
;
3398 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3400 wxPy_END_ALLOW_THREADS
;
3401 } _resultobj
= Py_BuildValue("l",_result
);
3405 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3406 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3409 wxRegionIterator
* _arg0
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "self", NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
3417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3424 wxPy_BEGIN_ALLOW_THREADS
;
3425 _result
= (long )wxRegionIterator_GetH(_arg0
);
3427 wxPy_END_ALLOW_THREADS
;
3428 } _resultobj
= Py_BuildValue("l",_result
);
3432 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3433 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
* _resultobj
;
3436 wxRegionIterator
* _arg0
;
3437 PyObject
* _argo0
= 0;
3438 char *_kwnames
[] = { "self", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3451 wxPy_BEGIN_ALLOW_THREADS
;
3452 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3454 wxPy_END_ALLOW_THREADS
;
3455 } _resultobj
= Py_BuildValue("l",_result
);
3459 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3460 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3463 wxRegionIterator
* _arg0
;
3464 PyObject
* _argo0
= 0;
3465 char *_kwnames
[] = { "self", NULL
};
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
3472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3479 wxPy_BEGIN_ALLOW_THREADS
;
3480 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3482 wxPy_END_ALLOW_THREADS
;
3483 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3484 _resultobj
= Py_BuildValue("s",_ptemp
);
3488 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3489 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3492 wxRegionIterator
* _arg0
;
3493 PyObject
* _argo0
= 0;
3494 char *_kwnames
[] = { "self", NULL
};
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
3500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
3507 wxPy_BEGIN_ALLOW_THREADS
;
3508 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
3510 wxPy_END_ALLOW_THREADS
;
3511 } _resultobj
= Py_BuildValue("i",_result
);
3515 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
3516 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3518 wxRegionIterator
* _arg0
;
3519 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
3533 wxPy_BEGIN_ALLOW_THREADS
;
3534 wxRegionIterator_Reset(_arg0
);
3536 wxPy_END_ALLOW_THREADS
;
3537 } Py_INCREF(Py_None
);
3538 _resultobj
= Py_None
;
3542 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
3545 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3547 wxRegionIterator
* _arg0
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
3562 wxPy_BEGIN_ALLOW_THREADS
;
3563 wxRegionIterator_Next(_arg0
);
3565 wxPy_END_ALLOW_THREADS
;
3566 } Py_INCREF(Py_None
);
3567 _resultobj
= Py_None
;
3571 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3572 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3574 wxAcceleratorEntry
* _result
;
3575 int _arg0
= (int ) 0;
3576 int _arg1
= (int ) 0;
3577 int _arg2
= (int ) 0;
3578 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3585 wxPy_BEGIN_ALLOW_THREADS
;
3586 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3588 wxPy_END_ALLOW_THREADS
;
3590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3591 _resultobj
= Py_BuildValue("s",_ptemp
);
3594 _resultobj
= Py_None
;
3599 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3600 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3602 wxAcceleratorEntry
* _arg0
;
3603 PyObject
* _argo0
= 0;
3604 char *_kwnames
[] = { "self", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3617 wxPy_BEGIN_ALLOW_THREADS
;
3618 delete_wxAcceleratorEntry(_arg0
);
3620 wxPy_END_ALLOW_THREADS
;
3621 } Py_INCREF(Py_None
);
3622 _resultobj
= Py_None
;
3626 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3627 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3629 wxAcceleratorEntry
* _arg0
;
3633 PyObject
* _argo0
= 0;
3634 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3647 wxPy_BEGIN_ALLOW_THREADS
;
3648 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3650 wxPy_END_ALLOW_THREADS
;
3651 } Py_INCREF(Py_None
);
3652 _resultobj
= Py_None
;
3656 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3657 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3660 wxAcceleratorEntry
* _arg0
;
3661 PyObject
* _argo0
= 0;
3662 char *_kwnames
[] = { "self", NULL
};
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3678 wxPy_END_ALLOW_THREADS
;
3679 } _resultobj
= Py_BuildValue("i",_result
);
3683 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3684 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3687 wxAcceleratorEntry
* _arg0
;
3688 PyObject
* _argo0
= 0;
3689 char *_kwnames
[] = { "self", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3702 wxPy_BEGIN_ALLOW_THREADS
;
3703 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3705 wxPy_END_ALLOW_THREADS
;
3706 } _resultobj
= Py_BuildValue("i",_result
);
3710 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3711 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3714 wxAcceleratorEntry
* _arg0
;
3715 PyObject
* _argo0
= 0;
3716 char *_kwnames
[] = { "self", NULL
};
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3729 wxPy_BEGIN_ALLOW_THREADS
;
3730 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3732 wxPy_END_ALLOW_THREADS
;
3733 } _resultobj
= Py_BuildValue("i",_result
);
3737 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3738 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3740 wxAcceleratorTable
* _result
;
3742 wxAcceleratorEntry
* _arg1
;
3743 PyObject
* _obj1
= 0;
3744 char *_kwnames
[] = { "LIST", NULL
};
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3752 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3753 if (_arg1
== NULL
) {
3759 _arg0
= PyList_Size(_obj1
);
3766 wxPy_BEGIN_ALLOW_THREADS
;
3767 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3769 wxPy_END_ALLOW_THREADS
;
3771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3772 _resultobj
= Py_BuildValue("s",_ptemp
);
3775 _resultobj
= Py_None
;
3783 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3784 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
* _resultobj
;
3786 wxAcceleratorTable
* _arg0
;
3787 PyObject
* _argo0
= 0;
3788 char *_kwnames
[] = { "self", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 delete_wxAcceleratorTable(_arg0
);
3804 wxPy_END_ALLOW_THREADS
;
3805 } Py_INCREF(Py_None
);
3806 _resultobj
= Py_None
;
3810 static PyMethodDef misccMethods
[] = {
3811 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
3812 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
3813 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
3814 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
3815 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3816 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
3817 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
3818 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
3819 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
3820 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
3821 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
3822 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
3823 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3824 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
3825 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3826 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
3827 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3828 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
3829 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
3830 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
3831 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
3832 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
3833 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
3834 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
3835 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
3836 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
3837 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
3838 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
3839 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
3840 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3841 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
3842 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
3843 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
3844 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
3845 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
3846 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
3847 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
3848 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
3849 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
3850 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
3851 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
3852 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
3853 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
3854 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
3855 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
3856 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
3857 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
3858 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
3859 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
3860 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
3861 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
3862 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
3863 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
3864 { "wxPyTimer_Interval", (PyCFunction
) _wrap_wxPyTimer_Interval
, METH_VARARGS
| METH_KEYWORDS
},
3865 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
3866 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
3867 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3868 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
3869 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
3870 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
3871 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
3872 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3873 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3874 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3875 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3876 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
3877 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
3878 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
3879 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
3880 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3881 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3882 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3883 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3884 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3885 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3886 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
3887 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3888 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
3889 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
3890 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
3891 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
3892 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3893 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
3894 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
3895 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
3896 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3897 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3898 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3899 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3900 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3901 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
3902 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
3903 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
3904 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3905 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3906 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3907 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3908 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3909 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3910 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3911 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3912 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3913 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3914 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
3915 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
3916 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
3917 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
3918 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3919 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3920 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3921 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3922 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3923 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3924 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3925 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3926 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
3927 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
3928 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
3929 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
3930 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
3931 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
3932 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
3933 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
3934 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
3935 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
3936 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
3937 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
3938 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
3939 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
3940 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
3941 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
3942 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
3943 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
3944 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
3945 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
3946 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
3953 * This table is used by the pointer type-checker
3955 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3956 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3957 { "_signed_long","_long",0},
3958 { "_wxPrintQuality","_int",0},
3959 { "_wxPrintQuality","_signed_int",0},
3960 { "_wxPrintQuality","_unsigned_int",0},
3961 { "_wxPrintQuality","_wxWindowID",0},
3962 { "_wxPrintQuality","_uint",0},
3963 { "_wxPrintQuality","_EBool",0},
3964 { "_wxPrintQuality","_size_t",0},
3965 { "_class_wxRegionIterator","_wxRegionIterator",0},
3966 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3967 { "_byte","_unsigned_char",0},
3968 { "_long","_unsigned_long",0},
3969 { "_long","_signed_long",0},
3970 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3971 { "_size_t","_wxPrintQuality",0},
3972 { "_size_t","_unsigned_int",0},
3973 { "_size_t","_int",0},
3974 { "_size_t","_wxWindowID",0},
3975 { "_size_t","_uint",0},
3976 { "_class_wxRealPoint","_wxRealPoint",0},
3977 { "_uint","_wxPrintQuality",0},
3978 { "_uint","_size_t",0},
3979 { "_uint","_unsigned_int",0},
3980 { "_uint","_int",0},
3981 { "_uint","_wxWindowID",0},
3982 { "_wxRect","_class_wxRect",0},
3983 { "_wxPoint","_class_wxPoint",0},
3984 { "_wxPyTimer","_class_wxPyTimer",0},
3985 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3986 { "_EBool","_wxPrintQuality",0},
3987 { "_EBool","_signed_int",0},
3988 { "_EBool","_int",0},
3989 { "_EBool","_wxWindowID",0},
3990 { "_class_wxRegion","_wxRegion",0},
3991 { "_unsigned_long","_long",0},
3992 { "_class_wxRect","_wxRect",0},
3993 { "_class_wxPyTimer","_wxPyTimer",0},
3994 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3995 { "_signed_int","_wxPrintQuality",0},
3996 { "_signed_int","_EBool",0},
3997 { "_signed_int","_wxWindowID",0},
3998 { "_signed_int","_int",0},
3999 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4000 { "_WXTYPE","_short",0},
4001 { "_WXTYPE","_signed_short",0},
4002 { "_WXTYPE","_unsigned_short",0},
4003 { "_unsigned_short","_WXTYPE",0},
4004 { "_unsigned_short","_short",0},
4005 { "_class_wxPoint","_wxPoint",0},
4006 { "_wxRealPoint","_class_wxRealPoint",0},
4007 { "_signed_short","_WXTYPE",0},
4008 { "_signed_short","_short",0},
4009 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4010 { "_unsigned_char","_byte",0},
4011 { "_unsigned_int","_wxPrintQuality",0},
4012 { "_unsigned_int","_size_t",0},
4013 { "_unsigned_int","_uint",0},
4014 { "_unsigned_int","_wxWindowID",0},
4015 { "_unsigned_int","_int",0},
4016 { "_short","_WXTYPE",0},
4017 { "_short","_unsigned_short",0},
4018 { "_short","_signed_short",0},
4019 { "_wxWindowID","_wxPrintQuality",0},
4020 { "_wxWindowID","_size_t",0},
4021 { "_wxWindowID","_EBool",0},
4022 { "_wxWindowID","_uint",0},
4023 { "_wxWindowID","_int",0},
4024 { "_wxWindowID","_signed_int",0},
4025 { "_wxWindowID","_unsigned_int",0},
4026 { "_int","_wxPrintQuality",0},
4027 { "_int","_size_t",0},
4028 { "_int","_EBool",0},
4029 { "_int","_uint",0},
4030 { "_int","_wxWindowID",0},
4031 { "_int","_unsigned_int",0},
4032 { "_int","_signed_int",0},
4033 { "_wxSize","_class_wxSize",0},
4034 { "_wxRegionIterator","_class_wxRegionIterator",0},
4035 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4036 { "_wxRegion","_class_wxRegion",0},
4037 { "_class_wxSize","_wxSize",0},
4040 static PyObject
*SWIG_globals
;
4044 SWIGEXPORT(void) initmiscc() {
4046 SWIG_globals
= SWIG_newvarlink();
4047 m
= Py_InitModule("miscc", misccMethods
);
4048 d
= PyModule_GetDict(m
);
4049 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4050 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4051 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4052 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4053 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4054 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4055 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4056 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4057 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4058 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4059 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4060 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4061 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4062 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4063 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4064 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4065 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4066 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4067 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4068 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4069 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4070 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4073 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4074 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);