4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initmiscc
54 #define SWIG_name "miscc"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
121 wxGetResource(section
, entry
, &retval
, file
);
124 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
) {
125 PyObject
* _resultobj
;
131 char * _arg4
= "*.*";
133 wxWindow
* _arg6
= NULL
;
139 if(!PyArg_ParseTuple(args
,"s|ssssisii:wxFileSelector",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argc6
,&_arg7
,&_arg8
))
142 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxWindow_p")) {
143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
148 wxPy_BEGIN_ALLOW_THREADS
;
149 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
151 wxPy_END_ALLOW_THREADS
;
153 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
161 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
) {
162 PyObject
* _resultobj
;
165 wxString
* _arg1
= &wxPyEmptyStr
;
166 wxString
* _arg2
= &wxPyEmptyStr
;
167 wxWindow
* _arg3
= NULL
;
171 PyObject
* _obj0
= 0;
172 PyObject
* _obj1
= 0;
173 PyObject
* _obj2
= 0;
178 if(!PyArg_ParseTuple(args
,"O|OOsiii:wxGetTextFromUser",&_obj0
,&_obj1
,&_obj2
,&_argc3
,&_arg4
,&_arg5
,&tempbool6
))
181 if (!PyString_Check(_obj0
)) {
182 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
185 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
189 if (!PyString_Check(_obj1
)) {
190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
193 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
197 if (!PyString_Check(_obj2
)) {
198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
201 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
204 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
209 _arg6
= (bool ) tempbool6
;
211 wxPy_BEGIN_ALLOW_THREADS
;
212 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
214 wxPy_END_ALLOW_THREADS
;
216 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
236 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
) {
237 PyObject
* _resultobj
;
243 wxWindow
* _arg4
= NULL
;
249 PyObject
* _obj0
= 0;
250 PyObject
* _obj1
= 0;
251 PyObject
* _obj3
= 0;
256 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoice",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
259 if (!PyString_Check(_obj0
)) {
260 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
263 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
266 if (!PyString_Check(_obj1
)) {
267 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
270 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
274 _arg3
= wxString_LIST_helper(_obj3
);
280 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
285 _arg7
= (bool ) tempbool7
;
288 _arg2
= PyList_Size(_obj3
);
295 wxPy_BEGIN_ALLOW_THREADS
;
296 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
298 wxPy_END_ALLOW_THREADS
;
300 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
319 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
) {
320 PyObject
* _resultobj
;
326 wxWindow
* _arg4
= NULL
;
332 PyObject
* _obj0
= 0;
333 PyObject
* _obj1
= 0;
334 PyObject
* _obj3
= 0;
339 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
342 if (!PyString_Check(_obj0
)) {
343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
346 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
349 if (!PyString_Check(_obj1
)) {
350 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
353 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
357 _arg3
= wxString_LIST_helper(_obj3
);
363 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
368 _arg7
= (bool ) tempbool7
;
371 _arg2
= PyList_Size(_obj3
);
378 wxPy_BEGIN_ALLOW_THREADS
;
379 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
381 wxPy_END_ALLOW_THREADS
;
382 } _resultobj
= Py_BuildValue("i",_result
);
397 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
) {
398 PyObject
* _resultobj
;
401 wxString
* _arg1
= &wxPyEmptyStr
;
402 int _arg2
= (wxOK
)|(wxCENTRE
);
403 wxWindow
* _arg3
= NULL
;
406 PyObject
* _obj0
= 0;
407 PyObject
* _obj1
= 0;
411 if(!PyArg_ParseTuple(args
,"O|Oisii:wxMessageBox",&_obj0
,&_obj1
,&_arg2
,&_argc3
,&_arg4
,&_arg5
))
414 if (!PyString_Check(_obj0
)) {
415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
418 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
422 if (!PyString_Check(_obj1
)) {
423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
426 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
429 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
438 wxPy_END_ALLOW_THREADS
;
439 } _resultobj
= Py_BuildValue("i",_result
);
451 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
) {
452 PyObject
* _resultobj
;
456 if(!PyArg_ParseTuple(args
,":wxColourDisplay"))
459 wxPy_BEGIN_ALLOW_THREADS
;
460 _result
= (bool )wxColourDisplay();
462 wxPy_END_ALLOW_THREADS
;
463 } _resultobj
= Py_BuildValue("i",_result
);
467 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
) {
468 PyObject
* _resultobj
;
472 if(!PyArg_ParseTuple(args
,":wxDisplayDepth"))
475 wxPy_BEGIN_ALLOW_THREADS
;
476 _result
= (int )wxDisplayDepth();
478 wxPy_END_ALLOW_THREADS
;
479 } _resultobj
= Py_BuildValue("i",_result
);
483 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
) {
484 PyObject
* _resultobj
;
489 if(!PyArg_ParseTuple(args
,"s:wxSetCursor",&_argc0
))
492 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
498 wxPy_BEGIN_ALLOW_THREADS
;
501 wxPy_END_ALLOW_THREADS
;
502 } Py_INCREF(Py_None
);
503 _resultobj
= Py_None
;
507 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
) {
508 PyObject
* _resultobj
;
512 if(!PyArg_ParseTuple(args
,":wxNewId"))
515 wxPy_BEGIN_ALLOW_THREADS
;
516 _result
= (long )wxNewId();
518 wxPy_END_ALLOW_THREADS
;
519 } _resultobj
= Py_BuildValue("l",_result
);
523 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
) {
524 PyObject
* _resultobj
;
528 if(!PyArg_ParseTuple(args
,"l:wxRegisterId",&_arg0
))
531 wxPy_BEGIN_ALLOW_THREADS
;
534 wxPy_END_ALLOW_THREADS
;
535 } Py_INCREF(Py_None
);
536 _resultobj
= Py_None
;
540 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
) {
541 PyObject
* _resultobj
;
545 if(!PyArg_ParseTuple(args
,":NewId"))
548 wxPy_BEGIN_ALLOW_THREADS
;
549 _result
= (long )wxNewId();
551 wxPy_END_ALLOW_THREADS
;
552 } _resultobj
= Py_BuildValue("l",_result
);
556 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
) {
557 PyObject
* _resultobj
;
561 if(!PyArg_ParseTuple(args
,"l:RegisterId",&_arg0
))
564 wxPy_BEGIN_ALLOW_THREADS
;
567 wxPy_END_ALLOW_THREADS
;
568 } Py_INCREF(Py_None
);
569 _resultobj
= Py_None
;
573 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
) {
574 PyObject
* _resultobj
;
575 wxCursor
* _arg0
= wxHOURGLASS_CURSOR
;
579 if(!PyArg_ParseTuple(args
,"|s:wxBeginBusyCursor",&_argc0
))
582 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
588 wxPy_BEGIN_ALLOW_THREADS
;
589 wxBeginBusyCursor(_arg0
);
591 wxPy_END_ALLOW_THREADS
;
592 } Py_INCREF(Py_None
);
593 _resultobj
= Py_None
;
597 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
) {
598 PyObject
* _resultobj
;
601 if(!PyArg_ParseTuple(args
,":wxBell"))
604 wxPy_BEGIN_ALLOW_THREADS
;
607 wxPy_END_ALLOW_THREADS
;
608 } Py_INCREF(Py_None
);
609 _resultobj
= Py_None
;
613 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
) {
614 PyObject
* _resultobj
;
627 if(!PyArg_ParseTuple(args
,":wxDisplaySize"))
630 wxPy_BEGIN_ALLOW_THREADS
;
631 wxDisplaySize(_arg0
,_arg1
);
633 wxPy_END_ALLOW_THREADS
;
634 } Py_INCREF(Py_None
);
635 _resultobj
= Py_None
;
638 o
= PyInt_FromLong((long) (*_arg0
));
639 _resultobj
= t_output_helper(_resultobj
, o
);
643 o
= PyInt_FromLong((long) (*_arg1
));
644 _resultobj
= t_output_helper(_resultobj
, o
);
649 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
) {
650 PyObject
* _resultobj
;
653 if(!PyArg_ParseTuple(args
,":wxEndBusyCursor"))
656 wxPy_BEGIN_ALLOW_THREADS
;
659 wxPy_END_ALLOW_THREADS
;
660 } Py_INCREF(Py_None
);
661 _resultobj
= Py_None
;
665 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
) {
666 PyObject
* _resultobj
;
670 PyObject
* _obj0
= 0;
674 if(!PyArg_ParseTuple(args
,"O|i:wxExecute",&_obj0
,&tempbool1
))
677 if (!PyString_Check(_obj0
)) {
678 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
681 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
683 _arg1
= (bool ) tempbool1
;
685 wxPy_BEGIN_ALLOW_THREADS
;
686 _result
= (long )wxExecute(*_arg0
,_arg1
);
688 wxPy_END_ALLOW_THREADS
;
689 } _resultobj
= Py_BuildValue("l",_result
);
697 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
) {
698 PyObject
* _resultobj
;
703 if(!PyArg_ParseTuple(args
,":wxGetActiveWindow"))
706 wxPy_BEGIN_ALLOW_THREADS
;
707 _result
= (wxWindow
*)wxGetActiveWindow();
709 wxPy_END_ALLOW_THREADS
;
710 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
711 _resultobj
= Py_BuildValue("s",_ptemp
);
715 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
) {
716 PyObject
* _resultobj
;
722 if(!PyArg_ParseTuple(args
,"|i:wxGetElapsedTime",&tempbool0
))
724 _arg0
= (bool ) tempbool0
;
726 wxPy_BEGIN_ALLOW_THREADS
;
727 _result
= (long )wxGetElapsedTime(_arg0
);
729 wxPy_END_ALLOW_THREADS
;
730 } _resultobj
= Py_BuildValue("l",_result
);
734 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
) {
735 PyObject
* _resultobj
;
739 if(!PyArg_ParseTuple(args
,":wxGetFreeMemory"))
742 wxPy_BEGIN_ALLOW_THREADS
;
743 _result
= (long )wxGetFreeMemory();
745 wxPy_END_ALLOW_THREADS
;
746 } _resultobj
= Py_BuildValue("l",_result
);
750 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
) {
751 PyObject
* _resultobj
;
764 if(!PyArg_ParseTuple(args
,":wxGetMousePosition"))
767 wxPy_BEGIN_ALLOW_THREADS
;
768 wxGetMousePosition(_arg0
,_arg1
);
770 wxPy_END_ALLOW_THREADS
;
771 } Py_INCREF(Py_None
);
772 _resultobj
= Py_None
;
775 o
= PyInt_FromLong((long) (*_arg0
));
776 _resultobj
= t_output_helper(_resultobj
, o
);
780 o
= PyInt_FromLong((long) (*_arg1
));
781 _resultobj
= t_output_helper(_resultobj
, o
);
786 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
) {
787 PyObject
* _resultobj
;
791 if(!PyArg_ParseTuple(args
,":wxIsBusy"))
794 wxPy_BEGIN_ALLOW_THREADS
;
795 _result
= (bool )wxIsBusy();
797 wxPy_END_ALLOW_THREADS
;
798 } _resultobj
= Py_BuildValue("i",_result
);
802 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
) {
803 PyObject
* _resultobj
;
807 if(!PyArg_ParseTuple(args
,":wxNow"))
810 wxPy_BEGIN_ALLOW_THREADS
;
811 _result
= new wxString (wxNow());
813 wxPy_END_ALLOW_THREADS
;
815 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
823 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
) {
824 PyObject
* _resultobj
;
826 wxString
* _arg0
= &wxPyEmptyStr
;
827 PyObject
* _obj0
= 0;
830 if(!PyArg_ParseTuple(args
,"|O:wxShell",&_obj0
))
834 if (!PyString_Check(_obj0
)) {
835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
838 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
841 wxPy_BEGIN_ALLOW_THREADS
;
842 _result
= (bool )wxShell(*_arg0
);
844 wxPy_END_ALLOW_THREADS
;
845 } _resultobj
= Py_BuildValue("i",_result
);
853 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
) {
854 PyObject
* _resultobj
;
857 if(!PyArg_ParseTuple(args
,":wxStartTimer"))
860 wxPy_BEGIN_ALLOW_THREADS
;
863 wxPy_END_ALLOW_THREADS
;
864 } Py_INCREF(Py_None
);
865 _resultobj
= Py_None
;
869 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
) {
870 PyObject
* _resultobj
;
884 if(!PyArg_ParseTuple(args
,":wxGetOsVersion"))
887 wxPy_BEGIN_ALLOW_THREADS
;
888 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
890 wxPy_END_ALLOW_THREADS
;
891 } _resultobj
= Py_BuildValue("i",_result
);
894 o
= PyInt_FromLong((long) (*_arg0
));
895 _resultobj
= t_output_helper(_resultobj
, o
);
899 o
= PyInt_FromLong((long) (*_arg1
));
900 _resultobj
= t_output_helper(_resultobj
, o
);
905 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
) {
906 PyObject
* _resultobj
;
910 if(!PyArg_ParseTuple(args
,"i:wxSleep",&_arg0
))
913 wxPy_BEGIN_ALLOW_THREADS
;
916 wxPy_END_ALLOW_THREADS
;
917 } Py_INCREF(Py_None
);
918 _resultobj
= Py_None
;
922 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
) {
923 PyObject
* _resultobj
;
927 if(!PyArg_ParseTuple(args
,":wxYield"))
930 wxPy_BEGIN_ALLOW_THREADS
;
931 _result
= (bool )wxYield();
933 wxPy_END_ALLOW_THREADS
;
934 } _resultobj
= Py_BuildValue("i",_result
);
938 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
) {
939 PyObject
* _resultobj
;
943 if(!PyArg_ParseTuple(args
,":wxSafeYield"))
946 wxPy_BEGIN_ALLOW_THREADS
;
947 _result
= (bool )wxSafeYield();
949 wxPy_END_ALLOW_THREADS
;
950 } _resultobj
= Py_BuildValue("i",_result
);
954 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
) {
955 PyObject
* _resultobj
;
960 if(!PyArg_ParseTuple(args
,"i:wxEnableTopLevelWindows",&tempbool0
))
962 _arg0
= (bool ) tempbool0
;
964 wxPy_BEGIN_ALLOW_THREADS
;
965 wxEnableTopLevelWindows(_arg0
);
967 wxPy_END_ALLOW_THREADS
;
968 } Py_INCREF(Py_None
);
969 _resultobj
= Py_None
;
973 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
) {
974 PyObject
* _resultobj
;
981 if(!PyArg_ParseTuple(args
,"ss|s:wxGetResource",&_arg0
,&_arg1
,&_arg2
))
984 wxPy_BEGIN_ALLOW_THREADS
;
985 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
987 wxPy_END_ALLOW_THREADS
;
988 } _resultobj
= Py_BuildValue("s", _result
);
992 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
) {
993 PyObject
* _resultobj
;
999 if(!PyArg_ParseTuple(args
,"si:wxResourceAddIdentifier",&_arg0
,&_arg1
))
1002 wxPy_BEGIN_ALLOW_THREADS
;
1003 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1005 wxPy_END_ALLOW_THREADS
;
1006 } _resultobj
= Py_BuildValue("i",_result
);
1010 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
) {
1011 PyObject
* _resultobj
;
1014 if(!PyArg_ParseTuple(args
,":wxResourceClear"))
1017 wxPy_BEGIN_ALLOW_THREADS
;
1020 wxPy_END_ALLOW_THREADS
;
1021 } Py_INCREF(Py_None
);
1022 _resultobj
= Py_None
;
1026 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
) {
1027 PyObject
* _resultobj
;
1033 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateBitmap",&_arg0
))
1036 wxPy_BEGIN_ALLOW_THREADS
;
1037 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1039 wxPy_END_ALLOW_THREADS
;
1040 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1041 _resultobj
= Py_BuildValue("s",_ptemp
);
1045 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
) {
1046 PyObject
* _resultobj
;
1052 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateIcon",&_arg0
))
1055 wxPy_BEGIN_ALLOW_THREADS
;
1056 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1058 wxPy_END_ALLOW_THREADS
;
1059 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1060 _resultobj
= Py_BuildValue("s",_ptemp
);
1064 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
) {
1065 PyObject
* _resultobj
;
1066 wxMenuBar
* _result
;
1071 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateMenuBar",&_arg0
))
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1077 wxPy_END_ALLOW_THREADS
;
1078 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1079 _resultobj
= Py_BuildValue("s",_ptemp
);
1083 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
) {
1084 PyObject
* _resultobj
;
1089 if(!PyArg_ParseTuple(args
,"s:wxResourceGetIdentifier",&_arg0
))
1092 wxPy_BEGIN_ALLOW_THREADS
;
1093 _result
= (int )wxResourceGetIdentifier(_arg0
);
1095 wxPy_END_ALLOW_THREADS
;
1096 } _resultobj
= Py_BuildValue("i",_result
);
1100 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
) {
1101 PyObject
* _resultobj
;
1104 wxResourceTable
* _arg1
= NULL
;
1108 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseData",&_arg0
,&_argc1
))
1111 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1117 wxPy_BEGIN_ALLOW_THREADS
;
1118 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1120 wxPy_END_ALLOW_THREADS
;
1121 } _resultobj
= Py_BuildValue("i",_result
);
1125 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
) {
1126 PyObject
* _resultobj
;
1129 wxResourceTable
* _arg1
= NULL
;
1133 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseFile",&_arg0
,&_argc1
))
1136 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1142 wxPy_BEGIN_ALLOW_THREADS
;
1143 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1145 wxPy_END_ALLOW_THREADS
;
1146 } _resultobj
= Py_BuildValue("i",_result
);
1150 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
) {
1151 PyObject
* _resultobj
;
1154 wxResourceTable
* _arg1
= NULL
;
1158 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseString",&_arg0
,&_argc1
))
1161 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1170 wxPy_END_ALLOW_THREADS
;
1171 } _resultobj
= Py_BuildValue("i",_result
);
1175 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1176 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
) {
1177 PyObject
* _resultobj
;
1184 if(!PyArg_ParseTuple(args
,"sl:wxSize_x_set",&_argc0
,&_arg1
))
1187 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_set. Expected _wxSize_p.");
1193 wxPy_BEGIN_ALLOW_THREADS
;
1194 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1196 wxPy_END_ALLOW_THREADS
;
1197 } _resultobj
= Py_BuildValue("l",_result
);
1201 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1202 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
) {
1203 PyObject
* _resultobj
;
1209 if(!PyArg_ParseTuple(args
,"s:wxSize_x_get",&_argc0
))
1212 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_get. Expected _wxSize_p.");
1218 wxPy_BEGIN_ALLOW_THREADS
;
1219 _result
= (long )wxSize_x_get(_arg0
);
1221 wxPy_END_ALLOW_THREADS
;
1222 } _resultobj
= Py_BuildValue("l",_result
);
1226 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1227 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
) {
1228 PyObject
* _resultobj
;
1235 if(!PyArg_ParseTuple(args
,"sl:wxSize_y_set",&_argc0
,&_arg1
))
1238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_set. Expected _wxSize_p.");
1244 wxPy_BEGIN_ALLOW_THREADS
;
1245 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1247 wxPy_END_ALLOW_THREADS
;
1248 } _resultobj
= Py_BuildValue("l",_result
);
1252 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1253 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
) {
1254 PyObject
* _resultobj
;
1260 if(!PyArg_ParseTuple(args
,"s:wxSize_y_get",&_argc0
))
1263 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_get. Expected _wxSize_p.");
1269 wxPy_BEGIN_ALLOW_THREADS
;
1270 _result
= (long )wxSize_y_get(_arg0
);
1272 wxPy_END_ALLOW_THREADS
;
1273 } _resultobj
= Py_BuildValue("l",_result
);
1277 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1278 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
) {
1279 PyObject
* _resultobj
;
1286 if(!PyArg_ParseTuple(args
,"|ll:new_wxSize",&_arg0
,&_arg1
))
1289 wxPy_BEGIN_ALLOW_THREADS
;
1290 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1292 wxPy_END_ALLOW_THREADS
;
1293 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1294 _resultobj
= Py_BuildValue("s",_ptemp
);
1298 #define delete_wxSize(_swigobj) (delete _swigobj)
1299 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
) {
1300 PyObject
* _resultobj
;
1305 if(!PyArg_ParseTuple(args
,"s:delete_wxSize",&_argc0
))
1308 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1314 wxPy_BEGIN_ALLOW_THREADS
;
1315 delete_wxSize(_arg0
);
1317 wxPy_END_ALLOW_THREADS
;
1318 } Py_INCREF(Py_None
);
1319 _resultobj
= Py_None
;
1323 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1324 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
) {
1325 PyObject
* _resultobj
;
1332 if(!PyArg_ParseTuple(args
,"sll:wxSize_Set",&_argc0
,&_arg1
,&_arg2
))
1335 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1341 wxPy_BEGIN_ALLOW_THREADS
;
1342 wxSize_Set(_arg0
,_arg1
,_arg2
);
1344 wxPy_END_ALLOW_THREADS
;
1345 } Py_INCREF(Py_None
);
1346 _resultobj
= Py_None
;
1350 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1351 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
) {
1352 PyObject
* _resultobj
;
1358 if(!PyArg_ParseTuple(args
,"s:wxSize_GetX",&_argc0
))
1361 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetX. Expected _wxSize_p.");
1367 wxPy_BEGIN_ALLOW_THREADS
;
1368 _result
= (long )wxSize_GetX(_arg0
);
1370 wxPy_END_ALLOW_THREADS
;
1371 } _resultobj
= Py_BuildValue("l",_result
);
1375 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1376 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
) {
1377 PyObject
* _resultobj
;
1383 if(!PyArg_ParseTuple(args
,"s:wxSize_GetY",&_argc0
))
1386 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetY. Expected _wxSize_p.");
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 _result
= (long )wxSize_GetY(_arg0
);
1395 wxPy_END_ALLOW_THREADS
;
1396 } _resultobj
= Py_BuildValue("l",_result
);
1400 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1401 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
) {
1402 PyObject
* _resultobj
;
1408 if(!PyArg_ParseTuple(args
,"s:wxSize_GetWidth",&_argc0
))
1411 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1417 wxPy_BEGIN_ALLOW_THREADS
;
1418 _result
= (long )wxSize_GetWidth(_arg0
);
1420 wxPy_END_ALLOW_THREADS
;
1421 } _resultobj
= Py_BuildValue("l",_result
);
1425 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1426 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
) {
1427 PyObject
* _resultobj
;
1433 if(!PyArg_ParseTuple(args
,"s:wxSize_GetHeight",&_argc0
))
1436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1442 wxPy_BEGIN_ALLOW_THREADS
;
1443 _result
= (long )wxSize_GetHeight(_arg0
);
1445 wxPy_END_ALLOW_THREADS
;
1446 } _resultobj
= Py_BuildValue("l",_result
);
1450 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1451 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
) {
1452 PyObject
* _resultobj
;
1458 if(!PyArg_ParseTuple(args
,"sl:wxSize_SetWidth",&_argc0
,&_arg1
))
1461 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_SetWidth. Expected _wxSize_p.");
1467 wxPy_BEGIN_ALLOW_THREADS
;
1468 wxSize_SetWidth(_arg0
,_arg1
);
1470 wxPy_END_ALLOW_THREADS
;
1471 } Py_INCREF(Py_None
);
1472 _resultobj
= Py_None
;
1476 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1477 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
) {
1478 PyObject
* _resultobj
;
1484 if(!PyArg_ParseTuple(args
,"sl:wxSize_SetHeight",&_argc0
,&_arg1
))
1487 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_SetHeight. Expected _wxSize_p.");
1493 wxPy_BEGIN_ALLOW_THREADS
;
1494 wxSize_SetHeight(_arg0
,_arg1
);
1496 wxPy_END_ALLOW_THREADS
;
1497 } Py_INCREF(Py_None
);
1498 _resultobj
= Py_None
;
1502 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1503 PyObject
* tup
= PyTuple_New(2);
1504 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1505 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1508 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
) {
1509 PyObject
* _resultobj
;
1515 if(!PyArg_ParseTuple(args
,"s:wxSize_asTuple",&_argc0
))
1518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_asTuple. Expected _wxSize_p.");
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1527 wxPy_END_ALLOW_THREADS
;
1529 _resultobj
= _result
;
1534 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1535 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
) {
1536 PyObject
* _resultobj
;
1538 wxRealPoint
* _arg0
;
1543 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_x_set",&_argc0
,&_arg1
))
1546 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1552 wxPy_BEGIN_ALLOW_THREADS
;
1553 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1555 wxPy_END_ALLOW_THREADS
;
1556 } _resultobj
= Py_BuildValue("d",_result
);
1560 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1561 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
) {
1562 PyObject
* _resultobj
;
1564 wxRealPoint
* _arg0
;
1568 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_x_get",&_argc0
))
1571 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (double )wxRealPoint_x_get(_arg0
);
1580 wxPy_END_ALLOW_THREADS
;
1581 } _resultobj
= Py_BuildValue("d",_result
);
1585 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1586 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
) {
1587 PyObject
* _resultobj
;
1589 wxRealPoint
* _arg0
;
1594 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_y_set",&_argc0
,&_arg1
))
1597 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1603 wxPy_BEGIN_ALLOW_THREADS
;
1604 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1606 wxPy_END_ALLOW_THREADS
;
1607 } _resultobj
= Py_BuildValue("d",_result
);
1611 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1612 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
) {
1613 PyObject
* _resultobj
;
1615 wxRealPoint
* _arg0
;
1619 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_y_get",&_argc0
))
1622 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1628 wxPy_BEGIN_ALLOW_THREADS
;
1629 _result
= (double )wxRealPoint_y_get(_arg0
);
1631 wxPy_END_ALLOW_THREADS
;
1632 } _resultobj
= Py_BuildValue("d",_result
);
1636 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1637 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1638 PyObject
* _resultobj
;
1639 wxRealPoint
* _result
;
1645 if(!PyArg_ParseTuple(args
,"|dd:new_wxRealPoint",&_arg0
,&_arg1
))
1648 wxPy_BEGIN_ALLOW_THREADS
;
1649 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1651 wxPy_END_ALLOW_THREADS
;
1652 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1653 _resultobj
= Py_BuildValue("s",_ptemp
);
1657 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1658 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1659 PyObject
* _resultobj
;
1660 wxRealPoint
* _arg0
;
1664 if(!PyArg_ParseTuple(args
,"s:delete_wxRealPoint",&_argc0
))
1667 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1673 wxPy_BEGIN_ALLOW_THREADS
;
1674 delete_wxRealPoint(_arg0
);
1676 wxPy_END_ALLOW_THREADS
;
1677 } Py_INCREF(Py_None
);
1678 _resultobj
= Py_None
;
1682 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1683 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
) {
1684 PyObject
* _resultobj
;
1691 if(!PyArg_ParseTuple(args
,"sl:wxPoint_x_set",&_argc0
,&_arg1
))
1694 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1700 wxPy_BEGIN_ALLOW_THREADS
;
1701 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1703 wxPy_END_ALLOW_THREADS
;
1704 } _resultobj
= Py_BuildValue("l",_result
);
1708 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1709 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
) {
1710 PyObject
* _resultobj
;
1716 if(!PyArg_ParseTuple(args
,"s:wxPoint_x_get",&_argc0
))
1719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 _result
= (long )wxPoint_x_get(_arg0
);
1728 wxPy_END_ALLOW_THREADS
;
1729 } _resultobj
= Py_BuildValue("l",_result
);
1733 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1734 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
) {
1735 PyObject
* _resultobj
;
1742 if(!PyArg_ParseTuple(args
,"sl:wxPoint_y_set",&_argc0
,&_arg1
))
1745 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1754 wxPy_END_ALLOW_THREADS
;
1755 } _resultobj
= Py_BuildValue("l",_result
);
1759 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1760 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
) {
1761 PyObject
* _resultobj
;
1767 if(!PyArg_ParseTuple(args
,"s:wxPoint_y_get",&_argc0
))
1770 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1776 wxPy_BEGIN_ALLOW_THREADS
;
1777 _result
= (long )wxPoint_y_get(_arg0
);
1779 wxPy_END_ALLOW_THREADS
;
1780 } _resultobj
= Py_BuildValue("l",_result
);
1784 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1785 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
) {
1786 PyObject
* _resultobj
;
1793 if(!PyArg_ParseTuple(args
,"|ll:new_wxPoint",&_arg0
,&_arg1
))
1796 wxPy_BEGIN_ALLOW_THREADS
;
1797 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1799 wxPy_END_ALLOW_THREADS
;
1800 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1801 _resultobj
= Py_BuildValue("s",_ptemp
);
1805 #define delete_wxPoint(_swigobj) (delete _swigobj)
1806 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
) {
1807 PyObject
* _resultobj
;
1812 if(!PyArg_ParseTuple(args
,"s:delete_wxPoint",&_argc0
))
1815 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1821 wxPy_BEGIN_ALLOW_THREADS
;
1822 delete_wxPoint(_arg0
);
1824 wxPy_END_ALLOW_THREADS
;
1825 } Py_INCREF(Py_None
);
1826 _resultobj
= Py_None
;
1830 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1834 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
) {
1835 PyObject
* _resultobj
;
1842 if(!PyArg_ParseTuple(args
,"sll:wxPoint_Set",&_argc0
,&_arg1
,&_arg2
))
1845 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1854 wxPy_END_ALLOW_THREADS
;
1855 } Py_INCREF(Py_None
);
1856 _resultobj
= Py_None
;
1860 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1861 PyObject
* tup
= PyTuple_New(2);
1862 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1863 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1866 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
) {
1867 PyObject
* _resultobj
;
1873 if(!PyArg_ParseTuple(args
,"s:wxPoint_asTuple",&_argc0
))
1876 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_asTuple. Expected _wxPoint_p.");
1882 wxPy_BEGIN_ALLOW_THREADS
;
1883 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1885 wxPy_END_ALLOW_THREADS
;
1887 _resultobj
= _result
;
1892 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1893 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
) {
1894 PyObject
* _resultobj
;
1903 if(!PyArg_ParseTuple(args
,"|llll:new_wxRect",&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1906 wxPy_BEGIN_ALLOW_THREADS
;
1907 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1909 wxPy_END_ALLOW_THREADS
;
1910 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1911 _resultobj
= Py_BuildValue("s",_ptemp
);
1915 #define delete_wxRect(_swigobj) (delete _swigobj)
1916 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
) {
1917 PyObject
* _resultobj
;
1922 if(!PyArg_ParseTuple(args
,"s:delete_wxRect",&_argc0
))
1925 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 delete_wxRect(_arg0
);
1934 wxPy_END_ALLOW_THREADS
;
1935 } Py_INCREF(Py_None
);
1936 _resultobj
= Py_None
;
1940 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1941 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
) {
1942 PyObject
* _resultobj
;
1948 if(!PyArg_ParseTuple(args
,"s:wxRect_GetX",&_argc0
))
1951 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1957 wxPy_BEGIN_ALLOW_THREADS
;
1958 _result
= (long )wxRect_GetX(_arg0
);
1960 wxPy_END_ALLOW_THREADS
;
1961 } _resultobj
= Py_BuildValue("l",_result
);
1965 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1966 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
) {
1967 PyObject
* _resultobj
;
1973 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetX",&_argc0
,&_arg1
))
1976 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1982 wxPy_BEGIN_ALLOW_THREADS
;
1983 wxRect_SetX(_arg0
,_arg1
);
1985 wxPy_END_ALLOW_THREADS
;
1986 } Py_INCREF(Py_None
);
1987 _resultobj
= Py_None
;
1991 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1992 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
) {
1993 PyObject
* _resultobj
;
1999 if(!PyArg_ParseTuple(args
,"s:wxRect_GetY",&_argc0
))
2002 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 _result
= (long )wxRect_GetY(_arg0
);
2011 wxPy_END_ALLOW_THREADS
;
2012 } _resultobj
= Py_BuildValue("l",_result
);
2016 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2017 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
) {
2018 PyObject
* _resultobj
;
2024 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetY",&_argc0
,&_arg1
))
2027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
2033 wxPy_BEGIN_ALLOW_THREADS
;
2034 wxRect_SetY(_arg0
,_arg1
);
2036 wxPy_END_ALLOW_THREADS
;
2037 } Py_INCREF(Py_None
);
2038 _resultobj
= Py_None
;
2042 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2043 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
) {
2044 PyObject
* _resultobj
;
2050 if(!PyArg_ParseTuple(args
,"s:wxRect_GetWidth",&_argc0
))
2053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
2059 wxPy_BEGIN_ALLOW_THREADS
;
2060 _result
= (long )wxRect_GetWidth(_arg0
);
2062 wxPy_END_ALLOW_THREADS
;
2063 } _resultobj
= Py_BuildValue("l",_result
);
2067 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2068 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
) {
2069 PyObject
* _resultobj
;
2075 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetWidth",&_argc0
,&_arg1
))
2078 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
2084 wxPy_BEGIN_ALLOW_THREADS
;
2085 wxRect_SetWidth(_arg0
,_arg1
);
2087 wxPy_END_ALLOW_THREADS
;
2088 } Py_INCREF(Py_None
);
2089 _resultobj
= Py_None
;
2093 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2094 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
) {
2095 PyObject
* _resultobj
;
2101 if(!PyArg_ParseTuple(args
,"s:wxRect_GetHeight",&_argc0
))
2104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
2110 wxPy_BEGIN_ALLOW_THREADS
;
2111 _result
= (long )wxRect_GetHeight(_arg0
);
2113 wxPy_END_ALLOW_THREADS
;
2114 } _resultobj
= Py_BuildValue("l",_result
);
2118 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2119 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
) {
2120 PyObject
* _resultobj
;
2126 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetHeight",&_argc0
,&_arg1
))
2129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
2135 wxPy_BEGIN_ALLOW_THREADS
;
2136 wxRect_SetHeight(_arg0
,_arg1
);
2138 wxPy_END_ALLOW_THREADS
;
2139 } Py_INCREF(Py_None
);
2140 _resultobj
= Py_None
;
2144 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2145 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
) {
2146 PyObject
* _resultobj
;
2153 if(!PyArg_ParseTuple(args
,"s:wxRect_GetPosition",&_argc0
))
2156 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
2162 wxPy_BEGIN_ALLOW_THREADS
;
2163 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2165 wxPy_END_ALLOW_THREADS
;
2166 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2167 _resultobj
= Py_BuildValue("s",_ptemp
);
2171 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2172 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
) {
2173 PyObject
* _resultobj
;
2180 if(!PyArg_ParseTuple(args
,"s:wxRect_GetSize",&_argc0
))
2183 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
2189 wxPy_BEGIN_ALLOW_THREADS
;
2190 _result
= new wxSize (wxRect_GetSize(_arg0
));
2192 wxPy_END_ALLOW_THREADS
;
2193 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2194 _resultobj
= Py_BuildValue("s",_ptemp
);
2198 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2199 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
) {
2200 PyObject
* _resultobj
;
2206 if(!PyArg_ParseTuple(args
,"s:wxRect_GetLeft",&_argc0
))
2209 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= (long )wxRect_GetLeft(_arg0
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } _resultobj
= Py_BuildValue("l",_result
);
2223 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2224 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
) {
2225 PyObject
* _resultobj
;
2231 if(!PyArg_ParseTuple(args
,"s:wxRect_GetTop",&_argc0
))
2234 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
2240 wxPy_BEGIN_ALLOW_THREADS
;
2241 _result
= (long )wxRect_GetTop(_arg0
);
2243 wxPy_END_ALLOW_THREADS
;
2244 } _resultobj
= Py_BuildValue("l",_result
);
2248 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2249 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
) {
2250 PyObject
* _resultobj
;
2256 if(!PyArg_ParseTuple(args
,"s:wxRect_GetBottom",&_argc0
))
2259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
2265 wxPy_BEGIN_ALLOW_THREADS
;
2266 _result
= (long )wxRect_GetBottom(_arg0
);
2268 wxPy_END_ALLOW_THREADS
;
2269 } _resultobj
= Py_BuildValue("l",_result
);
2273 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2274 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
) {
2275 PyObject
* _resultobj
;
2281 if(!PyArg_ParseTuple(args
,"s:wxRect_GetRight",&_argc0
))
2284 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
2290 wxPy_BEGIN_ALLOW_THREADS
;
2291 _result
= (long )wxRect_GetRight(_arg0
);
2293 wxPy_END_ALLOW_THREADS
;
2294 } _resultobj
= Py_BuildValue("l",_result
);
2298 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2299 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
) {
2300 PyObject
* _resultobj
;
2307 if(!PyArg_ParseTuple(args
,"sl:wxRect_x_set",&_argc0
,&_arg1
))
2310 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
2316 wxPy_BEGIN_ALLOW_THREADS
;
2317 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
2319 wxPy_END_ALLOW_THREADS
;
2320 } _resultobj
= Py_BuildValue("l",_result
);
2324 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
2325 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
) {
2326 PyObject
* _resultobj
;
2332 if(!PyArg_ParseTuple(args
,"s:wxRect_x_get",&_argc0
))
2335 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 _result
= (long )wxRect_x_get(_arg0
);
2344 wxPy_END_ALLOW_THREADS
;
2345 } _resultobj
= Py_BuildValue("l",_result
);
2349 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2350 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
) {
2351 PyObject
* _resultobj
;
2358 if(!PyArg_ParseTuple(args
,"sl:wxRect_y_set",&_argc0
,&_arg1
))
2361 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
2370 wxPy_END_ALLOW_THREADS
;
2371 } _resultobj
= Py_BuildValue("l",_result
);
2375 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
2376 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
) {
2377 PyObject
* _resultobj
;
2383 if(!PyArg_ParseTuple(args
,"s:wxRect_y_get",&_argc0
))
2386 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
2392 wxPy_BEGIN_ALLOW_THREADS
;
2393 _result
= (long )wxRect_y_get(_arg0
);
2395 wxPy_END_ALLOW_THREADS
;
2396 } _resultobj
= Py_BuildValue("l",_result
);
2400 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2401 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
) {
2402 PyObject
* _resultobj
;
2409 if(!PyArg_ParseTuple(args
,"sl:wxRect_width_set",&_argc0
,&_arg1
))
2412 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
2418 wxPy_BEGIN_ALLOW_THREADS
;
2419 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
2421 wxPy_END_ALLOW_THREADS
;
2422 } _resultobj
= Py_BuildValue("l",_result
);
2426 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
2427 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
) {
2428 PyObject
* _resultobj
;
2434 if(!PyArg_ParseTuple(args
,"s:wxRect_width_get",&_argc0
))
2437 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
2443 wxPy_BEGIN_ALLOW_THREADS
;
2444 _result
= (long )wxRect_width_get(_arg0
);
2446 wxPy_END_ALLOW_THREADS
;
2447 } _resultobj
= Py_BuildValue("l",_result
);
2451 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2452 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
) {
2453 PyObject
* _resultobj
;
2460 if(!PyArg_ParseTuple(args
,"sl:wxRect_height_set",&_argc0
,&_arg1
))
2463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2469 wxPy_BEGIN_ALLOW_THREADS
;
2470 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2472 wxPy_END_ALLOW_THREADS
;
2473 } _resultobj
= Py_BuildValue("l",_result
);
2477 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2478 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
) {
2479 PyObject
* _resultobj
;
2485 if(!PyArg_ParseTuple(args
,"s:wxRect_height_get",&_argc0
))
2488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2494 wxPy_BEGIN_ALLOW_THREADS
;
2495 _result
= (long )wxRect_height_get(_arg0
);
2497 wxPy_END_ALLOW_THREADS
;
2498 } _resultobj
= Py_BuildValue("l",_result
);
2502 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2503 PyObject
* tup
= PyTuple_New(4);
2504 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2505 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2506 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->width
));
2507 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->height
));
2510 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
) {
2511 PyObject
* _resultobj
;
2517 if(!PyArg_ParseTuple(args
,"s:wxRect_asTuple",&_argc0
))
2520 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_asTuple. Expected _wxRect_p.");
2526 wxPy_BEGIN_ALLOW_THREADS
;
2527 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2529 wxPy_END_ALLOW_THREADS
;
2531 _resultobj
= _result
;
2536 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2537 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2538 PyObject
* _resultobj
;
2539 wxPyTimer
* _result
;
2541 PyObject
* _obj0
= 0;
2545 if(!PyArg_ParseTuple(args
,"O:new_wxPyTimer",&_obj0
))
2551 wxPy_BEGIN_ALLOW_THREADS
;
2552 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2554 wxPy_END_ALLOW_THREADS
;
2555 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2556 _resultobj
= Py_BuildValue("s",_ptemp
);
2560 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2561 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2562 PyObject
* _resultobj
;
2567 if(!PyArg_ParseTuple(args
,"s:delete_wxPyTimer",&_argc0
))
2570 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2576 wxPy_BEGIN_ALLOW_THREADS
;
2577 delete_wxPyTimer(_arg0
);
2579 wxPy_END_ALLOW_THREADS
;
2580 } Py_INCREF(Py_None
);
2581 _resultobj
= Py_None
;
2585 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2586 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
) {
2587 PyObject
* _resultobj
;
2593 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Interval",&_argc0
))
2596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2602 wxPy_BEGIN_ALLOW_THREADS
;
2603 _result
= (int )wxPyTimer_Interval(_arg0
);
2605 wxPy_END_ALLOW_THREADS
;
2606 } _resultobj
= Py_BuildValue("i",_result
);
2610 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2611 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
) {
2612 PyObject
* _resultobj
;
2619 if(!PyArg_ParseTuple(args
,"s|ii:wxPyTimer_Start",&_argc0
,&_arg1
,&_arg2
))
2622 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2628 wxPy_BEGIN_ALLOW_THREADS
;
2629 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2631 wxPy_END_ALLOW_THREADS
;
2632 } Py_INCREF(Py_None
);
2633 _resultobj
= Py_None
;
2637 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2638 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
) {
2639 PyObject
* _resultobj
;
2644 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Stop",&_argc0
))
2647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2653 wxPy_BEGIN_ALLOW_THREADS
;
2654 wxPyTimer_Stop(_arg0
);
2656 wxPy_END_ALLOW_THREADS
;
2657 } Py_INCREF(Py_None
);
2658 _resultobj
= Py_None
;
2662 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2663 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
) {
2664 PyObject
* _resultobj
;
2665 wxIndividualLayoutConstraint
* _arg0
;
2672 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0
,&_argc1
,&_arg2
))
2675 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2681 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2687 wxPy_BEGIN_ALLOW_THREADS
;
2688 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2690 wxPy_END_ALLOW_THREADS
;
2691 } Py_INCREF(Py_None
);
2692 _resultobj
= Py_None
;
2696 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2697 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
) {
2698 PyObject
* _resultobj
;
2699 wxIndividualLayoutConstraint
* _arg0
;
2704 if(!PyArg_ParseTuple(args
,"si:wxIndividualLayoutConstraint_Absolute",&_argc0
,&_arg1
))
2707 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2713 wxPy_BEGIN_ALLOW_THREADS
;
2714 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2716 wxPy_END_ALLOW_THREADS
;
2717 } Py_INCREF(Py_None
);
2718 _resultobj
= Py_None
;
2722 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2723 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
) {
2724 PyObject
* _resultobj
;
2725 wxIndividualLayoutConstraint
* _arg0
;
2729 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_AsIs",&_argc0
))
2732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2738 wxPy_BEGIN_ALLOW_THREADS
;
2739 wxIndividualLayoutConstraint_AsIs(_arg0
);
2741 wxPy_END_ALLOW_THREADS
;
2742 } Py_INCREF(Py_None
);
2743 _resultobj
= Py_None
;
2747 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2748 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
) {
2749 PyObject
* _resultobj
;
2750 wxIndividualLayoutConstraint
* _arg0
;
2757 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0
,&_argc1
,&_arg2
))
2760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2766 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2772 wxPy_BEGIN_ALLOW_THREADS
;
2773 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2775 wxPy_END_ALLOW_THREADS
;
2776 } Py_INCREF(Py_None
);
2777 _resultobj
= Py_None
;
2781 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2782 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
) {
2783 PyObject
* _resultobj
;
2784 wxIndividualLayoutConstraint
* _arg0
;
2788 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0
))
2791 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } Py_INCREF(Py_None
);
2802 _resultobj
= Py_None
;
2806 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2807 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
) {
2808 PyObject
* _resultobj
;
2809 wxIndividualLayoutConstraint
* _arg0
;
2816 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0
,&_argc1
,&_arg2
))
2819 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2825 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2831 wxPy_BEGIN_ALLOW_THREADS
;
2832 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2834 wxPy_END_ALLOW_THREADS
;
2835 } Py_INCREF(Py_None
);
2836 _resultobj
= Py_None
;
2840 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2841 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
) {
2842 PyObject
* _resultobj
;
2843 wxIndividualLayoutConstraint
* _arg0
;
2851 if(!PyArg_ParseTuple(args
,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2854 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2860 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2866 wxPy_BEGIN_ALLOW_THREADS
;
2867 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2869 wxPy_END_ALLOW_THREADS
;
2870 } Py_INCREF(Py_None
);
2871 _resultobj
= Py_None
;
2875 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2876 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
) {
2877 PyObject
* _resultobj
;
2878 wxIndividualLayoutConstraint
* _arg0
;
2885 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0
,&_argc1
,&_arg2
))
2888 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2894 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2900 wxPy_BEGIN_ALLOW_THREADS
;
2901 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2903 wxPy_END_ALLOW_THREADS
;
2904 } Py_INCREF(Py_None
);
2905 _resultobj
= Py_None
;
2909 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2910 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
) {
2911 PyObject
* _resultobj
;
2912 wxIndividualLayoutConstraint
* _arg0
;
2920 if(!PyArg_ParseTuple(args
,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2923 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2929 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2938 wxPy_END_ALLOW_THREADS
;
2939 } Py_INCREF(Py_None
);
2940 _resultobj
= Py_None
;
2944 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2945 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
) {
2946 PyObject
* _resultobj
;
2947 wxIndividualLayoutConstraint
* _arg0
;
2948 wxRelationship _arg1
;
2957 if(!PyArg_ParseTuple(args
,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
))
2960 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2966 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2972 wxPy_BEGIN_ALLOW_THREADS
;
2973 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2975 wxPy_END_ALLOW_THREADS
;
2976 } Py_INCREF(Py_None
);
2977 _resultobj
= Py_None
;
2981 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2982 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
) {
2983 PyObject
* _resultobj
;
2984 wxLayoutConstraints
* _result
;
2988 if(!PyArg_ParseTuple(args
,":new_wxLayoutConstraints"))
2991 wxPy_BEGIN_ALLOW_THREADS
;
2992 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2994 wxPy_END_ALLOW_THREADS
;
2995 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2996 _resultobj
= Py_BuildValue("s",_ptemp
);
3000 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3001 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
) {
3002 PyObject
* _resultobj
;
3003 wxIndividualLayoutConstraint
* _result
;
3004 wxLayoutConstraints
* _arg0
;
3009 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_bottom_get",&_argc0
))
3012 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3018 wxPy_BEGIN_ALLOW_THREADS
;
3019 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3021 wxPy_END_ALLOW_THREADS
;
3022 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3023 _resultobj
= Py_BuildValue("s",_ptemp
);
3027 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3028 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
) {
3029 PyObject
* _resultobj
;
3030 wxIndividualLayoutConstraint
* _result
;
3031 wxLayoutConstraints
* _arg0
;
3036 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreX_get",&_argc0
))
3039 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3045 wxPy_BEGIN_ALLOW_THREADS
;
3046 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3048 wxPy_END_ALLOW_THREADS
;
3049 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3050 _resultobj
= Py_BuildValue("s",_ptemp
);
3054 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3055 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
) {
3056 PyObject
* _resultobj
;
3057 wxIndividualLayoutConstraint
* _result
;
3058 wxLayoutConstraints
* _arg0
;
3063 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreY_get",&_argc0
))
3066 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3072 wxPy_BEGIN_ALLOW_THREADS
;
3073 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3075 wxPy_END_ALLOW_THREADS
;
3076 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3077 _resultobj
= Py_BuildValue("s",_ptemp
);
3081 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3082 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
) {
3083 PyObject
* _resultobj
;
3084 wxIndividualLayoutConstraint
* _result
;
3085 wxLayoutConstraints
* _arg0
;
3090 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_height_get",&_argc0
))
3093 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3102 wxPy_END_ALLOW_THREADS
;
3103 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3104 _resultobj
= Py_BuildValue("s",_ptemp
);
3108 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3109 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
) {
3110 PyObject
* _resultobj
;
3111 wxIndividualLayoutConstraint
* _result
;
3112 wxLayoutConstraints
* _arg0
;
3117 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_left_get",&_argc0
))
3120 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3129 wxPy_END_ALLOW_THREADS
;
3130 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3131 _resultobj
= Py_BuildValue("s",_ptemp
);
3135 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3136 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
) {
3137 PyObject
* _resultobj
;
3138 wxIndividualLayoutConstraint
* _result
;
3139 wxLayoutConstraints
* _arg0
;
3144 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_right_get",&_argc0
))
3147 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3153 wxPy_BEGIN_ALLOW_THREADS
;
3154 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3156 wxPy_END_ALLOW_THREADS
;
3157 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3158 _resultobj
= Py_BuildValue("s",_ptemp
);
3162 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3163 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
) {
3164 PyObject
* _resultobj
;
3165 wxIndividualLayoutConstraint
* _result
;
3166 wxLayoutConstraints
* _arg0
;
3171 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_top_get",&_argc0
))
3174 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3180 wxPy_BEGIN_ALLOW_THREADS
;
3181 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3183 wxPy_END_ALLOW_THREADS
;
3184 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3185 _resultobj
= Py_BuildValue("s",_ptemp
);
3189 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3190 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
) {
3191 PyObject
* _resultobj
;
3192 wxIndividualLayoutConstraint
* _result
;
3193 wxLayoutConstraints
* _arg0
;
3198 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_width_get",&_argc0
))
3201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3207 wxPy_BEGIN_ALLOW_THREADS
;
3208 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3210 wxPy_END_ALLOW_THREADS
;
3211 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3212 _resultobj
= Py_BuildValue("s",_ptemp
);
3216 #define new_wxRegion() (new wxRegion())
3217 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
) {
3218 PyObject
* _resultobj
;
3223 if(!PyArg_ParseTuple(args
,":new_wxRegion"))
3226 wxPy_BEGIN_ALLOW_THREADS
;
3227 _result
= (wxRegion
*)new_wxRegion();
3229 wxPy_END_ALLOW_THREADS
;
3230 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3231 _resultobj
= Py_BuildValue("s",_ptemp
);
3235 #define delete_wxRegion(_swigobj) (delete _swigobj)
3236 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
) {
3237 PyObject
* _resultobj
;
3242 if(!PyArg_ParseTuple(args
,"s:delete_wxRegion",&_argc0
))
3245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3251 wxPy_BEGIN_ALLOW_THREADS
;
3252 delete_wxRegion(_arg0
);
3254 wxPy_END_ALLOW_THREADS
;
3255 } Py_INCREF(Py_None
);
3256 _resultobj
= Py_None
;
3260 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3261 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
) {
3262 PyObject
* _resultobj
;
3267 if(!PyArg_ParseTuple(args
,"s:wxRegion_Clear",&_argc0
))
3270 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3276 wxPy_BEGIN_ALLOW_THREADS
;
3277 wxRegion_Clear(_arg0
);
3279 wxPy_END_ALLOW_THREADS
;
3280 } Py_INCREF(Py_None
);
3281 _resultobj
= Py_None
;
3285 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3286 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
) {
3287 PyObject
* _resultobj
;
3288 wxRegionContain _result
;
3295 if(!PyArg_ParseTuple(args
,"sll:wxRegion_Contains",&_argc0
,&_arg1
,&_arg2
))
3298 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3304 wxPy_BEGIN_ALLOW_THREADS
;
3305 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3307 wxPy_END_ALLOW_THREADS
;
3308 } _resultobj
= Py_BuildValue("i",_result
);
3312 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3313 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
) {
3314 PyObject
* _resultobj
;
3315 wxRegionContain _result
;
3322 if(!PyArg_ParseTuple(args
,"ss:wxRegion_ContainsPoint",&_argc0
,&_argc1
))
3325 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3331 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p.");
3337 wxPy_BEGIN_ALLOW_THREADS
;
3338 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3340 wxPy_END_ALLOW_THREADS
;
3341 } _resultobj
= Py_BuildValue("i",_result
);
3345 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3346 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
) {
3347 PyObject
* _resultobj
;
3348 wxRegionContain _result
;
3355 if(!PyArg_ParseTuple(args
,"ss:wxRegion_ContainsRect",&_argc0
,&_argc1
))
3358 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3364 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("i",_result
);
3378 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3379 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
) {
3380 PyObject
* _resultobj
;
3387 if(!PyArg_ParseTuple(args
,"s:wxRegion_GetBox",&_argc0
))
3390 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3396 wxPy_BEGIN_ALLOW_THREADS
;
3397 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3399 wxPy_END_ALLOW_THREADS
;
3400 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3401 _resultobj
= Py_BuildValue("s",_ptemp
);
3405 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3406 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
) {
3407 PyObject
* _resultobj
;
3415 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Intersect",&_argc0
,&_argc1
))
3418 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3424 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p.");
3430 wxPy_BEGIN_ALLOW_THREADS
;
3431 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
3433 wxPy_END_ALLOW_THREADS
;
3434 } _resultobj
= Py_BuildValue("i",_result
);
3438 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3439 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
) {
3440 PyObject
* _resultobj
;
3446 if(!PyArg_ParseTuple(args
,"s:wxRegion_IsEmpty",&_argc0
))
3449 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3455 wxPy_BEGIN_ALLOW_THREADS
;
3456 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3458 wxPy_END_ALLOW_THREADS
;
3459 } _resultobj
= Py_BuildValue("i",_result
);
3463 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3464 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
) {
3465 PyObject
* _resultobj
;
3473 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Subtract",&_argc0
,&_argc1
))
3476 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3482 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p.");
3488 wxPy_BEGIN_ALLOW_THREADS
;
3489 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
3491 wxPy_END_ALLOW_THREADS
;
3492 } _resultobj
= Py_BuildValue("i",_result
);
3496 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3497 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
) {
3498 PyObject
* _resultobj
;
3506 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Union",&_argc0
,&_argc1
))
3509 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3515 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p.");
3521 wxPy_BEGIN_ALLOW_THREADS
;
3522 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
3524 wxPy_END_ALLOW_THREADS
;
3525 } _resultobj
= Py_BuildValue("i",_result
);
3529 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3530 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
) {
3531 PyObject
* _resultobj
;
3539 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Xor",&_argc0
,&_argc1
))
3542 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3548 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p.");
3554 wxPy_BEGIN_ALLOW_THREADS
;
3555 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
3557 wxPy_END_ALLOW_THREADS
;
3558 } _resultobj
= Py_BuildValue("i",_result
);
3562 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3563 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
3564 PyObject
* _resultobj
;
3565 wxRegionIterator
* _result
;
3571 if(!PyArg_ParseTuple(args
,"s:new_wxRegionIterator",&_argc0
))
3574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3580 wxPy_BEGIN_ALLOW_THREADS
;
3581 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3583 wxPy_END_ALLOW_THREADS
;
3584 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3585 _resultobj
= Py_BuildValue("s",_ptemp
);
3589 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3590 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
3591 PyObject
* _resultobj
;
3592 wxRegionIterator
* _arg0
;
3596 if(!PyArg_ParseTuple(args
,"s:delete_wxRegionIterator",&_argc0
))
3599 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3605 wxPy_BEGIN_ALLOW_THREADS
;
3606 delete_wxRegionIterator(_arg0
);
3608 wxPy_END_ALLOW_THREADS
;
3609 } Py_INCREF(Py_None
);
3610 _resultobj
= Py_None
;
3614 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3615 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
) {
3616 PyObject
* _resultobj
;
3618 wxRegionIterator
* _arg0
;
3622 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetX",&_argc0
))
3625 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3631 wxPy_BEGIN_ALLOW_THREADS
;
3632 _result
= (long )wxRegionIterator_GetX(_arg0
);
3634 wxPy_END_ALLOW_THREADS
;
3635 } _resultobj
= Py_BuildValue("l",_result
);
3639 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3640 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
) {
3641 PyObject
* _resultobj
;
3643 wxRegionIterator
* _arg0
;
3647 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetY",&_argc0
))
3650 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3656 wxPy_BEGIN_ALLOW_THREADS
;
3657 _result
= (long )wxRegionIterator_GetY(_arg0
);
3659 wxPy_END_ALLOW_THREADS
;
3660 } _resultobj
= Py_BuildValue("l",_result
);
3664 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3665 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
) {
3666 PyObject
* _resultobj
;
3668 wxRegionIterator
* _arg0
;
3672 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetW",&_argc0
))
3675 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3681 wxPy_BEGIN_ALLOW_THREADS
;
3682 _result
= (long )wxRegionIterator_GetW(_arg0
);
3684 wxPy_END_ALLOW_THREADS
;
3685 } _resultobj
= Py_BuildValue("l",_result
);
3689 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3690 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
) {
3691 PyObject
* _resultobj
;
3693 wxRegionIterator
* _arg0
;
3697 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetWidth",&_argc0
))
3700 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3706 wxPy_BEGIN_ALLOW_THREADS
;
3707 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3709 wxPy_END_ALLOW_THREADS
;
3710 } _resultobj
= Py_BuildValue("l",_result
);
3714 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3715 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
) {
3716 PyObject
* _resultobj
;
3718 wxRegionIterator
* _arg0
;
3722 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetH",&_argc0
))
3725 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3731 wxPy_BEGIN_ALLOW_THREADS
;
3732 _result
= (long )wxRegionIterator_GetH(_arg0
);
3734 wxPy_END_ALLOW_THREADS
;
3735 } _resultobj
= Py_BuildValue("l",_result
);
3739 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3740 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
) {
3741 PyObject
* _resultobj
;
3743 wxRegionIterator
* _arg0
;
3747 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetHeight",&_argc0
))
3750 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3756 wxPy_BEGIN_ALLOW_THREADS
;
3757 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3759 wxPy_END_ALLOW_THREADS
;
3760 } _resultobj
= Py_BuildValue("l",_result
);
3764 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3765 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
) {
3766 PyObject
* _resultobj
;
3768 wxRegionIterator
* _arg0
;
3773 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetRect",&_argc0
))
3776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3782 wxPy_BEGIN_ALLOW_THREADS
;
3783 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3785 wxPy_END_ALLOW_THREADS
;
3786 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3787 _resultobj
= Py_BuildValue("s",_ptemp
);
3791 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3792 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
) {
3793 PyObject
* _resultobj
;
3795 wxRegionIterator
* _arg0
;
3799 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_HaveRects",&_argc0
))
3802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
3808 wxPy_BEGIN_ALLOW_THREADS
;
3809 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
3811 wxPy_END_ALLOW_THREADS
;
3812 } _resultobj
= Py_BuildValue("i",_result
);
3816 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
3817 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
) {
3818 PyObject
* _resultobj
;
3819 wxRegionIterator
* _arg0
;
3823 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_Reset",&_argc0
))
3826 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
3832 wxPy_BEGIN_ALLOW_THREADS
;
3833 wxRegionIterator_Reset(_arg0
);
3835 wxPy_END_ALLOW_THREADS
;
3836 } Py_INCREF(Py_None
);
3837 _resultobj
= Py_None
;
3841 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
3844 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
) {
3845 PyObject
* _resultobj
;
3846 wxRegionIterator
* _arg0
;
3850 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_Next",&_argc0
))
3853 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
3859 wxPy_BEGIN_ALLOW_THREADS
;
3860 wxRegionIterator_Next(_arg0
);
3862 wxPy_END_ALLOW_THREADS
;
3863 } Py_INCREF(Py_None
);
3864 _resultobj
= Py_None
;
3868 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3869 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
) {
3870 PyObject
* _resultobj
;
3871 wxAcceleratorEntry
* _result
;
3878 if(!PyArg_ParseTuple(args
,"|iii:new_wxAcceleratorEntry",&_arg0
,&_arg1
,&_arg2
))
3881 wxPy_BEGIN_ALLOW_THREADS
;
3882 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3884 wxPy_END_ALLOW_THREADS
;
3885 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3886 _resultobj
= Py_BuildValue("s",_ptemp
);
3890 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3891 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
) {
3892 PyObject
* _resultobj
;
3893 wxAcceleratorEntry
* _arg0
;
3900 if(!PyArg_ParseTuple(args
,"siii:wxAcceleratorEntry_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
3903 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3909 wxPy_BEGIN_ALLOW_THREADS
;
3910 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3912 wxPy_END_ALLOW_THREADS
;
3913 } Py_INCREF(Py_None
);
3914 _resultobj
= Py_None
;
3918 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3919 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
) {
3920 PyObject
* _resultobj
;
3922 wxAcceleratorEntry
* _arg0
;
3926 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetFlags",&_argc0
))
3929 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3935 wxPy_BEGIN_ALLOW_THREADS
;
3936 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3938 wxPy_END_ALLOW_THREADS
;
3939 } _resultobj
= Py_BuildValue("i",_result
);
3943 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3944 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
) {
3945 PyObject
* _resultobj
;
3947 wxAcceleratorEntry
* _arg0
;
3951 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetKeyCode",&_argc0
))
3954 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3960 wxPy_BEGIN_ALLOW_THREADS
;
3961 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3963 wxPy_END_ALLOW_THREADS
;
3964 } _resultobj
= Py_BuildValue("i",_result
);
3968 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3969 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
) {
3970 PyObject
* _resultobj
;
3972 wxAcceleratorEntry
* _arg0
;
3976 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetCommand",&_argc0
))
3979 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3985 wxPy_BEGIN_ALLOW_THREADS
;
3986 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3988 wxPy_END_ALLOW_THREADS
;
3989 } _resultobj
= Py_BuildValue("i",_result
);
3993 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3994 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
) {
3995 PyObject
* _resultobj
;
3996 wxAcceleratorTable
* _result
;
3998 wxAcceleratorEntry
* _arg1
;
3999 PyObject
* _obj1
= 0;
4003 if(!PyArg_ParseTuple(args
,"O:new_wxAcceleratorTable",&_obj1
))
4007 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4008 if (_arg1
== NULL
) {
4014 _arg0
= PyList_Size(_obj1
);
4021 wxPy_BEGIN_ALLOW_THREADS
;
4022 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4024 wxPy_END_ALLOW_THREADS
;
4025 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4026 _resultobj
= Py_BuildValue("s",_ptemp
);
4033 static PyMethodDef misccMethods
[] = {
4034 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable
, 1 },
4035 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand
, 1 },
4036 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode
, 1 },
4037 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags
, 1 },
4038 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set
, 1 },
4039 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry
, 1 },
4040 { "wxRegionIterator_Next", _wrap_wxRegionIterator_Next
, 1 },
4041 { "wxRegionIterator_Reset", _wrap_wxRegionIterator_Reset
, 1 },
4042 { "wxRegionIterator_HaveRects", _wrap_wxRegionIterator_HaveRects
, 1 },
4043 { "wxRegionIterator_GetRect", _wrap_wxRegionIterator_GetRect
, 1 },
4044 { "wxRegionIterator_GetHeight", _wrap_wxRegionIterator_GetHeight
, 1 },
4045 { "wxRegionIterator_GetH", _wrap_wxRegionIterator_GetH
, 1 },
4046 { "wxRegionIterator_GetWidth", _wrap_wxRegionIterator_GetWidth
, 1 },
4047 { "wxRegionIterator_GetW", _wrap_wxRegionIterator_GetW
, 1 },
4048 { "wxRegionIterator_GetY", _wrap_wxRegionIterator_GetY
, 1 },
4049 { "wxRegionIterator_GetX", _wrap_wxRegionIterator_GetX
, 1 },
4050 { "delete_wxRegionIterator", _wrap_delete_wxRegionIterator
, 1 },
4051 { "new_wxRegionIterator", _wrap_new_wxRegionIterator
, 1 },
4052 { "wxRegion_Xor", _wrap_wxRegion_Xor
, 1 },
4053 { "wxRegion_Union", _wrap_wxRegion_Union
, 1 },
4054 { "wxRegion_Subtract", _wrap_wxRegion_Subtract
, 1 },
4055 { "wxRegion_IsEmpty", _wrap_wxRegion_IsEmpty
, 1 },
4056 { "wxRegion_Intersect", _wrap_wxRegion_Intersect
, 1 },
4057 { "wxRegion_GetBox", _wrap_wxRegion_GetBox
, 1 },
4058 { "wxRegion_ContainsRect", _wrap_wxRegion_ContainsRect
, 1 },
4059 { "wxRegion_ContainsPoint", _wrap_wxRegion_ContainsPoint
, 1 },
4060 { "wxRegion_Contains", _wrap_wxRegion_Contains
, 1 },
4061 { "wxRegion_Clear", _wrap_wxRegion_Clear
, 1 },
4062 { "delete_wxRegion", _wrap_delete_wxRegion
, 1 },
4063 { "new_wxRegion", _wrap_new_wxRegion
, 1 },
4064 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get
, 1 },
4065 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get
, 1 },
4066 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get
, 1 },
4067 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get
, 1 },
4068 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get
, 1 },
4069 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get
, 1 },
4070 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get
, 1 },
4071 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get
, 1 },
4072 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints
, 1 },
4073 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set
, 1 },
4074 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs
, 1 },
4075 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf
, 1 },
4076 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf
, 1 },
4077 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf
, 1 },
4078 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained
, 1 },
4079 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below
, 1 },
4080 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs
, 1 },
4081 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute
, 1 },
4082 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above
, 1 },
4083 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop
, 1 },
4084 { "wxPyTimer_Start", _wrap_wxPyTimer_Start
, 1 },
4085 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval
, 1 },
4086 { "delete_wxPyTimer", _wrap_delete_wxPyTimer
, 1 },
4087 { "new_wxPyTimer", _wrap_new_wxPyTimer
, 1 },
4088 { "wxRect_asTuple", _wrap_wxRect_asTuple
, 1 },
4089 { "wxRect_height_get", _wrap_wxRect_height_get
, 1 },
4090 { "wxRect_height_set", _wrap_wxRect_height_set
, 1 },
4091 { "wxRect_width_get", _wrap_wxRect_width_get
, 1 },
4092 { "wxRect_width_set", _wrap_wxRect_width_set
, 1 },
4093 { "wxRect_y_get", _wrap_wxRect_y_get
, 1 },
4094 { "wxRect_y_set", _wrap_wxRect_y_set
, 1 },
4095 { "wxRect_x_get", _wrap_wxRect_x_get
, 1 },
4096 { "wxRect_x_set", _wrap_wxRect_x_set
, 1 },
4097 { "wxRect_GetRight", _wrap_wxRect_GetRight
, 1 },
4098 { "wxRect_GetBottom", _wrap_wxRect_GetBottom
, 1 },
4099 { "wxRect_GetTop", _wrap_wxRect_GetTop
, 1 },
4100 { "wxRect_GetLeft", _wrap_wxRect_GetLeft
, 1 },
4101 { "wxRect_GetSize", _wrap_wxRect_GetSize
, 1 },
4102 { "wxRect_GetPosition", _wrap_wxRect_GetPosition
, 1 },
4103 { "wxRect_SetHeight", _wrap_wxRect_SetHeight
, 1 },
4104 { "wxRect_GetHeight", _wrap_wxRect_GetHeight
, 1 },
4105 { "wxRect_SetWidth", _wrap_wxRect_SetWidth
, 1 },
4106 { "wxRect_GetWidth", _wrap_wxRect_GetWidth
, 1 },
4107 { "wxRect_SetY", _wrap_wxRect_SetY
, 1 },
4108 { "wxRect_GetY", _wrap_wxRect_GetY
, 1 },
4109 { "wxRect_SetX", _wrap_wxRect_SetX
, 1 },
4110 { "wxRect_GetX", _wrap_wxRect_GetX
, 1 },
4111 { "delete_wxRect", _wrap_delete_wxRect
, 1 },
4112 { "new_wxRect", _wrap_new_wxRect
, 1 },
4113 { "wxPoint_asTuple", _wrap_wxPoint_asTuple
, 1 },
4114 { "wxPoint_Set", _wrap_wxPoint_Set
, 1 },
4115 { "delete_wxPoint", _wrap_delete_wxPoint
, 1 },
4116 { "new_wxPoint", _wrap_new_wxPoint
, 1 },
4117 { "wxPoint_y_get", _wrap_wxPoint_y_get
, 1 },
4118 { "wxPoint_y_set", _wrap_wxPoint_y_set
, 1 },
4119 { "wxPoint_x_get", _wrap_wxPoint_x_get
, 1 },
4120 { "wxPoint_x_set", _wrap_wxPoint_x_set
, 1 },
4121 { "delete_wxRealPoint", _wrap_delete_wxRealPoint
, 1 },
4122 { "new_wxRealPoint", _wrap_new_wxRealPoint
, 1 },
4123 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get
, 1 },
4124 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set
, 1 },
4125 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get
, 1 },
4126 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set
, 1 },
4127 { "wxSize_asTuple", _wrap_wxSize_asTuple
, 1 },
4128 { "wxSize_SetHeight", _wrap_wxSize_SetHeight
, 1 },
4129 { "wxSize_SetWidth", _wrap_wxSize_SetWidth
, 1 },
4130 { "wxSize_GetHeight", _wrap_wxSize_GetHeight
, 1 },
4131 { "wxSize_GetWidth", _wrap_wxSize_GetWidth
, 1 },
4132 { "wxSize_GetY", _wrap_wxSize_GetY
, 1 },
4133 { "wxSize_GetX", _wrap_wxSize_GetX
, 1 },
4134 { "wxSize_Set", _wrap_wxSize_Set
, 1 },
4135 { "delete_wxSize", _wrap_delete_wxSize
, 1 },
4136 { "new_wxSize", _wrap_new_wxSize
, 1 },
4137 { "wxSize_height_get", _wrap_wxSize_y_get
, 1 },
4138 { "wxSize_height_set", _wrap_wxSize_y_set
, 1 },
4139 { "wxSize_width_get", _wrap_wxSize_x_get
, 1 },
4140 { "wxSize_width_set", _wrap_wxSize_x_set
, 1 },
4141 { "wxSize_y_get", _wrap_wxSize_y_get
, 1 },
4142 { "wxSize_y_set", _wrap_wxSize_y_set
, 1 },
4143 { "wxSize_x_get", _wrap_wxSize_x_get
, 1 },
4144 { "wxSize_x_set", _wrap_wxSize_x_set
, 1 },
4145 { "wxResourceParseString", _wrap_wxResourceParseString
, 1 },
4146 { "wxResourceParseFile", _wrap_wxResourceParseFile
, 1 },
4147 { "wxResourceParseData", _wrap_wxResourceParseData
, 1 },
4148 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier
, 1 },
4149 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar
, 1 },
4150 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon
, 1 },
4151 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap
, 1 },
4152 { "wxResourceClear", _wrap_wxResourceClear
, 1 },
4153 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier
, 1 },
4154 { "wxGetResource", _wrap_wxGetResource
, 1 },
4155 { "wxEnableTopLevelWindows", _wrap_wxEnableTopLevelWindows
, 1 },
4156 { "wxSafeYield", _wrap_wxSafeYield
, 1 },
4157 { "wxYield", _wrap_wxYield
, 1 },
4158 { "wxSleep", _wrap_wxSleep
, 1 },
4159 { "wxGetOsVersion", _wrap_wxGetOsVersion
, 1 },
4160 { "wxStartTimer", _wrap_wxStartTimer
, 1 },
4161 { "wxShell", _wrap_wxShell
, 1 },
4162 { "wxNow", _wrap_wxNow
, 1 },
4163 { "wxIsBusy", _wrap_wxIsBusy
, 1 },
4164 { "wxGetMousePosition", _wrap_wxGetMousePosition
, 1 },
4165 { "wxGetFreeMemory", _wrap_wxGetFreeMemory
, 1 },
4166 { "wxGetElapsedTime", _wrap_wxGetElapsedTime
, 1 },
4167 { "wxGetActiveWindow", _wrap_wxGetActiveWindow
, 1 },
4168 { "wxExecute", _wrap_wxExecute
, 1 },
4169 { "wxEndBusyCursor", _wrap_wxEndBusyCursor
, 1 },
4170 { "wxDisplaySize", _wrap_wxDisplaySize
, 1 },
4171 { "wxBell", _wrap_wxBell
, 1 },
4172 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor
, 1 },
4173 { "RegisterId", _wrap_RegisterId
, 1 },
4174 { "NewId", _wrap_NewId
, 1 },
4175 { "wxRegisterId", _wrap_wxRegisterId
, 1 },
4176 { "wxNewId", _wrap_wxNewId
, 1 },
4177 { "wxSetCursor", _wrap_wxSetCursor
, 1 },
4178 { "wxDisplayDepth", _wrap_wxDisplayDepth
, 1 },
4179 { "wxColourDisplay", _wrap_wxColourDisplay
, 1 },
4180 { "wxMessageBox", _wrap_wxMessageBox
, 1 },
4181 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex
, 1 },
4182 { "wxGetSingleChoice", _wrap_wxGetSingleChoice
, 1 },
4183 { "wxGetTextFromUser", _wrap_wxGetTextFromUser
, 1 },
4184 { "wxFileSelector", _wrap_wxFileSelector
, 1 },
4187 static PyObject
*SWIG_globals
;
4191 SWIGEXPORT(void,initmiscc
)() {
4193 SWIG_globals
= SWIG_newvarlink();
4194 m
= Py_InitModule("miscc", misccMethods
);
4195 d
= PyModule_GetDict(m
);
4196 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4197 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4198 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4199 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4200 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4201 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4202 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4203 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4204 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4205 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4206 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4207 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4208 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4209 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4210 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4211 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4212 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4213 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4214 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4215 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4216 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4217 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4219 * These are the pointer type-equivalency mappings.
4220 * (Used by the SWIG pointer type-checker).
4222 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4223 SWIG_RegisterMapping("_signed_long","_long",0);
4224 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
4225 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
4226 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
4227 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
4228 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
4229 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
4230 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
4231 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4232 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4233 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4234 SWIG_RegisterMapping("_long","_unsigned_long",0);
4235 SWIG_RegisterMapping("_long","_signed_long",0);
4236 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4237 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
4238 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
4239 SWIG_RegisterMapping("_size_t","_int",0);
4240 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
4241 SWIG_RegisterMapping("_size_t","_uint",0);
4242 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4243 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
4244 SWIG_RegisterMapping("_uint","_size_t",0);
4245 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4246 SWIG_RegisterMapping("_uint","_int",0);
4247 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4248 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4249 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4250 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4251 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4252 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
4253 SWIG_RegisterMapping("_EBool","_signed_int",0);
4254 SWIG_RegisterMapping("_EBool","_int",0);
4255 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4256 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4257 SWIG_RegisterMapping("_unsigned_long","_long",0);
4258 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4259 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4260 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4261 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
4262 SWIG_RegisterMapping("_signed_int","_EBool",0);
4263 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4264 SWIG_RegisterMapping("_signed_int","_int",0);
4265 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4266 SWIG_RegisterMapping("_WXTYPE","_short",0);
4267 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4268 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4269 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4270 SWIG_RegisterMapping("_unsigned_short","_short",0);
4271 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4272 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4273 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4274 SWIG_RegisterMapping("_signed_short","_short",0);
4275 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4276 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4277 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
4278 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
4279 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4280 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4281 SWIG_RegisterMapping("_unsigned_int","_int",0);
4282 SWIG_RegisterMapping("_short","_WXTYPE",0);
4283 SWIG_RegisterMapping("_short","_unsigned_short",0);
4284 SWIG_RegisterMapping("_short","_signed_short",0);
4285 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
4286 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
4287 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4288 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4289 SWIG_RegisterMapping("_wxWindowID","_int",0);
4290 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4291 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4292 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
4293 SWIG_RegisterMapping("_int","_size_t",0);
4294 SWIG_RegisterMapping("_int","_EBool",0);
4295 SWIG_RegisterMapping("_int","_uint",0);
4296 SWIG_RegisterMapping("_int","_wxWindowID",0);
4297 SWIG_RegisterMapping("_int","_unsigned_int",0);
4298 SWIG_RegisterMapping("_int","_signed_int",0);
4299 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4300 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4301 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4302 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4303 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);