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>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
106 extern byte
* byte_LIST_helper(PyObject
* source
);
107 extern int* int_LIST_helper(PyObject
* source
);
108 extern long* long_LIST_helper(PyObject
* source
);
109 extern char** string_LIST_helper(PyObject
* source
);
110 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
111 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
112 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
116 static char* wxStringErrorMsg
= "string type is required for parameter";
118 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
120 wxGetResource(section
, entry
, &retval
, file
);
123 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
) {
124 PyObject
* _resultobj
;
130 char * _arg4
= "*.*";
132 wxWindow
* _arg6
= NULL
;
138 if(!PyArg_ParseTuple(args
,"s|ssssisii:wxFileSelector",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argc6
,&_arg7
,&_arg8
))
141 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxWindow_p")) {
142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
146 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
148 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
156 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
) {
157 PyObject
* _resultobj
;
160 wxString
* _arg1
= &wxPyEmptyStr
;
161 wxString
* _arg2
= &wxPyEmptyStr
;
162 wxWindow
* _arg3
= NULL
;
166 PyObject
* _obj0
= 0;
167 PyObject
* _obj1
= 0;
168 PyObject
* _obj2
= 0;
173 if(!PyArg_ParseTuple(args
,"O|OOsiii:wxGetTextFromUser",&_obj0
,&_obj1
,&_obj2
,&_argc3
,&_arg4
,&_arg5
,&tempbool6
))
176 if (!PyString_Check(_obj0
)) {
177 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
180 _arg0
= new wxString(PyString_AsString(_obj0
));
184 if (!PyString_Check(_obj1
)) {
185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
188 _arg1
= new wxString(PyString_AsString(_obj1
));
192 if (!PyString_Check(_obj2
)) {
193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
196 _arg2
= new wxString(PyString_AsString(_obj2
));
199 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
204 _arg6
= (bool ) tempbool6
;
205 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
207 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
227 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
) {
228 PyObject
* _resultobj
;
234 wxWindow
* _arg4
= NULL
;
240 PyObject
* _obj0
= 0;
241 PyObject
* _obj1
= 0;
242 PyObject
* _obj3
= 0;
247 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoice",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
250 if (!PyString_Check(_obj0
)) {
251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
254 _arg0
= new wxString(PyString_AsString(_obj0
));
257 if (!PyString_Check(_obj1
)) {
258 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
261 _arg1
= new wxString(PyString_AsString(_obj1
));
265 _arg3
= wxString_LIST_helper(_obj3
);
271 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
276 _arg7
= (bool ) tempbool7
;
278 _arg2
= PyList_Size(_obj3
);
280 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
282 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
301 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
) {
302 PyObject
* _resultobj
;
308 wxWindow
* _arg4
= NULL
;
314 PyObject
* _obj0
= 0;
315 PyObject
* _obj1
= 0;
316 PyObject
* _obj3
= 0;
321 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
324 if (!PyString_Check(_obj0
)) {
325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
328 _arg0
= new wxString(PyString_AsString(_obj0
));
331 if (!PyString_Check(_obj1
)) {
332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
335 _arg1
= new wxString(PyString_AsString(_obj1
));
339 _arg3
= wxString_LIST_helper(_obj3
);
345 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
350 _arg7
= (bool ) tempbool7
;
352 _arg2
= PyList_Size(_obj3
);
354 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
355 _resultobj
= Py_BuildValue("i",_result
);
370 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
) {
371 PyObject
* _resultobj
;
374 wxString
* _arg1
= &wxPyEmptyStr
;
375 int _arg2
= (wxOK
)|(wxCENTRE
);
376 wxWindow
* _arg3
= NULL
;
379 PyObject
* _obj0
= 0;
380 PyObject
* _obj1
= 0;
384 if(!PyArg_ParseTuple(args
,"O|Oisii:wxMessageBox",&_obj0
,&_obj1
,&_arg2
,&_argc3
,&_arg4
,&_arg5
))
387 if (!PyString_Check(_obj0
)) {
388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
391 _arg0
= new wxString(PyString_AsString(_obj0
));
395 if (!PyString_Check(_obj1
)) {
396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
399 _arg1
= new wxString(PyString_AsString(_obj1
));
402 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
407 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
408 _resultobj
= Py_BuildValue("i",_result
);
420 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
) {
421 PyObject
* _resultobj
;
425 if(!PyArg_ParseTuple(args
,":wxColourDisplay"))
427 _result
= (bool )wxColourDisplay();
428 _resultobj
= Py_BuildValue("i",_result
);
432 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
) {
433 PyObject
* _resultobj
;
437 if(!PyArg_ParseTuple(args
,":wxDisplayDepth"))
439 _result
= (int )wxDisplayDepth();
440 _resultobj
= Py_BuildValue("i",_result
);
444 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
) {
445 PyObject
* _resultobj
;
450 if(!PyArg_ParseTuple(args
,"s:wxSetCursor",&_argc0
))
453 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
460 _resultobj
= Py_None
;
464 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
) {
465 PyObject
* _resultobj
;
469 if(!PyArg_ParseTuple(args
,":NewId"))
471 _result
= (long )NewId();
472 _resultobj
= Py_BuildValue("l",_result
);
476 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
) {
477 PyObject
* _resultobj
;
481 if(!PyArg_ParseTuple(args
,"l:RegisterId",&_arg0
))
485 _resultobj
= Py_None
;
489 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
) {
490 PyObject
* _resultobj
;
491 wxCursor
* _arg0
= wxHOURGLASS_CURSOR
;
495 if(!PyArg_ParseTuple(args
,"|s:wxBeginBusyCursor",&_argc0
))
498 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
503 wxBeginBusyCursor(_arg0
);
505 _resultobj
= Py_None
;
509 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
) {
510 PyObject
* _resultobj
;
513 if(!PyArg_ParseTuple(args
,":wxBell"))
517 _resultobj
= Py_None
;
521 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
) {
522 PyObject
* _resultobj
;
535 if(!PyArg_ParseTuple(args
,":wxDisplaySize"))
537 wxDisplaySize(_arg0
,_arg1
);
539 _resultobj
= Py_None
;
542 o
= PyInt_FromLong((long) (*_arg0
));
543 _resultobj
= t_output_helper(_resultobj
, o
);
547 o
= PyInt_FromLong((long) (*_arg1
));
548 _resultobj
= t_output_helper(_resultobj
, o
);
553 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
) {
554 PyObject
* _resultobj
;
557 if(!PyArg_ParseTuple(args
,":wxEndBusyCursor"))
561 _resultobj
= Py_None
;
565 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
) {
566 PyObject
* _resultobj
;
570 PyObject
* _obj0
= 0;
574 if(!PyArg_ParseTuple(args
,"O|i:wxExecute",&_obj0
,&tempbool1
))
577 if (!PyString_Check(_obj0
)) {
578 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
581 _arg0
= new wxString(PyString_AsString(_obj0
));
583 _arg1
= (bool ) tempbool1
;
584 _result
= (long )wxExecute(*_arg0
,_arg1
);
585 _resultobj
= Py_BuildValue("l",_result
);
593 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
) {
594 PyObject
* _resultobj
;
597 wxWindow
* _arg1
= NULL
;
598 PyObject
* _obj0
= 0;
603 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByLabel",&_obj0
,&_argc1
))
606 if (!PyString_Check(_obj0
)) {
607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
610 _arg0
= new wxString(PyString_AsString(_obj0
));
613 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
618 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
620 _resultobj
= Py_BuildValue("s",_ptemp
);
628 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
) {
629 PyObject
* _resultobj
;
632 wxWindow
* _arg1
= NULL
;
633 PyObject
* _obj0
= 0;
638 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByName",&_obj0
,&_argc1
))
641 if (!PyString_Check(_obj0
)) {
642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
645 _arg0
= new wxString(PyString_AsString(_obj0
));
648 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
653 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
655 _resultobj
= Py_BuildValue("s",_ptemp
);
663 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
) {
664 PyObject
* _resultobj
;
669 if(!PyArg_ParseTuple(args
,":wxGetActiveWindow"))
671 _result
= (wxWindow
*)wxGetActiveWindow();
672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
673 _resultobj
= Py_BuildValue("s",_ptemp
);
677 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
) {
678 PyObject
* _resultobj
;
684 if(!PyArg_ParseTuple(args
,"|i:wxGetElapsedTime",&tempbool0
))
686 _arg0
= (bool ) tempbool0
;
687 _result
= (long )wxGetElapsedTime(_arg0
);
688 _resultobj
= Py_BuildValue("l",_result
);
692 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
) {
693 PyObject
* _resultobj
;
697 if(!PyArg_ParseTuple(args
,":wxGetFreeMemory"))
699 _result
= (long )wxGetFreeMemory();
700 _resultobj
= Py_BuildValue("l",_result
);
704 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
) {
705 PyObject
* _resultobj
;
718 if(!PyArg_ParseTuple(args
,":wxGetMousePosition"))
720 wxGetMousePosition(_arg0
,_arg1
);
722 _resultobj
= Py_None
;
725 o
= PyInt_FromLong((long) (*_arg0
));
726 _resultobj
= t_output_helper(_resultobj
, o
);
730 o
= PyInt_FromLong((long) (*_arg1
));
731 _resultobj
= t_output_helper(_resultobj
, o
);
736 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
) {
737 PyObject
* _resultobj
;
741 if(!PyArg_ParseTuple(args
,":wxIsBusy"))
743 _result
= (bool )wxIsBusy();
744 _resultobj
= Py_BuildValue("i",_result
);
748 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
) {
749 PyObject
* _resultobj
;
753 if(!PyArg_ParseTuple(args
,":wxNow"))
755 _result
= new wxString (wxNow());
757 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
765 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
) {
766 PyObject
* _resultobj
;
768 wxString
* _arg0
= &wxPyEmptyStr
;
769 PyObject
* _obj0
= 0;
772 if(!PyArg_ParseTuple(args
,"|O:wxShell",&_obj0
))
776 if (!PyString_Check(_obj0
)) {
777 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
780 _arg0
= new wxString(PyString_AsString(_obj0
));
782 _result
= (bool )wxShell(*_arg0
);
783 _resultobj
= Py_BuildValue("i",_result
);
791 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
) {
792 PyObject
* _resultobj
;
795 if(!PyArg_ParseTuple(args
,":wxStartTimer"))
799 _resultobj
= Py_None
;
803 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
) {
804 PyObject
* _resultobj
;
818 if(!PyArg_ParseTuple(args
,":wxGetOsVersion"))
820 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
821 _resultobj
= Py_BuildValue("i",_result
);
824 o
= PyInt_FromLong((long) (*_arg0
));
825 _resultobj
= t_output_helper(_resultobj
, o
);
829 o
= PyInt_FromLong((long) (*_arg1
));
830 _resultobj
= t_output_helper(_resultobj
, o
);
835 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
) {
836 PyObject
* _resultobj
;
840 if(!PyArg_ParseTuple(args
,":wxYield"))
842 _result
= (bool )wxYield();
843 _resultobj
= Py_BuildValue("i",_result
);
847 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
) {
848 PyObject
* _resultobj
;
855 if(!PyArg_ParseTuple(args
,"ss|s:wxGetResource",&_arg0
,&_arg1
,&_arg2
))
857 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
858 _resultobj
= Py_BuildValue("s", _result
);
862 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
) {
863 PyObject
* _resultobj
;
869 if(!PyArg_ParseTuple(args
,"si:wxResourceAddIdentifier",&_arg0
,&_arg1
))
871 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
872 _resultobj
= Py_BuildValue("i",_result
);
876 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
) {
877 PyObject
* _resultobj
;
880 if(!PyArg_ParseTuple(args
,":wxResourceClear"))
884 _resultobj
= Py_None
;
888 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
) {
889 PyObject
* _resultobj
;
895 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateBitmap",&_arg0
))
897 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
898 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
899 _resultobj
= Py_BuildValue("s",_ptemp
);
903 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
) {
904 PyObject
* _resultobj
;
910 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateIcon",&_arg0
))
912 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
913 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
914 _resultobj
= Py_BuildValue("s",_ptemp
);
918 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
) {
919 PyObject
* _resultobj
;
925 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateMenuBar",&_arg0
))
927 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
929 _resultobj
= Py_BuildValue("s",_ptemp
);
933 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
) {
934 PyObject
* _resultobj
;
939 if(!PyArg_ParseTuple(args
,"s:wxResourceGetIdentifier",&_arg0
))
941 _result
= (int )wxResourceGetIdentifier(_arg0
);
942 _resultobj
= Py_BuildValue("i",_result
);
946 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
) {
947 PyObject
* _resultobj
;
950 wxResourceTable
* _arg1
= NULL
;
954 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseData",&_arg0
,&_argc1
))
957 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
962 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
963 _resultobj
= Py_BuildValue("i",_result
);
967 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
) {
968 PyObject
* _resultobj
;
971 wxResourceTable
* _arg1
= NULL
;
975 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseFile",&_arg0
,&_argc1
))
978 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
983 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
984 _resultobj
= Py_BuildValue("i",_result
);
988 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
) {
989 PyObject
* _resultobj
;
992 wxResourceTable
* _arg1
= NULL
;
996 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseString",&_arg0
,&_argc1
))
999 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1004 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1005 _resultobj
= Py_BuildValue("i",_result
);
1009 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1010 static PyObject
*_wrap_wxSize_width_set(PyObject
*self
, PyObject
*args
) {
1011 PyObject
* _resultobj
;
1018 if(!PyArg_ParseTuple(args
,"sl:wxSize_width_set",&_argc0
,&_arg1
))
1021 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_width_set. Expected _wxSize_p.");
1026 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1027 _resultobj
= Py_BuildValue("l",_result
);
1031 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1032 static PyObject
*_wrap_wxSize_width_get(PyObject
*self
, PyObject
*args
) {
1033 PyObject
* _resultobj
;
1039 if(!PyArg_ParseTuple(args
,"s:wxSize_width_get",&_argc0
))
1042 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_width_get. Expected _wxSize_p.");
1047 _result
= (long )wxSize_x_get(_arg0
);
1048 _resultobj
= Py_BuildValue("l",_result
);
1052 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1053 static PyObject
*_wrap_wxSize_height_set(PyObject
*self
, PyObject
*args
) {
1054 PyObject
* _resultobj
;
1061 if(!PyArg_ParseTuple(args
,"sl:wxSize_height_set",&_argc0
,&_arg1
))
1064 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_height_set. Expected _wxSize_p.");
1069 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1070 _resultobj
= Py_BuildValue("l",_result
);
1074 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1075 static PyObject
*_wrap_wxSize_height_get(PyObject
*self
, PyObject
*args
) {
1076 PyObject
* _resultobj
;
1082 if(!PyArg_ParseTuple(args
,"s:wxSize_height_get",&_argc0
))
1085 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_height_get. Expected _wxSize_p.");
1090 _result
= (long )wxSize_y_get(_arg0
);
1091 _resultobj
= Py_BuildValue("l",_result
);
1095 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1096 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
) {
1097 PyObject
* _resultobj
;
1104 if(!PyArg_ParseTuple(args
,"|ll:new_wxSize",&_arg0
,&_arg1
))
1106 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1108 _resultobj
= Py_BuildValue("s",_ptemp
);
1112 #define delete_wxSize(_swigobj) (delete _swigobj)
1113 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
) {
1114 PyObject
* _resultobj
;
1119 if(!PyArg_ParseTuple(args
,"s:delete_wxSize",&_argc0
))
1122 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1127 delete_wxSize(_arg0
);
1129 _resultobj
= Py_None
;
1133 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1134 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
) {
1135 PyObject
* _resultobj
;
1142 if(!PyArg_ParseTuple(args
,"sll:wxSize_Set",&_argc0
,&_arg1
,&_arg2
))
1145 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1150 wxSize_Set(_arg0
,_arg1
,_arg2
);
1152 _resultobj
= Py_None
;
1156 #define wxSize_GetWidth(_swigobj) (_swigobj->GetX())
1157 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
) {
1158 PyObject
* _resultobj
;
1164 if(!PyArg_ParseTuple(args
,"s:wxSize_GetWidth",&_argc0
))
1167 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1172 _result
= (long )wxSize_GetWidth(_arg0
);
1173 _resultobj
= Py_BuildValue("l",_result
);
1177 #define wxSize_GetHeight(_swigobj) (_swigobj->GetY())
1178 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
) {
1179 PyObject
* _resultobj
;
1185 if(!PyArg_ParseTuple(args
,"s:wxSize_GetHeight",&_argc0
))
1188 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1193 _result
= (long )wxSize_GetHeight(_arg0
);
1194 _resultobj
= Py_BuildValue("l",_result
);
1198 static PyObject
* wxSize___str__(wxSize
*self
) {
1199 PyObject
* tup
= PyTuple_New(2);
1200 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1201 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1204 static PyObject
*_wrap_wxSize___str__(PyObject
*self
, PyObject
*args
) {
1205 PyObject
* _resultobj
;
1211 if(!PyArg_ParseTuple(args
,"s:wxSize___str__",&_argc0
))
1214 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize___str__. Expected _wxSize_p.");
1219 _result
= (PyObject
*)wxSize___str__(_arg0
);
1221 _resultobj
= _result
;
1226 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1227 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
) {
1228 PyObject
* _resultobj
;
1230 wxRealPoint
* _arg0
;
1235 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_x_set",&_argc0
,&_arg1
))
1238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1243 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1244 _resultobj
= Py_BuildValue("d",_result
);
1248 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1249 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
) {
1250 PyObject
* _resultobj
;
1252 wxRealPoint
* _arg0
;
1256 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_x_get",&_argc0
))
1259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1264 _result
= (double )wxRealPoint_x_get(_arg0
);
1265 _resultobj
= Py_BuildValue("d",_result
);
1269 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1270 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
) {
1271 PyObject
* _resultobj
;
1273 wxRealPoint
* _arg0
;
1278 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_y_set",&_argc0
,&_arg1
))
1281 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1286 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1287 _resultobj
= Py_BuildValue("d",_result
);
1291 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1292 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
) {
1293 PyObject
* _resultobj
;
1295 wxRealPoint
* _arg0
;
1299 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_y_get",&_argc0
))
1302 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1307 _result
= (double )wxRealPoint_y_get(_arg0
);
1308 _resultobj
= Py_BuildValue("d",_result
);
1312 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1313 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1314 PyObject
* _resultobj
;
1315 wxRealPoint
* _result
;
1321 if(!PyArg_ParseTuple(args
,"|dd:new_wxRealPoint",&_arg0
,&_arg1
))
1323 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1325 _resultobj
= Py_BuildValue("s",_ptemp
);
1329 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1330 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1331 PyObject
* _resultobj
;
1332 wxRealPoint
* _arg0
;
1336 if(!PyArg_ParseTuple(args
,"s:delete_wxRealPoint",&_argc0
))
1339 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1344 delete_wxRealPoint(_arg0
);
1346 _resultobj
= Py_None
;
1350 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1351 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
) {
1352 PyObject
* _resultobj
;
1359 if(!PyArg_ParseTuple(args
,"sl:wxPoint_x_set",&_argc0
,&_arg1
))
1362 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1367 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1368 _resultobj
= Py_BuildValue("l",_result
);
1372 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1373 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
) {
1374 PyObject
* _resultobj
;
1380 if(!PyArg_ParseTuple(args
,"s:wxPoint_x_get",&_argc0
))
1383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1388 _result
= (long )wxPoint_x_get(_arg0
);
1389 _resultobj
= Py_BuildValue("l",_result
);
1393 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1394 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
) {
1395 PyObject
* _resultobj
;
1402 if(!PyArg_ParseTuple(args
,"sl:wxPoint_y_set",&_argc0
,&_arg1
))
1405 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1410 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1411 _resultobj
= Py_BuildValue("l",_result
);
1415 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1416 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
) {
1417 PyObject
* _resultobj
;
1423 if(!PyArg_ParseTuple(args
,"s:wxPoint_y_get",&_argc0
))
1426 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1431 _result
= (long )wxPoint_y_get(_arg0
);
1432 _resultobj
= Py_BuildValue("l",_result
);
1436 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1437 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
) {
1438 PyObject
* _resultobj
;
1445 if(!PyArg_ParseTuple(args
,"|ll:new_wxPoint",&_arg0
,&_arg1
))
1447 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1449 _resultobj
= Py_BuildValue("s",_ptemp
);
1453 #define delete_wxPoint(_swigobj) (delete _swigobj)
1454 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
) {
1455 PyObject
* _resultobj
;
1460 if(!PyArg_ParseTuple(args
,"s:delete_wxPoint",&_argc0
))
1463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1468 delete_wxPoint(_arg0
);
1470 _resultobj
= Py_None
;
1474 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1478 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
) {
1479 PyObject
* _resultobj
;
1486 if(!PyArg_ParseTuple(args
,"sll:wxPoint_Set",&_argc0
,&_arg1
,&_arg2
))
1489 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1494 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1496 _resultobj
= Py_None
;
1500 static PyObject
* wxPoint___str__(wxPoint
*self
) {
1501 PyObject
* tup
= PyTuple_New(2);
1502 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1503 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1506 static PyObject
*_wrap_wxPoint___str__(PyObject
*self
, PyObject
*args
) {
1507 PyObject
* _resultobj
;
1513 if(!PyArg_ParseTuple(args
,"s:wxPoint___str__",&_argc0
))
1516 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint___str__. Expected _wxPoint_p.");
1521 _result
= (PyObject
*)wxPoint___str__(_arg0
);
1523 _resultobj
= _result
;
1528 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1529 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
) {
1530 PyObject
* _resultobj
;
1539 if(!PyArg_ParseTuple(args
,"|llll:new_wxRect",&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1541 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1543 _resultobj
= Py_BuildValue("s",_ptemp
);
1547 #define delete_wxRect(_swigobj) (delete _swigobj)
1548 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
) {
1549 PyObject
* _resultobj
;
1554 if(!PyArg_ParseTuple(args
,"s:delete_wxRect",&_argc0
))
1557 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1562 delete_wxRect(_arg0
);
1564 _resultobj
= Py_None
;
1568 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1569 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
) {
1570 PyObject
* _resultobj
;
1576 if(!PyArg_ParseTuple(args
,"s:wxRect_GetX",&_argc0
))
1579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1584 _result
= (long )wxRect_GetX(_arg0
);
1585 _resultobj
= Py_BuildValue("l",_result
);
1589 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1590 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
) {
1591 PyObject
* _resultobj
;
1597 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetX",&_argc0
,&_arg1
))
1600 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1605 wxRect_SetX(_arg0
,_arg1
);
1607 _resultobj
= Py_None
;
1611 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1612 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
) {
1613 PyObject
* _resultobj
;
1619 if(!PyArg_ParseTuple(args
,"s:wxRect_GetY",&_argc0
))
1622 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
1627 _result
= (long )wxRect_GetY(_arg0
);
1628 _resultobj
= Py_BuildValue("l",_result
);
1632 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1633 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
) {
1634 PyObject
* _resultobj
;
1640 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetY",&_argc0
,&_arg1
))
1643 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
1648 wxRect_SetY(_arg0
,_arg1
);
1650 _resultobj
= Py_None
;
1654 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1655 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
) {
1656 PyObject
* _resultobj
;
1662 if(!PyArg_ParseTuple(args
,"s:wxRect_GetWidth",&_argc0
))
1665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
1670 _result
= (long )wxRect_GetWidth(_arg0
);
1671 _resultobj
= Py_BuildValue("l",_result
);
1675 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1676 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
) {
1677 PyObject
* _resultobj
;
1683 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetWidth",&_argc0
,&_arg1
))
1686 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
1691 wxRect_SetWidth(_arg0
,_arg1
);
1693 _resultobj
= Py_None
;
1697 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1698 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
) {
1699 PyObject
* _resultobj
;
1705 if(!PyArg_ParseTuple(args
,"s:wxRect_GetHeight",&_argc0
))
1708 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
1713 _result
= (long )wxRect_GetHeight(_arg0
);
1714 _resultobj
= Py_BuildValue("l",_result
);
1718 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1719 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
) {
1720 PyObject
* _resultobj
;
1726 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetHeight",&_argc0
,&_arg1
))
1729 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
1734 wxRect_SetHeight(_arg0
,_arg1
);
1736 _resultobj
= Py_None
;
1740 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1741 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
) {
1742 PyObject
* _resultobj
;
1749 if(!PyArg_ParseTuple(args
,"s:wxRect_GetPosition",&_argc0
))
1752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
1757 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1758 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1759 _resultobj
= Py_BuildValue("s",_ptemp
);
1763 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1764 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
) {
1765 PyObject
* _resultobj
;
1772 if(!PyArg_ParseTuple(args
,"s:wxRect_GetSize",&_argc0
))
1775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
1780 _result
= new wxSize (wxRect_GetSize(_arg0
));
1781 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1782 _resultobj
= Py_BuildValue("s",_ptemp
);
1786 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1787 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
) {
1788 PyObject
* _resultobj
;
1794 if(!PyArg_ParseTuple(args
,"s:wxRect_GetLeft",&_argc0
))
1797 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
1802 _result
= (long )wxRect_GetLeft(_arg0
);
1803 _resultobj
= Py_BuildValue("l",_result
);
1807 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1808 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
) {
1809 PyObject
* _resultobj
;
1815 if(!PyArg_ParseTuple(args
,"s:wxRect_GetTop",&_argc0
))
1818 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
1823 _result
= (long )wxRect_GetTop(_arg0
);
1824 _resultobj
= Py_BuildValue("l",_result
);
1828 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1829 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
) {
1830 PyObject
* _resultobj
;
1836 if(!PyArg_ParseTuple(args
,"s:wxRect_GetBottom",&_argc0
))
1839 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
1844 _result
= (long )wxRect_GetBottom(_arg0
);
1845 _resultobj
= Py_BuildValue("l",_result
);
1849 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1850 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
) {
1851 PyObject
* _resultobj
;
1857 if(!PyArg_ParseTuple(args
,"s:wxRect_GetRight",&_argc0
))
1860 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
1865 _result
= (long )wxRect_GetRight(_arg0
);
1866 _resultobj
= Py_BuildValue("l",_result
);
1870 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1871 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
) {
1872 PyObject
* _resultobj
;
1879 if(!PyArg_ParseTuple(args
,"sl:wxRect_x_set",&_argc0
,&_arg1
))
1882 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
1887 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
1888 _resultobj
= Py_BuildValue("l",_result
);
1892 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
1893 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
) {
1894 PyObject
* _resultobj
;
1900 if(!PyArg_ParseTuple(args
,"s:wxRect_x_get",&_argc0
))
1903 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
1908 _result
= (long )wxRect_x_get(_arg0
);
1909 _resultobj
= Py_BuildValue("l",_result
);
1913 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1914 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
) {
1915 PyObject
* _resultobj
;
1922 if(!PyArg_ParseTuple(args
,"sl:wxRect_y_set",&_argc0
,&_arg1
))
1925 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
1930 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
1931 _resultobj
= Py_BuildValue("l",_result
);
1935 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
1936 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
) {
1937 PyObject
* _resultobj
;
1943 if(!PyArg_ParseTuple(args
,"s:wxRect_y_get",&_argc0
))
1946 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
1951 _result
= (long )wxRect_y_get(_arg0
);
1952 _resultobj
= Py_BuildValue("l",_result
);
1956 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
1957 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
) {
1958 PyObject
* _resultobj
;
1965 if(!PyArg_ParseTuple(args
,"sl:wxRect_width_set",&_argc0
,&_arg1
))
1968 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
1973 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
1974 _resultobj
= Py_BuildValue("l",_result
);
1978 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
1979 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
) {
1980 PyObject
* _resultobj
;
1986 if(!PyArg_ParseTuple(args
,"s:wxRect_width_get",&_argc0
))
1989 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
1994 _result
= (long )wxRect_width_get(_arg0
);
1995 _resultobj
= Py_BuildValue("l",_result
);
1999 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2000 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
) {
2001 PyObject
* _resultobj
;
2008 if(!PyArg_ParseTuple(args
,"sl:wxRect_height_set",&_argc0
,&_arg1
))
2011 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2016 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2017 _resultobj
= Py_BuildValue("l",_result
);
2021 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2022 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
) {
2023 PyObject
* _resultobj
;
2029 if(!PyArg_ParseTuple(args
,"s:wxRect_height_get",&_argc0
))
2032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2037 _result
= (long )wxRect_height_get(_arg0
);
2038 _resultobj
= Py_BuildValue("l",_result
);
2042 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2043 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2044 PyObject
* _resultobj
;
2045 wxPyTimer
* _result
;
2047 PyObject
* _obj0
= 0;
2051 if(!PyArg_ParseTuple(args
,"O:new_wxPyTimer",&_obj0
))
2056 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2058 _resultobj
= Py_BuildValue("s",_ptemp
);
2062 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2063 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2064 PyObject
* _resultobj
;
2069 if(!PyArg_ParseTuple(args
,"s:delete_wxPyTimer",&_argc0
))
2072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2077 delete_wxPyTimer(_arg0
);
2079 _resultobj
= Py_None
;
2083 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2084 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
) {
2085 PyObject
* _resultobj
;
2091 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Interval",&_argc0
))
2094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2099 _result
= (int )wxPyTimer_Interval(_arg0
);
2100 _resultobj
= Py_BuildValue("i",_result
);
2104 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2105 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
) {
2106 PyObject
* _resultobj
;
2113 if(!PyArg_ParseTuple(args
,"s|ii:wxPyTimer_Start",&_argc0
,&_arg1
,&_arg2
))
2116 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2121 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2123 _resultobj
= Py_None
;
2127 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2128 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
) {
2129 PyObject
* _resultobj
;
2134 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Stop",&_argc0
))
2137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2142 wxPyTimer_Stop(_arg0
);
2144 _resultobj
= Py_None
;
2148 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2149 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
) {
2150 PyObject
* _resultobj
;
2151 wxIndividualLayoutConstraint
* _arg0
;
2158 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0
,&_argc1
,&_arg2
))
2161 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2167 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2172 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2174 _resultobj
= Py_None
;
2178 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2179 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
) {
2180 PyObject
* _resultobj
;
2181 wxIndividualLayoutConstraint
* _arg0
;
2186 if(!PyArg_ParseTuple(args
,"si:wxIndividualLayoutConstraint_Absolute",&_argc0
,&_arg1
))
2189 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2194 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2196 _resultobj
= Py_None
;
2200 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2201 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
) {
2202 PyObject
* _resultobj
;
2203 wxIndividualLayoutConstraint
* _arg0
;
2207 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_AsIs",&_argc0
))
2210 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2215 wxIndividualLayoutConstraint_AsIs(_arg0
);
2217 _resultobj
= Py_None
;
2221 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2222 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
) {
2223 PyObject
* _resultobj
;
2224 wxIndividualLayoutConstraint
* _arg0
;
2231 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0
,&_argc1
,&_arg2
))
2234 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2240 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2245 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2247 _resultobj
= Py_None
;
2251 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2252 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
) {
2253 PyObject
* _resultobj
;
2254 wxIndividualLayoutConstraint
* _arg0
;
2258 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0
))
2261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2266 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2268 _resultobj
= Py_None
;
2272 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2273 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
) {
2274 PyObject
* _resultobj
;
2275 wxIndividualLayoutConstraint
* _arg0
;
2282 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0
,&_argc1
,&_arg2
))
2285 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2291 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2296 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2298 _resultobj
= Py_None
;
2302 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2303 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
) {
2304 PyObject
* _resultobj
;
2305 wxIndividualLayoutConstraint
* _arg0
;
2313 if(!PyArg_ParseTuple(args
,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2316 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2322 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2327 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2329 _resultobj
= Py_None
;
2333 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2334 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
) {
2335 PyObject
* _resultobj
;
2336 wxIndividualLayoutConstraint
* _arg0
;
2343 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0
,&_argc1
,&_arg2
))
2346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2352 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2357 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2359 _resultobj
= Py_None
;
2363 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2364 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
) {
2365 PyObject
* _resultobj
;
2366 wxIndividualLayoutConstraint
* _arg0
;
2374 if(!PyArg_ParseTuple(args
,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2383 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2388 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2390 _resultobj
= Py_None
;
2394 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2395 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
) {
2396 PyObject
* _resultobj
;
2397 wxIndividualLayoutConstraint
* _arg0
;
2398 wxRelationship _arg1
;
2407 if(!PyArg_ParseTuple(args
,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
))
2410 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2416 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2421 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2423 _resultobj
= Py_None
;
2427 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2428 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
) {
2429 PyObject
* _resultobj
;
2430 wxLayoutConstraints
* _result
;
2434 if(!PyArg_ParseTuple(args
,":new_wxLayoutConstraints"))
2436 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2438 _resultobj
= Py_BuildValue("s",_ptemp
);
2442 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2443 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
) {
2444 PyObject
* _resultobj
;
2445 wxIndividualLayoutConstraint
* _result
;
2446 wxLayoutConstraints
* _arg0
;
2451 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_bottom_get",&_argc0
))
2454 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2459 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2461 _resultobj
= Py_BuildValue("s",_ptemp
);
2465 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2466 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
) {
2467 PyObject
* _resultobj
;
2468 wxIndividualLayoutConstraint
* _result
;
2469 wxLayoutConstraints
* _arg0
;
2474 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreX_get",&_argc0
))
2477 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2482 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2484 _resultobj
= Py_BuildValue("s",_ptemp
);
2488 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2489 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
) {
2490 PyObject
* _resultobj
;
2491 wxIndividualLayoutConstraint
* _result
;
2492 wxLayoutConstraints
* _arg0
;
2497 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreY_get",&_argc0
))
2500 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2505 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2507 _resultobj
= Py_BuildValue("s",_ptemp
);
2511 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2512 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
) {
2513 PyObject
* _resultobj
;
2514 wxIndividualLayoutConstraint
* _result
;
2515 wxLayoutConstraints
* _arg0
;
2520 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_height_get",&_argc0
))
2523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2528 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2530 _resultobj
= Py_BuildValue("s",_ptemp
);
2534 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2535 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
) {
2536 PyObject
* _resultobj
;
2537 wxIndividualLayoutConstraint
* _result
;
2538 wxLayoutConstraints
* _arg0
;
2543 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_left_get",&_argc0
))
2546 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2551 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2553 _resultobj
= Py_BuildValue("s",_ptemp
);
2557 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2558 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
) {
2559 PyObject
* _resultobj
;
2560 wxIndividualLayoutConstraint
* _result
;
2561 wxLayoutConstraints
* _arg0
;
2566 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_right_get",&_argc0
))
2569 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2574 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
2575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2576 _resultobj
= Py_BuildValue("s",_ptemp
);
2580 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2581 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
) {
2582 PyObject
* _resultobj
;
2583 wxIndividualLayoutConstraint
* _result
;
2584 wxLayoutConstraints
* _arg0
;
2589 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_top_get",&_argc0
))
2592 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
2597 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
2598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2599 _resultobj
= Py_BuildValue("s",_ptemp
);
2603 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
2604 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
) {
2605 PyObject
* _resultobj
;
2606 wxIndividualLayoutConstraint
* _result
;
2607 wxLayoutConstraints
* _arg0
;
2612 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_width_get",&_argc0
))
2615 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
2620 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
2621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2622 _resultobj
= Py_BuildValue("s",_ptemp
);
2626 #define new_wxRegion() (new wxRegion())
2627 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
) {
2628 PyObject
* _resultobj
;
2633 if(!PyArg_ParseTuple(args
,":new_wxRegion"))
2635 _result
= (wxRegion
*)new_wxRegion();
2636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
2637 _resultobj
= Py_BuildValue("s",_ptemp
);
2641 #define delete_wxRegion(_swigobj) (delete _swigobj)
2642 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
) {
2643 PyObject
* _resultobj
;
2648 if(!PyArg_ParseTuple(args
,"s:delete_wxRegion",&_argc0
))
2651 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
2656 delete_wxRegion(_arg0
);
2658 _resultobj
= Py_None
;
2662 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
2663 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
) {
2664 PyObject
* _resultobj
;
2669 if(!PyArg_ParseTuple(args
,"s:wxRegion_Clear",&_argc0
))
2672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
2677 wxRegion_Clear(_arg0
);
2679 _resultobj
= Py_None
;
2683 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
2684 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
) {
2685 PyObject
* _resultobj
;
2686 wxRegionContain _result
;
2693 if(!PyArg_ParseTuple(args
,"sll:wxRegion_Contains",&_argc0
,&_arg1
,&_arg2
))
2696 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
2701 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
2702 _resultobj
= Py_BuildValue("i",_result
);
2706 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
2707 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
) {
2708 PyObject
* _resultobj
;
2709 wxRegionContain _result
;
2716 if(!PyArg_ParseTuple(args
,"ss:wxRegion_ContainsPoint",&_argc0
,&_argc1
))
2719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
2725 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p.");
2730 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
2731 _resultobj
= Py_BuildValue("i",_result
);
2735 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
2736 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
) {
2737 PyObject
* _resultobj
;
2738 wxRegionContain _result
;
2745 if(!PyArg_ParseTuple(args
,"ss:wxRegion_ContainsRect",&_argc0
,&_argc1
))
2748 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
2754 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p.");
2759 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
2760 _resultobj
= Py_BuildValue("i",_result
);
2764 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
2765 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
) {
2766 PyObject
* _resultobj
;
2773 if(!PyArg_ParseTuple(args
,"s:wxRegion_GetBox",&_argc0
))
2776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
2781 _result
= new wxRect (wxRegion_GetBox(_arg0
));
2782 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2783 _resultobj
= Py_BuildValue("s",_ptemp
);
2787 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
2788 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
) {
2789 PyObject
* _resultobj
;
2797 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Intersect",&_argc0
,&_argc1
))
2800 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
2806 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
2807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p.");
2811 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
2812 _resultobj
= Py_BuildValue("i",_result
);
2816 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
2817 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
) {
2818 PyObject
* _resultobj
;
2824 if(!PyArg_ParseTuple(args
,"s:wxRegion_IsEmpty",&_argc0
))
2827 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
2832 _result
= (bool )wxRegion_IsEmpty(_arg0
);
2833 _resultobj
= Py_BuildValue("i",_result
);
2837 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
2838 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
) {
2839 PyObject
* _resultobj
;
2847 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Subtract",&_argc0
,&_argc1
))
2850 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
2856 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p.");
2861 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
2862 _resultobj
= Py_BuildValue("i",_result
);
2866 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
2867 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
) {
2868 PyObject
* _resultobj
;
2876 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Union",&_argc0
,&_argc1
))
2879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
2885 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p.");
2890 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
2891 _resultobj
= Py_BuildValue("i",_result
);
2895 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
2896 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
) {
2897 PyObject
* _resultobj
;
2905 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Xor",&_argc0
,&_argc1
))
2908 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
2914 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p.");
2919 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
2920 _resultobj
= Py_BuildValue("i",_result
);
2924 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
2925 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
2926 PyObject
* _resultobj
;
2927 wxRegionIterator
* _result
;
2933 if(!PyArg_ParseTuple(args
,"s:new_wxRegionIterator",&_argc0
))
2936 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
2941 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
2942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
2943 _resultobj
= Py_BuildValue("s",_ptemp
);
2947 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
2948 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
2949 PyObject
* _resultobj
;
2950 wxRegionIterator
* _arg0
;
2954 if(!PyArg_ParseTuple(args
,"s:delete_wxRegionIterator",&_argc0
))
2957 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
2962 delete_wxRegionIterator(_arg0
);
2964 _resultobj
= Py_None
;
2968 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
2969 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
) {
2970 PyObject
* _resultobj
;
2972 wxRegionIterator
* _arg0
;
2976 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetX",&_argc0
))
2979 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
2984 _result
= (long )wxRegionIterator_GetX(_arg0
);
2985 _resultobj
= Py_BuildValue("l",_result
);
2989 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
2990 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
) {
2991 PyObject
* _resultobj
;
2993 wxRegionIterator
* _arg0
;
2997 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetY",&_argc0
))
3000 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3005 _result
= (long )wxRegionIterator_GetY(_arg0
);
3006 _resultobj
= Py_BuildValue("l",_result
);
3010 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3011 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
) {
3012 PyObject
* _resultobj
;
3014 wxRegionIterator
* _arg0
;
3018 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetW",&_argc0
))
3021 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3026 _result
= (long )wxRegionIterator_GetW(_arg0
);
3027 _resultobj
= Py_BuildValue("l",_result
);
3031 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3032 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
) {
3033 PyObject
* _resultobj
;
3035 wxRegionIterator
* _arg0
;
3039 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetWidth",&_argc0
))
3042 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3047 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3048 _resultobj
= Py_BuildValue("l",_result
);
3052 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3053 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
) {
3054 PyObject
* _resultobj
;
3056 wxRegionIterator
* _arg0
;
3060 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetH",&_argc0
))
3063 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3068 _result
= (long )wxRegionIterator_GetH(_arg0
);
3069 _resultobj
= Py_BuildValue("l",_result
);
3073 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3074 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
) {
3075 PyObject
* _resultobj
;
3077 wxRegionIterator
* _arg0
;
3081 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetHeight",&_argc0
))
3084 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3089 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3090 _resultobj
= Py_BuildValue("l",_result
);
3094 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3095 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
) {
3096 PyObject
* _resultobj
;
3098 wxRegionIterator
* _arg0
;
3103 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetRect",&_argc0
))
3106 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3111 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3112 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3113 _resultobj
= Py_BuildValue("s",_ptemp
);
3117 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3118 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
) {
3119 PyObject
* _resultobj
;
3121 wxRegionIterator
* _arg0
;
3125 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_HaveRects",&_argc0
))
3128 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
3133 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
3134 _resultobj
= Py_BuildValue("i",_result
);
3138 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
3139 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
) {
3140 PyObject
* _resultobj
;
3141 wxRegionIterator
* _arg0
;
3145 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_Reset",&_argc0
))
3148 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
3153 wxRegionIterator_Reset(_arg0
);
3155 _resultobj
= Py_None
;
3159 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
3162 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
) {
3163 PyObject
* _resultobj
;
3164 wxRegionIterator
* _arg0
;
3168 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_Next",&_argc0
))
3171 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
3176 wxRegionIterator_Next(_arg0
);
3178 _resultobj
= Py_None
;
3182 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3183 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
) {
3184 PyObject
* _resultobj
;
3185 wxAcceleratorEntry
* _result
;
3192 if(!PyArg_ParseTuple(args
,"|iii:new_wxAcceleratorEntry",&_arg0
,&_arg1
,&_arg2
))
3194 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3195 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3196 _resultobj
= Py_BuildValue("s",_ptemp
);
3200 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3201 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
) {
3202 PyObject
* _resultobj
;
3203 wxAcceleratorEntry
* _arg0
;
3210 if(!PyArg_ParseTuple(args
,"siii:wxAcceleratorEntry_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
3213 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3218 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3220 _resultobj
= Py_None
;
3224 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3225 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
) {
3226 PyObject
* _resultobj
;
3228 wxAcceleratorEntry
* _arg0
;
3232 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetFlags",&_argc0
))
3235 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3240 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3241 _resultobj
= Py_BuildValue("i",_result
);
3245 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3246 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
) {
3247 PyObject
* _resultobj
;
3249 wxAcceleratorEntry
* _arg0
;
3253 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetKeyCode",&_argc0
))
3256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3261 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3262 _resultobj
= Py_BuildValue("i",_result
);
3266 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3267 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
) {
3268 PyObject
* _resultobj
;
3270 wxAcceleratorEntry
* _arg0
;
3274 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetCommand",&_argc0
))
3277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3282 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3283 _resultobj
= Py_BuildValue("i",_result
);
3287 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3288 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
) {
3289 PyObject
* _resultobj
;
3290 wxAcceleratorTable
* _result
;
3292 wxAcceleratorEntry
* _arg1
;
3293 PyObject
* _obj1
= 0;
3297 if(!PyArg_ParseTuple(args
,"O:new_wxAcceleratorTable",&_obj1
))
3301 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3302 if (_arg1
== NULL
) {
3307 _arg0
= PyList_Size(_obj1
);
3309 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3311 _resultobj
= Py_BuildValue("s",_ptemp
);
3318 static PyMethodDef misccMethods
[] = {
3319 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable
, 1 },
3320 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand
, 1 },
3321 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode
, 1 },
3322 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags
, 1 },
3323 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set
, 1 },
3324 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry
, 1 },
3325 { "wxRegionIterator_Next", _wrap_wxRegionIterator_Next
, 1 },
3326 { "wxRegionIterator_Reset", _wrap_wxRegionIterator_Reset
, 1 },
3327 { "wxRegionIterator_HaveRects", _wrap_wxRegionIterator_HaveRects
, 1 },
3328 { "wxRegionIterator_GetRect", _wrap_wxRegionIterator_GetRect
, 1 },
3329 { "wxRegionIterator_GetHeight", _wrap_wxRegionIterator_GetHeight
, 1 },
3330 { "wxRegionIterator_GetH", _wrap_wxRegionIterator_GetH
, 1 },
3331 { "wxRegionIterator_GetWidth", _wrap_wxRegionIterator_GetWidth
, 1 },
3332 { "wxRegionIterator_GetW", _wrap_wxRegionIterator_GetW
, 1 },
3333 { "wxRegionIterator_GetY", _wrap_wxRegionIterator_GetY
, 1 },
3334 { "wxRegionIterator_GetX", _wrap_wxRegionIterator_GetX
, 1 },
3335 { "delete_wxRegionIterator", _wrap_delete_wxRegionIterator
, 1 },
3336 { "new_wxRegionIterator", _wrap_new_wxRegionIterator
, 1 },
3337 { "wxRegion_Xor", _wrap_wxRegion_Xor
, 1 },
3338 { "wxRegion_Union", _wrap_wxRegion_Union
, 1 },
3339 { "wxRegion_Subtract", _wrap_wxRegion_Subtract
, 1 },
3340 { "wxRegion_IsEmpty", _wrap_wxRegion_IsEmpty
, 1 },
3341 { "wxRegion_Intersect", _wrap_wxRegion_Intersect
, 1 },
3342 { "wxRegion_GetBox", _wrap_wxRegion_GetBox
, 1 },
3343 { "wxRegion_ContainsRect", _wrap_wxRegion_ContainsRect
, 1 },
3344 { "wxRegion_ContainsPoint", _wrap_wxRegion_ContainsPoint
, 1 },
3345 { "wxRegion_Contains", _wrap_wxRegion_Contains
, 1 },
3346 { "wxRegion_Clear", _wrap_wxRegion_Clear
, 1 },
3347 { "delete_wxRegion", _wrap_delete_wxRegion
, 1 },
3348 { "new_wxRegion", _wrap_new_wxRegion
, 1 },
3349 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get
, 1 },
3350 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get
, 1 },
3351 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get
, 1 },
3352 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get
, 1 },
3353 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get
, 1 },
3354 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get
, 1 },
3355 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get
, 1 },
3356 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get
, 1 },
3357 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints
, 1 },
3358 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set
, 1 },
3359 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs
, 1 },
3360 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf
, 1 },
3361 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf
, 1 },
3362 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf
, 1 },
3363 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained
, 1 },
3364 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below
, 1 },
3365 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs
, 1 },
3366 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute
, 1 },
3367 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above
, 1 },
3368 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop
, 1 },
3369 { "wxPyTimer_Start", _wrap_wxPyTimer_Start
, 1 },
3370 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval
, 1 },
3371 { "delete_wxPyTimer", _wrap_delete_wxPyTimer
, 1 },
3372 { "new_wxPyTimer", _wrap_new_wxPyTimer
, 1 },
3373 { "wxRect_height_get", _wrap_wxRect_height_get
, 1 },
3374 { "wxRect_height_set", _wrap_wxRect_height_set
, 1 },
3375 { "wxRect_width_get", _wrap_wxRect_width_get
, 1 },
3376 { "wxRect_width_set", _wrap_wxRect_width_set
, 1 },
3377 { "wxRect_y_get", _wrap_wxRect_y_get
, 1 },
3378 { "wxRect_y_set", _wrap_wxRect_y_set
, 1 },
3379 { "wxRect_x_get", _wrap_wxRect_x_get
, 1 },
3380 { "wxRect_x_set", _wrap_wxRect_x_set
, 1 },
3381 { "wxRect_GetRight", _wrap_wxRect_GetRight
, 1 },
3382 { "wxRect_GetBottom", _wrap_wxRect_GetBottom
, 1 },
3383 { "wxRect_GetTop", _wrap_wxRect_GetTop
, 1 },
3384 { "wxRect_GetLeft", _wrap_wxRect_GetLeft
, 1 },
3385 { "wxRect_GetSize", _wrap_wxRect_GetSize
, 1 },
3386 { "wxRect_GetPosition", _wrap_wxRect_GetPosition
, 1 },
3387 { "wxRect_SetHeight", _wrap_wxRect_SetHeight
, 1 },
3388 { "wxRect_GetHeight", _wrap_wxRect_GetHeight
, 1 },
3389 { "wxRect_SetWidth", _wrap_wxRect_SetWidth
, 1 },
3390 { "wxRect_GetWidth", _wrap_wxRect_GetWidth
, 1 },
3391 { "wxRect_SetY", _wrap_wxRect_SetY
, 1 },
3392 { "wxRect_GetY", _wrap_wxRect_GetY
, 1 },
3393 { "wxRect_SetX", _wrap_wxRect_SetX
, 1 },
3394 { "wxRect_GetX", _wrap_wxRect_GetX
, 1 },
3395 { "delete_wxRect", _wrap_delete_wxRect
, 1 },
3396 { "new_wxRect", _wrap_new_wxRect
, 1 },
3397 { "wxPoint___str__", _wrap_wxPoint___str__
, 1 },
3398 { "wxPoint_Set", _wrap_wxPoint_Set
, 1 },
3399 { "delete_wxPoint", _wrap_delete_wxPoint
, 1 },
3400 { "new_wxPoint", _wrap_new_wxPoint
, 1 },
3401 { "wxPoint_y_get", _wrap_wxPoint_y_get
, 1 },
3402 { "wxPoint_y_set", _wrap_wxPoint_y_set
, 1 },
3403 { "wxPoint_x_get", _wrap_wxPoint_x_get
, 1 },
3404 { "wxPoint_x_set", _wrap_wxPoint_x_set
, 1 },
3405 { "delete_wxRealPoint", _wrap_delete_wxRealPoint
, 1 },
3406 { "new_wxRealPoint", _wrap_new_wxRealPoint
, 1 },
3407 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get
, 1 },
3408 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set
, 1 },
3409 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get
, 1 },
3410 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set
, 1 },
3411 { "wxSize___str__", _wrap_wxSize___str__
, 1 },
3412 { "wxSize_GetHeight", _wrap_wxSize_GetHeight
, 1 },
3413 { "wxSize_GetWidth", _wrap_wxSize_GetWidth
, 1 },
3414 { "wxSize_Set", _wrap_wxSize_Set
, 1 },
3415 { "delete_wxSize", _wrap_delete_wxSize
, 1 },
3416 { "new_wxSize", _wrap_new_wxSize
, 1 },
3417 { "wxSize_height_get", _wrap_wxSize_height_get
, 1 },
3418 { "wxSize_height_set", _wrap_wxSize_height_set
, 1 },
3419 { "wxSize_width_get", _wrap_wxSize_width_get
, 1 },
3420 { "wxSize_width_set", _wrap_wxSize_width_set
, 1 },
3421 { "wxResourceParseString", _wrap_wxResourceParseString
, 1 },
3422 { "wxResourceParseFile", _wrap_wxResourceParseFile
, 1 },
3423 { "wxResourceParseData", _wrap_wxResourceParseData
, 1 },
3424 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier
, 1 },
3425 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar
, 1 },
3426 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon
, 1 },
3427 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap
, 1 },
3428 { "wxResourceClear", _wrap_wxResourceClear
, 1 },
3429 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier
, 1 },
3430 { "wxGetResource", _wrap_wxGetResource
, 1 },
3431 { "wxYield", _wrap_wxYield
, 1 },
3432 { "wxGetOsVersion", _wrap_wxGetOsVersion
, 1 },
3433 { "wxStartTimer", _wrap_wxStartTimer
, 1 },
3434 { "wxShell", _wrap_wxShell
, 1 },
3435 { "wxNow", _wrap_wxNow
, 1 },
3436 { "wxIsBusy", _wrap_wxIsBusy
, 1 },
3437 { "wxGetMousePosition", _wrap_wxGetMousePosition
, 1 },
3438 { "wxGetFreeMemory", _wrap_wxGetFreeMemory
, 1 },
3439 { "wxGetElapsedTime", _wrap_wxGetElapsedTime
, 1 },
3440 { "wxGetActiveWindow", _wrap_wxGetActiveWindow
, 1 },
3441 { "wxFindWindowByName", _wrap_wxFindWindowByName
, 1 },
3442 { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel
, 1 },
3443 { "wxExecute", _wrap_wxExecute
, 1 },
3444 { "wxEndBusyCursor", _wrap_wxEndBusyCursor
, 1 },
3445 { "wxDisplaySize", _wrap_wxDisplaySize
, 1 },
3446 { "wxBell", _wrap_wxBell
, 1 },
3447 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor
, 1 },
3448 { "RegisterId", _wrap_RegisterId
, 1 },
3449 { "NewId", _wrap_NewId
, 1 },
3450 { "wxSetCursor", _wrap_wxSetCursor
, 1 },
3451 { "wxDisplayDepth", _wrap_wxDisplayDepth
, 1 },
3452 { "wxColourDisplay", _wrap_wxColourDisplay
, 1 },
3453 { "wxMessageBox", _wrap_wxMessageBox
, 1 },
3454 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex
, 1 },
3455 { "wxGetSingleChoice", _wrap_wxGetSingleChoice
, 1 },
3456 { "wxGetTextFromUser", _wrap_wxGetTextFromUser
, 1 },
3457 { "wxFileSelector", _wrap_wxFileSelector
, 1 },
3460 static PyObject
*SWIG_globals
;
3464 SWIGEXPORT(void,initmiscc
)() {
3466 SWIG_globals
= SWIG_newvarlink();
3467 m
= Py_InitModule("miscc", misccMethods
);
3468 d
= PyModule_GetDict(m
);
3469 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
3470 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
3471 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
3472 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
3473 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
3474 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
3475 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
3476 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
3477 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
3478 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
3479 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
3480 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
3481 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
3482 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
3483 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
3484 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
3485 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
3486 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
3487 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
3488 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
3489 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
3490 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
3492 * These are the pointer type-equivalency mappings.
3493 * (Used by the SWIG pointer type-checker).
3495 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3496 SWIG_RegisterMapping("_signed_long","_long",0);
3497 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3498 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3499 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3500 SWIG_RegisterMapping("_long","_unsigned_long",0);
3501 SWIG_RegisterMapping("_long","_signed_long",0);
3502 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3503 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3504 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3505 SWIG_RegisterMapping("_uint","_int",0);
3506 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3507 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3508 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3509 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3510 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3511 SWIG_RegisterMapping("_EBool","_signed_int",0);
3512 SWIG_RegisterMapping("_EBool","_int",0);
3513 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3514 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
3515 SWIG_RegisterMapping("_unsigned_long","_long",0);
3516 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3517 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3518 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3519 SWIG_RegisterMapping("_signed_int","_EBool",0);
3520 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3521 SWIG_RegisterMapping("_signed_int","_int",0);
3522 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3523 SWIG_RegisterMapping("_WXTYPE","_short",0);
3524 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3525 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3526 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3527 SWIG_RegisterMapping("_unsigned_short","_short",0);
3528 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3529 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3530 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3531 SWIG_RegisterMapping("_signed_short","_short",0);
3532 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3533 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3534 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3535 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3536 SWIG_RegisterMapping("_unsigned_int","_int",0);
3537 SWIG_RegisterMapping("_short","_WXTYPE",0);
3538 SWIG_RegisterMapping("_short","_unsigned_short",0);
3539 SWIG_RegisterMapping("_short","_signed_short",0);
3540 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3541 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3542 SWIG_RegisterMapping("_wxWindowID","_int",0);
3543 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3544 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3545 SWIG_RegisterMapping("_int","_EBool",0);
3546 SWIG_RegisterMapping("_int","_uint",0);
3547 SWIG_RegisterMapping("_int","_wxWindowID",0);
3548 SWIG_RegisterMapping("_int","_unsigned_int",0);
3549 SWIG_RegisterMapping("_int","_signed_int",0);
3550 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3551 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
3552 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3553 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
3554 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);