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"
56 /////////////////////////////////////////////////////////////////////////////
58 // Purpose: Definitions of miscelaneous functions and classes
64 // Copyright: (c) 1998 by Total Control Software
65 // Licence: wxWindows license
66 /////////////////////////////////////////////////////////////////////////////
70 #include <wx/resource.h>
72 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
76 } else if (target
== Py_None
) {
80 if (!PyList_Check(target
)) {
82 target
= PyList_New(0);
83 PyList_Append(target
, o2
);
86 PyList_Append(target
,o
);
92 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
98 } else if (target
== Py_None
) {
102 if (!PyTuple_Check(target
)) {
104 target
= PyTuple_New(1);
105 PyTuple_SetItem(target
, 0, o2
);
108 PyTuple_SetItem(o3
, 0, o
);
111 target
= PySequence_Concat(o2
, o3
);
119 extern int* int_LIST_helper(PyObject
* source
);
120 extern long* long_LIST_helper(PyObject
* source
);
121 extern char** string_LIST_helper(PyObject
* source
);
122 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
123 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
124 extern wxString
* wxString_LIST_helper(PyObject
* source
);
125 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
128 static char* wxStringErrorMsg
= "string type is required for parameter";
130 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
132 wxGetResource(section
, entry
, &retval
, file
);
135 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
) {
136 PyObject
* _resultobj
;
142 char * _arg4
= "*.*";
144 wxWindow
* _arg6
= NULL
;
150 if(!PyArg_ParseTuple(args
,"s|ssssisii:wxFileSelector",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argc6
,&_arg7
,&_arg8
))
153 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxWindow_p")) {
154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
158 _result
= (char *)wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
159 _resultobj
= Py_BuildValue("s", _result
);
163 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
) {
164 PyObject
* _resultobj
;
167 wxString
* _arg1
= &wxPyEmptyStr
;
168 wxString
* _arg2
= &wxPyEmptyStr
;
169 wxWindow
* _arg3
= NULL
;
173 PyObject
* _obj0
= 0;
174 PyObject
* _obj1
= 0;
175 PyObject
* _obj2
= 0;
180 if(!PyArg_ParseTuple(args
,"O|OOsiii:wxGetTextFromUser",&_obj0
,&_obj1
,&_obj2
,&_argc3
,&_arg4
,&_arg5
,&tempbool6
))
183 if (!PyString_Check(_obj0
)) {
184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
187 _arg0
= new wxString(PyString_AsString(_obj0
));
191 if (!PyString_Check(_obj1
)) {
192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
195 _arg1
= new wxString(PyString_AsString(_obj1
));
199 if (!PyString_Check(_obj2
)) {
200 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
203 _arg2
= new wxString(PyString_AsString(_obj2
));
206 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
211 _arg6
= (bool ) tempbool6
;
212 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
214 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
234 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
) {
235 PyObject
* _resultobj
;
241 wxWindow
* _arg4
= NULL
;
247 PyObject
* _obj0
= 0;
248 PyObject
* _obj1
= 0;
249 PyObject
* _obj3
= 0;
254 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoice",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
257 if (!PyString_Check(_obj0
)) {
258 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
261 _arg0
= new wxString(PyString_AsString(_obj0
));
264 if (!PyString_Check(_obj1
)) {
265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
268 _arg1
= new wxString(PyString_AsString(_obj1
));
272 _arg3
= wxString_LIST_helper(_obj3
);
278 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
283 _arg7
= (bool ) tempbool7
;
285 _arg2
= PyList_Size(_obj3
);
287 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
289 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
308 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
) {
309 PyObject
* _resultobj
;
315 wxWindow
* _arg4
= NULL
;
321 PyObject
* _obj0
= 0;
322 PyObject
* _obj1
= 0;
323 PyObject
* _obj3
= 0;
328 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
331 if (!PyString_Check(_obj0
)) {
332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
335 _arg0
= new wxString(PyString_AsString(_obj0
));
338 if (!PyString_Check(_obj1
)) {
339 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
342 _arg1
= new wxString(PyString_AsString(_obj1
));
346 _arg3
= wxString_LIST_helper(_obj3
);
352 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
357 _arg7
= (bool ) tempbool7
;
359 _arg2
= PyList_Size(_obj3
);
361 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
362 _resultobj
= Py_BuildValue("i",_result
);
377 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
) {
378 PyObject
* _resultobj
;
381 wxString
* _arg1
= &wxPyEmptyStr
;
382 int _arg2
= (wxOK
)|(wxCENTRE
);
383 wxWindow
* _arg3
= NULL
;
386 PyObject
* _obj0
= 0;
387 PyObject
* _obj1
= 0;
391 if(!PyArg_ParseTuple(args
,"O|Oisii:wxMessageBox",&_obj0
,&_obj1
,&_arg2
,&_argc3
,&_arg4
,&_arg5
))
394 if (!PyString_Check(_obj0
)) {
395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
398 _arg0
= new wxString(PyString_AsString(_obj0
));
402 if (!PyString_Check(_obj1
)) {
403 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
406 _arg1
= new wxString(PyString_AsString(_obj1
));
409 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
414 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
415 _resultobj
= Py_BuildValue("i",_result
);
427 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
) {
428 PyObject
* _resultobj
;
432 if(!PyArg_ParseTuple(args
,":wxColourDisplay"))
434 _result
= (bool )wxColourDisplay();
435 _resultobj
= Py_BuildValue("i",_result
);
439 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
) {
440 PyObject
* _resultobj
;
444 if(!PyArg_ParseTuple(args
,":wxDisplayDepth"))
446 _result
= (int )wxDisplayDepth();
447 _resultobj
= Py_BuildValue("i",_result
);
451 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
) {
452 PyObject
* _resultobj
;
457 if(!PyArg_ParseTuple(args
,"s:wxSetCursor",&_argc0
))
460 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
467 _resultobj
= Py_None
;
471 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
) {
472 PyObject
* _resultobj
;
476 if(!PyArg_ParseTuple(args
,":NewId"))
478 _result
= (long )NewId();
479 _resultobj
= Py_BuildValue("l",_result
);
483 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
) {
484 PyObject
* _resultobj
;
488 if(!PyArg_ParseTuple(args
,"l:RegisterId",&_arg0
))
492 _resultobj
= Py_None
;
496 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
) {
497 PyObject
* _resultobj
;
498 wxCursor
* _arg0
= wxHOURGLASS_CURSOR
;
502 if(!PyArg_ParseTuple(args
,"|s:wxBeginBusyCursor",&_argc0
))
505 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
510 wxBeginBusyCursor(_arg0
);
512 _resultobj
= Py_None
;
516 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
) {
517 PyObject
* _resultobj
;
520 if(!PyArg_ParseTuple(args
,":wxBell"))
524 _resultobj
= Py_None
;
528 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
) {
529 PyObject
* _resultobj
;
542 if(!PyArg_ParseTuple(args
,":wxDisplaySize"))
544 wxDisplaySize(_arg0
,_arg1
);
546 _resultobj
= Py_None
;
549 o
= PyInt_FromLong((long) (*_arg0
));
550 _resultobj
= t_output_helper(_resultobj
, o
);
554 o
= PyInt_FromLong((long) (*_arg1
));
555 _resultobj
= t_output_helper(_resultobj
, o
);
560 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
) {
561 PyObject
* _resultobj
;
564 if(!PyArg_ParseTuple(args
,":wxEndBusyCursor"))
568 _resultobj
= Py_None
;
572 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
) {
573 PyObject
* _resultobj
;
577 PyObject
* _obj0
= 0;
581 if(!PyArg_ParseTuple(args
,"O|i:wxExecute",&_obj0
,&tempbool1
))
584 if (!PyString_Check(_obj0
)) {
585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
588 _arg0
= new wxString(PyString_AsString(_obj0
));
590 _arg1
= (bool ) tempbool1
;
591 _result
= (long )wxExecute(*_arg0
,_arg1
);
592 _resultobj
= Py_BuildValue("l",_result
);
600 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
) {
601 PyObject
* _resultobj
;
604 wxWindow
* _arg1
= NULL
;
605 PyObject
* _obj0
= 0;
610 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByLabel",&_obj0
,&_argc1
))
613 if (!PyString_Check(_obj0
)) {
614 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
617 _arg0
= new wxString(PyString_AsString(_obj0
));
620 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
625 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
627 _resultobj
= Py_BuildValue("s",_ptemp
);
635 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
) {
636 PyObject
* _resultobj
;
639 wxWindow
* _arg1
= NULL
;
640 PyObject
* _obj0
= 0;
645 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByName",&_obj0
,&_argc1
))
648 if (!PyString_Check(_obj0
)) {
649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
652 _arg0
= new wxString(PyString_AsString(_obj0
));
655 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
660 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
662 _resultobj
= Py_BuildValue("s",_ptemp
);
670 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
) {
671 PyObject
* _resultobj
;
676 if(!PyArg_ParseTuple(args
,":wxGetActiveWindow"))
678 _result
= (wxWindow
*)wxGetActiveWindow();
679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
680 _resultobj
= Py_BuildValue("s",_ptemp
);
684 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
) {
685 PyObject
* _resultobj
;
691 if(!PyArg_ParseTuple(args
,"|i:wxGetElapsedTime",&tempbool0
))
693 _arg0
= (bool ) tempbool0
;
694 _result
= (long )wxGetElapsedTime(_arg0
);
695 _resultobj
= Py_BuildValue("l",_result
);
699 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
) {
700 PyObject
* _resultobj
;
704 if(!PyArg_ParseTuple(args
,":wxGetFreeMemory"))
706 _result
= (long )wxGetFreeMemory();
707 _resultobj
= Py_BuildValue("l",_result
);
711 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
) {
712 PyObject
* _resultobj
;
725 if(!PyArg_ParseTuple(args
,":wxGetMousePosition"))
727 wxGetMousePosition(_arg0
,_arg1
);
729 _resultobj
= Py_None
;
732 o
= PyInt_FromLong((long) (*_arg0
));
733 _resultobj
= t_output_helper(_resultobj
, o
);
737 o
= PyInt_FromLong((long) (*_arg1
));
738 _resultobj
= t_output_helper(_resultobj
, o
);
743 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
) {
744 PyObject
* _resultobj
;
748 if(!PyArg_ParseTuple(args
,":wxIsBusy"))
750 _result
= (bool )wxIsBusy();
751 _resultobj
= Py_BuildValue("i",_result
);
755 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
) {
756 PyObject
* _resultobj
;
760 if(!PyArg_ParseTuple(args
,":wxNow"))
762 _result
= new wxString (wxNow());
764 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
772 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
) {
773 PyObject
* _resultobj
;
775 wxString
* _arg0
= &wxPyEmptyStr
;
776 PyObject
* _obj0
= 0;
779 if(!PyArg_ParseTuple(args
,"|O:wxShell",&_obj0
))
783 if (!PyString_Check(_obj0
)) {
784 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
787 _arg0
= new wxString(PyString_AsString(_obj0
));
789 _result
= (bool )wxShell(*_arg0
);
790 _resultobj
= Py_BuildValue("i",_result
);
798 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
) {
799 PyObject
* _resultobj
;
802 if(!PyArg_ParseTuple(args
,":wxStartTimer"))
806 _resultobj
= Py_None
;
810 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
) {
811 PyObject
* _resultobj
;
815 if(!PyArg_ParseTuple(args
,":wxYield"))
817 _result
= (bool )wxYield();
818 _resultobj
= Py_BuildValue("i",_result
);
822 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
) {
823 PyObject
* _resultobj
;
837 if(!PyArg_ParseTuple(args
,":wxGetOsVersion"))
839 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
840 _resultobj
= Py_BuildValue("i",_result
);
843 o
= PyInt_FromLong((long) (*_arg0
));
844 _resultobj
= t_output_helper(_resultobj
, o
);
848 o
= PyInt_FromLong((long) (*_arg1
));
849 _resultobj
= t_output_helper(_resultobj
, o
);
854 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
) {
855 PyObject
* _resultobj
;
862 if(!PyArg_ParseTuple(args
,"ss|s:wxGetResource",&_arg0
,&_arg1
,&_arg2
))
864 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
865 _resultobj
= Py_BuildValue("s", _result
);
869 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
) {
870 PyObject
* _resultobj
;
876 if(!PyArg_ParseTuple(args
,"si:wxResourceAddIdentifier",&_arg0
,&_arg1
))
878 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
879 _resultobj
= Py_BuildValue("i",_result
);
883 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
) {
884 PyObject
* _resultobj
;
887 if(!PyArg_ParseTuple(args
,":wxResourceClear"))
891 _resultobj
= Py_None
;
895 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
) {
896 PyObject
* _resultobj
;
902 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateBitmap",&_arg0
))
904 _result
= (wxBitmap
*)wxResourceCreateBitmap(_arg0
);
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
910 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
) {
911 PyObject
* _resultobj
;
917 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateIcon",&_arg0
))
919 _result
= (wxIcon
*)wxResourceCreateIcon(_arg0
);
920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
921 _resultobj
= Py_BuildValue("s",_ptemp
);
925 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
) {
926 PyObject
* _resultobj
;
932 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateMenuBar",&_arg0
))
934 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
935 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
936 _resultobj
= Py_BuildValue("s",_ptemp
);
940 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
) {
941 PyObject
* _resultobj
;
946 if(!PyArg_ParseTuple(args
,"s:wxResourceGetIdentifier",&_arg0
))
948 _result
= (int )wxResourceGetIdentifier(_arg0
);
949 _resultobj
= Py_BuildValue("i",_result
);
953 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
) {
954 PyObject
* _resultobj
;
957 wxResourceTable
* _arg1
= NULL
;
961 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseData",&_arg0
,&_argc1
))
964 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
969 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
970 _resultobj
= Py_BuildValue("i",_result
);
974 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
) {
975 PyObject
* _resultobj
;
978 wxResourceTable
* _arg1
= NULL
;
982 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseFile",&_arg0
,&_argc1
))
985 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
990 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
991 _resultobj
= Py_BuildValue("i",_result
);
995 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
) {
996 PyObject
* _resultobj
;
999 wxResourceTable
* _arg1
= NULL
;
1003 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseString",&_arg0
,&_argc1
))
1006 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1011 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1012 _resultobj
= Py_BuildValue("i",_result
);
1016 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1017 static PyObject
*_wrap_wxSize_width_set(PyObject
*self
, PyObject
*args
) {
1018 PyObject
* _resultobj
;
1025 if(!PyArg_ParseTuple(args
,"sl:wxSize_width_set",&_argc0
,&_arg1
))
1028 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_width_set. Expected _wxSize_p.");
1033 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1034 _resultobj
= Py_BuildValue("l",_result
);
1038 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1039 static PyObject
*_wrap_wxSize_width_get(PyObject
*self
, PyObject
*args
) {
1040 PyObject
* _resultobj
;
1046 if(!PyArg_ParseTuple(args
,"s:wxSize_width_get",&_argc0
))
1049 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_width_get. Expected _wxSize_p.");
1054 _result
= (long )wxSize_x_get(_arg0
);
1055 _resultobj
= Py_BuildValue("l",_result
);
1059 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1060 static PyObject
*_wrap_wxSize_height_set(PyObject
*self
, PyObject
*args
) {
1061 PyObject
* _resultobj
;
1068 if(!PyArg_ParseTuple(args
,"sl:wxSize_height_set",&_argc0
,&_arg1
))
1071 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_height_set. Expected _wxSize_p.");
1076 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1077 _resultobj
= Py_BuildValue("l",_result
);
1081 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1082 static PyObject
*_wrap_wxSize_height_get(PyObject
*self
, PyObject
*args
) {
1083 PyObject
* _resultobj
;
1089 if(!PyArg_ParseTuple(args
,"s:wxSize_height_get",&_argc0
))
1092 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_height_get. Expected _wxSize_p.");
1097 _result
= (long )wxSize_y_get(_arg0
);
1098 _resultobj
= Py_BuildValue("l",_result
);
1102 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1103 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
) {
1104 PyObject
* _resultobj
;
1111 if(!PyArg_ParseTuple(args
,"|ll:new_wxSize",&_arg0
,&_arg1
))
1113 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1115 _resultobj
= Py_BuildValue("s",_ptemp
);
1119 #define delete_wxSize(_swigobj) (delete _swigobj)
1120 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
) {
1121 PyObject
* _resultobj
;
1126 if(!PyArg_ParseTuple(args
,"s:delete_wxSize",&_argc0
))
1129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1134 delete_wxSize(_arg0
);
1136 _resultobj
= Py_None
;
1140 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1141 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
) {
1142 PyObject
* _resultobj
;
1149 if(!PyArg_ParseTuple(args
,"sll:wxSize_Set",&_argc0
,&_arg1
,&_arg2
))
1152 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1157 wxSize_Set(_arg0
,_arg1
,_arg2
);
1159 _resultobj
= Py_None
;
1163 #define wxSize_GetWidth(_swigobj) (_swigobj->GetX())
1164 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
) {
1165 PyObject
* _resultobj
;
1171 if(!PyArg_ParseTuple(args
,"s:wxSize_GetWidth",&_argc0
))
1174 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1179 _result
= (long )wxSize_GetWidth(_arg0
);
1180 _resultobj
= Py_BuildValue("l",_result
);
1184 #define wxSize_GetHeight(_swigobj) (_swigobj->GetY())
1185 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
) {
1186 PyObject
* _resultobj
;
1192 if(!PyArg_ParseTuple(args
,"s:wxSize_GetHeight",&_argc0
))
1195 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1200 _result
= (long )wxSize_GetHeight(_arg0
);
1201 _resultobj
= Py_BuildValue("l",_result
);
1205 static PyObject
* wxSize___str__(wxSize
*self
) {
1206 PyObject
* tup
= PyTuple_New(2);
1207 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1208 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1211 static PyObject
*_wrap_wxSize___str__(PyObject
*self
, PyObject
*args
) {
1212 PyObject
* _resultobj
;
1218 if(!PyArg_ParseTuple(args
,"s:wxSize___str__",&_argc0
))
1221 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize___str__. Expected _wxSize_p.");
1226 _result
= (PyObject
*)wxSize___str__(_arg0
);
1228 _resultobj
= _result
;
1233 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1234 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
) {
1235 PyObject
* _resultobj
;
1237 wxRealPoint
* _arg0
;
1242 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_x_set",&_argc0
,&_arg1
))
1245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1250 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1251 _resultobj
= Py_BuildValue("d",_result
);
1255 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1256 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
) {
1257 PyObject
* _resultobj
;
1259 wxRealPoint
* _arg0
;
1263 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_x_get",&_argc0
))
1266 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1271 _result
= (double )wxRealPoint_x_get(_arg0
);
1272 _resultobj
= Py_BuildValue("d",_result
);
1276 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1277 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
) {
1278 PyObject
* _resultobj
;
1280 wxRealPoint
* _arg0
;
1285 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_y_set",&_argc0
,&_arg1
))
1288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1293 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1294 _resultobj
= Py_BuildValue("d",_result
);
1298 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1299 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
) {
1300 PyObject
* _resultobj
;
1302 wxRealPoint
* _arg0
;
1306 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_y_get",&_argc0
))
1309 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1314 _result
= (double )wxRealPoint_y_get(_arg0
);
1315 _resultobj
= Py_BuildValue("d",_result
);
1319 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1320 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1321 PyObject
* _resultobj
;
1322 wxRealPoint
* _result
;
1328 if(!PyArg_ParseTuple(args
,"|dd:new_wxRealPoint",&_arg0
,&_arg1
))
1330 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1332 _resultobj
= Py_BuildValue("s",_ptemp
);
1336 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1337 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1338 PyObject
* _resultobj
;
1339 wxRealPoint
* _arg0
;
1343 if(!PyArg_ParseTuple(args
,"s:delete_wxRealPoint",&_argc0
))
1346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1351 delete_wxRealPoint(_arg0
);
1353 _resultobj
= Py_None
;
1357 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1358 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
) {
1359 PyObject
* _resultobj
;
1366 if(!PyArg_ParseTuple(args
,"sl:wxPoint_x_set",&_argc0
,&_arg1
))
1369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1374 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1375 _resultobj
= Py_BuildValue("l",_result
);
1379 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1380 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
) {
1381 PyObject
* _resultobj
;
1387 if(!PyArg_ParseTuple(args
,"s:wxPoint_x_get",&_argc0
))
1390 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1395 _result
= (long )wxPoint_x_get(_arg0
);
1396 _resultobj
= Py_BuildValue("l",_result
);
1400 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1401 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
) {
1402 PyObject
* _resultobj
;
1409 if(!PyArg_ParseTuple(args
,"sl:wxPoint_y_set",&_argc0
,&_arg1
))
1412 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1417 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1418 _resultobj
= Py_BuildValue("l",_result
);
1422 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1423 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
) {
1424 PyObject
* _resultobj
;
1430 if(!PyArg_ParseTuple(args
,"s:wxPoint_y_get",&_argc0
))
1433 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1438 _result
= (long )wxPoint_y_get(_arg0
);
1439 _resultobj
= Py_BuildValue("l",_result
);
1443 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1444 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
) {
1445 PyObject
* _resultobj
;
1452 if(!PyArg_ParseTuple(args
,"|ll:new_wxPoint",&_arg0
,&_arg1
))
1454 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1456 _resultobj
= Py_BuildValue("s",_ptemp
);
1460 #define delete_wxPoint(_swigobj) (delete _swigobj)
1461 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
) {
1462 PyObject
* _resultobj
;
1467 if(!PyArg_ParseTuple(args
,"s:delete_wxPoint",&_argc0
))
1470 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1475 delete_wxPoint(_arg0
);
1477 _resultobj
= Py_None
;
1481 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1485 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
) {
1486 PyObject
* _resultobj
;
1493 if(!PyArg_ParseTuple(args
,"sll:wxPoint_Set",&_argc0
,&_arg1
,&_arg2
))
1496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1501 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1503 _resultobj
= Py_None
;
1507 static PyObject
* wxPoint___str__(wxPoint
*self
) {
1508 PyObject
* tup
= PyTuple_New(2);
1509 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1510 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1513 static PyObject
*_wrap_wxPoint___str__(PyObject
*self
, PyObject
*args
) {
1514 PyObject
* _resultobj
;
1520 if(!PyArg_ParseTuple(args
,"s:wxPoint___str__",&_argc0
))
1523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint___str__. Expected _wxPoint_p.");
1528 _result
= (PyObject
*)wxPoint___str__(_arg0
);
1530 _resultobj
= _result
;
1535 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1536 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
) {
1537 PyObject
* _resultobj
;
1546 if(!PyArg_ParseTuple(args
,"|llll:new_wxRect",&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1548 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1550 _resultobj
= Py_BuildValue("s",_ptemp
);
1554 #define delete_wxRect(_swigobj) (delete _swigobj)
1555 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
) {
1556 PyObject
* _resultobj
;
1561 if(!PyArg_ParseTuple(args
,"s:delete_wxRect",&_argc0
))
1564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1569 delete_wxRect(_arg0
);
1571 _resultobj
= Py_None
;
1575 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1576 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
) {
1577 PyObject
* _resultobj
;
1583 if(!PyArg_ParseTuple(args
,"s:wxRect_GetX",&_argc0
))
1586 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1591 _result
= (long )wxRect_GetX(_arg0
);
1592 _resultobj
= Py_BuildValue("l",_result
);
1596 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1597 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
) {
1598 PyObject
* _resultobj
;
1604 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetX",&_argc0
,&_arg1
))
1607 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1612 wxRect_SetX(_arg0
,_arg1
);
1614 _resultobj
= Py_None
;
1618 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1619 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
) {
1620 PyObject
* _resultobj
;
1626 if(!PyArg_ParseTuple(args
,"s:wxRect_GetY",&_argc0
))
1629 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
1634 _result
= (long )wxRect_GetY(_arg0
);
1635 _resultobj
= Py_BuildValue("l",_result
);
1639 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1640 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
) {
1641 PyObject
* _resultobj
;
1647 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetY",&_argc0
,&_arg1
))
1650 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
1655 wxRect_SetY(_arg0
,_arg1
);
1657 _resultobj
= Py_None
;
1661 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1662 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
) {
1663 PyObject
* _resultobj
;
1669 if(!PyArg_ParseTuple(args
,"s:wxRect_GetWidth",&_argc0
))
1672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
1677 _result
= (long )wxRect_GetWidth(_arg0
);
1678 _resultobj
= Py_BuildValue("l",_result
);
1682 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1683 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
) {
1684 PyObject
* _resultobj
;
1690 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetWidth",&_argc0
,&_arg1
))
1693 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
1698 wxRect_SetWidth(_arg0
,_arg1
);
1700 _resultobj
= Py_None
;
1704 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1705 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
) {
1706 PyObject
* _resultobj
;
1712 if(!PyArg_ParseTuple(args
,"s:wxRect_GetHeight",&_argc0
))
1715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
1720 _result
= (long )wxRect_GetHeight(_arg0
);
1721 _resultobj
= Py_BuildValue("l",_result
);
1725 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1726 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
) {
1727 PyObject
* _resultobj
;
1733 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetHeight",&_argc0
,&_arg1
))
1736 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
1741 wxRect_SetHeight(_arg0
,_arg1
);
1743 _resultobj
= Py_None
;
1747 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1748 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
) {
1749 PyObject
* _resultobj
;
1756 if(!PyArg_ParseTuple(args
,"s:wxRect_GetPosition",&_argc0
))
1759 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
1764 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1765 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1766 _resultobj
= Py_BuildValue("s",_ptemp
);
1770 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1771 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
) {
1772 PyObject
* _resultobj
;
1779 if(!PyArg_ParseTuple(args
,"s:wxRect_GetSize",&_argc0
))
1782 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
1787 _result
= new wxSize (wxRect_GetSize(_arg0
));
1788 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1789 _resultobj
= Py_BuildValue("s",_ptemp
);
1793 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1794 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
) {
1795 PyObject
* _resultobj
;
1801 if(!PyArg_ParseTuple(args
,"s:wxRect_GetLeft",&_argc0
))
1804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
1809 _result
= (long )wxRect_GetLeft(_arg0
);
1810 _resultobj
= Py_BuildValue("l",_result
);
1814 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1815 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
) {
1816 PyObject
* _resultobj
;
1822 if(!PyArg_ParseTuple(args
,"s:wxRect_GetTop",&_argc0
))
1825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
1830 _result
= (long )wxRect_GetTop(_arg0
);
1831 _resultobj
= Py_BuildValue("l",_result
);
1835 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1836 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
) {
1837 PyObject
* _resultobj
;
1843 if(!PyArg_ParseTuple(args
,"s:wxRect_GetBottom",&_argc0
))
1846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
1851 _result
= (long )wxRect_GetBottom(_arg0
);
1852 _resultobj
= Py_BuildValue("l",_result
);
1856 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1857 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
) {
1858 PyObject
* _resultobj
;
1864 if(!PyArg_ParseTuple(args
,"s:wxRect_GetRight",&_argc0
))
1867 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
1872 _result
= (long )wxRect_GetRight(_arg0
);
1873 _resultobj
= Py_BuildValue("l",_result
);
1877 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1878 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
) {
1879 PyObject
* _resultobj
;
1886 if(!PyArg_ParseTuple(args
,"sl:wxRect_x_set",&_argc0
,&_arg1
))
1889 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
1894 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
1895 _resultobj
= Py_BuildValue("l",_result
);
1899 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
1900 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
) {
1901 PyObject
* _resultobj
;
1907 if(!PyArg_ParseTuple(args
,"s:wxRect_x_get",&_argc0
))
1910 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
1915 _result
= (long )wxRect_x_get(_arg0
);
1916 _resultobj
= Py_BuildValue("l",_result
);
1920 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1921 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
) {
1922 PyObject
* _resultobj
;
1929 if(!PyArg_ParseTuple(args
,"sl:wxRect_y_set",&_argc0
,&_arg1
))
1932 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
1937 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
1938 _resultobj
= Py_BuildValue("l",_result
);
1942 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
1943 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
) {
1944 PyObject
* _resultobj
;
1950 if(!PyArg_ParseTuple(args
,"s:wxRect_y_get",&_argc0
))
1953 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
1958 _result
= (long )wxRect_y_get(_arg0
);
1959 _resultobj
= Py_BuildValue("l",_result
);
1963 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
1964 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
) {
1965 PyObject
* _resultobj
;
1972 if(!PyArg_ParseTuple(args
,"sl:wxRect_width_set",&_argc0
,&_arg1
))
1975 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
1980 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
1981 _resultobj
= Py_BuildValue("l",_result
);
1985 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
1986 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
) {
1987 PyObject
* _resultobj
;
1993 if(!PyArg_ParseTuple(args
,"s:wxRect_width_get",&_argc0
))
1996 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
2001 _result
= (long )wxRect_width_get(_arg0
);
2002 _resultobj
= Py_BuildValue("l",_result
);
2006 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2007 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
) {
2008 PyObject
* _resultobj
;
2015 if(!PyArg_ParseTuple(args
,"sl:wxRect_height_set",&_argc0
,&_arg1
))
2018 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2023 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2024 _resultobj
= Py_BuildValue("l",_result
);
2028 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2029 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
) {
2030 PyObject
* _resultobj
;
2036 if(!PyArg_ParseTuple(args
,"s:wxRect_height_get",&_argc0
))
2039 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2044 _result
= (long )wxRect_height_get(_arg0
);
2045 _resultobj
= Py_BuildValue("l",_result
);
2049 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2050 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2051 PyObject
* _resultobj
;
2052 wxPyTimer
* _result
;
2054 PyObject
* _obj0
= 0;
2058 if(!PyArg_ParseTuple(args
,"O:new_wxPyTimer",&_obj0
))
2063 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2065 _resultobj
= Py_BuildValue("s",_ptemp
);
2069 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2070 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2071 PyObject
* _resultobj
;
2076 if(!PyArg_ParseTuple(args
,"s:delete_wxPyTimer",&_argc0
))
2079 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2084 delete_wxPyTimer(_arg0
);
2086 _resultobj
= Py_None
;
2090 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2091 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
) {
2092 PyObject
* _resultobj
;
2098 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Interval",&_argc0
))
2101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2106 _result
= (int )wxPyTimer_Interval(_arg0
);
2107 _resultobj
= Py_BuildValue("i",_result
);
2111 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2112 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
) {
2113 PyObject
* _resultobj
;
2120 if(!PyArg_ParseTuple(args
,"s|ii:wxPyTimer_Start",&_argc0
,&_arg1
,&_arg2
))
2123 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2128 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2130 _resultobj
= Py_None
;
2134 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2135 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
) {
2136 PyObject
* _resultobj
;
2141 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Stop",&_argc0
))
2144 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2149 wxPyTimer_Stop(_arg0
);
2151 _resultobj
= Py_None
;
2155 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2156 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
) {
2157 PyObject
* _resultobj
;
2158 wxIndividualLayoutConstraint
* _arg0
;
2165 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0
,&_argc1
,&_arg2
))
2168 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2174 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2179 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2181 _resultobj
= Py_None
;
2185 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2186 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
) {
2187 PyObject
* _resultobj
;
2188 wxIndividualLayoutConstraint
* _arg0
;
2193 if(!PyArg_ParseTuple(args
,"si:wxIndividualLayoutConstraint_Absolute",&_argc0
,&_arg1
))
2196 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2201 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2203 _resultobj
= Py_None
;
2207 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2208 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
) {
2209 PyObject
* _resultobj
;
2210 wxIndividualLayoutConstraint
* _arg0
;
2214 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_AsIs",&_argc0
))
2217 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2222 wxIndividualLayoutConstraint_AsIs(_arg0
);
2224 _resultobj
= Py_None
;
2228 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2229 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
) {
2230 PyObject
* _resultobj
;
2231 wxIndividualLayoutConstraint
* _arg0
;
2238 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0
,&_argc1
,&_arg2
))
2241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2247 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2252 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2254 _resultobj
= Py_None
;
2258 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2259 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
) {
2260 PyObject
* _resultobj
;
2261 wxIndividualLayoutConstraint
* _arg0
;
2265 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0
))
2268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2273 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2275 _resultobj
= Py_None
;
2279 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2280 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
) {
2281 PyObject
* _resultobj
;
2282 wxIndividualLayoutConstraint
* _arg0
;
2289 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0
,&_argc1
,&_arg2
))
2292 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2298 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2303 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2305 _resultobj
= Py_None
;
2309 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2310 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
) {
2311 PyObject
* _resultobj
;
2312 wxIndividualLayoutConstraint
* _arg0
;
2320 if(!PyArg_ParseTuple(args
,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2323 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2329 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2334 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2336 _resultobj
= Py_None
;
2340 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2341 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
) {
2342 PyObject
* _resultobj
;
2343 wxIndividualLayoutConstraint
* _arg0
;
2350 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0
,&_argc1
,&_arg2
))
2353 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2359 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2364 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2366 _resultobj
= Py_None
;
2370 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2371 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
) {
2372 PyObject
* _resultobj
;
2373 wxIndividualLayoutConstraint
* _arg0
;
2381 if(!PyArg_ParseTuple(args
,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2384 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2390 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2395 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2397 _resultobj
= Py_None
;
2401 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2402 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
) {
2403 PyObject
* _resultobj
;
2404 wxIndividualLayoutConstraint
* _arg0
;
2405 wxRelationship _arg1
;
2414 if(!PyArg_ParseTuple(args
,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
))
2417 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2423 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2428 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2430 _resultobj
= Py_None
;
2434 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2435 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
) {
2436 PyObject
* _resultobj
;
2437 wxLayoutConstraints
* _result
;
2441 if(!PyArg_ParseTuple(args
,":new_wxLayoutConstraints"))
2443 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2444 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2445 _resultobj
= Py_BuildValue("s",_ptemp
);
2449 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2450 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
) {
2451 PyObject
* _resultobj
;
2452 wxIndividualLayoutConstraint
* _result
;
2453 wxLayoutConstraints
* _arg0
;
2458 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_bottom_get",&_argc0
))
2461 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2466 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2468 _resultobj
= Py_BuildValue("s",_ptemp
);
2472 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2473 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
) {
2474 PyObject
* _resultobj
;
2475 wxIndividualLayoutConstraint
* _result
;
2476 wxLayoutConstraints
* _arg0
;
2481 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreX_get",&_argc0
))
2484 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2489 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2491 _resultobj
= Py_BuildValue("s",_ptemp
);
2495 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2496 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
) {
2497 PyObject
* _resultobj
;
2498 wxIndividualLayoutConstraint
* _result
;
2499 wxLayoutConstraints
* _arg0
;
2504 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreY_get",&_argc0
))
2507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2512 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2514 _resultobj
= Py_BuildValue("s",_ptemp
);
2518 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2519 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
) {
2520 PyObject
* _resultobj
;
2521 wxIndividualLayoutConstraint
* _result
;
2522 wxLayoutConstraints
* _arg0
;
2527 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_height_get",&_argc0
))
2530 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2535 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2537 _resultobj
= Py_BuildValue("s",_ptemp
);
2541 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2542 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
) {
2543 PyObject
* _resultobj
;
2544 wxIndividualLayoutConstraint
* _result
;
2545 wxLayoutConstraints
* _arg0
;
2550 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_left_get",&_argc0
))
2553 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2558 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2560 _resultobj
= Py_BuildValue("s",_ptemp
);
2564 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2565 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
) {
2566 PyObject
* _resultobj
;
2567 wxIndividualLayoutConstraint
* _result
;
2568 wxLayoutConstraints
* _arg0
;
2573 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_right_get",&_argc0
))
2576 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2581 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
2582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2583 _resultobj
= Py_BuildValue("s",_ptemp
);
2587 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2588 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
) {
2589 PyObject
* _resultobj
;
2590 wxIndividualLayoutConstraint
* _result
;
2591 wxLayoutConstraints
* _arg0
;
2596 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_top_get",&_argc0
))
2599 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
2604 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
2605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2606 _resultobj
= Py_BuildValue("s",_ptemp
);
2610 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
2611 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
) {
2612 PyObject
* _resultobj
;
2613 wxIndividualLayoutConstraint
* _result
;
2614 wxLayoutConstraints
* _arg0
;
2619 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_width_get",&_argc0
))
2622 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
2627 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
2628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2629 _resultobj
= Py_BuildValue("s",_ptemp
);
2633 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
2634 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
) {
2635 PyObject
* _resultobj
;
2636 wxAcceleratorEntry
* _result
;
2643 if(!PyArg_ParseTuple(args
,"|iii:new_wxAcceleratorEntry",&_arg0
,&_arg1
,&_arg2
))
2645 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
2646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
2647 _resultobj
= Py_BuildValue("s",_ptemp
);
2651 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2652 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
) {
2653 PyObject
* _resultobj
;
2654 wxAcceleratorEntry
* _arg0
;
2661 if(!PyArg_ParseTuple(args
,"siii:wxAcceleratorEntry_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2664 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
2669 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2671 _resultobj
= Py_None
;
2675 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
2676 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
) {
2677 PyObject
* _resultobj
;
2679 wxAcceleratorEntry
* _arg0
;
2683 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetFlags",&_argc0
))
2686 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
2691 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
2692 _resultobj
= Py_BuildValue("i",_result
);
2696 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2697 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
) {
2698 PyObject
* _resultobj
;
2700 wxAcceleratorEntry
* _arg0
;
2704 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetKeyCode",&_argc0
))
2707 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
2712 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
2713 _resultobj
= Py_BuildValue("i",_result
);
2717 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
2718 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
) {
2719 PyObject
* _resultobj
;
2721 wxAcceleratorEntry
* _arg0
;
2725 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetCommand",&_argc0
))
2728 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
2733 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
2734 _resultobj
= Py_BuildValue("i",_result
);
2738 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
2739 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
) {
2740 PyObject
* _resultobj
;
2741 wxAcceleratorTable
* _result
;
2743 wxAcceleratorEntry
* _arg1
;
2744 PyObject
* _obj1
= 0;
2748 if(!PyArg_ParseTuple(args
,"O:new_wxAcceleratorTable",&_obj1
))
2752 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
2753 if (_arg1
== NULL
) {
2758 _arg0
= PyList_Size(_obj1
);
2760 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
2761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
2762 _resultobj
= Py_BuildValue("s",_ptemp
);
2769 static PyMethodDef misccMethods
[] = {
2770 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable
, 1 },
2771 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand
, 1 },
2772 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode
, 1 },
2773 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags
, 1 },
2774 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set
, 1 },
2775 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry
, 1 },
2776 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get
, 1 },
2777 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get
, 1 },
2778 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get
, 1 },
2779 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get
, 1 },
2780 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get
, 1 },
2781 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get
, 1 },
2782 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get
, 1 },
2783 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get
, 1 },
2784 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints
, 1 },
2785 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set
, 1 },
2786 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs
, 1 },
2787 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf
, 1 },
2788 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf
, 1 },
2789 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf
, 1 },
2790 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained
, 1 },
2791 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below
, 1 },
2792 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs
, 1 },
2793 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute
, 1 },
2794 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above
, 1 },
2795 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop
, 1 },
2796 { "wxPyTimer_Start", _wrap_wxPyTimer_Start
, 1 },
2797 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval
, 1 },
2798 { "delete_wxPyTimer", _wrap_delete_wxPyTimer
, 1 },
2799 { "new_wxPyTimer", _wrap_new_wxPyTimer
, 1 },
2800 { "wxRect_height_get", _wrap_wxRect_height_get
, 1 },
2801 { "wxRect_height_set", _wrap_wxRect_height_set
, 1 },
2802 { "wxRect_width_get", _wrap_wxRect_width_get
, 1 },
2803 { "wxRect_width_set", _wrap_wxRect_width_set
, 1 },
2804 { "wxRect_y_get", _wrap_wxRect_y_get
, 1 },
2805 { "wxRect_y_set", _wrap_wxRect_y_set
, 1 },
2806 { "wxRect_x_get", _wrap_wxRect_x_get
, 1 },
2807 { "wxRect_x_set", _wrap_wxRect_x_set
, 1 },
2808 { "wxRect_GetRight", _wrap_wxRect_GetRight
, 1 },
2809 { "wxRect_GetBottom", _wrap_wxRect_GetBottom
, 1 },
2810 { "wxRect_GetTop", _wrap_wxRect_GetTop
, 1 },
2811 { "wxRect_GetLeft", _wrap_wxRect_GetLeft
, 1 },
2812 { "wxRect_GetSize", _wrap_wxRect_GetSize
, 1 },
2813 { "wxRect_GetPosition", _wrap_wxRect_GetPosition
, 1 },
2814 { "wxRect_SetHeight", _wrap_wxRect_SetHeight
, 1 },
2815 { "wxRect_GetHeight", _wrap_wxRect_GetHeight
, 1 },
2816 { "wxRect_SetWidth", _wrap_wxRect_SetWidth
, 1 },
2817 { "wxRect_GetWidth", _wrap_wxRect_GetWidth
, 1 },
2818 { "wxRect_SetY", _wrap_wxRect_SetY
, 1 },
2819 { "wxRect_GetY", _wrap_wxRect_GetY
, 1 },
2820 { "wxRect_SetX", _wrap_wxRect_SetX
, 1 },
2821 { "wxRect_GetX", _wrap_wxRect_GetX
, 1 },
2822 { "delete_wxRect", _wrap_delete_wxRect
, 1 },
2823 { "new_wxRect", _wrap_new_wxRect
, 1 },
2824 { "wxPoint___str__", _wrap_wxPoint___str__
, 1 },
2825 { "wxPoint_Set", _wrap_wxPoint_Set
, 1 },
2826 { "delete_wxPoint", _wrap_delete_wxPoint
, 1 },
2827 { "new_wxPoint", _wrap_new_wxPoint
, 1 },
2828 { "wxPoint_y_get", _wrap_wxPoint_y_get
, 1 },
2829 { "wxPoint_y_set", _wrap_wxPoint_y_set
, 1 },
2830 { "wxPoint_x_get", _wrap_wxPoint_x_get
, 1 },
2831 { "wxPoint_x_set", _wrap_wxPoint_x_set
, 1 },
2832 { "delete_wxRealPoint", _wrap_delete_wxRealPoint
, 1 },
2833 { "new_wxRealPoint", _wrap_new_wxRealPoint
, 1 },
2834 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get
, 1 },
2835 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set
, 1 },
2836 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get
, 1 },
2837 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set
, 1 },
2838 { "wxSize___str__", _wrap_wxSize___str__
, 1 },
2839 { "wxSize_GetHeight", _wrap_wxSize_GetHeight
, 1 },
2840 { "wxSize_GetWidth", _wrap_wxSize_GetWidth
, 1 },
2841 { "wxSize_Set", _wrap_wxSize_Set
, 1 },
2842 { "delete_wxSize", _wrap_delete_wxSize
, 1 },
2843 { "new_wxSize", _wrap_new_wxSize
, 1 },
2844 { "wxSize_height_get", _wrap_wxSize_height_get
, 1 },
2845 { "wxSize_height_set", _wrap_wxSize_height_set
, 1 },
2846 { "wxSize_width_get", _wrap_wxSize_width_get
, 1 },
2847 { "wxSize_width_set", _wrap_wxSize_width_set
, 1 },
2848 { "wxResourceParseString", _wrap_wxResourceParseString
, 1 },
2849 { "wxResourceParseFile", _wrap_wxResourceParseFile
, 1 },
2850 { "wxResourceParseData", _wrap_wxResourceParseData
, 1 },
2851 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier
, 1 },
2852 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar
, 1 },
2853 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon
, 1 },
2854 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap
, 1 },
2855 { "wxResourceClear", _wrap_wxResourceClear
, 1 },
2856 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier
, 1 },
2857 { "wxGetResource", _wrap_wxGetResource
, 1 },
2858 { "wxGetOsVersion", _wrap_wxGetOsVersion
, 1 },
2859 { "wxYield", _wrap_wxYield
, 1 },
2860 { "wxStartTimer", _wrap_wxStartTimer
, 1 },
2861 { "wxShell", _wrap_wxShell
, 1 },
2862 { "wxNow", _wrap_wxNow
, 1 },
2863 { "wxIsBusy", _wrap_wxIsBusy
, 1 },
2864 { "wxGetMousePosition", _wrap_wxGetMousePosition
, 1 },
2865 { "wxGetFreeMemory", _wrap_wxGetFreeMemory
, 1 },
2866 { "wxGetElapsedTime", _wrap_wxGetElapsedTime
, 1 },
2867 { "wxGetActiveWindow", _wrap_wxGetActiveWindow
, 1 },
2868 { "wxFindWindowByName", _wrap_wxFindWindowByName
, 1 },
2869 { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel
, 1 },
2870 { "wxExecute", _wrap_wxExecute
, 1 },
2871 { "wxEndBusyCursor", _wrap_wxEndBusyCursor
, 1 },
2872 { "wxDisplaySize", _wrap_wxDisplaySize
, 1 },
2873 { "wxBell", _wrap_wxBell
, 1 },
2874 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor
, 1 },
2875 { "RegisterId", _wrap_RegisterId
, 1 },
2876 { "NewId", _wrap_NewId
, 1 },
2877 { "wxSetCursor", _wrap_wxSetCursor
, 1 },
2878 { "wxDisplayDepth", _wrap_wxDisplayDepth
, 1 },
2879 { "wxColourDisplay", _wrap_wxColourDisplay
, 1 },
2880 { "wxMessageBox", _wrap_wxMessageBox
, 1 },
2881 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex
, 1 },
2882 { "wxGetSingleChoice", _wrap_wxGetSingleChoice
, 1 },
2883 { "wxGetTextFromUser", _wrap_wxGetTextFromUser
, 1 },
2884 { "wxFileSelector", _wrap_wxFileSelector
, 1 },
2887 static PyObject
*SWIG_globals
;
2891 SWIGEXPORT(void,initmiscc
)() {
2893 SWIG_globals
= SWIG_newvarlink();
2894 m
= Py_InitModule("miscc", misccMethods
);
2895 d
= PyModule_GetDict(m
);
2896 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
2897 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
2898 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
2899 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
2900 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
2901 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
2902 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
2903 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
2904 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
2905 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
2906 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
2907 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
2908 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
2909 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
2910 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
2911 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
2912 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
2913 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
2914 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
2916 * These are the pointer type-equivalency mappings.
2917 * (Used by the SWIG pointer type-checker).
2919 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
2920 SWIG_RegisterMapping("_signed_long","_long",0);
2921 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2922 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2923 SWIG_RegisterMapping("_long","_unsigned_long",0);
2924 SWIG_RegisterMapping("_long","_signed_long",0);
2925 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
2926 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2927 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2928 SWIG_RegisterMapping("_uint","_int",0);
2929 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2930 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2931 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2932 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2933 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2934 SWIG_RegisterMapping("_EBool","_signed_int",0);
2935 SWIG_RegisterMapping("_EBool","_int",0);
2936 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2937 SWIG_RegisterMapping("_unsigned_long","_long",0);
2938 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2939 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2940 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2941 SWIG_RegisterMapping("_signed_int","_EBool",0);
2942 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2943 SWIG_RegisterMapping("_signed_int","_int",0);
2944 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2945 SWIG_RegisterMapping("_WXTYPE","_short",0);
2946 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2947 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2948 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2949 SWIG_RegisterMapping("_unsigned_short","_short",0);
2950 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2951 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2952 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2953 SWIG_RegisterMapping("_signed_short","_short",0);
2954 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2955 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2956 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2957 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2958 SWIG_RegisterMapping("_unsigned_int","_int",0);
2959 SWIG_RegisterMapping("_short","_WXTYPE",0);
2960 SWIG_RegisterMapping("_short","_unsigned_short",0);
2961 SWIG_RegisterMapping("_short","_signed_short",0);
2962 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2963 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2964 SWIG_RegisterMapping("_wxWindowID","_int",0);
2965 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2966 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2967 SWIG_RegisterMapping("_int","_EBool",0);
2968 SWIG_RegisterMapping("_int","_uint",0);
2969 SWIG_RegisterMapping("_int","_wxWindowID",0);
2970 SWIG_RegisterMapping("_int","_unsigned_int",0);
2971 SWIG_RegisterMapping("_int","_signed_int",0);
2972 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2973 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2974 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);