4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 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
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
121 wxGetResource(section
, entry
, &retval
, file
);
125 void wxToolTip_Enable(bool flag
) {
126 wxToolTip::Enable(flag
);
129 void wxToolTip_SetDelay(long milliseconds
) {
130 wxToolTip::SetDelay(milliseconds
);
132 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
) {
133 PyObject
* _resultobj
;
139 char * _arg4
= "*.*";
141 wxWindow
* _arg6
= NULL
;
147 if(!PyArg_ParseTuple(args
,"s|ssssisii:wxFileSelector",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argc6
,&_arg7
,&_arg8
))
150 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxWindow_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
156 wxPy_BEGIN_ALLOW_THREADS
;
157 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
159 wxPy_END_ALLOW_THREADS
;
161 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
169 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
) {
170 PyObject
* _resultobj
;
173 wxString
* _arg1
= &wxPyEmptyStr
;
174 wxString
* _arg2
= &wxPyEmptyStr
;
175 wxWindow
* _arg3
= NULL
;
179 PyObject
* _obj0
= 0;
180 PyObject
* _obj1
= 0;
181 PyObject
* _obj2
= 0;
186 if(!PyArg_ParseTuple(args
,"O|OOsiii:wxGetTextFromUser",&_obj0
,&_obj1
,&_obj2
,&_argc3
,&_arg4
,&_arg5
,&tempbool6
))
189 if (!PyString_Check(_obj0
)) {
190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
193 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
197 if (!PyString_Check(_obj1
)) {
198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
201 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
205 if (!PyString_Check(_obj2
)) {
206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
209 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
212 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
217 _arg6
= (bool ) tempbool6
;
219 wxPy_BEGIN_ALLOW_THREADS
;
220 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
222 wxPy_END_ALLOW_THREADS
;
224 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
244 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
) {
245 PyObject
* _resultobj
;
251 wxWindow
* _arg4
= NULL
;
257 PyObject
* _obj0
= 0;
258 PyObject
* _obj1
= 0;
259 PyObject
* _obj3
= 0;
264 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoice",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
267 if (!PyString_Check(_obj0
)) {
268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
271 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
274 if (!PyString_Check(_obj1
)) {
275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
278 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
282 _arg3
= wxString_LIST_helper(_obj3
);
288 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
293 _arg7
= (bool ) tempbool7
;
296 _arg2
= PyList_Size(_obj3
);
303 wxPy_BEGIN_ALLOW_THREADS
;
304 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
306 wxPy_END_ALLOW_THREADS
;
308 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
327 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
) {
328 PyObject
* _resultobj
;
334 wxWindow
* _arg4
= NULL
;
340 PyObject
* _obj0
= 0;
341 PyObject
* _obj1
= 0;
342 PyObject
* _obj3
= 0;
347 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
350 if (!PyString_Check(_obj0
)) {
351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
354 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
357 if (!PyString_Check(_obj1
)) {
358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
361 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
365 _arg3
= wxString_LIST_helper(_obj3
);
371 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
376 _arg7
= (bool ) tempbool7
;
379 _arg2
= PyList_Size(_obj3
);
386 wxPy_BEGIN_ALLOW_THREADS
;
387 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
389 wxPy_END_ALLOW_THREADS
;
390 } _resultobj
= Py_BuildValue("i",_result
);
405 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
) {
406 PyObject
* _resultobj
;
409 wxString
* _arg1
= &wxPyEmptyStr
;
410 int _arg2
= (wxOK
)|(wxCENTRE
);
411 wxWindow
* _arg3
= NULL
;
414 PyObject
* _obj0
= 0;
415 PyObject
* _obj1
= 0;
419 if(!PyArg_ParseTuple(args
,"O|Oisii:wxMessageBox",&_obj0
,&_obj1
,&_arg2
,&_argc3
,&_arg4
,&_arg5
))
422 if (!PyString_Check(_obj0
)) {
423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
426 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
430 if (!PyString_Check(_obj1
)) {
431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
434 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
437 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
443 wxPy_BEGIN_ALLOW_THREADS
;
444 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
446 wxPy_END_ALLOW_THREADS
;
447 } _resultobj
= Py_BuildValue("i",_result
);
459 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
) {
460 PyObject
* _resultobj
;
464 if(!PyArg_ParseTuple(args
,":wxColourDisplay"))
467 wxPy_BEGIN_ALLOW_THREADS
;
468 _result
= (bool )wxColourDisplay();
470 wxPy_END_ALLOW_THREADS
;
471 } _resultobj
= Py_BuildValue("i",_result
);
475 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
) {
476 PyObject
* _resultobj
;
480 if(!PyArg_ParseTuple(args
,":wxDisplayDepth"))
483 wxPy_BEGIN_ALLOW_THREADS
;
484 _result
= (int )wxDisplayDepth();
486 wxPy_END_ALLOW_THREADS
;
487 } _resultobj
= Py_BuildValue("i",_result
);
491 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
) {
492 PyObject
* _resultobj
;
497 if(!PyArg_ParseTuple(args
,"s:wxSetCursor",&_argc0
))
500 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
506 wxPy_BEGIN_ALLOW_THREADS
;
509 wxPy_END_ALLOW_THREADS
;
510 } Py_INCREF(Py_None
);
511 _resultobj
= Py_None
;
515 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
) {
516 PyObject
* _resultobj
;
520 if(!PyArg_ParseTuple(args
,":wxNewId"))
523 wxPy_BEGIN_ALLOW_THREADS
;
524 _result
= (long )wxNewId();
526 wxPy_END_ALLOW_THREADS
;
527 } _resultobj
= Py_BuildValue("l",_result
);
531 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
) {
532 PyObject
* _resultobj
;
536 if(!PyArg_ParseTuple(args
,"l:wxRegisterId",&_arg0
))
539 wxPy_BEGIN_ALLOW_THREADS
;
542 wxPy_END_ALLOW_THREADS
;
543 } Py_INCREF(Py_None
);
544 _resultobj
= Py_None
;
548 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
) {
549 PyObject
* _resultobj
;
553 if(!PyArg_ParseTuple(args
,":NewId"))
556 wxPy_BEGIN_ALLOW_THREADS
;
557 _result
= (long )wxNewId();
559 wxPy_END_ALLOW_THREADS
;
560 } _resultobj
= Py_BuildValue("l",_result
);
564 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
) {
565 PyObject
* _resultobj
;
569 if(!PyArg_ParseTuple(args
,"l:RegisterId",&_arg0
))
572 wxPy_BEGIN_ALLOW_THREADS
;
575 wxPy_END_ALLOW_THREADS
;
576 } Py_INCREF(Py_None
);
577 _resultobj
= Py_None
;
581 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
) {
582 PyObject
* _resultobj
;
583 wxCursor
* _arg0
= wxHOURGLASS_CURSOR
;
587 if(!PyArg_ParseTuple(args
,"|s:wxBeginBusyCursor",&_argc0
))
590 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
596 wxPy_BEGIN_ALLOW_THREADS
;
597 wxBeginBusyCursor(_arg0
);
599 wxPy_END_ALLOW_THREADS
;
600 } Py_INCREF(Py_None
);
601 _resultobj
= Py_None
;
605 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
) {
606 PyObject
* _resultobj
;
609 if(!PyArg_ParseTuple(args
,":wxBell"))
612 wxPy_BEGIN_ALLOW_THREADS
;
615 wxPy_END_ALLOW_THREADS
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
621 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
) {
622 PyObject
* _resultobj
;
635 if(!PyArg_ParseTuple(args
,":wxDisplaySize"))
638 wxPy_BEGIN_ALLOW_THREADS
;
639 wxDisplaySize(_arg0
,_arg1
);
641 wxPy_END_ALLOW_THREADS
;
642 } Py_INCREF(Py_None
);
643 _resultobj
= Py_None
;
646 o
= PyInt_FromLong((long) (*_arg0
));
647 _resultobj
= t_output_helper(_resultobj
, o
);
651 o
= PyInt_FromLong((long) (*_arg1
));
652 _resultobj
= t_output_helper(_resultobj
, o
);
657 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
) {
658 PyObject
* _resultobj
;
661 if(!PyArg_ParseTuple(args
,":wxEndBusyCursor"))
664 wxPy_BEGIN_ALLOW_THREADS
;
667 wxPy_END_ALLOW_THREADS
;
668 } Py_INCREF(Py_None
);
669 _resultobj
= Py_None
;
673 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
) {
674 PyObject
* _resultobj
;
678 PyObject
* _obj0
= 0;
682 if(!PyArg_ParseTuple(args
,"O|i:wxExecute",&_obj0
,&tempbool1
))
685 if (!PyString_Check(_obj0
)) {
686 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
689 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
691 _arg1
= (bool ) tempbool1
;
693 wxPy_BEGIN_ALLOW_THREADS
;
694 _result
= (long )wxExecute(*_arg0
,_arg1
);
696 wxPy_END_ALLOW_THREADS
;
697 } _resultobj
= Py_BuildValue("l",_result
);
705 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
) {
706 PyObject
* _resultobj
;
709 wxWindow
* _arg1
= NULL
;
710 PyObject
* _obj0
= 0;
715 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByLabel",&_obj0
,&_argc1
))
718 if (!PyString_Check(_obj0
)) {
719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
722 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
725 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
731 wxPy_BEGIN_ALLOW_THREADS
;
732 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
734 wxPy_END_ALLOW_THREADS
;
735 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
736 _resultobj
= Py_BuildValue("s",_ptemp
);
744 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
) {
745 PyObject
* _resultobj
;
748 wxWindow
* _arg1
= NULL
;
749 PyObject
* _obj0
= 0;
754 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByName",&_obj0
,&_argc1
))
757 if (!PyString_Check(_obj0
)) {
758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
761 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
764 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
770 wxPy_BEGIN_ALLOW_THREADS
;
771 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
773 wxPy_END_ALLOW_THREADS
;
774 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
775 _resultobj
= Py_BuildValue("s",_ptemp
);
783 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
) {
784 PyObject
* _resultobj
;
789 if(!PyArg_ParseTuple(args
,":wxGetActiveWindow"))
792 wxPy_BEGIN_ALLOW_THREADS
;
793 _result
= (wxWindow
*)wxGetActiveWindow();
795 wxPy_END_ALLOW_THREADS
;
796 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
797 _resultobj
= Py_BuildValue("s",_ptemp
);
801 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
) {
802 PyObject
* _resultobj
;
808 if(!PyArg_ParseTuple(args
,"|i:wxGetElapsedTime",&tempbool0
))
810 _arg0
= (bool ) tempbool0
;
812 wxPy_BEGIN_ALLOW_THREADS
;
813 _result
= (long )wxGetElapsedTime(_arg0
);
815 wxPy_END_ALLOW_THREADS
;
816 } _resultobj
= Py_BuildValue("l",_result
);
820 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
) {
821 PyObject
* _resultobj
;
825 if(!PyArg_ParseTuple(args
,":wxGetFreeMemory"))
828 wxPy_BEGIN_ALLOW_THREADS
;
829 _result
= (long )wxGetFreeMemory();
831 wxPy_END_ALLOW_THREADS
;
832 } _resultobj
= Py_BuildValue("l",_result
);
836 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
) {
837 PyObject
* _resultobj
;
850 if(!PyArg_ParseTuple(args
,":wxGetMousePosition"))
853 wxPy_BEGIN_ALLOW_THREADS
;
854 wxGetMousePosition(_arg0
,_arg1
);
856 wxPy_END_ALLOW_THREADS
;
857 } Py_INCREF(Py_None
);
858 _resultobj
= Py_None
;
861 o
= PyInt_FromLong((long) (*_arg0
));
862 _resultobj
= t_output_helper(_resultobj
, o
);
866 o
= PyInt_FromLong((long) (*_arg1
));
867 _resultobj
= t_output_helper(_resultobj
, o
);
872 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
) {
873 PyObject
* _resultobj
;
877 if(!PyArg_ParseTuple(args
,":wxIsBusy"))
880 wxPy_BEGIN_ALLOW_THREADS
;
881 _result
= (bool )wxIsBusy();
883 wxPy_END_ALLOW_THREADS
;
884 } _resultobj
= Py_BuildValue("i",_result
);
888 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
) {
889 PyObject
* _resultobj
;
893 if(!PyArg_ParseTuple(args
,":wxNow"))
896 wxPy_BEGIN_ALLOW_THREADS
;
897 _result
= new wxString (wxNow());
899 wxPy_END_ALLOW_THREADS
;
901 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
909 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
) {
910 PyObject
* _resultobj
;
912 wxString
* _arg0
= &wxPyEmptyStr
;
913 PyObject
* _obj0
= 0;
916 if(!PyArg_ParseTuple(args
,"|O:wxShell",&_obj0
))
920 if (!PyString_Check(_obj0
)) {
921 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
924 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
927 wxPy_BEGIN_ALLOW_THREADS
;
928 _result
= (bool )wxShell(*_arg0
);
930 wxPy_END_ALLOW_THREADS
;
931 } _resultobj
= Py_BuildValue("i",_result
);
939 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
) {
940 PyObject
* _resultobj
;
943 if(!PyArg_ParseTuple(args
,":wxStartTimer"))
946 wxPy_BEGIN_ALLOW_THREADS
;
949 wxPy_END_ALLOW_THREADS
;
950 } Py_INCREF(Py_None
);
951 _resultobj
= Py_None
;
955 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
) {
956 PyObject
* _resultobj
;
970 if(!PyArg_ParseTuple(args
,":wxGetOsVersion"))
973 wxPy_BEGIN_ALLOW_THREADS
;
974 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
976 wxPy_END_ALLOW_THREADS
;
977 } _resultobj
= Py_BuildValue("i",_result
);
980 o
= PyInt_FromLong((long) (*_arg0
));
981 _resultobj
= t_output_helper(_resultobj
, o
);
985 o
= PyInt_FromLong((long) (*_arg1
));
986 _resultobj
= t_output_helper(_resultobj
, o
);
991 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
) {
992 PyObject
* _resultobj
;
996 if(!PyArg_ParseTuple(args
,":wxYield"))
999 wxPy_BEGIN_ALLOW_THREADS
;
1000 _result
= (bool )wxYield();
1002 wxPy_END_ALLOW_THREADS
;
1003 } _resultobj
= Py_BuildValue("i",_result
);
1007 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
) {
1008 PyObject
* _resultobj
;
1012 if(!PyArg_ParseTuple(args
,":wxSafeYield"))
1015 wxPy_BEGIN_ALLOW_THREADS
;
1016 _result
= (bool )wxSafeYield();
1018 wxPy_END_ALLOW_THREADS
;
1019 } _resultobj
= Py_BuildValue("i",_result
);
1023 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
) {
1024 PyObject
* _resultobj
;
1028 char * _arg2
= NULL
;
1031 if(!PyArg_ParseTuple(args
,"ss|s:wxGetResource",&_arg0
,&_arg1
,&_arg2
))
1034 wxPy_BEGIN_ALLOW_THREADS
;
1035 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
1037 wxPy_END_ALLOW_THREADS
;
1038 } _resultobj
= Py_BuildValue("s", _result
);
1042 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
) {
1043 PyObject
* _resultobj
;
1049 if(!PyArg_ParseTuple(args
,"si:wxResourceAddIdentifier",&_arg0
,&_arg1
))
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1055 wxPy_END_ALLOW_THREADS
;
1056 } _resultobj
= Py_BuildValue("i",_result
);
1060 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
) {
1061 PyObject
* _resultobj
;
1064 if(!PyArg_ParseTuple(args
,":wxResourceClear"))
1067 wxPy_BEGIN_ALLOW_THREADS
;
1070 wxPy_END_ALLOW_THREADS
;
1071 } Py_INCREF(Py_None
);
1072 _resultobj
= Py_None
;
1076 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
) {
1077 PyObject
* _resultobj
;
1083 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateBitmap",&_arg0
))
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1089 wxPy_END_ALLOW_THREADS
;
1090 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1091 _resultobj
= Py_BuildValue("s",_ptemp
);
1095 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
) {
1096 PyObject
* _resultobj
;
1102 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateIcon",&_arg0
))
1105 wxPy_BEGIN_ALLOW_THREADS
;
1106 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1108 wxPy_END_ALLOW_THREADS
;
1109 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1110 _resultobj
= Py_BuildValue("s",_ptemp
);
1114 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
) {
1115 PyObject
* _resultobj
;
1116 wxMenuBar
* _result
;
1121 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateMenuBar",&_arg0
))
1124 wxPy_BEGIN_ALLOW_THREADS
;
1125 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1127 wxPy_END_ALLOW_THREADS
;
1128 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1129 _resultobj
= Py_BuildValue("s",_ptemp
);
1133 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
) {
1134 PyObject
* _resultobj
;
1139 if(!PyArg_ParseTuple(args
,"s:wxResourceGetIdentifier",&_arg0
))
1142 wxPy_BEGIN_ALLOW_THREADS
;
1143 _result
= (int )wxResourceGetIdentifier(_arg0
);
1145 wxPy_END_ALLOW_THREADS
;
1146 } _resultobj
= Py_BuildValue("i",_result
);
1150 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
) {
1151 PyObject
* _resultobj
;
1154 wxResourceTable
* _arg1
= NULL
;
1158 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseData",&_arg0
,&_argc1
))
1161 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1170 wxPy_END_ALLOW_THREADS
;
1171 } _resultobj
= Py_BuildValue("i",_result
);
1175 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
) {
1176 PyObject
* _resultobj
;
1179 wxResourceTable
* _arg1
= NULL
;
1183 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseFile",&_arg0
,&_argc1
))
1186 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1192 wxPy_BEGIN_ALLOW_THREADS
;
1193 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1195 wxPy_END_ALLOW_THREADS
;
1196 } _resultobj
= Py_BuildValue("i",_result
);
1200 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
) {
1201 PyObject
* _resultobj
;
1204 wxResourceTable
* _arg1
= NULL
;
1208 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseString",&_arg0
,&_argc1
))
1211 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1217 wxPy_BEGIN_ALLOW_THREADS
;
1218 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1220 wxPy_END_ALLOW_THREADS
;
1221 } _resultobj
= Py_BuildValue("i",_result
);
1225 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
) {
1226 PyObject
* _resultobj
;
1231 if(!PyArg_ParseTuple(args
,"i:wxToolTip_Enable",&tempbool0
))
1233 _arg0
= (bool ) tempbool0
;
1235 wxPy_BEGIN_ALLOW_THREADS
;
1236 wxToolTip_Enable(_arg0
);
1238 wxPy_END_ALLOW_THREADS
;
1239 } Py_INCREF(Py_None
);
1240 _resultobj
= Py_None
;
1244 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
) {
1245 PyObject
* _resultobj
;
1249 if(!PyArg_ParseTuple(args
,"l:wxToolTip_SetDelay",&_arg0
))
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 wxToolTip_SetDelay(_arg0
);
1255 wxPy_END_ALLOW_THREADS
;
1256 } Py_INCREF(Py_None
);
1257 _resultobj
= Py_None
;
1261 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1262 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
) {
1263 PyObject
* _resultobj
;
1270 if(!PyArg_ParseTuple(args
,"sl:wxSize_x_set",&_argc0
,&_arg1
))
1273 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_set. Expected _wxSize_p.");
1279 wxPy_BEGIN_ALLOW_THREADS
;
1280 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1282 wxPy_END_ALLOW_THREADS
;
1283 } _resultobj
= Py_BuildValue("l",_result
);
1287 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1288 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
) {
1289 PyObject
* _resultobj
;
1295 if(!PyArg_ParseTuple(args
,"s:wxSize_x_get",&_argc0
))
1298 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_get. Expected _wxSize_p.");
1304 wxPy_BEGIN_ALLOW_THREADS
;
1305 _result
= (long )wxSize_x_get(_arg0
);
1307 wxPy_END_ALLOW_THREADS
;
1308 } _resultobj
= Py_BuildValue("l",_result
);
1312 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1313 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
) {
1314 PyObject
* _resultobj
;
1321 if(!PyArg_ParseTuple(args
,"sl:wxSize_y_set",&_argc0
,&_arg1
))
1324 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_set. Expected _wxSize_p.");
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1333 wxPy_END_ALLOW_THREADS
;
1334 } _resultobj
= Py_BuildValue("l",_result
);
1338 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1339 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
) {
1340 PyObject
* _resultobj
;
1346 if(!PyArg_ParseTuple(args
,"s:wxSize_y_get",&_argc0
))
1349 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_get. Expected _wxSize_p.");
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 _result
= (long )wxSize_y_get(_arg0
);
1358 wxPy_END_ALLOW_THREADS
;
1359 } _resultobj
= Py_BuildValue("l",_result
);
1363 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1364 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
) {
1365 PyObject
* _resultobj
;
1372 if(!PyArg_ParseTuple(args
,"|ll:new_wxSize",&_arg0
,&_arg1
))
1375 wxPy_BEGIN_ALLOW_THREADS
;
1376 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1378 wxPy_END_ALLOW_THREADS
;
1379 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1380 _resultobj
= Py_BuildValue("s",_ptemp
);
1384 #define delete_wxSize(_swigobj) (delete _swigobj)
1385 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
) {
1386 PyObject
* _resultobj
;
1391 if(!PyArg_ParseTuple(args
,"s:delete_wxSize",&_argc0
))
1394 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 delete_wxSize(_arg0
);
1403 wxPy_END_ALLOW_THREADS
;
1404 } Py_INCREF(Py_None
);
1405 _resultobj
= Py_None
;
1409 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1410 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
) {
1411 PyObject
* _resultobj
;
1418 if(!PyArg_ParseTuple(args
,"sll:wxSize_Set",&_argc0
,&_arg1
,&_arg2
))
1421 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 wxSize_Set(_arg0
,_arg1
,_arg2
);
1430 wxPy_END_ALLOW_THREADS
;
1431 } Py_INCREF(Py_None
);
1432 _resultobj
= Py_None
;
1436 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1437 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
) {
1438 PyObject
* _resultobj
;
1444 if(!PyArg_ParseTuple(args
,"s:wxSize_GetX",&_argc0
))
1447 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetX. Expected _wxSize_p.");
1453 wxPy_BEGIN_ALLOW_THREADS
;
1454 _result
= (long )wxSize_GetX(_arg0
);
1456 wxPy_END_ALLOW_THREADS
;
1457 } _resultobj
= Py_BuildValue("l",_result
);
1461 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1462 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
) {
1463 PyObject
* _resultobj
;
1469 if(!PyArg_ParseTuple(args
,"s:wxSize_GetY",&_argc0
))
1472 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetY. Expected _wxSize_p.");
1478 wxPy_BEGIN_ALLOW_THREADS
;
1479 _result
= (long )wxSize_GetY(_arg0
);
1481 wxPy_END_ALLOW_THREADS
;
1482 } _resultobj
= Py_BuildValue("l",_result
);
1486 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1487 PyObject
* tup
= PyTuple_New(2);
1488 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1489 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1492 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
) {
1493 PyObject
* _resultobj
;
1499 if(!PyArg_ParseTuple(args
,"s:wxSize_asTuple",&_argc0
))
1502 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_asTuple. Expected _wxSize_p.");
1508 wxPy_BEGIN_ALLOW_THREADS
;
1509 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1511 wxPy_END_ALLOW_THREADS
;
1513 _resultobj
= _result
;
1518 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1519 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
) {
1520 PyObject
* _resultobj
;
1522 wxRealPoint
* _arg0
;
1527 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_x_set",&_argc0
,&_arg1
))
1530 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1539 wxPy_END_ALLOW_THREADS
;
1540 } _resultobj
= Py_BuildValue("d",_result
);
1544 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1545 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
) {
1546 PyObject
* _resultobj
;
1548 wxRealPoint
* _arg0
;
1552 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_x_get",&_argc0
))
1555 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1561 wxPy_BEGIN_ALLOW_THREADS
;
1562 _result
= (double )wxRealPoint_x_get(_arg0
);
1564 wxPy_END_ALLOW_THREADS
;
1565 } _resultobj
= Py_BuildValue("d",_result
);
1569 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1570 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
) {
1571 PyObject
* _resultobj
;
1573 wxRealPoint
* _arg0
;
1578 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_y_set",&_argc0
,&_arg1
))
1581 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1587 wxPy_BEGIN_ALLOW_THREADS
;
1588 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1590 wxPy_END_ALLOW_THREADS
;
1591 } _resultobj
= Py_BuildValue("d",_result
);
1595 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1596 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
) {
1597 PyObject
* _resultobj
;
1599 wxRealPoint
* _arg0
;
1603 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_y_get",&_argc0
))
1606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1612 wxPy_BEGIN_ALLOW_THREADS
;
1613 _result
= (double )wxRealPoint_y_get(_arg0
);
1615 wxPy_END_ALLOW_THREADS
;
1616 } _resultobj
= Py_BuildValue("d",_result
);
1620 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1621 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1622 PyObject
* _resultobj
;
1623 wxRealPoint
* _result
;
1629 if(!PyArg_ParseTuple(args
,"|dd:new_wxRealPoint",&_arg0
,&_arg1
))
1632 wxPy_BEGIN_ALLOW_THREADS
;
1633 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1635 wxPy_END_ALLOW_THREADS
;
1636 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1637 _resultobj
= Py_BuildValue("s",_ptemp
);
1641 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1642 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1643 PyObject
* _resultobj
;
1644 wxRealPoint
* _arg0
;
1648 if(!PyArg_ParseTuple(args
,"s:delete_wxRealPoint",&_argc0
))
1651 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 delete_wxRealPoint(_arg0
);
1660 wxPy_END_ALLOW_THREADS
;
1661 } Py_INCREF(Py_None
);
1662 _resultobj
= Py_None
;
1666 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1667 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
) {
1668 PyObject
* _resultobj
;
1675 if(!PyArg_ParseTuple(args
,"sl:wxPoint_x_set",&_argc0
,&_arg1
))
1678 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1684 wxPy_BEGIN_ALLOW_THREADS
;
1685 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1687 wxPy_END_ALLOW_THREADS
;
1688 } _resultobj
= Py_BuildValue("l",_result
);
1692 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1693 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
) {
1694 PyObject
* _resultobj
;
1700 if(!PyArg_ParseTuple(args
,"s:wxPoint_x_get",&_argc0
))
1703 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 _result
= (long )wxPoint_x_get(_arg0
);
1712 wxPy_END_ALLOW_THREADS
;
1713 } _resultobj
= Py_BuildValue("l",_result
);
1717 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1718 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
) {
1719 PyObject
* _resultobj
;
1726 if(!PyArg_ParseTuple(args
,"sl:wxPoint_y_set",&_argc0
,&_arg1
))
1729 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1735 wxPy_BEGIN_ALLOW_THREADS
;
1736 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1738 wxPy_END_ALLOW_THREADS
;
1739 } _resultobj
= Py_BuildValue("l",_result
);
1743 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1744 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
) {
1745 PyObject
* _resultobj
;
1751 if(!PyArg_ParseTuple(args
,"s:wxPoint_y_get",&_argc0
))
1754 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1760 wxPy_BEGIN_ALLOW_THREADS
;
1761 _result
= (long )wxPoint_y_get(_arg0
);
1763 wxPy_END_ALLOW_THREADS
;
1764 } _resultobj
= Py_BuildValue("l",_result
);
1768 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1769 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
) {
1770 PyObject
* _resultobj
;
1777 if(!PyArg_ParseTuple(args
,"|ll:new_wxPoint",&_arg0
,&_arg1
))
1780 wxPy_BEGIN_ALLOW_THREADS
;
1781 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1783 wxPy_END_ALLOW_THREADS
;
1784 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1785 _resultobj
= Py_BuildValue("s",_ptemp
);
1789 #define delete_wxPoint(_swigobj) (delete _swigobj)
1790 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
) {
1791 PyObject
* _resultobj
;
1796 if(!PyArg_ParseTuple(args
,"s:delete_wxPoint",&_argc0
))
1799 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 delete_wxPoint(_arg0
);
1808 wxPy_END_ALLOW_THREADS
;
1809 } Py_INCREF(Py_None
);
1810 _resultobj
= Py_None
;
1814 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1818 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
) {
1819 PyObject
* _resultobj
;
1826 if(!PyArg_ParseTuple(args
,"sll:wxPoint_Set",&_argc0
,&_arg1
,&_arg2
))
1829 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1835 wxPy_BEGIN_ALLOW_THREADS
;
1836 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1838 wxPy_END_ALLOW_THREADS
;
1839 } Py_INCREF(Py_None
);
1840 _resultobj
= Py_None
;
1844 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1845 PyObject
* tup
= PyTuple_New(2);
1846 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1847 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1850 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
) {
1851 PyObject
* _resultobj
;
1857 if(!PyArg_ParseTuple(args
,"s:wxPoint_asTuple",&_argc0
))
1860 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_asTuple. Expected _wxPoint_p.");
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1869 wxPy_END_ALLOW_THREADS
;
1871 _resultobj
= _result
;
1876 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1877 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
) {
1878 PyObject
* _resultobj
;
1887 if(!PyArg_ParseTuple(args
,"|llll:new_wxRect",&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1893 wxPy_END_ALLOW_THREADS
;
1894 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1895 _resultobj
= Py_BuildValue("s",_ptemp
);
1899 #define delete_wxRect(_swigobj) (delete _swigobj)
1900 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
) {
1901 PyObject
* _resultobj
;
1906 if(!PyArg_ParseTuple(args
,"s:delete_wxRect",&_argc0
))
1909 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 delete_wxRect(_arg0
);
1918 wxPy_END_ALLOW_THREADS
;
1919 } Py_INCREF(Py_None
);
1920 _resultobj
= Py_None
;
1924 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1925 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
) {
1926 PyObject
* _resultobj
;
1932 if(!PyArg_ParseTuple(args
,"s:wxRect_GetX",&_argc0
))
1935 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1941 wxPy_BEGIN_ALLOW_THREADS
;
1942 _result
= (long )wxRect_GetX(_arg0
);
1944 wxPy_END_ALLOW_THREADS
;
1945 } _resultobj
= Py_BuildValue("l",_result
);
1949 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1950 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
) {
1951 PyObject
* _resultobj
;
1957 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetX",&_argc0
,&_arg1
))
1960 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1966 wxPy_BEGIN_ALLOW_THREADS
;
1967 wxRect_SetX(_arg0
,_arg1
);
1969 wxPy_END_ALLOW_THREADS
;
1970 } Py_INCREF(Py_None
);
1971 _resultobj
= Py_None
;
1975 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1976 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
) {
1977 PyObject
* _resultobj
;
1983 if(!PyArg_ParseTuple(args
,"s:wxRect_GetY",&_argc0
))
1986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
1992 wxPy_BEGIN_ALLOW_THREADS
;
1993 _result
= (long )wxRect_GetY(_arg0
);
1995 wxPy_END_ALLOW_THREADS
;
1996 } _resultobj
= Py_BuildValue("l",_result
);
2000 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2001 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
) {
2002 PyObject
* _resultobj
;
2008 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetY",&_argc0
,&_arg1
))
2011 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 wxRect_SetY(_arg0
,_arg1
);
2020 wxPy_END_ALLOW_THREADS
;
2021 } Py_INCREF(Py_None
);
2022 _resultobj
= Py_None
;
2026 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2027 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
) {
2028 PyObject
* _resultobj
;
2034 if(!PyArg_ParseTuple(args
,"s:wxRect_GetWidth",&_argc0
))
2037 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
2043 wxPy_BEGIN_ALLOW_THREADS
;
2044 _result
= (long )wxRect_GetWidth(_arg0
);
2046 wxPy_END_ALLOW_THREADS
;
2047 } _resultobj
= Py_BuildValue("l",_result
);
2051 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2052 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
) {
2053 PyObject
* _resultobj
;
2059 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetWidth",&_argc0
,&_arg1
))
2062 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
2068 wxPy_BEGIN_ALLOW_THREADS
;
2069 wxRect_SetWidth(_arg0
,_arg1
);
2071 wxPy_END_ALLOW_THREADS
;
2072 } Py_INCREF(Py_None
);
2073 _resultobj
= Py_None
;
2077 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2078 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
) {
2079 PyObject
* _resultobj
;
2085 if(!PyArg_ParseTuple(args
,"s:wxRect_GetHeight",&_argc0
))
2088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
2094 wxPy_BEGIN_ALLOW_THREADS
;
2095 _result
= (long )wxRect_GetHeight(_arg0
);
2097 wxPy_END_ALLOW_THREADS
;
2098 } _resultobj
= Py_BuildValue("l",_result
);
2102 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2103 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
) {
2104 PyObject
* _resultobj
;
2110 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetHeight",&_argc0
,&_arg1
))
2113 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
2119 wxPy_BEGIN_ALLOW_THREADS
;
2120 wxRect_SetHeight(_arg0
,_arg1
);
2122 wxPy_END_ALLOW_THREADS
;
2123 } Py_INCREF(Py_None
);
2124 _resultobj
= Py_None
;
2128 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2129 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
) {
2130 PyObject
* _resultobj
;
2137 if(!PyArg_ParseTuple(args
,"s:wxRect_GetPosition",&_argc0
))
2140 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
2146 wxPy_BEGIN_ALLOW_THREADS
;
2147 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2149 wxPy_END_ALLOW_THREADS
;
2150 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2151 _resultobj
= Py_BuildValue("s",_ptemp
);
2155 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2156 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
) {
2157 PyObject
* _resultobj
;
2164 if(!PyArg_ParseTuple(args
,"s:wxRect_GetSize",&_argc0
))
2167 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
2173 wxPy_BEGIN_ALLOW_THREADS
;
2174 _result
= new wxSize (wxRect_GetSize(_arg0
));
2176 wxPy_END_ALLOW_THREADS
;
2177 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2178 _resultobj
= Py_BuildValue("s",_ptemp
);
2182 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2183 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
) {
2184 PyObject
* _resultobj
;
2190 if(!PyArg_ParseTuple(args
,"s:wxRect_GetLeft",&_argc0
))
2193 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
2199 wxPy_BEGIN_ALLOW_THREADS
;
2200 _result
= (long )wxRect_GetLeft(_arg0
);
2202 wxPy_END_ALLOW_THREADS
;
2203 } _resultobj
= Py_BuildValue("l",_result
);
2207 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2208 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
) {
2209 PyObject
* _resultobj
;
2215 if(!PyArg_ParseTuple(args
,"s:wxRect_GetTop",&_argc0
))
2218 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 _result
= (long )wxRect_GetTop(_arg0
);
2227 wxPy_END_ALLOW_THREADS
;
2228 } _resultobj
= Py_BuildValue("l",_result
);
2232 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2233 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
) {
2234 PyObject
* _resultobj
;
2240 if(!PyArg_ParseTuple(args
,"s:wxRect_GetBottom",&_argc0
))
2243 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
2249 wxPy_BEGIN_ALLOW_THREADS
;
2250 _result
= (long )wxRect_GetBottom(_arg0
);
2252 wxPy_END_ALLOW_THREADS
;
2253 } _resultobj
= Py_BuildValue("l",_result
);
2257 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2258 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
) {
2259 PyObject
* _resultobj
;
2265 if(!PyArg_ParseTuple(args
,"s:wxRect_GetRight",&_argc0
))
2268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
2274 wxPy_BEGIN_ALLOW_THREADS
;
2275 _result
= (long )wxRect_GetRight(_arg0
);
2277 wxPy_END_ALLOW_THREADS
;
2278 } _resultobj
= Py_BuildValue("l",_result
);
2282 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2283 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
) {
2284 PyObject
* _resultobj
;
2291 if(!PyArg_ParseTuple(args
,"sl:wxRect_x_set",&_argc0
,&_arg1
))
2294 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
2300 wxPy_BEGIN_ALLOW_THREADS
;
2301 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
2303 wxPy_END_ALLOW_THREADS
;
2304 } _resultobj
= Py_BuildValue("l",_result
);
2308 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
2309 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
) {
2310 PyObject
* _resultobj
;
2316 if(!PyArg_ParseTuple(args
,"s:wxRect_x_get",&_argc0
))
2319 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 _result
= (long )wxRect_x_get(_arg0
);
2328 wxPy_END_ALLOW_THREADS
;
2329 } _resultobj
= Py_BuildValue("l",_result
);
2333 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2334 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
) {
2335 PyObject
* _resultobj
;
2342 if(!PyArg_ParseTuple(args
,"sl:wxRect_y_set",&_argc0
,&_arg1
))
2345 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
2351 wxPy_BEGIN_ALLOW_THREADS
;
2352 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
2354 wxPy_END_ALLOW_THREADS
;
2355 } _resultobj
= Py_BuildValue("l",_result
);
2359 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
2360 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
) {
2361 PyObject
* _resultobj
;
2367 if(!PyArg_ParseTuple(args
,"s:wxRect_y_get",&_argc0
))
2370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
2376 wxPy_BEGIN_ALLOW_THREADS
;
2377 _result
= (long )wxRect_y_get(_arg0
);
2379 wxPy_END_ALLOW_THREADS
;
2380 } _resultobj
= Py_BuildValue("l",_result
);
2384 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2385 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
) {
2386 PyObject
* _resultobj
;
2393 if(!PyArg_ParseTuple(args
,"sl:wxRect_width_set",&_argc0
,&_arg1
))
2396 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
2402 wxPy_BEGIN_ALLOW_THREADS
;
2403 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
2405 wxPy_END_ALLOW_THREADS
;
2406 } _resultobj
= Py_BuildValue("l",_result
);
2410 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
2411 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
) {
2412 PyObject
* _resultobj
;
2418 if(!PyArg_ParseTuple(args
,"s:wxRect_width_get",&_argc0
))
2421 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
2427 wxPy_BEGIN_ALLOW_THREADS
;
2428 _result
= (long )wxRect_width_get(_arg0
);
2430 wxPy_END_ALLOW_THREADS
;
2431 } _resultobj
= Py_BuildValue("l",_result
);
2435 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2436 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
) {
2437 PyObject
* _resultobj
;
2444 if(!PyArg_ParseTuple(args
,"sl:wxRect_height_set",&_argc0
,&_arg1
))
2447 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2456 wxPy_END_ALLOW_THREADS
;
2457 } _resultobj
= Py_BuildValue("l",_result
);
2461 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2462 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
) {
2463 PyObject
* _resultobj
;
2469 if(!PyArg_ParseTuple(args
,"s:wxRect_height_get",&_argc0
))
2472 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 _result
= (long )wxRect_height_get(_arg0
);
2481 wxPy_END_ALLOW_THREADS
;
2482 } _resultobj
= Py_BuildValue("l",_result
);
2486 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2487 PyObject
* tup
= PyTuple_New(4);
2488 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2489 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2490 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->width
));
2491 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->height
));
2494 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
) {
2495 PyObject
* _resultobj
;
2501 if(!PyArg_ParseTuple(args
,"s:wxRect_asTuple",&_argc0
))
2504 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_asTuple. Expected _wxRect_p.");
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2513 wxPy_END_ALLOW_THREADS
;
2515 _resultobj
= _result
;
2520 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2521 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2522 PyObject
* _resultobj
;
2523 wxPyTimer
* _result
;
2525 PyObject
* _obj0
= 0;
2529 if(!PyArg_ParseTuple(args
,"O:new_wxPyTimer",&_obj0
))
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2538 wxPy_END_ALLOW_THREADS
;
2539 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2540 _resultobj
= Py_BuildValue("s",_ptemp
);
2544 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2545 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2546 PyObject
* _resultobj
;
2551 if(!PyArg_ParseTuple(args
,"s:delete_wxPyTimer",&_argc0
))
2554 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2560 wxPy_BEGIN_ALLOW_THREADS
;
2561 delete_wxPyTimer(_arg0
);
2563 wxPy_END_ALLOW_THREADS
;
2564 } Py_INCREF(Py_None
);
2565 _resultobj
= Py_None
;
2569 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2570 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
) {
2571 PyObject
* _resultobj
;
2577 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Interval",&_argc0
))
2580 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2586 wxPy_BEGIN_ALLOW_THREADS
;
2587 _result
= (int )wxPyTimer_Interval(_arg0
);
2589 wxPy_END_ALLOW_THREADS
;
2590 } _resultobj
= Py_BuildValue("i",_result
);
2594 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2595 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
) {
2596 PyObject
* _resultobj
;
2603 if(!PyArg_ParseTuple(args
,"s|ii:wxPyTimer_Start",&_argc0
,&_arg1
,&_arg2
))
2606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2612 wxPy_BEGIN_ALLOW_THREADS
;
2613 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2615 wxPy_END_ALLOW_THREADS
;
2616 } Py_INCREF(Py_None
);
2617 _resultobj
= Py_None
;
2621 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2622 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
) {
2623 PyObject
* _resultobj
;
2628 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Stop",&_argc0
))
2631 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2637 wxPy_BEGIN_ALLOW_THREADS
;
2638 wxPyTimer_Stop(_arg0
);
2640 wxPy_END_ALLOW_THREADS
;
2641 } Py_INCREF(Py_None
);
2642 _resultobj
= Py_None
;
2646 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2647 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
) {
2648 PyObject
* _resultobj
;
2649 wxIndividualLayoutConstraint
* _arg0
;
2656 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0
,&_argc1
,&_arg2
))
2659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2665 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2671 wxPy_BEGIN_ALLOW_THREADS
;
2672 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2674 wxPy_END_ALLOW_THREADS
;
2675 } Py_INCREF(Py_None
);
2676 _resultobj
= Py_None
;
2680 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2681 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
) {
2682 PyObject
* _resultobj
;
2683 wxIndividualLayoutConstraint
* _arg0
;
2688 if(!PyArg_ParseTuple(args
,"si:wxIndividualLayoutConstraint_Absolute",&_argc0
,&_arg1
))
2691 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2697 wxPy_BEGIN_ALLOW_THREADS
;
2698 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2700 wxPy_END_ALLOW_THREADS
;
2701 } Py_INCREF(Py_None
);
2702 _resultobj
= Py_None
;
2706 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2707 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
) {
2708 PyObject
* _resultobj
;
2709 wxIndividualLayoutConstraint
* _arg0
;
2713 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_AsIs",&_argc0
))
2716 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 wxIndividualLayoutConstraint_AsIs(_arg0
);
2725 wxPy_END_ALLOW_THREADS
;
2726 } Py_INCREF(Py_None
);
2727 _resultobj
= Py_None
;
2731 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2732 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
) {
2733 PyObject
* _resultobj
;
2734 wxIndividualLayoutConstraint
* _arg0
;
2741 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0
,&_argc1
,&_arg2
))
2744 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2750 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2756 wxPy_BEGIN_ALLOW_THREADS
;
2757 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2759 wxPy_END_ALLOW_THREADS
;
2760 } Py_INCREF(Py_None
);
2761 _resultobj
= Py_None
;
2765 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2766 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
) {
2767 PyObject
* _resultobj
;
2768 wxIndividualLayoutConstraint
* _arg0
;
2772 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0
))
2775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2781 wxPy_BEGIN_ALLOW_THREADS
;
2782 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2784 wxPy_END_ALLOW_THREADS
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2790 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2791 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
) {
2792 PyObject
* _resultobj
;
2793 wxIndividualLayoutConstraint
* _arg0
;
2800 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0
,&_argc1
,&_arg2
))
2803 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2809 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2815 wxPy_BEGIN_ALLOW_THREADS
;
2816 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2818 wxPy_END_ALLOW_THREADS
;
2819 } Py_INCREF(Py_None
);
2820 _resultobj
= Py_None
;
2824 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2825 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
) {
2826 PyObject
* _resultobj
;
2827 wxIndividualLayoutConstraint
* _arg0
;
2835 if(!PyArg_ParseTuple(args
,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2838 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2844 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2850 wxPy_BEGIN_ALLOW_THREADS
;
2851 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2853 wxPy_END_ALLOW_THREADS
;
2854 } Py_INCREF(Py_None
);
2855 _resultobj
= Py_None
;
2859 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2860 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
) {
2861 PyObject
* _resultobj
;
2862 wxIndividualLayoutConstraint
* _arg0
;
2869 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0
,&_argc1
,&_arg2
))
2872 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2878 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2884 wxPy_BEGIN_ALLOW_THREADS
;
2885 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2887 wxPy_END_ALLOW_THREADS
;
2888 } Py_INCREF(Py_None
);
2889 _resultobj
= Py_None
;
2893 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2894 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
) {
2895 PyObject
* _resultobj
;
2896 wxIndividualLayoutConstraint
* _arg0
;
2904 if(!PyArg_ParseTuple(args
,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2907 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2913 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2919 wxPy_BEGIN_ALLOW_THREADS
;
2920 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2922 wxPy_END_ALLOW_THREADS
;
2923 } Py_INCREF(Py_None
);
2924 _resultobj
= Py_None
;
2928 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2929 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
) {
2930 PyObject
* _resultobj
;
2931 wxIndividualLayoutConstraint
* _arg0
;
2932 wxRelationship _arg1
;
2941 if(!PyArg_ParseTuple(args
,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
))
2944 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2950 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2956 wxPy_BEGIN_ALLOW_THREADS
;
2957 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2959 wxPy_END_ALLOW_THREADS
;
2960 } Py_INCREF(Py_None
);
2961 _resultobj
= Py_None
;
2965 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2966 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
) {
2967 PyObject
* _resultobj
;
2968 wxLayoutConstraints
* _result
;
2972 if(!PyArg_ParseTuple(args
,":new_wxLayoutConstraints"))
2975 wxPy_BEGIN_ALLOW_THREADS
;
2976 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2978 wxPy_END_ALLOW_THREADS
;
2979 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2980 _resultobj
= Py_BuildValue("s",_ptemp
);
2984 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2985 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
) {
2986 PyObject
* _resultobj
;
2987 wxIndividualLayoutConstraint
* _result
;
2988 wxLayoutConstraints
* _arg0
;
2993 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_bottom_get",&_argc0
))
2996 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3002 wxPy_BEGIN_ALLOW_THREADS
;
3003 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3005 wxPy_END_ALLOW_THREADS
;
3006 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3007 _resultobj
= Py_BuildValue("s",_ptemp
);
3011 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3012 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
) {
3013 PyObject
* _resultobj
;
3014 wxIndividualLayoutConstraint
* _result
;
3015 wxLayoutConstraints
* _arg0
;
3020 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreX_get",&_argc0
))
3023 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3029 wxPy_BEGIN_ALLOW_THREADS
;
3030 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3032 wxPy_END_ALLOW_THREADS
;
3033 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3034 _resultobj
= Py_BuildValue("s",_ptemp
);
3038 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3039 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
) {
3040 PyObject
* _resultobj
;
3041 wxIndividualLayoutConstraint
* _result
;
3042 wxLayoutConstraints
* _arg0
;
3047 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreY_get",&_argc0
))
3050 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3056 wxPy_BEGIN_ALLOW_THREADS
;
3057 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3059 wxPy_END_ALLOW_THREADS
;
3060 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3061 _resultobj
= Py_BuildValue("s",_ptemp
);
3065 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3066 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
) {
3067 PyObject
* _resultobj
;
3068 wxIndividualLayoutConstraint
* _result
;
3069 wxLayoutConstraints
* _arg0
;
3074 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_height_get",&_argc0
))
3077 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3083 wxPy_BEGIN_ALLOW_THREADS
;
3084 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3086 wxPy_END_ALLOW_THREADS
;
3087 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3088 _resultobj
= Py_BuildValue("s",_ptemp
);
3092 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3093 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
) {
3094 PyObject
* _resultobj
;
3095 wxIndividualLayoutConstraint
* _result
;
3096 wxLayoutConstraints
* _arg0
;
3101 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_left_get",&_argc0
))
3104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3110 wxPy_BEGIN_ALLOW_THREADS
;
3111 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3113 wxPy_END_ALLOW_THREADS
;
3114 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3115 _resultobj
= Py_BuildValue("s",_ptemp
);
3119 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3120 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
) {
3121 PyObject
* _resultobj
;
3122 wxIndividualLayoutConstraint
* _result
;
3123 wxLayoutConstraints
* _arg0
;
3128 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_right_get",&_argc0
))
3131 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3137 wxPy_BEGIN_ALLOW_THREADS
;
3138 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3140 wxPy_END_ALLOW_THREADS
;
3141 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3142 _resultobj
= Py_BuildValue("s",_ptemp
);
3146 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3147 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
) {
3148 PyObject
* _resultobj
;
3149 wxIndividualLayoutConstraint
* _result
;
3150 wxLayoutConstraints
* _arg0
;
3155 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_top_get",&_argc0
))
3158 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3164 wxPy_BEGIN_ALLOW_THREADS
;
3165 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3167 wxPy_END_ALLOW_THREADS
;
3168 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3169 _resultobj
= Py_BuildValue("s",_ptemp
);
3173 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3174 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
) {
3175 PyObject
* _resultobj
;
3176 wxIndividualLayoutConstraint
* _result
;
3177 wxLayoutConstraints
* _arg0
;
3182 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_width_get",&_argc0
))
3185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3191 wxPy_BEGIN_ALLOW_THREADS
;
3192 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3194 wxPy_END_ALLOW_THREADS
;
3195 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3196 _resultobj
= Py_BuildValue("s",_ptemp
);
3200 #define new_wxRegion() (new wxRegion())
3201 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
) {
3202 PyObject
* _resultobj
;
3207 if(!PyArg_ParseTuple(args
,":new_wxRegion"))
3210 wxPy_BEGIN_ALLOW_THREADS
;
3211 _result
= (wxRegion
*)new_wxRegion();
3213 wxPy_END_ALLOW_THREADS
;
3214 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3215 _resultobj
= Py_BuildValue("s",_ptemp
);
3219 #define delete_wxRegion(_swigobj) (delete _swigobj)
3220 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
) {
3221 PyObject
* _resultobj
;
3226 if(!PyArg_ParseTuple(args
,"s:delete_wxRegion",&_argc0
))
3229 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3235 wxPy_BEGIN_ALLOW_THREADS
;
3236 delete_wxRegion(_arg0
);
3238 wxPy_END_ALLOW_THREADS
;
3239 } Py_INCREF(Py_None
);
3240 _resultobj
= Py_None
;
3244 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3245 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
) {
3246 PyObject
* _resultobj
;
3251 if(!PyArg_ParseTuple(args
,"s:wxRegion_Clear",&_argc0
))
3254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3260 wxPy_BEGIN_ALLOW_THREADS
;
3261 wxRegion_Clear(_arg0
);
3263 wxPy_END_ALLOW_THREADS
;
3264 } Py_INCREF(Py_None
);
3265 _resultobj
= Py_None
;
3269 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3270 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
) {
3271 PyObject
* _resultobj
;
3272 wxRegionContain _result
;
3279 if(!PyArg_ParseTuple(args
,"sll:wxRegion_Contains",&_argc0
,&_arg1
,&_arg2
))
3282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3288 wxPy_BEGIN_ALLOW_THREADS
;
3289 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3291 wxPy_END_ALLOW_THREADS
;
3292 } _resultobj
= Py_BuildValue("i",_result
);
3296 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3297 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
) {
3298 PyObject
* _resultobj
;
3299 wxRegionContain _result
;
3306 if(!PyArg_ParseTuple(args
,"ss:wxRegion_ContainsPoint",&_argc0
,&_argc1
))
3309 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3315 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p.");
3321 wxPy_BEGIN_ALLOW_THREADS
;
3322 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3324 wxPy_END_ALLOW_THREADS
;
3325 } _resultobj
= Py_BuildValue("i",_result
);
3329 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3330 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
) {
3331 PyObject
* _resultobj
;
3332 wxRegionContain _result
;
3339 if(!PyArg_ParseTuple(args
,"ss:wxRegion_ContainsRect",&_argc0
,&_argc1
))
3342 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3348 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p.");
3354 wxPy_BEGIN_ALLOW_THREADS
;
3355 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3357 wxPy_END_ALLOW_THREADS
;
3358 } _resultobj
= Py_BuildValue("i",_result
);
3362 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3363 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
) {
3364 PyObject
* _resultobj
;
3371 if(!PyArg_ParseTuple(args
,"s:wxRegion_GetBox",&_argc0
))
3374 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3380 wxPy_BEGIN_ALLOW_THREADS
;
3381 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3383 wxPy_END_ALLOW_THREADS
;
3384 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3385 _resultobj
= Py_BuildValue("s",_ptemp
);
3389 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3390 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
) {
3391 PyObject
* _resultobj
;
3399 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Intersect",&_argc0
,&_argc1
))
3402 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3408 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p.");
3414 wxPy_BEGIN_ALLOW_THREADS
;
3415 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
3417 wxPy_END_ALLOW_THREADS
;
3418 } _resultobj
= Py_BuildValue("i",_result
);
3422 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3423 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
) {
3424 PyObject
* _resultobj
;
3430 if(!PyArg_ParseTuple(args
,"s:wxRegion_IsEmpty",&_argc0
))
3433 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3439 wxPy_BEGIN_ALLOW_THREADS
;
3440 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3442 wxPy_END_ALLOW_THREADS
;
3443 } _resultobj
= Py_BuildValue("i",_result
);
3447 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3448 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
) {
3449 PyObject
* _resultobj
;
3457 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Subtract",&_argc0
,&_argc1
))
3460 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3466 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p.");
3472 wxPy_BEGIN_ALLOW_THREADS
;
3473 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
3475 wxPy_END_ALLOW_THREADS
;
3476 } _resultobj
= Py_BuildValue("i",_result
);
3480 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3481 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
) {
3482 PyObject
* _resultobj
;
3490 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Union",&_argc0
,&_argc1
))
3493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3499 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p.");
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } _resultobj
= Py_BuildValue("i",_result
);
3513 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3514 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
) {
3515 PyObject
* _resultobj
;
3523 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Xor",&_argc0
,&_argc1
))
3526 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3532 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p.");
3538 wxPy_BEGIN_ALLOW_THREADS
;
3539 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
3541 wxPy_END_ALLOW_THREADS
;
3542 } _resultobj
= Py_BuildValue("i",_result
);
3546 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3547 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
3548 PyObject
* _resultobj
;
3549 wxRegionIterator
* _result
;
3555 if(!PyArg_ParseTuple(args
,"s:new_wxRegionIterator",&_argc0
))
3558 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3567 wxPy_END_ALLOW_THREADS
;
3568 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3569 _resultobj
= Py_BuildValue("s",_ptemp
);
3573 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3574 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
3575 PyObject
* _resultobj
;
3576 wxRegionIterator
* _arg0
;
3580 if(!PyArg_ParseTuple(args
,"s:delete_wxRegionIterator",&_argc0
))
3583 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3589 wxPy_BEGIN_ALLOW_THREADS
;
3590 delete_wxRegionIterator(_arg0
);
3592 wxPy_END_ALLOW_THREADS
;
3593 } Py_INCREF(Py_None
);
3594 _resultobj
= Py_None
;
3598 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3599 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
) {
3600 PyObject
* _resultobj
;
3602 wxRegionIterator
* _arg0
;
3606 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetX",&_argc0
))
3609 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 _result
= (long )wxRegionIterator_GetX(_arg0
);
3618 wxPy_END_ALLOW_THREADS
;
3619 } _resultobj
= Py_BuildValue("l",_result
);
3623 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3624 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
) {
3625 PyObject
* _resultobj
;
3627 wxRegionIterator
* _arg0
;
3631 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetY",&_argc0
))
3634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3640 wxPy_BEGIN_ALLOW_THREADS
;
3641 _result
= (long )wxRegionIterator_GetY(_arg0
);
3643 wxPy_END_ALLOW_THREADS
;
3644 } _resultobj
= Py_BuildValue("l",_result
);
3648 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3649 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
) {
3650 PyObject
* _resultobj
;
3652 wxRegionIterator
* _arg0
;
3656 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetW",&_argc0
))
3659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3665 wxPy_BEGIN_ALLOW_THREADS
;
3666 _result
= (long )wxRegionIterator_GetW(_arg0
);
3668 wxPy_END_ALLOW_THREADS
;
3669 } _resultobj
= Py_BuildValue("l",_result
);
3673 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3674 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
) {
3675 PyObject
* _resultobj
;
3677 wxRegionIterator
* _arg0
;
3681 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetWidth",&_argc0
))
3684 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3690 wxPy_BEGIN_ALLOW_THREADS
;
3691 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3693 wxPy_END_ALLOW_THREADS
;
3694 } _resultobj
= Py_BuildValue("l",_result
);
3698 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3699 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
) {
3700 PyObject
* _resultobj
;
3702 wxRegionIterator
* _arg0
;
3706 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetH",&_argc0
))
3709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3715 wxPy_BEGIN_ALLOW_THREADS
;
3716 _result
= (long )wxRegionIterator_GetH(_arg0
);
3718 wxPy_END_ALLOW_THREADS
;
3719 } _resultobj
= Py_BuildValue("l",_result
);
3723 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3724 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
) {
3725 PyObject
* _resultobj
;
3727 wxRegionIterator
* _arg0
;
3731 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetHeight",&_argc0
))
3734 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3740 wxPy_BEGIN_ALLOW_THREADS
;
3741 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3743 wxPy_END_ALLOW_THREADS
;
3744 } _resultobj
= Py_BuildValue("l",_result
);
3748 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3749 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
) {
3750 PyObject
* _resultobj
;
3752 wxRegionIterator
* _arg0
;
3757 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetRect",&_argc0
))
3760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3766 wxPy_BEGIN_ALLOW_THREADS
;
3767 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3769 wxPy_END_ALLOW_THREADS
;
3770 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3771 _resultobj
= Py_BuildValue("s",_ptemp
);
3775 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3776 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
) {
3777 PyObject
* _resultobj
;
3779 wxRegionIterator
* _arg0
;
3783 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_HaveRects",&_argc0
))
3786 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
3792 wxPy_BEGIN_ALLOW_THREADS
;
3793 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
3795 wxPy_END_ALLOW_THREADS
;
3796 } _resultobj
= Py_BuildValue("i",_result
);
3800 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
3801 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
) {
3802 PyObject
* _resultobj
;
3803 wxRegionIterator
* _arg0
;
3807 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_Reset",&_argc0
))
3810 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
3816 wxPy_BEGIN_ALLOW_THREADS
;
3817 wxRegionIterator_Reset(_arg0
);
3819 wxPy_END_ALLOW_THREADS
;
3820 } Py_INCREF(Py_None
);
3821 _resultobj
= Py_None
;
3825 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
3828 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
) {
3829 PyObject
* _resultobj
;
3830 wxRegionIterator
* _arg0
;
3834 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_Next",&_argc0
))
3837 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
3843 wxPy_BEGIN_ALLOW_THREADS
;
3844 wxRegionIterator_Next(_arg0
);
3846 wxPy_END_ALLOW_THREADS
;
3847 } Py_INCREF(Py_None
);
3848 _resultobj
= Py_None
;
3852 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3853 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
) {
3854 PyObject
* _resultobj
;
3855 wxAcceleratorEntry
* _result
;
3862 if(!PyArg_ParseTuple(args
,"|iii:new_wxAcceleratorEntry",&_arg0
,&_arg1
,&_arg2
))
3865 wxPy_BEGIN_ALLOW_THREADS
;
3866 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3868 wxPy_END_ALLOW_THREADS
;
3869 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3870 _resultobj
= Py_BuildValue("s",_ptemp
);
3874 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3875 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
) {
3876 PyObject
* _resultobj
;
3877 wxAcceleratorEntry
* _arg0
;
3884 if(!PyArg_ParseTuple(args
,"siii:wxAcceleratorEntry_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
3887 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3893 wxPy_BEGIN_ALLOW_THREADS
;
3894 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3896 wxPy_END_ALLOW_THREADS
;
3897 } Py_INCREF(Py_None
);
3898 _resultobj
= Py_None
;
3902 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3903 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
) {
3904 PyObject
* _resultobj
;
3906 wxAcceleratorEntry
* _arg0
;
3910 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetFlags",&_argc0
))
3913 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3919 wxPy_BEGIN_ALLOW_THREADS
;
3920 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3922 wxPy_END_ALLOW_THREADS
;
3923 } _resultobj
= Py_BuildValue("i",_result
);
3927 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3928 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
) {
3929 PyObject
* _resultobj
;
3931 wxAcceleratorEntry
* _arg0
;
3935 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetKeyCode",&_argc0
))
3938 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3944 wxPy_BEGIN_ALLOW_THREADS
;
3945 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3947 wxPy_END_ALLOW_THREADS
;
3948 } _resultobj
= Py_BuildValue("i",_result
);
3952 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3953 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
) {
3954 PyObject
* _resultobj
;
3956 wxAcceleratorEntry
* _arg0
;
3960 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetCommand",&_argc0
))
3963 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3969 wxPy_BEGIN_ALLOW_THREADS
;
3970 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3972 wxPy_END_ALLOW_THREADS
;
3973 } _resultobj
= Py_BuildValue("i",_result
);
3977 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3978 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
) {
3979 PyObject
* _resultobj
;
3980 wxAcceleratorTable
* _result
;
3982 wxAcceleratorEntry
* _arg1
;
3983 PyObject
* _obj1
= 0;
3987 if(!PyArg_ParseTuple(args
,"O:new_wxAcceleratorTable",&_obj1
))
3991 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3992 if (_arg1
== NULL
) {
3998 _arg0
= PyList_Size(_obj1
);
4005 wxPy_BEGIN_ALLOW_THREADS
;
4006 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4008 wxPy_END_ALLOW_THREADS
;
4009 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4010 _resultobj
= Py_BuildValue("s",_ptemp
);
4017 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
4018 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
) {
4019 PyObject
* _resultobj
;
4020 wxToolTip
* _result
;
4022 PyObject
* _obj0
= 0;
4026 if(!PyArg_ParseTuple(args
,"O:new_wxToolTip",&_obj0
))
4029 if (!PyString_Check(_obj0
)) {
4030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4033 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4036 wxPy_BEGIN_ALLOW_THREADS
;
4037 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
4039 wxPy_END_ALLOW_THREADS
;
4040 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
4041 _resultobj
= Py_BuildValue("s",_ptemp
);
4049 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
4050 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
) {
4051 PyObject
* _resultobj
;
4055 PyObject
* _obj1
= 0;
4058 if(!PyArg_ParseTuple(args
,"sO:wxToolTip_SetTip",&_argc0
,&_obj1
))
4061 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolTip_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
4067 if (!PyString_Check(_obj1
)) {
4068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4071 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4074 wxPy_BEGIN_ALLOW_THREADS
;
4075 wxToolTip_SetTip(_arg0
,*_arg1
);
4077 wxPy_END_ALLOW_THREADS
;
4078 } Py_INCREF(Py_None
);
4079 _resultobj
= Py_None
;
4087 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
4088 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
) {
4089 PyObject
* _resultobj
;
4095 if(!PyArg_ParseTuple(args
,"s:wxToolTip_GetTip",&_argc0
))
4098 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolTip_p")) {
4099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
4104 wxPy_BEGIN_ALLOW_THREADS
;
4105 _result
= new wxString (wxToolTip_GetTip(_arg0
));
4107 wxPy_END_ALLOW_THREADS
;
4109 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4117 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
4118 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
) {
4119 PyObject
* _resultobj
;
4126 if(!PyArg_ParseTuple(args
,"s:wxToolTip_GetWindow",&_argc0
))
4129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolTip_p")) {
4130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
4135 wxPy_BEGIN_ALLOW_THREADS
;
4136 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
4138 wxPy_END_ALLOW_THREADS
;
4139 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
4140 _resultobj
= Py_BuildValue("s",_ptemp
);
4144 static PyMethodDef misccMethods
[] = {
4145 { "wxToolTip_GetWindow", _wrap_wxToolTip_GetWindow
, 1 },
4146 { "wxToolTip_GetTip", _wrap_wxToolTip_GetTip
, 1 },
4147 { "wxToolTip_SetTip", _wrap_wxToolTip_SetTip
, 1 },
4148 { "new_wxToolTip", _wrap_new_wxToolTip
, 1 },
4149 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable
, 1 },
4150 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand
, 1 },
4151 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode
, 1 },
4152 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags
, 1 },
4153 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set
, 1 },
4154 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry
, 1 },
4155 { "wxRegionIterator_Next", _wrap_wxRegionIterator_Next
, 1 },
4156 { "wxRegionIterator_Reset", _wrap_wxRegionIterator_Reset
, 1 },
4157 { "wxRegionIterator_HaveRects", _wrap_wxRegionIterator_HaveRects
, 1 },
4158 { "wxRegionIterator_GetRect", _wrap_wxRegionIterator_GetRect
, 1 },
4159 { "wxRegionIterator_GetHeight", _wrap_wxRegionIterator_GetHeight
, 1 },
4160 { "wxRegionIterator_GetH", _wrap_wxRegionIterator_GetH
, 1 },
4161 { "wxRegionIterator_GetWidth", _wrap_wxRegionIterator_GetWidth
, 1 },
4162 { "wxRegionIterator_GetW", _wrap_wxRegionIterator_GetW
, 1 },
4163 { "wxRegionIterator_GetY", _wrap_wxRegionIterator_GetY
, 1 },
4164 { "wxRegionIterator_GetX", _wrap_wxRegionIterator_GetX
, 1 },
4165 { "delete_wxRegionIterator", _wrap_delete_wxRegionIterator
, 1 },
4166 { "new_wxRegionIterator", _wrap_new_wxRegionIterator
, 1 },
4167 { "wxRegion_Xor", _wrap_wxRegion_Xor
, 1 },
4168 { "wxRegion_Union", _wrap_wxRegion_Union
, 1 },
4169 { "wxRegion_Subtract", _wrap_wxRegion_Subtract
, 1 },
4170 { "wxRegion_IsEmpty", _wrap_wxRegion_IsEmpty
, 1 },
4171 { "wxRegion_Intersect", _wrap_wxRegion_Intersect
, 1 },
4172 { "wxRegion_GetBox", _wrap_wxRegion_GetBox
, 1 },
4173 { "wxRegion_ContainsRect", _wrap_wxRegion_ContainsRect
, 1 },
4174 { "wxRegion_ContainsPoint", _wrap_wxRegion_ContainsPoint
, 1 },
4175 { "wxRegion_Contains", _wrap_wxRegion_Contains
, 1 },
4176 { "wxRegion_Clear", _wrap_wxRegion_Clear
, 1 },
4177 { "delete_wxRegion", _wrap_delete_wxRegion
, 1 },
4178 { "new_wxRegion", _wrap_new_wxRegion
, 1 },
4179 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get
, 1 },
4180 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get
, 1 },
4181 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get
, 1 },
4182 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get
, 1 },
4183 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get
, 1 },
4184 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get
, 1 },
4185 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get
, 1 },
4186 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get
, 1 },
4187 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints
, 1 },
4188 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set
, 1 },
4189 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs
, 1 },
4190 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf
, 1 },
4191 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf
, 1 },
4192 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf
, 1 },
4193 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained
, 1 },
4194 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below
, 1 },
4195 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs
, 1 },
4196 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute
, 1 },
4197 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above
, 1 },
4198 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop
, 1 },
4199 { "wxPyTimer_Start", _wrap_wxPyTimer_Start
, 1 },
4200 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval
, 1 },
4201 { "delete_wxPyTimer", _wrap_delete_wxPyTimer
, 1 },
4202 { "new_wxPyTimer", _wrap_new_wxPyTimer
, 1 },
4203 { "wxRect_asTuple", _wrap_wxRect_asTuple
, 1 },
4204 { "wxRect_height_get", _wrap_wxRect_height_get
, 1 },
4205 { "wxRect_height_set", _wrap_wxRect_height_set
, 1 },
4206 { "wxRect_width_get", _wrap_wxRect_width_get
, 1 },
4207 { "wxRect_width_set", _wrap_wxRect_width_set
, 1 },
4208 { "wxRect_y_get", _wrap_wxRect_y_get
, 1 },
4209 { "wxRect_y_set", _wrap_wxRect_y_set
, 1 },
4210 { "wxRect_x_get", _wrap_wxRect_x_get
, 1 },
4211 { "wxRect_x_set", _wrap_wxRect_x_set
, 1 },
4212 { "wxRect_GetRight", _wrap_wxRect_GetRight
, 1 },
4213 { "wxRect_GetBottom", _wrap_wxRect_GetBottom
, 1 },
4214 { "wxRect_GetTop", _wrap_wxRect_GetTop
, 1 },
4215 { "wxRect_GetLeft", _wrap_wxRect_GetLeft
, 1 },
4216 { "wxRect_GetSize", _wrap_wxRect_GetSize
, 1 },
4217 { "wxRect_GetPosition", _wrap_wxRect_GetPosition
, 1 },
4218 { "wxRect_SetHeight", _wrap_wxRect_SetHeight
, 1 },
4219 { "wxRect_GetHeight", _wrap_wxRect_GetHeight
, 1 },
4220 { "wxRect_SetWidth", _wrap_wxRect_SetWidth
, 1 },
4221 { "wxRect_GetWidth", _wrap_wxRect_GetWidth
, 1 },
4222 { "wxRect_SetY", _wrap_wxRect_SetY
, 1 },
4223 { "wxRect_GetY", _wrap_wxRect_GetY
, 1 },
4224 { "wxRect_SetX", _wrap_wxRect_SetX
, 1 },
4225 { "wxRect_GetX", _wrap_wxRect_GetX
, 1 },
4226 { "delete_wxRect", _wrap_delete_wxRect
, 1 },
4227 { "new_wxRect", _wrap_new_wxRect
, 1 },
4228 { "wxPoint_asTuple", _wrap_wxPoint_asTuple
, 1 },
4229 { "wxPoint_Set", _wrap_wxPoint_Set
, 1 },
4230 { "delete_wxPoint", _wrap_delete_wxPoint
, 1 },
4231 { "new_wxPoint", _wrap_new_wxPoint
, 1 },
4232 { "wxPoint_y_get", _wrap_wxPoint_y_get
, 1 },
4233 { "wxPoint_y_set", _wrap_wxPoint_y_set
, 1 },
4234 { "wxPoint_x_get", _wrap_wxPoint_x_get
, 1 },
4235 { "wxPoint_x_set", _wrap_wxPoint_x_set
, 1 },
4236 { "delete_wxRealPoint", _wrap_delete_wxRealPoint
, 1 },
4237 { "new_wxRealPoint", _wrap_new_wxRealPoint
, 1 },
4238 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get
, 1 },
4239 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set
, 1 },
4240 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get
, 1 },
4241 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set
, 1 },
4242 { "wxSize_asTuple", _wrap_wxSize_asTuple
, 1 },
4243 { "wxSize_GetHeight", _wrap_wxSize_GetY
, 1 },
4244 { "wxSize_GetWidth", _wrap_wxSize_GetX
, 1 },
4245 { "wxSize_GetY", _wrap_wxSize_GetY
, 1 },
4246 { "wxSize_GetX", _wrap_wxSize_GetX
, 1 },
4247 { "wxSize_Set", _wrap_wxSize_Set
, 1 },
4248 { "delete_wxSize", _wrap_delete_wxSize
, 1 },
4249 { "new_wxSize", _wrap_new_wxSize
, 1 },
4250 { "wxSize_height_get", _wrap_wxSize_y_get
, 1 },
4251 { "wxSize_height_set", _wrap_wxSize_y_set
, 1 },
4252 { "wxSize_width_get", _wrap_wxSize_x_get
, 1 },
4253 { "wxSize_width_set", _wrap_wxSize_x_set
, 1 },
4254 { "wxSize_y_get", _wrap_wxSize_y_get
, 1 },
4255 { "wxSize_y_set", _wrap_wxSize_y_set
, 1 },
4256 { "wxSize_x_get", _wrap_wxSize_x_get
, 1 },
4257 { "wxSize_x_set", _wrap_wxSize_x_set
, 1 },
4258 { "wxToolTip_SetDelay", _wrap_wxToolTip_SetDelay
, 1 },
4259 { "wxToolTip_Enable", _wrap_wxToolTip_Enable
, 1 },
4260 { "wxResourceParseString", _wrap_wxResourceParseString
, 1 },
4261 { "wxResourceParseFile", _wrap_wxResourceParseFile
, 1 },
4262 { "wxResourceParseData", _wrap_wxResourceParseData
, 1 },
4263 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier
, 1 },
4264 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar
, 1 },
4265 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon
, 1 },
4266 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap
, 1 },
4267 { "wxResourceClear", _wrap_wxResourceClear
, 1 },
4268 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier
, 1 },
4269 { "wxGetResource", _wrap_wxGetResource
, 1 },
4270 { "wxSafeYield", _wrap_wxSafeYield
, 1 },
4271 { "wxYield", _wrap_wxYield
, 1 },
4272 { "wxGetOsVersion", _wrap_wxGetOsVersion
, 1 },
4273 { "wxStartTimer", _wrap_wxStartTimer
, 1 },
4274 { "wxShell", _wrap_wxShell
, 1 },
4275 { "wxNow", _wrap_wxNow
, 1 },
4276 { "wxIsBusy", _wrap_wxIsBusy
, 1 },
4277 { "wxGetMousePosition", _wrap_wxGetMousePosition
, 1 },
4278 { "wxGetFreeMemory", _wrap_wxGetFreeMemory
, 1 },
4279 { "wxGetElapsedTime", _wrap_wxGetElapsedTime
, 1 },
4280 { "wxGetActiveWindow", _wrap_wxGetActiveWindow
, 1 },
4281 { "wxFindWindowByName", _wrap_wxFindWindowByName
, 1 },
4282 { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel
, 1 },
4283 { "wxExecute", _wrap_wxExecute
, 1 },
4284 { "wxEndBusyCursor", _wrap_wxEndBusyCursor
, 1 },
4285 { "wxDisplaySize", _wrap_wxDisplaySize
, 1 },
4286 { "wxBell", _wrap_wxBell
, 1 },
4287 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor
, 1 },
4288 { "RegisterId", _wrap_RegisterId
, 1 },
4289 { "NewId", _wrap_NewId
, 1 },
4290 { "wxRegisterId", _wrap_wxRegisterId
, 1 },
4291 { "wxNewId", _wrap_wxNewId
, 1 },
4292 { "wxSetCursor", _wrap_wxSetCursor
, 1 },
4293 { "wxDisplayDepth", _wrap_wxDisplayDepth
, 1 },
4294 { "wxColourDisplay", _wrap_wxColourDisplay
, 1 },
4295 { "wxMessageBox", _wrap_wxMessageBox
, 1 },
4296 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex
, 1 },
4297 { "wxGetSingleChoice", _wrap_wxGetSingleChoice
, 1 },
4298 { "wxGetTextFromUser", _wrap_wxGetTextFromUser
, 1 },
4299 { "wxFileSelector", _wrap_wxFileSelector
, 1 },
4302 static PyObject
*SWIG_globals
;
4306 SWIGEXPORT(void,initmiscc
)() {
4308 SWIG_globals
= SWIG_newvarlink();
4309 m
= Py_InitModule("miscc", misccMethods
);
4310 d
= PyModule_GetDict(m
);
4311 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4312 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4313 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4314 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4315 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4316 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4317 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4318 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4319 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4320 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4321 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4322 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4323 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4324 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4325 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4326 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4327 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4328 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4329 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4330 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4331 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4332 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4334 * These are the pointer type-equivalency mappings.
4335 * (Used by the SWIG pointer type-checker).
4337 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4338 SWIG_RegisterMapping("_signed_long","_long",0);
4339 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4340 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4341 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
4342 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4343 SWIG_RegisterMapping("_long","_unsigned_long",0);
4344 SWIG_RegisterMapping("_long","_signed_long",0);
4345 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4346 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
4347 SWIG_RegisterMapping("_size_t","_int",0);
4348 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
4349 SWIG_RegisterMapping("_size_t","_uint",0);
4350 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4351 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
4352 SWIG_RegisterMapping("_uint","_size_t",0);
4353 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4354 SWIG_RegisterMapping("_uint","_int",0);
4355 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4356 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4357 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4358 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4359 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4360 SWIG_RegisterMapping("_EBool","_signed_int",0);
4361 SWIG_RegisterMapping("_EBool","_int",0);
4362 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4363 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4364 SWIG_RegisterMapping("_unsigned_long","_long",0);
4365 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4366 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4367 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4368 SWIG_RegisterMapping("_signed_int","_EBool",0);
4369 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4370 SWIG_RegisterMapping("_signed_int","_int",0);
4371 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4372 SWIG_RegisterMapping("_WXTYPE","_short",0);
4373 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4374 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4375 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4376 SWIG_RegisterMapping("_unsigned_short","_short",0);
4377 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4378 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4379 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4380 SWIG_RegisterMapping("_signed_short","_short",0);
4381 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4382 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4383 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
4384 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4385 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4386 SWIG_RegisterMapping("_unsigned_int","_int",0);
4387 SWIG_RegisterMapping("_short","_WXTYPE",0);
4388 SWIG_RegisterMapping("_short","_unsigned_short",0);
4389 SWIG_RegisterMapping("_short","_signed_short",0);
4390 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
4391 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4392 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4393 SWIG_RegisterMapping("_wxWindowID","_int",0);
4394 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4395 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4396 SWIG_RegisterMapping("_int","_size_t",0);
4397 SWIG_RegisterMapping("_int","_EBool",0);
4398 SWIG_RegisterMapping("_int","_uint",0);
4399 SWIG_RegisterMapping("_int","_wxWindowID",0);
4400 SWIG_RegisterMapping("_int","_unsigned_int",0);
4401 SWIG_RegisterMapping("_int","_signed_int",0);
4402 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4403 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4404 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4405 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4406 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);