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
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
122 wxGetResource(section
, entry
, &retval
, file
);
125 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
) {
126 PyObject
* _resultobj
;
132 char * _arg4
= "*.*";
134 wxWindow
* _arg6
= NULL
;
140 if(!PyArg_ParseTuple(args
,"s|ssssisii:wxFileSelector",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argc6
,&_arg7
,&_arg8
))
143 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxWindow_p")) {
144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
149 wxPy_BEGIN_ALLOW_THREADS
;
150 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
152 wxPy_END_ALLOW_THREADS
;
154 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
162 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
) {
163 PyObject
* _resultobj
;
166 wxString
* _arg1
= &wxPyEmptyStr
;
167 wxString
* _arg2
= &wxPyEmptyStr
;
168 wxWindow
* _arg3
= NULL
;
172 PyObject
* _obj0
= 0;
173 PyObject
* _obj1
= 0;
174 PyObject
* _obj2
= 0;
179 if(!PyArg_ParseTuple(args
,"O|OOsiii:wxGetTextFromUser",&_obj0
,&_obj1
,&_obj2
,&_argc3
,&_arg4
,&_arg5
,&tempbool6
))
182 if (!PyString_Check(_obj0
)) {
183 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
186 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
190 if (!PyString_Check(_obj1
)) {
191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
194 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
198 if (!PyString_Check(_obj2
)) {
199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
202 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
205 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
210 _arg6
= (bool ) tempbool6
;
212 wxPy_BEGIN_ALLOW_THREADS
;
213 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
215 wxPy_END_ALLOW_THREADS
;
217 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
237 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
) {
238 PyObject
* _resultobj
;
244 wxWindow
* _arg4
= NULL
;
250 PyObject
* _obj0
= 0;
251 PyObject
* _obj1
= 0;
252 PyObject
* _obj3
= 0;
257 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoice",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
260 if (!PyString_Check(_obj0
)) {
261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
264 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
267 if (!PyString_Check(_obj1
)) {
268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
271 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
275 _arg3
= wxString_LIST_helper(_obj3
);
281 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
286 _arg7
= (bool ) tempbool7
;
289 _arg2
= PyList_Size(_obj3
);
296 wxPy_BEGIN_ALLOW_THREADS
;
297 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
299 wxPy_END_ALLOW_THREADS
;
301 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
320 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
) {
321 PyObject
* _resultobj
;
327 wxWindow
* _arg4
= NULL
;
333 PyObject
* _obj0
= 0;
334 PyObject
* _obj1
= 0;
335 PyObject
* _obj3
= 0;
340 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
343 if (!PyString_Check(_obj0
)) {
344 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
347 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
350 if (!PyString_Check(_obj1
)) {
351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
354 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
358 _arg3
= wxString_LIST_helper(_obj3
);
364 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
369 _arg7
= (bool ) tempbool7
;
372 _arg2
= PyList_Size(_obj3
);
379 wxPy_BEGIN_ALLOW_THREADS
;
380 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
382 wxPy_END_ALLOW_THREADS
;
383 } _resultobj
= Py_BuildValue("i",_result
);
398 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
) {
399 PyObject
* _resultobj
;
402 wxString
* _arg1
= &wxPyEmptyStr
;
403 int _arg2
= (wxOK
)|(wxCENTRE
);
404 wxWindow
* _arg3
= NULL
;
407 PyObject
* _obj0
= 0;
408 PyObject
* _obj1
= 0;
412 if(!PyArg_ParseTuple(args
,"O|Oisii:wxMessageBox",&_obj0
,&_obj1
,&_arg2
,&_argc3
,&_arg4
,&_arg5
))
415 if (!PyString_Check(_obj0
)) {
416 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
419 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
423 if (!PyString_Check(_obj1
)) {
424 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
427 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
430 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
436 wxPy_BEGIN_ALLOW_THREADS
;
437 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
439 wxPy_END_ALLOW_THREADS
;
440 } _resultobj
= Py_BuildValue("i",_result
);
452 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
) {
453 PyObject
* _resultobj
;
457 if(!PyArg_ParseTuple(args
,":wxColourDisplay"))
460 wxPy_BEGIN_ALLOW_THREADS
;
461 _result
= (bool )wxColourDisplay();
463 wxPy_END_ALLOW_THREADS
;
464 } _resultobj
= Py_BuildValue("i",_result
);
468 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
) {
469 PyObject
* _resultobj
;
473 if(!PyArg_ParseTuple(args
,":wxDisplayDepth"))
476 wxPy_BEGIN_ALLOW_THREADS
;
477 _result
= (int )wxDisplayDepth();
479 wxPy_END_ALLOW_THREADS
;
480 } _resultobj
= Py_BuildValue("i",_result
);
484 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
) {
485 PyObject
* _resultobj
;
490 if(!PyArg_ParseTuple(args
,"s:wxSetCursor",&_argc0
))
493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
499 wxPy_BEGIN_ALLOW_THREADS
;
502 wxPy_END_ALLOW_THREADS
;
503 } Py_INCREF(Py_None
);
504 _resultobj
= Py_None
;
508 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
) {
509 PyObject
* _resultobj
;
513 if(!PyArg_ParseTuple(args
,":wxNewId"))
516 wxPy_BEGIN_ALLOW_THREADS
;
517 _result
= (long )wxNewId();
519 wxPy_END_ALLOW_THREADS
;
520 } _resultobj
= Py_BuildValue("l",_result
);
524 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
) {
525 PyObject
* _resultobj
;
529 if(!PyArg_ParseTuple(args
,"l:wxRegisterId",&_arg0
))
532 wxPy_BEGIN_ALLOW_THREADS
;
535 wxPy_END_ALLOW_THREADS
;
536 } Py_INCREF(Py_None
);
537 _resultobj
= Py_None
;
541 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
) {
542 PyObject
* _resultobj
;
546 if(!PyArg_ParseTuple(args
,":NewId"))
549 wxPy_BEGIN_ALLOW_THREADS
;
550 _result
= (long )wxNewId();
552 wxPy_END_ALLOW_THREADS
;
553 } _resultobj
= Py_BuildValue("l",_result
);
557 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
) {
558 PyObject
* _resultobj
;
562 if(!PyArg_ParseTuple(args
,"l:RegisterId",&_arg0
))
565 wxPy_BEGIN_ALLOW_THREADS
;
568 wxPy_END_ALLOW_THREADS
;
569 } Py_INCREF(Py_None
);
570 _resultobj
= Py_None
;
574 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
) {
575 PyObject
* _resultobj
;
576 wxCursor
* _arg0
= wxHOURGLASS_CURSOR
;
580 if(!PyArg_ParseTuple(args
,"|s:wxBeginBusyCursor",&_argc0
))
583 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
589 wxPy_BEGIN_ALLOW_THREADS
;
590 wxBeginBusyCursor(_arg0
);
592 wxPy_END_ALLOW_THREADS
;
593 } Py_INCREF(Py_None
);
594 _resultobj
= Py_None
;
598 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
) {
599 PyObject
* _resultobj
;
602 if(!PyArg_ParseTuple(args
,":wxBell"))
605 wxPy_BEGIN_ALLOW_THREADS
;
608 wxPy_END_ALLOW_THREADS
;
609 } Py_INCREF(Py_None
);
610 _resultobj
= Py_None
;
614 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
) {
615 PyObject
* _resultobj
;
628 if(!PyArg_ParseTuple(args
,":wxDisplaySize"))
631 wxPy_BEGIN_ALLOW_THREADS
;
632 wxDisplaySize(_arg0
,_arg1
);
634 wxPy_END_ALLOW_THREADS
;
635 } Py_INCREF(Py_None
);
636 _resultobj
= Py_None
;
639 o
= PyInt_FromLong((long) (*_arg0
));
640 _resultobj
= t_output_helper(_resultobj
, o
);
644 o
= PyInt_FromLong((long) (*_arg1
));
645 _resultobj
= t_output_helper(_resultobj
, o
);
650 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
) {
651 PyObject
* _resultobj
;
654 if(!PyArg_ParseTuple(args
,":wxEndBusyCursor"))
657 wxPy_BEGIN_ALLOW_THREADS
;
660 wxPy_END_ALLOW_THREADS
;
661 } Py_INCREF(Py_None
);
662 _resultobj
= Py_None
;
666 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
) {
667 PyObject
* _resultobj
;
671 PyObject
* _obj0
= 0;
675 if(!PyArg_ParseTuple(args
,"O|i:wxExecute",&_obj0
,&tempbool1
))
678 if (!PyString_Check(_obj0
)) {
679 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
682 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
684 _arg1
= (bool ) tempbool1
;
686 wxPy_BEGIN_ALLOW_THREADS
;
687 _result
= (long )wxExecute(*_arg0
,_arg1
);
689 wxPy_END_ALLOW_THREADS
;
690 } _resultobj
= Py_BuildValue("l",_result
);
698 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
) {
699 PyObject
* _resultobj
;
712 if(!PyArg_ParseTuple(args
,":wxGetMousePosition"))
715 wxPy_BEGIN_ALLOW_THREADS
;
716 wxGetMousePosition(_arg0
,_arg1
);
718 wxPy_END_ALLOW_THREADS
;
719 } Py_INCREF(Py_None
);
720 _resultobj
= Py_None
;
723 o
= PyInt_FromLong((long) (*_arg0
));
724 _resultobj
= t_output_helper(_resultobj
, o
);
728 o
= PyInt_FromLong((long) (*_arg1
));
729 _resultobj
= t_output_helper(_resultobj
, o
);
734 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
) {
735 PyObject
* _resultobj
;
739 if(!PyArg_ParseTuple(args
,":wxIsBusy"))
742 wxPy_BEGIN_ALLOW_THREADS
;
743 _result
= (bool )wxIsBusy();
745 wxPy_END_ALLOW_THREADS
;
746 } _resultobj
= Py_BuildValue("i",_result
);
750 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
) {
751 PyObject
* _resultobj
;
755 if(!PyArg_ParseTuple(args
,":wxNow"))
758 wxPy_BEGIN_ALLOW_THREADS
;
759 _result
= new wxString (wxNow());
761 wxPy_END_ALLOW_THREADS
;
763 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
771 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
) {
772 PyObject
* _resultobj
;
776 if(!PyArg_ParseTuple(args
,"i:wxSleep",&_arg0
))
779 wxPy_BEGIN_ALLOW_THREADS
;
782 wxPy_END_ALLOW_THREADS
;
783 } Py_INCREF(Py_None
);
784 _resultobj
= Py_None
;
788 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
) {
789 PyObject
* _resultobj
;
793 if(!PyArg_ParseTuple(args
,":wxYield"))
796 wxPy_BEGIN_ALLOW_THREADS
;
797 _result
= (bool )wxYield();
799 wxPy_END_ALLOW_THREADS
;
800 } _resultobj
= Py_BuildValue("i",_result
);
804 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
) {
805 PyObject
* _resultobj
;
809 if(!PyArg_ParseTuple(args
,":wxSafeYield"))
812 wxPy_BEGIN_ALLOW_THREADS
;
813 _result
= (bool )wxSafeYield();
815 wxPy_END_ALLOW_THREADS
;
816 } _resultobj
= Py_BuildValue("i",_result
);
820 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
) {
821 PyObject
* _resultobj
;
826 if(!PyArg_ParseTuple(args
,"i:wxEnableTopLevelWindows",&tempbool0
))
828 _arg0
= (bool ) tempbool0
;
830 wxPy_BEGIN_ALLOW_THREADS
;
831 wxEnableTopLevelWindows(_arg0
);
833 wxPy_END_ALLOW_THREADS
;
834 } Py_INCREF(Py_None
);
835 _resultobj
= Py_None
;
839 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
) {
840 PyObject
* _resultobj
;
847 if(!PyArg_ParseTuple(args
,"ss|s:wxGetResource",&_arg0
,&_arg1
,&_arg2
))
850 wxPy_BEGIN_ALLOW_THREADS
;
851 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
853 wxPy_END_ALLOW_THREADS
;
854 } _resultobj
= Py_BuildValue("s", _result
);
858 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
) {
859 PyObject
* _resultobj
;
865 if(!PyArg_ParseTuple(args
,"si:wxResourceAddIdentifier",&_arg0
,&_arg1
))
868 wxPy_BEGIN_ALLOW_THREADS
;
869 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
871 wxPy_END_ALLOW_THREADS
;
872 } _resultobj
= Py_BuildValue("i",_result
);
876 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
) {
877 PyObject
* _resultobj
;
880 if(!PyArg_ParseTuple(args
,":wxResourceClear"))
883 wxPy_BEGIN_ALLOW_THREADS
;
886 wxPy_END_ALLOW_THREADS
;
887 } Py_INCREF(Py_None
);
888 _resultobj
= Py_None
;
892 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
) {
893 PyObject
* _resultobj
;
899 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateBitmap",&_arg0
))
902 wxPy_BEGIN_ALLOW_THREADS
;
903 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
905 wxPy_END_ALLOW_THREADS
;
906 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
907 _resultobj
= Py_BuildValue("s",_ptemp
);
911 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
) {
912 PyObject
* _resultobj
;
918 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateIcon",&_arg0
))
921 wxPy_BEGIN_ALLOW_THREADS
;
922 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
924 wxPy_END_ALLOW_THREADS
;
925 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
926 _resultobj
= Py_BuildValue("s",_ptemp
);
930 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
) {
931 PyObject
* _resultobj
;
937 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateMenuBar",&_arg0
))
940 wxPy_BEGIN_ALLOW_THREADS
;
941 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
943 wxPy_END_ALLOW_THREADS
;
944 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
945 _resultobj
= Py_BuildValue("s",_ptemp
);
949 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
) {
950 PyObject
* _resultobj
;
955 if(!PyArg_ParseTuple(args
,"s:wxResourceGetIdentifier",&_arg0
))
958 wxPy_BEGIN_ALLOW_THREADS
;
959 _result
= (int )wxResourceGetIdentifier(_arg0
);
961 wxPy_END_ALLOW_THREADS
;
962 } _resultobj
= Py_BuildValue("i",_result
);
966 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
) {
967 PyObject
* _resultobj
;
970 wxResourceTable
* _arg1
= NULL
;
974 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseData",&_arg0
,&_argc1
))
977 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
983 wxPy_BEGIN_ALLOW_THREADS
;
984 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
986 wxPy_END_ALLOW_THREADS
;
987 } _resultobj
= Py_BuildValue("i",_result
);
991 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
) {
992 PyObject
* _resultobj
;
995 wxResourceTable
* _arg1
= NULL
;
999 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseFile",&_arg0
,&_argc1
))
1002 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1011 wxPy_END_ALLOW_THREADS
;
1012 } _resultobj
= Py_BuildValue("i",_result
);
1016 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
) {
1017 PyObject
* _resultobj
;
1020 wxResourceTable
* _arg1
= NULL
;
1024 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseString",&_arg0
,&_argc1
))
1027 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1033 wxPy_BEGIN_ALLOW_THREADS
;
1034 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1036 wxPy_END_ALLOW_THREADS
;
1037 } _resultobj
= Py_BuildValue("i",_result
);
1041 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1042 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
) {
1043 PyObject
* _resultobj
;
1050 if(!PyArg_ParseTuple(args
,"sl:wxSize_x_set",&_argc0
,&_arg1
))
1053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_set. Expected _wxSize_p.");
1059 wxPy_BEGIN_ALLOW_THREADS
;
1060 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1062 wxPy_END_ALLOW_THREADS
;
1063 } _resultobj
= Py_BuildValue("l",_result
);
1067 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1068 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
) {
1069 PyObject
* _resultobj
;
1075 if(!PyArg_ParseTuple(args
,"s:wxSize_x_get",&_argc0
))
1078 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_get. Expected _wxSize_p.");
1084 wxPy_BEGIN_ALLOW_THREADS
;
1085 _result
= (long )wxSize_x_get(_arg0
);
1087 wxPy_END_ALLOW_THREADS
;
1088 } _resultobj
= Py_BuildValue("l",_result
);
1092 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1093 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
) {
1094 PyObject
* _resultobj
;
1101 if(!PyArg_ParseTuple(args
,"sl:wxSize_y_set",&_argc0
,&_arg1
))
1104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_set. Expected _wxSize_p.");
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1113 wxPy_END_ALLOW_THREADS
;
1114 } _resultobj
= Py_BuildValue("l",_result
);
1118 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1119 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
) {
1120 PyObject
* _resultobj
;
1126 if(!PyArg_ParseTuple(args
,"s:wxSize_y_get",&_argc0
))
1129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_get. Expected _wxSize_p.");
1135 wxPy_BEGIN_ALLOW_THREADS
;
1136 _result
= (long )wxSize_y_get(_arg0
);
1138 wxPy_END_ALLOW_THREADS
;
1139 } _resultobj
= Py_BuildValue("l",_result
);
1143 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1144 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
) {
1145 PyObject
* _resultobj
;
1152 if(!PyArg_ParseTuple(args
,"|ll:new_wxSize",&_arg0
,&_arg1
))
1155 wxPy_BEGIN_ALLOW_THREADS
;
1156 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1158 wxPy_END_ALLOW_THREADS
;
1159 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1160 _resultobj
= Py_BuildValue("s",_ptemp
);
1164 #define delete_wxSize(_swigobj) (delete _swigobj)
1165 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
) {
1166 PyObject
* _resultobj
;
1171 if(!PyArg_ParseTuple(args
,"s:delete_wxSize",&_argc0
))
1174 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 delete_wxSize(_arg0
);
1183 wxPy_END_ALLOW_THREADS
;
1184 } Py_INCREF(Py_None
);
1185 _resultobj
= Py_None
;
1189 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1190 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
) {
1191 PyObject
* _resultobj
;
1198 if(!PyArg_ParseTuple(args
,"sll:wxSize_Set",&_argc0
,&_arg1
,&_arg2
))
1201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1207 wxPy_BEGIN_ALLOW_THREADS
;
1208 wxSize_Set(_arg0
,_arg1
,_arg2
);
1210 wxPy_END_ALLOW_THREADS
;
1211 } Py_INCREF(Py_None
);
1212 _resultobj
= Py_None
;
1216 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1217 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
) {
1218 PyObject
* _resultobj
;
1224 if(!PyArg_ParseTuple(args
,"s:wxSize_GetX",&_argc0
))
1227 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetX. Expected _wxSize_p.");
1233 wxPy_BEGIN_ALLOW_THREADS
;
1234 _result
= (long )wxSize_GetX(_arg0
);
1236 wxPy_END_ALLOW_THREADS
;
1237 } _resultobj
= Py_BuildValue("l",_result
);
1241 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1242 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
) {
1243 PyObject
* _resultobj
;
1249 if(!PyArg_ParseTuple(args
,"s:wxSize_GetY",&_argc0
))
1252 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetY. Expected _wxSize_p.");
1258 wxPy_BEGIN_ALLOW_THREADS
;
1259 _result
= (long )wxSize_GetY(_arg0
);
1261 wxPy_END_ALLOW_THREADS
;
1262 } _resultobj
= Py_BuildValue("l",_result
);
1266 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1267 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
) {
1268 PyObject
* _resultobj
;
1274 if(!PyArg_ParseTuple(args
,"s:wxSize_GetWidth",&_argc0
))
1277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (long )wxSize_GetWidth(_arg0
);
1286 wxPy_END_ALLOW_THREADS
;
1287 } _resultobj
= Py_BuildValue("l",_result
);
1291 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1292 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
) {
1293 PyObject
* _resultobj
;
1299 if(!PyArg_ParseTuple(args
,"s:wxSize_GetHeight",&_argc0
))
1302 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1308 wxPy_BEGIN_ALLOW_THREADS
;
1309 _result
= (long )wxSize_GetHeight(_arg0
);
1311 wxPy_END_ALLOW_THREADS
;
1312 } _resultobj
= Py_BuildValue("l",_result
);
1316 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1317 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
) {
1318 PyObject
* _resultobj
;
1324 if(!PyArg_ParseTuple(args
,"sl:wxSize_SetWidth",&_argc0
,&_arg1
))
1327 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_SetWidth. Expected _wxSize_p.");
1333 wxPy_BEGIN_ALLOW_THREADS
;
1334 wxSize_SetWidth(_arg0
,_arg1
);
1336 wxPy_END_ALLOW_THREADS
;
1337 } Py_INCREF(Py_None
);
1338 _resultobj
= Py_None
;
1342 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1343 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
) {
1344 PyObject
* _resultobj
;
1350 if(!PyArg_ParseTuple(args
,"sl:wxSize_SetHeight",&_argc0
,&_arg1
))
1353 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_SetHeight. Expected _wxSize_p.");
1359 wxPy_BEGIN_ALLOW_THREADS
;
1360 wxSize_SetHeight(_arg0
,_arg1
);
1362 wxPy_END_ALLOW_THREADS
;
1363 } Py_INCREF(Py_None
);
1364 _resultobj
= Py_None
;
1368 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1369 PyObject
* tup
= PyTuple_New(2);
1370 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1371 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1374 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
) {
1375 PyObject
* _resultobj
;
1381 if(!PyArg_ParseTuple(args
,"s:wxSize_asTuple",&_argc0
))
1384 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_asTuple. Expected _wxSize_p.");
1390 wxPy_BEGIN_ALLOW_THREADS
;
1391 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1393 wxPy_END_ALLOW_THREADS
;
1395 _resultobj
= _result
;
1400 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1401 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
) {
1402 PyObject
* _resultobj
;
1404 wxRealPoint
* _arg0
;
1409 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_x_set",&_argc0
,&_arg1
))
1412 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1418 wxPy_BEGIN_ALLOW_THREADS
;
1419 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1421 wxPy_END_ALLOW_THREADS
;
1422 } _resultobj
= Py_BuildValue("d",_result
);
1426 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1427 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
) {
1428 PyObject
* _resultobj
;
1430 wxRealPoint
* _arg0
;
1434 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_x_get",&_argc0
))
1437 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 _result
= (double )wxRealPoint_x_get(_arg0
);
1446 wxPy_END_ALLOW_THREADS
;
1447 } _resultobj
= Py_BuildValue("d",_result
);
1451 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1452 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
) {
1453 PyObject
* _resultobj
;
1455 wxRealPoint
* _arg0
;
1460 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_y_set",&_argc0
,&_arg1
))
1463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1472 wxPy_END_ALLOW_THREADS
;
1473 } _resultobj
= Py_BuildValue("d",_result
);
1477 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1478 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
) {
1479 PyObject
* _resultobj
;
1481 wxRealPoint
* _arg0
;
1485 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_y_get",&_argc0
))
1488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1494 wxPy_BEGIN_ALLOW_THREADS
;
1495 _result
= (double )wxRealPoint_y_get(_arg0
);
1497 wxPy_END_ALLOW_THREADS
;
1498 } _resultobj
= Py_BuildValue("d",_result
);
1502 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1503 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1504 PyObject
* _resultobj
;
1505 wxRealPoint
* _result
;
1511 if(!PyArg_ParseTuple(args
,"|dd:new_wxRealPoint",&_arg0
,&_arg1
))
1514 wxPy_BEGIN_ALLOW_THREADS
;
1515 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1517 wxPy_END_ALLOW_THREADS
;
1518 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1519 _resultobj
= Py_BuildValue("s",_ptemp
);
1523 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1524 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1525 PyObject
* _resultobj
;
1526 wxRealPoint
* _arg0
;
1530 if(!PyArg_ParseTuple(args
,"s:delete_wxRealPoint",&_argc0
))
1533 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 delete_wxRealPoint(_arg0
);
1542 wxPy_END_ALLOW_THREADS
;
1543 } Py_INCREF(Py_None
);
1544 _resultobj
= Py_None
;
1548 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1549 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
) {
1550 PyObject
* _resultobj
;
1557 if(!PyArg_ParseTuple(args
,"sl:wxPoint_x_set",&_argc0
,&_arg1
))
1560 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1566 wxPy_BEGIN_ALLOW_THREADS
;
1567 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1569 wxPy_END_ALLOW_THREADS
;
1570 } _resultobj
= Py_BuildValue("l",_result
);
1574 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1575 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
) {
1576 PyObject
* _resultobj
;
1582 if(!PyArg_ParseTuple(args
,"s:wxPoint_x_get",&_argc0
))
1585 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1591 wxPy_BEGIN_ALLOW_THREADS
;
1592 _result
= (long )wxPoint_x_get(_arg0
);
1594 wxPy_END_ALLOW_THREADS
;
1595 } _resultobj
= Py_BuildValue("l",_result
);
1599 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1600 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
) {
1601 PyObject
* _resultobj
;
1608 if(!PyArg_ParseTuple(args
,"sl:wxPoint_y_set",&_argc0
,&_arg1
))
1611 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1617 wxPy_BEGIN_ALLOW_THREADS
;
1618 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1620 wxPy_END_ALLOW_THREADS
;
1621 } _resultobj
= Py_BuildValue("l",_result
);
1625 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1626 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
) {
1627 PyObject
* _resultobj
;
1633 if(!PyArg_ParseTuple(args
,"s:wxPoint_y_get",&_argc0
))
1636 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1642 wxPy_BEGIN_ALLOW_THREADS
;
1643 _result
= (long )wxPoint_y_get(_arg0
);
1645 wxPy_END_ALLOW_THREADS
;
1646 } _resultobj
= Py_BuildValue("l",_result
);
1650 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1651 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
) {
1652 PyObject
* _resultobj
;
1659 if(!PyArg_ParseTuple(args
,"|ll:new_wxPoint",&_arg0
,&_arg1
))
1662 wxPy_BEGIN_ALLOW_THREADS
;
1663 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1665 wxPy_END_ALLOW_THREADS
;
1666 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1667 _resultobj
= Py_BuildValue("s",_ptemp
);
1671 #define delete_wxPoint(_swigobj) (delete _swigobj)
1672 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
) {
1673 PyObject
* _resultobj
;
1678 if(!PyArg_ParseTuple(args
,"s:delete_wxPoint",&_argc0
))
1681 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 delete_wxPoint(_arg0
);
1690 wxPy_END_ALLOW_THREADS
;
1691 } Py_INCREF(Py_None
);
1692 _resultobj
= Py_None
;
1696 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1700 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
) {
1701 PyObject
* _resultobj
;
1708 if(!PyArg_ParseTuple(args
,"sll:wxPoint_Set",&_argc0
,&_arg1
,&_arg2
))
1711 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1717 wxPy_BEGIN_ALLOW_THREADS
;
1718 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1720 wxPy_END_ALLOW_THREADS
;
1721 } Py_INCREF(Py_None
);
1722 _resultobj
= Py_None
;
1726 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1727 PyObject
* tup
= PyTuple_New(2);
1728 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1729 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1732 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
) {
1733 PyObject
* _resultobj
;
1739 if(!PyArg_ParseTuple(args
,"s:wxPoint_asTuple",&_argc0
))
1742 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_asTuple. Expected _wxPoint_p.");
1748 wxPy_BEGIN_ALLOW_THREADS
;
1749 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1751 wxPy_END_ALLOW_THREADS
;
1753 _resultobj
= _result
;
1758 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1759 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
) {
1760 PyObject
* _resultobj
;
1769 if(!PyArg_ParseTuple(args
,"|llll:new_wxRect",&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1775 wxPy_END_ALLOW_THREADS
;
1776 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1777 _resultobj
= Py_BuildValue("s",_ptemp
);
1781 #define delete_wxRect(_swigobj) (delete _swigobj)
1782 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
) {
1783 PyObject
* _resultobj
;
1788 if(!PyArg_ParseTuple(args
,"s:delete_wxRect",&_argc0
))
1791 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1797 wxPy_BEGIN_ALLOW_THREADS
;
1798 delete_wxRect(_arg0
);
1800 wxPy_END_ALLOW_THREADS
;
1801 } Py_INCREF(Py_None
);
1802 _resultobj
= Py_None
;
1806 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1807 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
) {
1808 PyObject
* _resultobj
;
1814 if(!PyArg_ParseTuple(args
,"s:wxRect_GetX",&_argc0
))
1817 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= (long )wxRect_GetX(_arg0
);
1826 wxPy_END_ALLOW_THREADS
;
1827 } _resultobj
= Py_BuildValue("l",_result
);
1831 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1832 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
) {
1833 PyObject
* _resultobj
;
1839 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetX",&_argc0
,&_arg1
))
1842 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1848 wxPy_BEGIN_ALLOW_THREADS
;
1849 wxRect_SetX(_arg0
,_arg1
);
1851 wxPy_END_ALLOW_THREADS
;
1852 } Py_INCREF(Py_None
);
1853 _resultobj
= Py_None
;
1857 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1858 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
) {
1859 PyObject
* _resultobj
;
1865 if(!PyArg_ParseTuple(args
,"s:wxRect_GetY",&_argc0
))
1868 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
1874 wxPy_BEGIN_ALLOW_THREADS
;
1875 _result
= (long )wxRect_GetY(_arg0
);
1877 wxPy_END_ALLOW_THREADS
;
1878 } _resultobj
= Py_BuildValue("l",_result
);
1882 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1883 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
) {
1884 PyObject
* _resultobj
;
1890 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetY",&_argc0
,&_arg1
))
1893 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
1899 wxPy_BEGIN_ALLOW_THREADS
;
1900 wxRect_SetY(_arg0
,_arg1
);
1902 wxPy_END_ALLOW_THREADS
;
1903 } Py_INCREF(Py_None
);
1904 _resultobj
= Py_None
;
1908 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1909 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
) {
1910 PyObject
* _resultobj
;
1916 if(!PyArg_ParseTuple(args
,"s:wxRect_GetWidth",&_argc0
))
1919 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 _result
= (long )wxRect_GetWidth(_arg0
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } _resultobj
= Py_BuildValue("l",_result
);
1933 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1934 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
) {
1935 PyObject
* _resultobj
;
1941 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetWidth",&_argc0
,&_arg1
))
1944 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 wxRect_SetWidth(_arg0
,_arg1
);
1953 wxPy_END_ALLOW_THREADS
;
1954 } Py_INCREF(Py_None
);
1955 _resultobj
= Py_None
;
1959 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1960 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
) {
1961 PyObject
* _resultobj
;
1967 if(!PyArg_ParseTuple(args
,"s:wxRect_GetHeight",&_argc0
))
1970 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 _result
= (long )wxRect_GetHeight(_arg0
);
1979 wxPy_END_ALLOW_THREADS
;
1980 } _resultobj
= Py_BuildValue("l",_result
);
1984 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1985 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
) {
1986 PyObject
* _resultobj
;
1992 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetHeight",&_argc0
,&_arg1
))
1995 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
2001 wxPy_BEGIN_ALLOW_THREADS
;
2002 wxRect_SetHeight(_arg0
,_arg1
);
2004 wxPy_END_ALLOW_THREADS
;
2005 } Py_INCREF(Py_None
);
2006 _resultobj
= Py_None
;
2010 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2011 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
) {
2012 PyObject
* _resultobj
;
2019 if(!PyArg_ParseTuple(args
,"s:wxRect_GetPosition",&_argc0
))
2022 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
2028 wxPy_BEGIN_ALLOW_THREADS
;
2029 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2031 wxPy_END_ALLOW_THREADS
;
2032 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2033 _resultobj
= Py_BuildValue("s",_ptemp
);
2037 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2038 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
) {
2039 PyObject
* _resultobj
;
2046 if(!PyArg_ParseTuple(args
,"s:wxRect_GetSize",&_argc0
))
2049 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
2055 wxPy_BEGIN_ALLOW_THREADS
;
2056 _result
= new wxSize (wxRect_GetSize(_arg0
));
2058 wxPy_END_ALLOW_THREADS
;
2059 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2060 _resultobj
= Py_BuildValue("s",_ptemp
);
2064 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2065 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
) {
2066 PyObject
* _resultobj
;
2072 if(!PyArg_ParseTuple(args
,"s:wxRect_GetLeft",&_argc0
))
2075 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
2081 wxPy_BEGIN_ALLOW_THREADS
;
2082 _result
= (long )wxRect_GetLeft(_arg0
);
2084 wxPy_END_ALLOW_THREADS
;
2085 } _resultobj
= Py_BuildValue("l",_result
);
2089 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2090 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
) {
2091 PyObject
* _resultobj
;
2097 if(!PyArg_ParseTuple(args
,"s:wxRect_GetTop",&_argc0
))
2100 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
2106 wxPy_BEGIN_ALLOW_THREADS
;
2107 _result
= (long )wxRect_GetTop(_arg0
);
2109 wxPy_END_ALLOW_THREADS
;
2110 } _resultobj
= Py_BuildValue("l",_result
);
2114 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2115 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
) {
2116 PyObject
* _resultobj
;
2122 if(!PyArg_ParseTuple(args
,"s:wxRect_GetBottom",&_argc0
))
2125 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
2131 wxPy_BEGIN_ALLOW_THREADS
;
2132 _result
= (long )wxRect_GetBottom(_arg0
);
2134 wxPy_END_ALLOW_THREADS
;
2135 } _resultobj
= Py_BuildValue("l",_result
);
2139 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2140 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
) {
2141 PyObject
* _resultobj
;
2147 if(!PyArg_ParseTuple(args
,"s:wxRect_GetRight",&_argc0
))
2150 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= (long )wxRect_GetRight(_arg0
);
2159 wxPy_END_ALLOW_THREADS
;
2160 } _resultobj
= Py_BuildValue("l",_result
);
2164 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2165 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
) {
2166 PyObject
* _resultobj
;
2173 if(!PyArg_ParseTuple(args
,"sl:wxRect_x_set",&_argc0
,&_arg1
))
2176 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
2182 wxPy_BEGIN_ALLOW_THREADS
;
2183 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
2185 wxPy_END_ALLOW_THREADS
;
2186 } _resultobj
= Py_BuildValue("l",_result
);
2190 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
2191 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
) {
2192 PyObject
* _resultobj
;
2198 if(!PyArg_ParseTuple(args
,"s:wxRect_x_get",&_argc0
))
2201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 _result
= (long )wxRect_x_get(_arg0
);
2210 wxPy_END_ALLOW_THREADS
;
2211 } _resultobj
= Py_BuildValue("l",_result
);
2215 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2216 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
) {
2217 PyObject
* _resultobj
;
2224 if(!PyArg_ParseTuple(args
,"sl:wxRect_y_set",&_argc0
,&_arg1
))
2227 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
2233 wxPy_BEGIN_ALLOW_THREADS
;
2234 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
2236 wxPy_END_ALLOW_THREADS
;
2237 } _resultobj
= Py_BuildValue("l",_result
);
2241 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
2242 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
) {
2243 PyObject
* _resultobj
;
2249 if(!PyArg_ParseTuple(args
,"s:wxRect_y_get",&_argc0
))
2252 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 _result
= (long )wxRect_y_get(_arg0
);
2261 wxPy_END_ALLOW_THREADS
;
2262 } _resultobj
= Py_BuildValue("l",_result
);
2266 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2267 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
) {
2268 PyObject
* _resultobj
;
2275 if(!PyArg_ParseTuple(args
,"sl:wxRect_width_set",&_argc0
,&_arg1
))
2278 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
2284 wxPy_BEGIN_ALLOW_THREADS
;
2285 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
2287 wxPy_END_ALLOW_THREADS
;
2288 } _resultobj
= Py_BuildValue("l",_result
);
2292 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
2293 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
) {
2294 PyObject
* _resultobj
;
2300 if(!PyArg_ParseTuple(args
,"s:wxRect_width_get",&_argc0
))
2303 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
2309 wxPy_BEGIN_ALLOW_THREADS
;
2310 _result
= (long )wxRect_width_get(_arg0
);
2312 wxPy_END_ALLOW_THREADS
;
2313 } _resultobj
= Py_BuildValue("l",_result
);
2317 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2318 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
) {
2319 PyObject
* _resultobj
;
2326 if(!PyArg_ParseTuple(args
,"sl:wxRect_height_set",&_argc0
,&_arg1
))
2329 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2335 wxPy_BEGIN_ALLOW_THREADS
;
2336 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2338 wxPy_END_ALLOW_THREADS
;
2339 } _resultobj
= Py_BuildValue("l",_result
);
2343 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2344 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
) {
2345 PyObject
* _resultobj
;
2351 if(!PyArg_ParseTuple(args
,"s:wxRect_height_get",&_argc0
))
2354 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2360 wxPy_BEGIN_ALLOW_THREADS
;
2361 _result
= (long )wxRect_height_get(_arg0
);
2363 wxPy_END_ALLOW_THREADS
;
2364 } _resultobj
= Py_BuildValue("l",_result
);
2368 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2369 PyObject
* tup
= PyTuple_New(4);
2370 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2371 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2372 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->width
));
2373 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->height
));
2376 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
) {
2377 PyObject
* _resultobj
;
2383 if(!PyArg_ParseTuple(args
,"s:wxRect_asTuple",&_argc0
))
2386 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_asTuple. Expected _wxRect_p.");
2392 wxPy_BEGIN_ALLOW_THREADS
;
2393 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2395 wxPy_END_ALLOW_THREADS
;
2397 _resultobj
= _result
;
2402 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2403 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2404 PyObject
* _resultobj
;
2405 wxPyTimer
* _result
;
2407 PyObject
* _obj0
= 0;
2411 if(!PyArg_ParseTuple(args
,"O:new_wxPyTimer",&_obj0
))
2417 wxPy_BEGIN_ALLOW_THREADS
;
2418 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2420 wxPy_END_ALLOW_THREADS
;
2421 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2422 _resultobj
= Py_BuildValue("s",_ptemp
);
2426 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2427 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2428 PyObject
* _resultobj
;
2433 if(!PyArg_ParseTuple(args
,"s:delete_wxPyTimer",&_argc0
))
2436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2442 wxPy_BEGIN_ALLOW_THREADS
;
2443 delete_wxPyTimer(_arg0
);
2445 wxPy_END_ALLOW_THREADS
;
2446 } Py_INCREF(Py_None
);
2447 _resultobj
= Py_None
;
2451 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2452 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
) {
2453 PyObject
* _resultobj
;
2459 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Interval",&_argc0
))
2462 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2468 wxPy_BEGIN_ALLOW_THREADS
;
2469 _result
= (int )wxPyTimer_Interval(_arg0
);
2471 wxPy_END_ALLOW_THREADS
;
2472 } _resultobj
= Py_BuildValue("i",_result
);
2476 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2477 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
) {
2478 PyObject
* _resultobj
;
2485 if(!PyArg_ParseTuple(args
,"s|ii:wxPyTimer_Start",&_argc0
,&_arg1
,&_arg2
))
2488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2494 wxPy_BEGIN_ALLOW_THREADS
;
2495 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2497 wxPy_END_ALLOW_THREADS
;
2498 } Py_INCREF(Py_None
);
2499 _resultobj
= Py_None
;
2503 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2504 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
) {
2505 PyObject
* _resultobj
;
2510 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Stop",&_argc0
))
2513 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2519 wxPy_BEGIN_ALLOW_THREADS
;
2520 wxPyTimer_Stop(_arg0
);
2522 wxPy_END_ALLOW_THREADS
;
2523 } Py_INCREF(Py_None
);
2524 _resultobj
= Py_None
;
2528 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2529 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
) {
2530 PyObject
* _resultobj
;
2531 wxIndividualLayoutConstraint
* _arg0
;
2538 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0
,&_argc1
,&_arg2
))
2541 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2547 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2553 wxPy_BEGIN_ALLOW_THREADS
;
2554 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2556 wxPy_END_ALLOW_THREADS
;
2557 } Py_INCREF(Py_None
);
2558 _resultobj
= Py_None
;
2562 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2563 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
) {
2564 PyObject
* _resultobj
;
2565 wxIndividualLayoutConstraint
* _arg0
;
2570 if(!PyArg_ParseTuple(args
,"si:wxIndividualLayoutConstraint_Absolute",&_argc0
,&_arg1
))
2573 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2579 wxPy_BEGIN_ALLOW_THREADS
;
2580 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2582 wxPy_END_ALLOW_THREADS
;
2583 } Py_INCREF(Py_None
);
2584 _resultobj
= Py_None
;
2588 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2589 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
) {
2590 PyObject
* _resultobj
;
2591 wxIndividualLayoutConstraint
* _arg0
;
2595 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_AsIs",&_argc0
))
2598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2604 wxPy_BEGIN_ALLOW_THREADS
;
2605 wxIndividualLayoutConstraint_AsIs(_arg0
);
2607 wxPy_END_ALLOW_THREADS
;
2608 } Py_INCREF(Py_None
);
2609 _resultobj
= Py_None
;
2613 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2614 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
) {
2615 PyObject
* _resultobj
;
2616 wxIndividualLayoutConstraint
* _arg0
;
2623 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0
,&_argc1
,&_arg2
))
2626 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2632 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2638 wxPy_BEGIN_ALLOW_THREADS
;
2639 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2641 wxPy_END_ALLOW_THREADS
;
2642 } Py_INCREF(Py_None
);
2643 _resultobj
= Py_None
;
2647 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2648 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
) {
2649 PyObject
* _resultobj
;
2650 wxIndividualLayoutConstraint
* _arg0
;
2654 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0
))
2657 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2663 wxPy_BEGIN_ALLOW_THREADS
;
2664 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2666 wxPy_END_ALLOW_THREADS
;
2667 } Py_INCREF(Py_None
);
2668 _resultobj
= Py_None
;
2672 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2673 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
) {
2674 PyObject
* _resultobj
;
2675 wxIndividualLayoutConstraint
* _arg0
;
2682 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0
,&_argc1
,&_arg2
))
2685 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2691 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2697 wxPy_BEGIN_ALLOW_THREADS
;
2698 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2700 wxPy_END_ALLOW_THREADS
;
2701 } Py_INCREF(Py_None
);
2702 _resultobj
= Py_None
;
2706 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2707 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
) {
2708 PyObject
* _resultobj
;
2709 wxIndividualLayoutConstraint
* _arg0
;
2717 if(!PyArg_ParseTuple(args
,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2720 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2726 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2732 wxPy_BEGIN_ALLOW_THREADS
;
2733 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2735 wxPy_END_ALLOW_THREADS
;
2736 } Py_INCREF(Py_None
);
2737 _resultobj
= Py_None
;
2741 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2742 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
) {
2743 PyObject
* _resultobj
;
2744 wxIndividualLayoutConstraint
* _arg0
;
2751 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0
,&_argc1
,&_arg2
))
2754 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2760 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2766 wxPy_BEGIN_ALLOW_THREADS
;
2767 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2769 wxPy_END_ALLOW_THREADS
;
2770 } Py_INCREF(Py_None
);
2771 _resultobj
= Py_None
;
2775 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2776 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
) {
2777 PyObject
* _resultobj
;
2778 wxIndividualLayoutConstraint
* _arg0
;
2786 if(!PyArg_ParseTuple(args
,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2795 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2804 wxPy_END_ALLOW_THREADS
;
2805 } Py_INCREF(Py_None
);
2806 _resultobj
= Py_None
;
2810 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2811 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
) {
2812 PyObject
* _resultobj
;
2813 wxIndividualLayoutConstraint
* _arg0
;
2814 wxRelationship _arg1
;
2823 if(!PyArg_ParseTuple(args
,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
))
2826 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2832 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2838 wxPy_BEGIN_ALLOW_THREADS
;
2839 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2841 wxPy_END_ALLOW_THREADS
;
2842 } Py_INCREF(Py_None
);
2843 _resultobj
= Py_None
;
2847 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2848 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
) {
2849 PyObject
* _resultobj
;
2850 wxLayoutConstraints
* _result
;
2854 if(!PyArg_ParseTuple(args
,":new_wxLayoutConstraints"))
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2860 wxPy_END_ALLOW_THREADS
;
2861 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2862 _resultobj
= Py_BuildValue("s",_ptemp
);
2866 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2867 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
) {
2868 PyObject
* _resultobj
;
2869 wxIndividualLayoutConstraint
* _result
;
2870 wxLayoutConstraints
* _arg0
;
2875 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_bottom_get",&_argc0
))
2878 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2884 wxPy_BEGIN_ALLOW_THREADS
;
2885 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2887 wxPy_END_ALLOW_THREADS
;
2888 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2889 _resultobj
= Py_BuildValue("s",_ptemp
);
2893 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2894 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
) {
2895 PyObject
* _resultobj
;
2896 wxIndividualLayoutConstraint
* _result
;
2897 wxLayoutConstraints
* _arg0
;
2902 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreX_get",&_argc0
))
2905 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2911 wxPy_BEGIN_ALLOW_THREADS
;
2912 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2914 wxPy_END_ALLOW_THREADS
;
2915 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2916 _resultobj
= Py_BuildValue("s",_ptemp
);
2920 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2921 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
) {
2922 PyObject
* _resultobj
;
2923 wxIndividualLayoutConstraint
* _result
;
2924 wxLayoutConstraints
* _arg0
;
2929 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreY_get",&_argc0
))
2932 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2938 wxPy_BEGIN_ALLOW_THREADS
;
2939 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2941 wxPy_END_ALLOW_THREADS
;
2942 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2943 _resultobj
= Py_BuildValue("s",_ptemp
);
2947 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2948 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
) {
2949 PyObject
* _resultobj
;
2950 wxIndividualLayoutConstraint
* _result
;
2951 wxLayoutConstraints
* _arg0
;
2956 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_height_get",&_argc0
))
2959 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2965 wxPy_BEGIN_ALLOW_THREADS
;
2966 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2968 wxPy_END_ALLOW_THREADS
;
2969 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2970 _resultobj
= Py_BuildValue("s",_ptemp
);
2974 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2975 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
) {
2976 PyObject
* _resultobj
;
2977 wxIndividualLayoutConstraint
* _result
;
2978 wxLayoutConstraints
* _arg0
;
2983 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_left_get",&_argc0
))
2986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2992 wxPy_BEGIN_ALLOW_THREADS
;
2993 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2995 wxPy_END_ALLOW_THREADS
;
2996 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2997 _resultobj
= Py_BuildValue("s",_ptemp
);
3001 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3002 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
) {
3003 PyObject
* _resultobj
;
3004 wxIndividualLayoutConstraint
* _result
;
3005 wxLayoutConstraints
* _arg0
;
3010 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_right_get",&_argc0
))
3013 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3019 wxPy_BEGIN_ALLOW_THREADS
;
3020 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3022 wxPy_END_ALLOW_THREADS
;
3023 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3024 _resultobj
= Py_BuildValue("s",_ptemp
);
3028 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3029 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
) {
3030 PyObject
* _resultobj
;
3031 wxIndividualLayoutConstraint
* _result
;
3032 wxLayoutConstraints
* _arg0
;
3037 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_top_get",&_argc0
))
3040 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3046 wxPy_BEGIN_ALLOW_THREADS
;
3047 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3049 wxPy_END_ALLOW_THREADS
;
3050 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3051 _resultobj
= Py_BuildValue("s",_ptemp
);
3055 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3056 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
) {
3057 PyObject
* _resultobj
;
3058 wxIndividualLayoutConstraint
* _result
;
3059 wxLayoutConstraints
* _arg0
;
3064 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_width_get",&_argc0
))
3067 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3073 wxPy_BEGIN_ALLOW_THREADS
;
3074 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3076 wxPy_END_ALLOW_THREADS
;
3077 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3078 _resultobj
= Py_BuildValue("s",_ptemp
);
3082 #define new_wxRegion() (new wxRegion())
3083 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
) {
3084 PyObject
* _resultobj
;
3089 if(!PyArg_ParseTuple(args
,":new_wxRegion"))
3092 wxPy_BEGIN_ALLOW_THREADS
;
3093 _result
= (wxRegion
*)new_wxRegion();
3095 wxPy_END_ALLOW_THREADS
;
3096 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3097 _resultobj
= Py_BuildValue("s",_ptemp
);
3101 #define delete_wxRegion(_swigobj) (delete _swigobj)
3102 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
) {
3103 PyObject
* _resultobj
;
3108 if(!PyArg_ParseTuple(args
,"s:delete_wxRegion",&_argc0
))
3111 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3117 wxPy_BEGIN_ALLOW_THREADS
;
3118 delete_wxRegion(_arg0
);
3120 wxPy_END_ALLOW_THREADS
;
3121 } Py_INCREF(Py_None
);
3122 _resultobj
= Py_None
;
3126 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3127 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
) {
3128 PyObject
* _resultobj
;
3133 if(!PyArg_ParseTuple(args
,"s:wxRegion_Clear",&_argc0
))
3136 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3142 wxPy_BEGIN_ALLOW_THREADS
;
3143 wxRegion_Clear(_arg0
);
3145 wxPy_END_ALLOW_THREADS
;
3146 } Py_INCREF(Py_None
);
3147 _resultobj
= Py_None
;
3151 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3152 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
) {
3153 PyObject
* _resultobj
;
3154 wxRegionContain _result
;
3161 if(!PyArg_ParseTuple(args
,"sll:wxRegion_Contains",&_argc0
,&_arg1
,&_arg2
))
3164 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3170 wxPy_BEGIN_ALLOW_THREADS
;
3171 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3173 wxPy_END_ALLOW_THREADS
;
3174 } _resultobj
= Py_BuildValue("i",_result
);
3178 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3179 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
) {
3180 PyObject
* _resultobj
;
3181 wxRegionContain _result
;
3188 if(!PyArg_ParseTuple(args
,"ss:wxRegion_ContainsPoint",&_argc0
,&_argc1
))
3191 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3197 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p.");
3203 wxPy_BEGIN_ALLOW_THREADS
;
3204 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3206 wxPy_END_ALLOW_THREADS
;
3207 } _resultobj
= Py_BuildValue("i",_result
);
3211 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3212 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
) {
3213 PyObject
* _resultobj
;
3214 wxRegionContain _result
;
3221 if(!PyArg_ParseTuple(args
,"ss:wxRegion_ContainsRect",&_argc0
,&_argc1
))
3224 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3230 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p.");
3236 wxPy_BEGIN_ALLOW_THREADS
;
3237 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3239 wxPy_END_ALLOW_THREADS
;
3240 } _resultobj
= Py_BuildValue("i",_result
);
3244 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3245 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
) {
3246 PyObject
* _resultobj
;
3253 if(!PyArg_ParseTuple(args
,"s:wxRegion_GetBox",&_argc0
))
3256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3262 wxPy_BEGIN_ALLOW_THREADS
;
3263 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3265 wxPy_END_ALLOW_THREADS
;
3266 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3267 _resultobj
= Py_BuildValue("s",_ptemp
);
3271 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3272 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
) {
3273 PyObject
* _resultobj
;
3281 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Intersect",&_argc0
,&_argc1
))
3284 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3290 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p.");
3296 wxPy_BEGIN_ALLOW_THREADS
;
3297 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
3299 wxPy_END_ALLOW_THREADS
;
3300 } _resultobj
= Py_BuildValue("i",_result
);
3304 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3305 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
) {
3306 PyObject
* _resultobj
;
3314 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Subtract",&_argc0
,&_argc1
))
3317 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3323 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p.");
3329 wxPy_BEGIN_ALLOW_THREADS
;
3330 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
3332 wxPy_END_ALLOW_THREADS
;
3333 } _resultobj
= Py_BuildValue("i",_result
);
3337 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3338 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
) {
3339 PyObject
* _resultobj
;
3347 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Union",&_argc0
,&_argc1
))
3350 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3356 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p.");
3362 wxPy_BEGIN_ALLOW_THREADS
;
3363 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
3365 wxPy_END_ALLOW_THREADS
;
3366 } _resultobj
= Py_BuildValue("i",_result
);
3370 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3371 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
) {
3372 PyObject
* _resultobj
;
3380 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Xor",&_argc0
,&_argc1
))
3383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3389 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p.");
3395 wxPy_BEGIN_ALLOW_THREADS
;
3396 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
3398 wxPy_END_ALLOW_THREADS
;
3399 } _resultobj
= Py_BuildValue("i",_result
);
3403 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3404 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
3405 PyObject
* _resultobj
;
3406 wxRegionIterator
* _result
;
3412 if(!PyArg_ParseTuple(args
,"s:new_wxRegionIterator",&_argc0
))
3415 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3421 wxPy_BEGIN_ALLOW_THREADS
;
3422 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3424 wxPy_END_ALLOW_THREADS
;
3425 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3426 _resultobj
= Py_BuildValue("s",_ptemp
);
3430 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3431 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
3432 PyObject
* _resultobj
;
3433 wxRegionIterator
* _arg0
;
3437 if(!PyArg_ParseTuple(args
,"s:delete_wxRegionIterator",&_argc0
))
3440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3446 wxPy_BEGIN_ALLOW_THREADS
;
3447 delete_wxRegionIterator(_arg0
);
3449 wxPy_END_ALLOW_THREADS
;
3450 } Py_INCREF(Py_None
);
3451 _resultobj
= Py_None
;
3455 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3456 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
) {
3457 PyObject
* _resultobj
;
3459 wxRegionIterator
* _arg0
;
3463 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetX",&_argc0
))
3466 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3472 wxPy_BEGIN_ALLOW_THREADS
;
3473 _result
= (long )wxRegionIterator_GetX(_arg0
);
3475 wxPy_END_ALLOW_THREADS
;
3476 } _resultobj
= Py_BuildValue("l",_result
);
3480 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3481 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
) {
3482 PyObject
* _resultobj
;
3484 wxRegionIterator
* _arg0
;
3488 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetY",&_argc0
))
3491 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3497 wxPy_BEGIN_ALLOW_THREADS
;
3498 _result
= (long )wxRegionIterator_GetY(_arg0
);
3500 wxPy_END_ALLOW_THREADS
;
3501 } _resultobj
= Py_BuildValue("l",_result
);
3505 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3506 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
) {
3507 PyObject
* _resultobj
;
3509 wxRegionIterator
* _arg0
;
3513 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetW",&_argc0
))
3516 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3522 wxPy_BEGIN_ALLOW_THREADS
;
3523 _result
= (long )wxRegionIterator_GetW(_arg0
);
3525 wxPy_END_ALLOW_THREADS
;
3526 } _resultobj
= Py_BuildValue("l",_result
);
3530 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3531 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
) {
3532 PyObject
* _resultobj
;
3534 wxRegionIterator
* _arg0
;
3538 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetWidth",&_argc0
))
3541 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3547 wxPy_BEGIN_ALLOW_THREADS
;
3548 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3550 wxPy_END_ALLOW_THREADS
;
3551 } _resultobj
= Py_BuildValue("l",_result
);
3555 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3556 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
) {
3557 PyObject
* _resultobj
;
3559 wxRegionIterator
* _arg0
;
3563 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetH",&_argc0
))
3566 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3572 wxPy_BEGIN_ALLOW_THREADS
;
3573 _result
= (long )wxRegionIterator_GetH(_arg0
);
3575 wxPy_END_ALLOW_THREADS
;
3576 } _resultobj
= Py_BuildValue("l",_result
);
3580 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3581 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
) {
3582 PyObject
* _resultobj
;
3584 wxRegionIterator
* _arg0
;
3588 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetHeight",&_argc0
))
3591 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3597 wxPy_BEGIN_ALLOW_THREADS
;
3598 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3600 wxPy_END_ALLOW_THREADS
;
3601 } _resultobj
= Py_BuildValue("l",_result
);
3605 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3606 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
) {
3607 PyObject
* _resultobj
;
3609 wxRegionIterator
* _arg0
;
3614 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetRect",&_argc0
))
3617 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3623 wxPy_BEGIN_ALLOW_THREADS
;
3624 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3626 wxPy_END_ALLOW_THREADS
;
3627 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3628 _resultobj
= Py_BuildValue("s",_ptemp
);
3632 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3633 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
) {
3634 PyObject
* _resultobj
;
3636 wxRegionIterator
* _arg0
;
3640 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_HaveRects",&_argc0
))
3643 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
3649 wxPy_BEGIN_ALLOW_THREADS
;
3650 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
3652 wxPy_END_ALLOW_THREADS
;
3653 } _resultobj
= Py_BuildValue("i",_result
);
3657 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
3658 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
) {
3659 PyObject
* _resultobj
;
3660 wxRegionIterator
* _arg0
;
3664 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_Reset",&_argc0
))
3667 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
3673 wxPy_BEGIN_ALLOW_THREADS
;
3674 wxRegionIterator_Reset(_arg0
);
3676 wxPy_END_ALLOW_THREADS
;
3677 } Py_INCREF(Py_None
);
3678 _resultobj
= Py_None
;
3682 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
3685 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
) {
3686 PyObject
* _resultobj
;
3687 wxRegionIterator
* _arg0
;
3691 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_Next",&_argc0
))
3694 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
3700 wxPy_BEGIN_ALLOW_THREADS
;
3701 wxRegionIterator_Next(_arg0
);
3703 wxPy_END_ALLOW_THREADS
;
3704 } Py_INCREF(Py_None
);
3705 _resultobj
= Py_None
;
3709 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3710 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
) {
3711 PyObject
* _resultobj
;
3712 wxAcceleratorEntry
* _result
;
3719 if(!PyArg_ParseTuple(args
,"|iii:new_wxAcceleratorEntry",&_arg0
,&_arg1
,&_arg2
))
3722 wxPy_BEGIN_ALLOW_THREADS
;
3723 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3725 wxPy_END_ALLOW_THREADS
;
3726 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3727 _resultobj
= Py_BuildValue("s",_ptemp
);
3731 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3732 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
) {
3733 PyObject
* _resultobj
;
3734 wxAcceleratorEntry
* _arg0
;
3741 if(!PyArg_ParseTuple(args
,"siii:wxAcceleratorEntry_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
3744 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3750 wxPy_BEGIN_ALLOW_THREADS
;
3751 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3753 wxPy_END_ALLOW_THREADS
;
3754 } Py_INCREF(Py_None
);
3755 _resultobj
= Py_None
;
3759 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3760 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
) {
3761 PyObject
* _resultobj
;
3763 wxAcceleratorEntry
* _arg0
;
3767 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetFlags",&_argc0
))
3770 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3776 wxPy_BEGIN_ALLOW_THREADS
;
3777 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3779 wxPy_END_ALLOW_THREADS
;
3780 } _resultobj
= Py_BuildValue("i",_result
);
3784 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3785 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
) {
3786 PyObject
* _resultobj
;
3788 wxAcceleratorEntry
* _arg0
;
3792 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetKeyCode",&_argc0
))
3795 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3804 wxPy_END_ALLOW_THREADS
;
3805 } _resultobj
= Py_BuildValue("i",_result
);
3809 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3810 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
) {
3811 PyObject
* _resultobj
;
3813 wxAcceleratorEntry
* _arg0
;
3817 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetCommand",&_argc0
))
3820 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3826 wxPy_BEGIN_ALLOW_THREADS
;
3827 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3829 wxPy_END_ALLOW_THREADS
;
3830 } _resultobj
= Py_BuildValue("i",_result
);
3834 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3835 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
) {
3836 PyObject
* _resultobj
;
3837 wxAcceleratorTable
* _result
;
3839 wxAcceleratorEntry
* _arg1
;
3840 PyObject
* _obj1
= 0;
3844 if(!PyArg_ParseTuple(args
,"O:new_wxAcceleratorTable",&_obj1
))
3848 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3849 if (_arg1
== NULL
) {
3855 _arg0
= PyList_Size(_obj1
);
3862 wxPy_BEGIN_ALLOW_THREADS
;
3863 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3865 wxPy_END_ALLOW_THREADS
;
3866 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3867 _resultobj
= Py_BuildValue("s",_ptemp
);
3874 static PyMethodDef misccMethods
[] = {
3875 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable
, 1 },
3876 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand
, 1 },
3877 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode
, 1 },
3878 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags
, 1 },
3879 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set
, 1 },
3880 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry
, 1 },
3881 { "wxRegionIterator_Next", _wrap_wxRegionIterator_Next
, 1 },
3882 { "wxRegionIterator_Reset", _wrap_wxRegionIterator_Reset
, 1 },
3883 { "wxRegionIterator_HaveRects", _wrap_wxRegionIterator_HaveRects
, 1 },
3884 { "wxRegionIterator_GetRect", _wrap_wxRegionIterator_GetRect
, 1 },
3885 { "wxRegionIterator_GetHeight", _wrap_wxRegionIterator_GetHeight
, 1 },
3886 { "wxRegionIterator_GetH", _wrap_wxRegionIterator_GetH
, 1 },
3887 { "wxRegionIterator_GetWidth", _wrap_wxRegionIterator_GetWidth
, 1 },
3888 { "wxRegionIterator_GetW", _wrap_wxRegionIterator_GetW
, 1 },
3889 { "wxRegionIterator_GetY", _wrap_wxRegionIterator_GetY
, 1 },
3890 { "wxRegionIterator_GetX", _wrap_wxRegionIterator_GetX
, 1 },
3891 { "delete_wxRegionIterator", _wrap_delete_wxRegionIterator
, 1 },
3892 { "new_wxRegionIterator", _wrap_new_wxRegionIterator
, 1 },
3893 { "wxRegion_Xor", _wrap_wxRegion_Xor
, 1 },
3894 { "wxRegion_Union", _wrap_wxRegion_Union
, 1 },
3895 { "wxRegion_Subtract", _wrap_wxRegion_Subtract
, 1 },
3896 { "wxRegion_Intersect", _wrap_wxRegion_Intersect
, 1 },
3897 { "wxRegion_GetBox", _wrap_wxRegion_GetBox
, 1 },
3898 { "wxRegion_ContainsRect", _wrap_wxRegion_ContainsRect
, 1 },
3899 { "wxRegion_ContainsPoint", _wrap_wxRegion_ContainsPoint
, 1 },
3900 { "wxRegion_Contains", _wrap_wxRegion_Contains
, 1 },
3901 { "wxRegion_Clear", _wrap_wxRegion_Clear
, 1 },
3902 { "delete_wxRegion", _wrap_delete_wxRegion
, 1 },
3903 { "new_wxRegion", _wrap_new_wxRegion
, 1 },
3904 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get
, 1 },
3905 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get
, 1 },
3906 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get
, 1 },
3907 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get
, 1 },
3908 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get
, 1 },
3909 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get
, 1 },
3910 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get
, 1 },
3911 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get
, 1 },
3912 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints
, 1 },
3913 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set
, 1 },
3914 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs
, 1 },
3915 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf
, 1 },
3916 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf
, 1 },
3917 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf
, 1 },
3918 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained
, 1 },
3919 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below
, 1 },
3920 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs
, 1 },
3921 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute
, 1 },
3922 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above
, 1 },
3923 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop
, 1 },
3924 { "wxPyTimer_Start", _wrap_wxPyTimer_Start
, 1 },
3925 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval
, 1 },
3926 { "delete_wxPyTimer", _wrap_delete_wxPyTimer
, 1 },
3927 { "new_wxPyTimer", _wrap_new_wxPyTimer
, 1 },
3928 { "wxRect_asTuple", _wrap_wxRect_asTuple
, 1 },
3929 { "wxRect_height_get", _wrap_wxRect_height_get
, 1 },
3930 { "wxRect_height_set", _wrap_wxRect_height_set
, 1 },
3931 { "wxRect_width_get", _wrap_wxRect_width_get
, 1 },
3932 { "wxRect_width_set", _wrap_wxRect_width_set
, 1 },
3933 { "wxRect_y_get", _wrap_wxRect_y_get
, 1 },
3934 { "wxRect_y_set", _wrap_wxRect_y_set
, 1 },
3935 { "wxRect_x_get", _wrap_wxRect_x_get
, 1 },
3936 { "wxRect_x_set", _wrap_wxRect_x_set
, 1 },
3937 { "wxRect_GetRight", _wrap_wxRect_GetRight
, 1 },
3938 { "wxRect_GetBottom", _wrap_wxRect_GetBottom
, 1 },
3939 { "wxRect_GetTop", _wrap_wxRect_GetTop
, 1 },
3940 { "wxRect_GetLeft", _wrap_wxRect_GetLeft
, 1 },
3941 { "wxRect_GetSize", _wrap_wxRect_GetSize
, 1 },
3942 { "wxRect_GetPosition", _wrap_wxRect_GetPosition
, 1 },
3943 { "wxRect_SetHeight", _wrap_wxRect_SetHeight
, 1 },
3944 { "wxRect_GetHeight", _wrap_wxRect_GetHeight
, 1 },
3945 { "wxRect_SetWidth", _wrap_wxRect_SetWidth
, 1 },
3946 { "wxRect_GetWidth", _wrap_wxRect_GetWidth
, 1 },
3947 { "wxRect_SetY", _wrap_wxRect_SetY
, 1 },
3948 { "wxRect_GetY", _wrap_wxRect_GetY
, 1 },
3949 { "wxRect_SetX", _wrap_wxRect_SetX
, 1 },
3950 { "wxRect_GetX", _wrap_wxRect_GetX
, 1 },
3951 { "delete_wxRect", _wrap_delete_wxRect
, 1 },
3952 { "new_wxRect", _wrap_new_wxRect
, 1 },
3953 { "wxPoint_asTuple", _wrap_wxPoint_asTuple
, 1 },
3954 { "wxPoint_Set", _wrap_wxPoint_Set
, 1 },
3955 { "delete_wxPoint", _wrap_delete_wxPoint
, 1 },
3956 { "new_wxPoint", _wrap_new_wxPoint
, 1 },
3957 { "wxPoint_y_get", _wrap_wxPoint_y_get
, 1 },
3958 { "wxPoint_y_set", _wrap_wxPoint_y_set
, 1 },
3959 { "wxPoint_x_get", _wrap_wxPoint_x_get
, 1 },
3960 { "wxPoint_x_set", _wrap_wxPoint_x_set
, 1 },
3961 { "delete_wxRealPoint", _wrap_delete_wxRealPoint
, 1 },
3962 { "new_wxRealPoint", _wrap_new_wxRealPoint
, 1 },
3963 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get
, 1 },
3964 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set
, 1 },
3965 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get
, 1 },
3966 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set
, 1 },
3967 { "wxSize_asTuple", _wrap_wxSize_asTuple
, 1 },
3968 { "wxSize_SetHeight", _wrap_wxSize_SetHeight
, 1 },
3969 { "wxSize_SetWidth", _wrap_wxSize_SetWidth
, 1 },
3970 { "wxSize_GetHeight", _wrap_wxSize_GetHeight
, 1 },
3971 { "wxSize_GetWidth", _wrap_wxSize_GetWidth
, 1 },
3972 { "wxSize_GetY", _wrap_wxSize_GetY
, 1 },
3973 { "wxSize_GetX", _wrap_wxSize_GetX
, 1 },
3974 { "wxSize_Set", _wrap_wxSize_Set
, 1 },
3975 { "delete_wxSize", _wrap_delete_wxSize
, 1 },
3976 { "new_wxSize", _wrap_new_wxSize
, 1 },
3977 { "wxSize_height_get", _wrap_wxSize_y_get
, 1 },
3978 { "wxSize_height_set", _wrap_wxSize_y_set
, 1 },
3979 { "wxSize_width_get", _wrap_wxSize_x_get
, 1 },
3980 { "wxSize_width_set", _wrap_wxSize_x_set
, 1 },
3981 { "wxSize_y_get", _wrap_wxSize_y_get
, 1 },
3982 { "wxSize_y_set", _wrap_wxSize_y_set
, 1 },
3983 { "wxSize_x_get", _wrap_wxSize_x_get
, 1 },
3984 { "wxSize_x_set", _wrap_wxSize_x_set
, 1 },
3985 { "wxResourceParseString", _wrap_wxResourceParseString
, 1 },
3986 { "wxResourceParseFile", _wrap_wxResourceParseFile
, 1 },
3987 { "wxResourceParseData", _wrap_wxResourceParseData
, 1 },
3988 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier
, 1 },
3989 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar
, 1 },
3990 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon
, 1 },
3991 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap
, 1 },
3992 { "wxResourceClear", _wrap_wxResourceClear
, 1 },
3993 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier
, 1 },
3994 { "wxGetResource", _wrap_wxGetResource
, 1 },
3995 { "wxEnableTopLevelWindows", _wrap_wxEnableTopLevelWindows
, 1 },
3996 { "wxSafeYield", _wrap_wxSafeYield
, 1 },
3997 { "wxYield", _wrap_wxYield
, 1 },
3998 { "wxSleep", _wrap_wxSleep
, 1 },
3999 { "wxNow", _wrap_wxNow
, 1 },
4000 { "wxIsBusy", _wrap_wxIsBusy
, 1 },
4001 { "wxGetMousePosition", _wrap_wxGetMousePosition
, 1 },
4002 { "wxExecute", _wrap_wxExecute
, 1 },
4003 { "wxEndBusyCursor", _wrap_wxEndBusyCursor
, 1 },
4004 { "wxDisplaySize", _wrap_wxDisplaySize
, 1 },
4005 { "wxBell", _wrap_wxBell
, 1 },
4006 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor
, 1 },
4007 { "RegisterId", _wrap_RegisterId
, 1 },
4008 { "NewId", _wrap_NewId
, 1 },
4009 { "wxRegisterId", _wrap_wxRegisterId
, 1 },
4010 { "wxNewId", _wrap_wxNewId
, 1 },
4011 { "wxSetCursor", _wrap_wxSetCursor
, 1 },
4012 { "wxDisplayDepth", _wrap_wxDisplayDepth
, 1 },
4013 { "wxColourDisplay", _wrap_wxColourDisplay
, 1 },
4014 { "wxMessageBox", _wrap_wxMessageBox
, 1 },
4015 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex
, 1 },
4016 { "wxGetSingleChoice", _wrap_wxGetSingleChoice
, 1 },
4017 { "wxGetTextFromUser", _wrap_wxGetTextFromUser
, 1 },
4018 { "wxFileSelector", _wrap_wxFileSelector
, 1 },
4021 static PyObject
*SWIG_globals
;
4025 SWIGEXPORT(void,initmiscc
)() {
4027 SWIG_globals
= SWIG_newvarlink();
4028 m
= Py_InitModule("miscc", misccMethods
);
4029 d
= PyModule_GetDict(m
);
4030 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4031 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4032 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4033 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4034 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4035 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4036 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4037 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4038 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4039 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4040 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4041 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4042 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4043 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4044 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4045 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4046 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4047 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4048 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4049 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4050 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4051 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4053 * These are the pointer type-equivalency mappings.
4054 * (Used by the SWIG pointer type-checker).
4056 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4057 SWIG_RegisterMapping("_signed_long","_long",0);
4058 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
4059 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
4060 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
4061 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
4062 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
4063 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
4064 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
4065 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4066 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4067 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4068 SWIG_RegisterMapping("_long","_unsigned_long",0);
4069 SWIG_RegisterMapping("_long","_signed_long",0);
4070 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4071 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
4072 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
4073 SWIG_RegisterMapping("_size_t","_int",0);
4074 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
4075 SWIG_RegisterMapping("_size_t","_uint",0);
4076 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4077 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
4078 SWIG_RegisterMapping("_uint","_size_t",0);
4079 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4080 SWIG_RegisterMapping("_uint","_int",0);
4081 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4082 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4083 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4084 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4085 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4086 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
4087 SWIG_RegisterMapping("_EBool","_signed_int",0);
4088 SWIG_RegisterMapping("_EBool","_int",0);
4089 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4090 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4091 SWIG_RegisterMapping("_unsigned_long","_long",0);
4092 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4093 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4094 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4095 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
4096 SWIG_RegisterMapping("_signed_int","_EBool",0);
4097 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4098 SWIG_RegisterMapping("_signed_int","_int",0);
4099 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4100 SWIG_RegisterMapping("_WXTYPE","_short",0);
4101 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4102 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4103 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4104 SWIG_RegisterMapping("_unsigned_short","_short",0);
4105 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4106 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4107 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4108 SWIG_RegisterMapping("_signed_short","_short",0);
4109 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4110 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4111 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
4112 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
4113 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4114 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4115 SWIG_RegisterMapping("_unsigned_int","_int",0);
4116 SWIG_RegisterMapping("_short","_WXTYPE",0);
4117 SWIG_RegisterMapping("_short","_unsigned_short",0);
4118 SWIG_RegisterMapping("_short","_signed_short",0);
4119 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
4120 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
4121 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4122 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4123 SWIG_RegisterMapping("_wxWindowID","_int",0);
4124 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4125 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4126 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
4127 SWIG_RegisterMapping("_int","_size_t",0);
4128 SWIG_RegisterMapping("_int","_EBool",0);
4129 SWIG_RegisterMapping("_int","_uint",0);
4130 SWIG_RegisterMapping("_int","_wxWindowID",0);
4131 SWIG_RegisterMapping("_int","_unsigned_int",0);
4132 SWIG_RegisterMapping("_int","_signed_int",0);
4133 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4134 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4135 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4136 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4137 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);