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 int* int_LIST_helper(PyObject
* source
);
107 extern long* long_LIST_helper(PyObject
* source
);
108 extern char** string_LIST_helper(PyObject
* source
);
109 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
110 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
111 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
121 wxGetResource(section
, entry
, &retval
, file
);
124 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
) {
125 PyObject
* _resultobj
;
131 char * _arg4
= "*.*";
133 wxWindow
* _arg6
= NULL
;
139 if(!PyArg_ParseTuple(args
,"s|ssssisii:wxFileSelector",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argc6
,&_arg7
,&_arg8
))
142 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxWindow_p")) {
143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
147 _result
= (char *)wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
148 _resultobj
= Py_BuildValue("s", _result
);
152 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
) {
153 PyObject
* _resultobj
;
156 wxString
* _arg1
= &wxPyEmptyStr
;
157 wxString
* _arg2
= &wxPyEmptyStr
;
158 wxWindow
* _arg3
= NULL
;
162 PyObject
* _obj0
= 0;
163 PyObject
* _obj1
= 0;
164 PyObject
* _obj2
= 0;
169 if(!PyArg_ParseTuple(args
,"O|OOsiii:wxGetTextFromUser",&_obj0
,&_obj1
,&_obj2
,&_argc3
,&_arg4
,&_arg5
,&tempbool6
))
172 if (!PyString_Check(_obj0
)) {
173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
176 _arg0
= new wxString(PyString_AsString(_obj0
));
180 if (!PyString_Check(_obj1
)) {
181 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
184 _arg1
= new wxString(PyString_AsString(_obj1
));
188 if (!PyString_Check(_obj2
)) {
189 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
192 _arg2
= new wxString(PyString_AsString(_obj2
));
195 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
200 _arg6
= (bool ) tempbool6
;
201 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
203 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
223 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
) {
224 PyObject
* _resultobj
;
230 wxWindow
* _arg4
= NULL
;
236 PyObject
* _obj0
= 0;
237 PyObject
* _obj1
= 0;
238 PyObject
* _obj3
= 0;
243 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoice",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
246 if (!PyString_Check(_obj0
)) {
247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
250 _arg0
= new wxString(PyString_AsString(_obj0
));
253 if (!PyString_Check(_obj1
)) {
254 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
257 _arg1
= new wxString(PyString_AsString(_obj1
));
261 _arg3
= wxString_LIST_helper(_obj3
);
267 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
272 _arg7
= (bool ) tempbool7
;
274 _arg2
= PyList_Size(_obj3
);
276 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
278 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
297 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
) {
298 PyObject
* _resultobj
;
304 wxWindow
* _arg4
= NULL
;
310 PyObject
* _obj0
= 0;
311 PyObject
* _obj1
= 0;
312 PyObject
* _obj3
= 0;
317 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
320 if (!PyString_Check(_obj0
)) {
321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
324 _arg0
= new wxString(PyString_AsString(_obj0
));
327 if (!PyString_Check(_obj1
)) {
328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
331 _arg1
= new wxString(PyString_AsString(_obj1
));
335 _arg3
= wxString_LIST_helper(_obj3
);
341 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
346 _arg7
= (bool ) tempbool7
;
348 _arg2
= PyList_Size(_obj3
);
350 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
351 _resultobj
= Py_BuildValue("i",_result
);
366 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
) {
367 PyObject
* _resultobj
;
370 wxString
* _arg1
= &wxPyEmptyStr
;
371 int _arg2
= (wxOK
)|(wxCENTRE
);
372 wxWindow
* _arg3
= NULL
;
375 PyObject
* _obj0
= 0;
376 PyObject
* _obj1
= 0;
380 if(!PyArg_ParseTuple(args
,"O|Oisii:wxMessageBox",&_obj0
,&_obj1
,&_arg2
,&_argc3
,&_arg4
,&_arg5
))
383 if (!PyString_Check(_obj0
)) {
384 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
387 _arg0
= new wxString(PyString_AsString(_obj0
));
391 if (!PyString_Check(_obj1
)) {
392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
395 _arg1
= new wxString(PyString_AsString(_obj1
));
398 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
403 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
404 _resultobj
= Py_BuildValue("i",_result
);
416 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
) {
417 PyObject
* _resultobj
;
421 if(!PyArg_ParseTuple(args
,":wxColourDisplay"))
423 _result
= (bool )wxColourDisplay();
424 _resultobj
= Py_BuildValue("i",_result
);
428 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
) {
429 PyObject
* _resultobj
;
433 if(!PyArg_ParseTuple(args
,":wxDisplayDepth"))
435 _result
= (int )wxDisplayDepth();
436 _resultobj
= Py_BuildValue("i",_result
);
440 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
) {
441 PyObject
* _resultobj
;
446 if(!PyArg_ParseTuple(args
,"s:wxSetCursor",&_argc0
))
449 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
456 _resultobj
= Py_None
;
460 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
) {
461 PyObject
* _resultobj
;
465 if(!PyArg_ParseTuple(args
,":NewId"))
467 _result
= (long )NewId();
468 _resultobj
= Py_BuildValue("l",_result
);
472 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
) {
473 PyObject
* _resultobj
;
477 if(!PyArg_ParseTuple(args
,"l:RegisterId",&_arg0
))
481 _resultobj
= Py_None
;
485 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
) {
486 PyObject
* _resultobj
;
487 wxCursor
* _arg0
= wxHOURGLASS_CURSOR
;
491 if(!PyArg_ParseTuple(args
,"|s:wxBeginBusyCursor",&_argc0
))
494 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
499 wxBeginBusyCursor(_arg0
);
501 _resultobj
= Py_None
;
505 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
) {
506 PyObject
* _resultobj
;
509 if(!PyArg_ParseTuple(args
,":wxBell"))
513 _resultobj
= Py_None
;
517 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
) {
518 PyObject
* _resultobj
;
531 if(!PyArg_ParseTuple(args
,":wxDisplaySize"))
533 wxDisplaySize(_arg0
,_arg1
);
535 _resultobj
= Py_None
;
538 o
= PyInt_FromLong((long) (*_arg0
));
539 _resultobj
= t_output_helper(_resultobj
, o
);
543 o
= PyInt_FromLong((long) (*_arg1
));
544 _resultobj
= t_output_helper(_resultobj
, o
);
549 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
) {
550 PyObject
* _resultobj
;
553 if(!PyArg_ParseTuple(args
,":wxEndBusyCursor"))
557 _resultobj
= Py_None
;
561 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
) {
562 PyObject
* _resultobj
;
566 PyObject
* _obj0
= 0;
570 if(!PyArg_ParseTuple(args
,"O|i:wxExecute",&_obj0
,&tempbool1
))
573 if (!PyString_Check(_obj0
)) {
574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
577 _arg0
= new wxString(PyString_AsString(_obj0
));
579 _arg1
= (bool ) tempbool1
;
580 _result
= (long )wxExecute(*_arg0
,_arg1
);
581 _resultobj
= Py_BuildValue("l",_result
);
589 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
) {
590 PyObject
* _resultobj
;
593 wxWindow
* _arg1
= NULL
;
594 PyObject
* _obj0
= 0;
599 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByLabel",&_obj0
,&_argc1
))
602 if (!PyString_Check(_obj0
)) {
603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
606 _arg0
= new wxString(PyString_AsString(_obj0
));
609 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
614 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
616 _resultobj
= Py_BuildValue("s",_ptemp
);
624 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
) {
625 PyObject
* _resultobj
;
628 wxWindow
* _arg1
= NULL
;
629 PyObject
* _obj0
= 0;
634 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByName",&_obj0
,&_argc1
))
637 if (!PyString_Check(_obj0
)) {
638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
641 _arg0
= new wxString(PyString_AsString(_obj0
));
644 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
649 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
651 _resultobj
= Py_BuildValue("s",_ptemp
);
659 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
) {
660 PyObject
* _resultobj
;
665 if(!PyArg_ParseTuple(args
,":wxGetActiveWindow"))
667 _result
= (wxWindow
*)wxGetActiveWindow();
668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
669 _resultobj
= Py_BuildValue("s",_ptemp
);
673 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
) {
674 PyObject
* _resultobj
;
680 if(!PyArg_ParseTuple(args
,"|i:wxGetElapsedTime",&tempbool0
))
682 _arg0
= (bool ) tempbool0
;
683 _result
= (long )wxGetElapsedTime(_arg0
);
684 _resultobj
= Py_BuildValue("l",_result
);
688 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
) {
689 PyObject
* _resultobj
;
693 if(!PyArg_ParseTuple(args
,":wxGetFreeMemory"))
695 _result
= (long )wxGetFreeMemory();
696 _resultobj
= Py_BuildValue("l",_result
);
700 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
) {
701 PyObject
* _resultobj
;
714 if(!PyArg_ParseTuple(args
,":wxGetMousePosition"))
716 wxGetMousePosition(_arg0
,_arg1
);
718 _resultobj
= Py_None
;
721 o
= PyInt_FromLong((long) (*_arg0
));
722 _resultobj
= t_output_helper(_resultobj
, o
);
726 o
= PyInt_FromLong((long) (*_arg1
));
727 _resultobj
= t_output_helper(_resultobj
, o
);
732 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
) {
733 PyObject
* _resultobj
;
737 if(!PyArg_ParseTuple(args
,":wxIsBusy"))
739 _result
= (bool )wxIsBusy();
740 _resultobj
= Py_BuildValue("i",_result
);
744 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
) {
745 PyObject
* _resultobj
;
749 if(!PyArg_ParseTuple(args
,":wxNow"))
751 _result
= new wxString (wxNow());
753 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
761 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
) {
762 PyObject
* _resultobj
;
764 wxString
* _arg0
= &wxPyEmptyStr
;
765 PyObject
* _obj0
= 0;
768 if(!PyArg_ParseTuple(args
,"|O:wxShell",&_obj0
))
772 if (!PyString_Check(_obj0
)) {
773 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
776 _arg0
= new wxString(PyString_AsString(_obj0
));
778 _result
= (bool )wxShell(*_arg0
);
779 _resultobj
= Py_BuildValue("i",_result
);
787 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
) {
788 PyObject
* _resultobj
;
791 if(!PyArg_ParseTuple(args
,":wxStartTimer"))
795 _resultobj
= Py_None
;
799 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
) {
800 PyObject
* _resultobj
;
804 if(!PyArg_ParseTuple(args
,":wxYield"))
806 _result
= (bool )wxYield();
807 _resultobj
= Py_BuildValue("i",_result
);
811 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
) {
812 PyObject
* _resultobj
;
826 if(!PyArg_ParseTuple(args
,":wxGetOsVersion"))
828 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
829 _resultobj
= Py_BuildValue("i",_result
);
832 o
= PyInt_FromLong((long) (*_arg0
));
833 _resultobj
= t_output_helper(_resultobj
, o
);
837 o
= PyInt_FromLong((long) (*_arg1
));
838 _resultobj
= t_output_helper(_resultobj
, o
);
843 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
) {
844 PyObject
* _resultobj
;
851 if(!PyArg_ParseTuple(args
,"ss|s:wxGetResource",&_arg0
,&_arg1
,&_arg2
))
853 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
854 _resultobj
= Py_BuildValue("s", _result
);
858 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
) {
859 PyObject
* _resultobj
;
865 if(!PyArg_ParseTuple(args
,"si:wxResourceAddIdentifier",&_arg0
,&_arg1
))
867 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
868 _resultobj
= Py_BuildValue("i",_result
);
872 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
) {
873 PyObject
* _resultobj
;
876 if(!PyArg_ParseTuple(args
,":wxResourceClear"))
880 _resultobj
= Py_None
;
884 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
) {
885 PyObject
* _resultobj
;
891 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateBitmap",&_arg0
))
893 _result
= (wxBitmap
*)wxResourceCreateBitmap(_arg0
);
894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
895 _resultobj
= Py_BuildValue("s",_ptemp
);
899 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
) {
900 PyObject
* _resultobj
;
906 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateIcon",&_arg0
))
908 _result
= (wxIcon
*)wxResourceCreateIcon(_arg0
);
909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
910 _resultobj
= Py_BuildValue("s",_ptemp
);
914 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
) {
915 PyObject
* _resultobj
;
921 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateMenuBar",&_arg0
))
923 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
925 _resultobj
= Py_BuildValue("s",_ptemp
);
929 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
) {
930 PyObject
* _resultobj
;
935 if(!PyArg_ParseTuple(args
,"s:wxResourceGetIdentifier",&_arg0
))
937 _result
= (int )wxResourceGetIdentifier(_arg0
);
938 _resultobj
= Py_BuildValue("i",_result
);
942 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
) {
943 PyObject
* _resultobj
;
946 wxResourceTable
* _arg1
= NULL
;
950 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseData",&_arg0
,&_argc1
))
953 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
958 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
959 _resultobj
= Py_BuildValue("i",_result
);
963 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
) {
964 PyObject
* _resultobj
;
967 wxResourceTable
* _arg1
= NULL
;
971 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseFile",&_arg0
,&_argc1
))
974 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
979 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
980 _resultobj
= Py_BuildValue("i",_result
);
984 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
) {
985 PyObject
* _resultobj
;
988 wxResourceTable
* _arg1
= NULL
;
992 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseString",&_arg0
,&_argc1
))
995 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1000 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1001 _resultobj
= Py_BuildValue("i",_result
);
1005 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1006 static PyObject
*_wrap_wxSize_width_set(PyObject
*self
, PyObject
*args
) {
1007 PyObject
* _resultobj
;
1014 if(!PyArg_ParseTuple(args
,"sl:wxSize_width_set",&_argc0
,&_arg1
))
1017 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_width_set. Expected _wxSize_p.");
1022 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1023 _resultobj
= Py_BuildValue("l",_result
);
1027 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1028 static PyObject
*_wrap_wxSize_width_get(PyObject
*self
, PyObject
*args
) {
1029 PyObject
* _resultobj
;
1035 if(!PyArg_ParseTuple(args
,"s:wxSize_width_get",&_argc0
))
1038 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_width_get. Expected _wxSize_p.");
1043 _result
= (long )wxSize_x_get(_arg0
);
1044 _resultobj
= Py_BuildValue("l",_result
);
1048 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1049 static PyObject
*_wrap_wxSize_height_set(PyObject
*self
, PyObject
*args
) {
1050 PyObject
* _resultobj
;
1057 if(!PyArg_ParseTuple(args
,"sl:wxSize_height_set",&_argc0
,&_arg1
))
1060 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_height_set. Expected _wxSize_p.");
1065 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1066 _resultobj
= Py_BuildValue("l",_result
);
1070 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1071 static PyObject
*_wrap_wxSize_height_get(PyObject
*self
, PyObject
*args
) {
1072 PyObject
* _resultobj
;
1078 if(!PyArg_ParseTuple(args
,"s:wxSize_height_get",&_argc0
))
1081 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_height_get. Expected _wxSize_p.");
1086 _result
= (long )wxSize_y_get(_arg0
);
1087 _resultobj
= Py_BuildValue("l",_result
);
1091 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1092 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
) {
1093 PyObject
* _resultobj
;
1100 if(!PyArg_ParseTuple(args
,"|ll:new_wxSize",&_arg0
,&_arg1
))
1102 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1104 _resultobj
= Py_BuildValue("s",_ptemp
);
1108 #define delete_wxSize(_swigobj) (delete _swigobj)
1109 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
) {
1110 PyObject
* _resultobj
;
1115 if(!PyArg_ParseTuple(args
,"s:delete_wxSize",&_argc0
))
1118 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1123 delete_wxSize(_arg0
);
1125 _resultobj
= Py_None
;
1129 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1130 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
) {
1131 PyObject
* _resultobj
;
1138 if(!PyArg_ParseTuple(args
,"sll:wxSize_Set",&_argc0
,&_arg1
,&_arg2
))
1141 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1146 wxSize_Set(_arg0
,_arg1
,_arg2
);
1148 _resultobj
= Py_None
;
1152 #define wxSize_GetWidth(_swigobj) (_swigobj->GetX())
1153 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
) {
1154 PyObject
* _resultobj
;
1160 if(!PyArg_ParseTuple(args
,"s:wxSize_GetWidth",&_argc0
))
1163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1168 _result
= (long )wxSize_GetWidth(_arg0
);
1169 _resultobj
= Py_BuildValue("l",_result
);
1173 #define wxSize_GetHeight(_swigobj) (_swigobj->GetY())
1174 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
) {
1175 PyObject
* _resultobj
;
1181 if(!PyArg_ParseTuple(args
,"s:wxSize_GetHeight",&_argc0
))
1184 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1189 _result
= (long )wxSize_GetHeight(_arg0
);
1190 _resultobj
= Py_BuildValue("l",_result
);
1194 static PyObject
* wxSize___str__(wxSize
*self
) {
1195 PyObject
* tup
= PyTuple_New(2);
1196 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1197 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1200 static PyObject
*_wrap_wxSize___str__(PyObject
*self
, PyObject
*args
) {
1201 PyObject
* _resultobj
;
1207 if(!PyArg_ParseTuple(args
,"s:wxSize___str__",&_argc0
))
1210 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize___str__. Expected _wxSize_p.");
1215 _result
= (PyObject
*)wxSize___str__(_arg0
);
1217 _resultobj
= _result
;
1222 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1223 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
) {
1224 PyObject
* _resultobj
;
1226 wxRealPoint
* _arg0
;
1231 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_x_set",&_argc0
,&_arg1
))
1234 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1239 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1240 _resultobj
= Py_BuildValue("d",_result
);
1244 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1245 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
) {
1246 PyObject
* _resultobj
;
1248 wxRealPoint
* _arg0
;
1252 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_x_get",&_argc0
))
1255 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1260 _result
= (double )wxRealPoint_x_get(_arg0
);
1261 _resultobj
= Py_BuildValue("d",_result
);
1265 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1266 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
) {
1267 PyObject
* _resultobj
;
1269 wxRealPoint
* _arg0
;
1274 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_y_set",&_argc0
,&_arg1
))
1277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1282 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1283 _resultobj
= Py_BuildValue("d",_result
);
1287 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1288 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
) {
1289 PyObject
* _resultobj
;
1291 wxRealPoint
* _arg0
;
1295 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_y_get",&_argc0
))
1298 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1303 _result
= (double )wxRealPoint_y_get(_arg0
);
1304 _resultobj
= Py_BuildValue("d",_result
);
1308 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1309 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1310 PyObject
* _resultobj
;
1311 wxRealPoint
* _result
;
1317 if(!PyArg_ParseTuple(args
,"|dd:new_wxRealPoint",&_arg0
,&_arg1
))
1319 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1321 _resultobj
= Py_BuildValue("s",_ptemp
);
1325 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1326 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1327 PyObject
* _resultobj
;
1328 wxRealPoint
* _arg0
;
1332 if(!PyArg_ParseTuple(args
,"s:delete_wxRealPoint",&_argc0
))
1335 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1340 delete_wxRealPoint(_arg0
);
1342 _resultobj
= Py_None
;
1346 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1347 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
) {
1348 PyObject
* _resultobj
;
1355 if(!PyArg_ParseTuple(args
,"sl:wxPoint_x_set",&_argc0
,&_arg1
))
1358 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1363 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1364 _resultobj
= Py_BuildValue("l",_result
);
1368 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1369 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
) {
1370 PyObject
* _resultobj
;
1376 if(!PyArg_ParseTuple(args
,"s:wxPoint_x_get",&_argc0
))
1379 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1384 _result
= (long )wxPoint_x_get(_arg0
);
1385 _resultobj
= Py_BuildValue("l",_result
);
1389 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1390 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
) {
1391 PyObject
* _resultobj
;
1398 if(!PyArg_ParseTuple(args
,"sl:wxPoint_y_set",&_argc0
,&_arg1
))
1401 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1406 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1407 _resultobj
= Py_BuildValue("l",_result
);
1411 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1412 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
) {
1413 PyObject
* _resultobj
;
1419 if(!PyArg_ParseTuple(args
,"s:wxPoint_y_get",&_argc0
))
1422 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1427 _result
= (long )wxPoint_y_get(_arg0
);
1428 _resultobj
= Py_BuildValue("l",_result
);
1432 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1433 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
) {
1434 PyObject
* _resultobj
;
1441 if(!PyArg_ParseTuple(args
,"|ll:new_wxPoint",&_arg0
,&_arg1
))
1443 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1444 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1445 _resultobj
= Py_BuildValue("s",_ptemp
);
1449 #define delete_wxPoint(_swigobj) (delete _swigobj)
1450 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
) {
1451 PyObject
* _resultobj
;
1456 if(!PyArg_ParseTuple(args
,"s:delete_wxPoint",&_argc0
))
1459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1464 delete_wxPoint(_arg0
);
1466 _resultobj
= Py_None
;
1470 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1474 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
) {
1475 PyObject
* _resultobj
;
1482 if(!PyArg_ParseTuple(args
,"sll:wxPoint_Set",&_argc0
,&_arg1
,&_arg2
))
1485 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1490 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1492 _resultobj
= Py_None
;
1496 static PyObject
* wxPoint___str__(wxPoint
*self
) {
1497 PyObject
* tup
= PyTuple_New(2);
1498 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1499 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1502 static PyObject
*_wrap_wxPoint___str__(PyObject
*self
, PyObject
*args
) {
1503 PyObject
* _resultobj
;
1509 if(!PyArg_ParseTuple(args
,"s:wxPoint___str__",&_argc0
))
1512 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint___str__. Expected _wxPoint_p.");
1517 _result
= (PyObject
*)wxPoint___str__(_arg0
);
1519 _resultobj
= _result
;
1524 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1525 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
) {
1526 PyObject
* _resultobj
;
1535 if(!PyArg_ParseTuple(args
,"|llll:new_wxRect",&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1537 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1538 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1539 _resultobj
= Py_BuildValue("s",_ptemp
);
1543 #define delete_wxRect(_swigobj) (delete _swigobj)
1544 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
) {
1545 PyObject
* _resultobj
;
1550 if(!PyArg_ParseTuple(args
,"s:delete_wxRect",&_argc0
))
1553 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1558 delete_wxRect(_arg0
);
1560 _resultobj
= Py_None
;
1564 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1565 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
) {
1566 PyObject
* _resultobj
;
1572 if(!PyArg_ParseTuple(args
,"s:wxRect_GetX",&_argc0
))
1575 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1580 _result
= (long )wxRect_GetX(_arg0
);
1581 _resultobj
= Py_BuildValue("l",_result
);
1585 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1586 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
) {
1587 PyObject
* _resultobj
;
1593 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetX",&_argc0
,&_arg1
))
1596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1601 wxRect_SetX(_arg0
,_arg1
);
1603 _resultobj
= Py_None
;
1607 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1608 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
) {
1609 PyObject
* _resultobj
;
1615 if(!PyArg_ParseTuple(args
,"s:wxRect_GetY",&_argc0
))
1618 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
1623 _result
= (long )wxRect_GetY(_arg0
);
1624 _resultobj
= Py_BuildValue("l",_result
);
1628 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1629 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
) {
1630 PyObject
* _resultobj
;
1636 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetY",&_argc0
,&_arg1
))
1639 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
1644 wxRect_SetY(_arg0
,_arg1
);
1646 _resultobj
= Py_None
;
1650 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1651 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
) {
1652 PyObject
* _resultobj
;
1658 if(!PyArg_ParseTuple(args
,"s:wxRect_GetWidth",&_argc0
))
1661 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
1666 _result
= (long )wxRect_GetWidth(_arg0
);
1667 _resultobj
= Py_BuildValue("l",_result
);
1671 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1672 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
) {
1673 PyObject
* _resultobj
;
1679 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetWidth",&_argc0
,&_arg1
))
1682 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
1687 wxRect_SetWidth(_arg0
,_arg1
);
1689 _resultobj
= Py_None
;
1693 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1694 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
) {
1695 PyObject
* _resultobj
;
1701 if(!PyArg_ParseTuple(args
,"s:wxRect_GetHeight",&_argc0
))
1704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
1709 _result
= (long )wxRect_GetHeight(_arg0
);
1710 _resultobj
= Py_BuildValue("l",_result
);
1714 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1715 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
) {
1716 PyObject
* _resultobj
;
1722 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetHeight",&_argc0
,&_arg1
))
1725 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
1730 wxRect_SetHeight(_arg0
,_arg1
);
1732 _resultobj
= Py_None
;
1736 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1737 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
) {
1738 PyObject
* _resultobj
;
1745 if(!PyArg_ParseTuple(args
,"s:wxRect_GetPosition",&_argc0
))
1748 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
1753 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1754 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1755 _resultobj
= Py_BuildValue("s",_ptemp
);
1759 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1760 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
) {
1761 PyObject
* _resultobj
;
1768 if(!PyArg_ParseTuple(args
,"s:wxRect_GetSize",&_argc0
))
1771 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
1776 _result
= new wxSize (wxRect_GetSize(_arg0
));
1777 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1778 _resultobj
= Py_BuildValue("s",_ptemp
);
1782 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1783 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
) {
1784 PyObject
* _resultobj
;
1790 if(!PyArg_ParseTuple(args
,"s:wxRect_GetLeft",&_argc0
))
1793 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
1798 _result
= (long )wxRect_GetLeft(_arg0
);
1799 _resultobj
= Py_BuildValue("l",_result
);
1803 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1804 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
) {
1805 PyObject
* _resultobj
;
1811 if(!PyArg_ParseTuple(args
,"s:wxRect_GetTop",&_argc0
))
1814 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
1819 _result
= (long )wxRect_GetTop(_arg0
);
1820 _resultobj
= Py_BuildValue("l",_result
);
1824 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1825 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
) {
1826 PyObject
* _resultobj
;
1832 if(!PyArg_ParseTuple(args
,"s:wxRect_GetBottom",&_argc0
))
1835 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
1840 _result
= (long )wxRect_GetBottom(_arg0
);
1841 _resultobj
= Py_BuildValue("l",_result
);
1845 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1846 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
) {
1847 PyObject
* _resultobj
;
1853 if(!PyArg_ParseTuple(args
,"s:wxRect_GetRight",&_argc0
))
1856 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
1861 _result
= (long )wxRect_GetRight(_arg0
);
1862 _resultobj
= Py_BuildValue("l",_result
);
1866 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1867 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
) {
1868 PyObject
* _resultobj
;
1875 if(!PyArg_ParseTuple(args
,"sl:wxRect_x_set",&_argc0
,&_arg1
))
1878 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
1883 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
1884 _resultobj
= Py_BuildValue("l",_result
);
1888 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
1889 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
) {
1890 PyObject
* _resultobj
;
1896 if(!PyArg_ParseTuple(args
,"s:wxRect_x_get",&_argc0
))
1899 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
1904 _result
= (long )wxRect_x_get(_arg0
);
1905 _resultobj
= Py_BuildValue("l",_result
);
1909 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1910 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
) {
1911 PyObject
* _resultobj
;
1918 if(!PyArg_ParseTuple(args
,"sl:wxRect_y_set",&_argc0
,&_arg1
))
1921 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
1926 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
1927 _resultobj
= Py_BuildValue("l",_result
);
1931 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
1932 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
) {
1933 PyObject
* _resultobj
;
1939 if(!PyArg_ParseTuple(args
,"s:wxRect_y_get",&_argc0
))
1942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
1947 _result
= (long )wxRect_y_get(_arg0
);
1948 _resultobj
= Py_BuildValue("l",_result
);
1952 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
1953 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
) {
1954 PyObject
* _resultobj
;
1961 if(!PyArg_ParseTuple(args
,"sl:wxRect_width_set",&_argc0
,&_arg1
))
1964 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
1969 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
1970 _resultobj
= Py_BuildValue("l",_result
);
1974 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
1975 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
) {
1976 PyObject
* _resultobj
;
1982 if(!PyArg_ParseTuple(args
,"s:wxRect_width_get",&_argc0
))
1985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
1990 _result
= (long )wxRect_width_get(_arg0
);
1991 _resultobj
= Py_BuildValue("l",_result
);
1995 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
1996 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
) {
1997 PyObject
* _resultobj
;
2004 if(!PyArg_ParseTuple(args
,"sl:wxRect_height_set",&_argc0
,&_arg1
))
2007 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2012 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2013 _resultobj
= Py_BuildValue("l",_result
);
2017 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2018 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
) {
2019 PyObject
* _resultobj
;
2025 if(!PyArg_ParseTuple(args
,"s:wxRect_height_get",&_argc0
))
2028 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2033 _result
= (long )wxRect_height_get(_arg0
);
2034 _resultobj
= Py_BuildValue("l",_result
);
2038 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2039 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2040 PyObject
* _resultobj
;
2041 wxPyTimer
* _result
;
2043 PyObject
* _obj0
= 0;
2047 if(!PyArg_ParseTuple(args
,"O:new_wxPyTimer",&_obj0
))
2052 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2054 _resultobj
= Py_BuildValue("s",_ptemp
);
2058 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2059 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2060 PyObject
* _resultobj
;
2065 if(!PyArg_ParseTuple(args
,"s:delete_wxPyTimer",&_argc0
))
2068 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2073 delete_wxPyTimer(_arg0
);
2075 _resultobj
= Py_None
;
2079 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2080 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
) {
2081 PyObject
* _resultobj
;
2087 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Interval",&_argc0
))
2090 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2095 _result
= (int )wxPyTimer_Interval(_arg0
);
2096 _resultobj
= Py_BuildValue("i",_result
);
2100 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2101 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
) {
2102 PyObject
* _resultobj
;
2109 if(!PyArg_ParseTuple(args
,"s|ii:wxPyTimer_Start",&_argc0
,&_arg1
,&_arg2
))
2112 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2117 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2119 _resultobj
= Py_None
;
2123 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2124 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
) {
2125 PyObject
* _resultobj
;
2130 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Stop",&_argc0
))
2133 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2138 wxPyTimer_Stop(_arg0
);
2140 _resultobj
= Py_None
;
2144 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2145 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
) {
2146 PyObject
* _resultobj
;
2147 wxIndividualLayoutConstraint
* _arg0
;
2154 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0
,&_argc1
,&_arg2
))
2157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2163 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2168 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2170 _resultobj
= Py_None
;
2174 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2175 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
) {
2176 PyObject
* _resultobj
;
2177 wxIndividualLayoutConstraint
* _arg0
;
2182 if(!PyArg_ParseTuple(args
,"si:wxIndividualLayoutConstraint_Absolute",&_argc0
,&_arg1
))
2185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2190 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2192 _resultobj
= Py_None
;
2196 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2197 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
) {
2198 PyObject
* _resultobj
;
2199 wxIndividualLayoutConstraint
* _arg0
;
2203 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_AsIs",&_argc0
))
2206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2211 wxIndividualLayoutConstraint_AsIs(_arg0
);
2213 _resultobj
= Py_None
;
2217 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2218 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
) {
2219 PyObject
* _resultobj
;
2220 wxIndividualLayoutConstraint
* _arg0
;
2227 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0
,&_argc1
,&_arg2
))
2230 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2236 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2241 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2243 _resultobj
= Py_None
;
2247 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2248 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
) {
2249 PyObject
* _resultobj
;
2250 wxIndividualLayoutConstraint
* _arg0
;
2254 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0
))
2257 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2262 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2264 _resultobj
= Py_None
;
2268 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2269 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
) {
2270 PyObject
* _resultobj
;
2271 wxIndividualLayoutConstraint
* _arg0
;
2278 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0
,&_argc1
,&_arg2
))
2281 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2287 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2292 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2294 _resultobj
= Py_None
;
2298 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2299 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
) {
2300 PyObject
* _resultobj
;
2301 wxIndividualLayoutConstraint
* _arg0
;
2309 if(!PyArg_ParseTuple(args
,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2312 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2318 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2323 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2325 _resultobj
= Py_None
;
2329 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2330 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
) {
2331 PyObject
* _resultobj
;
2332 wxIndividualLayoutConstraint
* _arg0
;
2339 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0
,&_argc1
,&_arg2
))
2342 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2348 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2353 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2355 _resultobj
= Py_None
;
2359 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2360 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
) {
2361 PyObject
* _resultobj
;
2362 wxIndividualLayoutConstraint
* _arg0
;
2370 if(!PyArg_ParseTuple(args
,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2373 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2379 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2384 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2386 _resultobj
= Py_None
;
2390 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2391 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
) {
2392 PyObject
* _resultobj
;
2393 wxIndividualLayoutConstraint
* _arg0
;
2394 wxRelationship _arg1
;
2403 if(!PyArg_ParseTuple(args
,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
))
2406 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2412 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2417 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2419 _resultobj
= Py_None
;
2423 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2424 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
) {
2425 PyObject
* _resultobj
;
2426 wxLayoutConstraints
* _result
;
2430 if(!PyArg_ParseTuple(args
,":new_wxLayoutConstraints"))
2432 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2434 _resultobj
= Py_BuildValue("s",_ptemp
);
2438 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2439 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
) {
2440 PyObject
* _resultobj
;
2441 wxIndividualLayoutConstraint
* _result
;
2442 wxLayoutConstraints
* _arg0
;
2447 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_bottom_get",&_argc0
))
2450 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2455 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2457 _resultobj
= Py_BuildValue("s",_ptemp
);
2461 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2462 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
) {
2463 PyObject
* _resultobj
;
2464 wxIndividualLayoutConstraint
* _result
;
2465 wxLayoutConstraints
* _arg0
;
2470 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreX_get",&_argc0
))
2473 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2478 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2480 _resultobj
= Py_BuildValue("s",_ptemp
);
2484 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2485 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
) {
2486 PyObject
* _resultobj
;
2487 wxIndividualLayoutConstraint
* _result
;
2488 wxLayoutConstraints
* _arg0
;
2493 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreY_get",&_argc0
))
2496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2501 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2503 _resultobj
= Py_BuildValue("s",_ptemp
);
2507 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2508 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
) {
2509 PyObject
* _resultobj
;
2510 wxIndividualLayoutConstraint
* _result
;
2511 wxLayoutConstraints
* _arg0
;
2516 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_height_get",&_argc0
))
2519 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2524 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2526 _resultobj
= Py_BuildValue("s",_ptemp
);
2530 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2531 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
) {
2532 PyObject
* _resultobj
;
2533 wxIndividualLayoutConstraint
* _result
;
2534 wxLayoutConstraints
* _arg0
;
2539 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_left_get",&_argc0
))
2542 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2547 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2549 _resultobj
= Py_BuildValue("s",_ptemp
);
2553 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2554 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
) {
2555 PyObject
* _resultobj
;
2556 wxIndividualLayoutConstraint
* _result
;
2557 wxLayoutConstraints
* _arg0
;
2562 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_right_get",&_argc0
))
2565 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2570 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
2571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2572 _resultobj
= Py_BuildValue("s",_ptemp
);
2576 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2577 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
) {
2578 PyObject
* _resultobj
;
2579 wxIndividualLayoutConstraint
* _result
;
2580 wxLayoutConstraints
* _arg0
;
2585 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_top_get",&_argc0
))
2588 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
2593 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
2594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2595 _resultobj
= Py_BuildValue("s",_ptemp
);
2599 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
2600 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
) {
2601 PyObject
* _resultobj
;
2602 wxIndividualLayoutConstraint
* _result
;
2603 wxLayoutConstraints
* _arg0
;
2608 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_width_get",&_argc0
))
2611 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
2616 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
2617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2618 _resultobj
= Py_BuildValue("s",_ptemp
);
2622 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
2623 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
) {
2624 PyObject
* _resultobj
;
2625 wxAcceleratorEntry
* _result
;
2632 if(!PyArg_ParseTuple(args
,"|iii:new_wxAcceleratorEntry",&_arg0
,&_arg1
,&_arg2
))
2634 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
2635 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
2636 _resultobj
= Py_BuildValue("s",_ptemp
);
2640 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2641 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
) {
2642 PyObject
* _resultobj
;
2643 wxAcceleratorEntry
* _arg0
;
2650 if(!PyArg_ParseTuple(args
,"siii:wxAcceleratorEntry_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2653 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
2658 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2660 _resultobj
= Py_None
;
2664 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
2665 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
) {
2666 PyObject
* _resultobj
;
2668 wxAcceleratorEntry
* _arg0
;
2672 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetFlags",&_argc0
))
2675 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
2680 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
2681 _resultobj
= Py_BuildValue("i",_result
);
2685 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2686 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
) {
2687 PyObject
* _resultobj
;
2689 wxAcceleratorEntry
* _arg0
;
2693 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetKeyCode",&_argc0
))
2696 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
2701 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
2702 _resultobj
= Py_BuildValue("i",_result
);
2706 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
2707 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
) {
2708 PyObject
* _resultobj
;
2710 wxAcceleratorEntry
* _arg0
;
2714 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetCommand",&_argc0
))
2717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
2722 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
2723 _resultobj
= Py_BuildValue("i",_result
);
2727 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
2728 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
) {
2729 PyObject
* _resultobj
;
2730 wxAcceleratorTable
* _result
;
2732 wxAcceleratorEntry
* _arg1
;
2733 PyObject
* _obj1
= 0;
2737 if(!PyArg_ParseTuple(args
,"O:new_wxAcceleratorTable",&_obj1
))
2741 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
2742 if (_arg1
== NULL
) {
2747 _arg0
= PyList_Size(_obj1
);
2749 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
2750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
2751 _resultobj
= Py_BuildValue("s",_ptemp
);
2758 static PyMethodDef misccMethods
[] = {
2759 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable
, 1 },
2760 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand
, 1 },
2761 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode
, 1 },
2762 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags
, 1 },
2763 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set
, 1 },
2764 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry
, 1 },
2765 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get
, 1 },
2766 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get
, 1 },
2767 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get
, 1 },
2768 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get
, 1 },
2769 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get
, 1 },
2770 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get
, 1 },
2771 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get
, 1 },
2772 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get
, 1 },
2773 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints
, 1 },
2774 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set
, 1 },
2775 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs
, 1 },
2776 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf
, 1 },
2777 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf
, 1 },
2778 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf
, 1 },
2779 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained
, 1 },
2780 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below
, 1 },
2781 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs
, 1 },
2782 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute
, 1 },
2783 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above
, 1 },
2784 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop
, 1 },
2785 { "wxPyTimer_Start", _wrap_wxPyTimer_Start
, 1 },
2786 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval
, 1 },
2787 { "delete_wxPyTimer", _wrap_delete_wxPyTimer
, 1 },
2788 { "new_wxPyTimer", _wrap_new_wxPyTimer
, 1 },
2789 { "wxRect_height_get", _wrap_wxRect_height_get
, 1 },
2790 { "wxRect_height_set", _wrap_wxRect_height_set
, 1 },
2791 { "wxRect_width_get", _wrap_wxRect_width_get
, 1 },
2792 { "wxRect_width_set", _wrap_wxRect_width_set
, 1 },
2793 { "wxRect_y_get", _wrap_wxRect_y_get
, 1 },
2794 { "wxRect_y_set", _wrap_wxRect_y_set
, 1 },
2795 { "wxRect_x_get", _wrap_wxRect_x_get
, 1 },
2796 { "wxRect_x_set", _wrap_wxRect_x_set
, 1 },
2797 { "wxRect_GetRight", _wrap_wxRect_GetRight
, 1 },
2798 { "wxRect_GetBottom", _wrap_wxRect_GetBottom
, 1 },
2799 { "wxRect_GetTop", _wrap_wxRect_GetTop
, 1 },
2800 { "wxRect_GetLeft", _wrap_wxRect_GetLeft
, 1 },
2801 { "wxRect_GetSize", _wrap_wxRect_GetSize
, 1 },
2802 { "wxRect_GetPosition", _wrap_wxRect_GetPosition
, 1 },
2803 { "wxRect_SetHeight", _wrap_wxRect_SetHeight
, 1 },
2804 { "wxRect_GetHeight", _wrap_wxRect_GetHeight
, 1 },
2805 { "wxRect_SetWidth", _wrap_wxRect_SetWidth
, 1 },
2806 { "wxRect_GetWidth", _wrap_wxRect_GetWidth
, 1 },
2807 { "wxRect_SetY", _wrap_wxRect_SetY
, 1 },
2808 { "wxRect_GetY", _wrap_wxRect_GetY
, 1 },
2809 { "wxRect_SetX", _wrap_wxRect_SetX
, 1 },
2810 { "wxRect_GetX", _wrap_wxRect_GetX
, 1 },
2811 { "delete_wxRect", _wrap_delete_wxRect
, 1 },
2812 { "new_wxRect", _wrap_new_wxRect
, 1 },
2813 { "wxPoint___str__", _wrap_wxPoint___str__
, 1 },
2814 { "wxPoint_Set", _wrap_wxPoint_Set
, 1 },
2815 { "delete_wxPoint", _wrap_delete_wxPoint
, 1 },
2816 { "new_wxPoint", _wrap_new_wxPoint
, 1 },
2817 { "wxPoint_y_get", _wrap_wxPoint_y_get
, 1 },
2818 { "wxPoint_y_set", _wrap_wxPoint_y_set
, 1 },
2819 { "wxPoint_x_get", _wrap_wxPoint_x_get
, 1 },
2820 { "wxPoint_x_set", _wrap_wxPoint_x_set
, 1 },
2821 { "delete_wxRealPoint", _wrap_delete_wxRealPoint
, 1 },
2822 { "new_wxRealPoint", _wrap_new_wxRealPoint
, 1 },
2823 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get
, 1 },
2824 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set
, 1 },
2825 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get
, 1 },
2826 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set
, 1 },
2827 { "wxSize___str__", _wrap_wxSize___str__
, 1 },
2828 { "wxSize_GetHeight", _wrap_wxSize_GetHeight
, 1 },
2829 { "wxSize_GetWidth", _wrap_wxSize_GetWidth
, 1 },
2830 { "wxSize_Set", _wrap_wxSize_Set
, 1 },
2831 { "delete_wxSize", _wrap_delete_wxSize
, 1 },
2832 { "new_wxSize", _wrap_new_wxSize
, 1 },
2833 { "wxSize_height_get", _wrap_wxSize_height_get
, 1 },
2834 { "wxSize_height_set", _wrap_wxSize_height_set
, 1 },
2835 { "wxSize_width_get", _wrap_wxSize_width_get
, 1 },
2836 { "wxSize_width_set", _wrap_wxSize_width_set
, 1 },
2837 { "wxResourceParseString", _wrap_wxResourceParseString
, 1 },
2838 { "wxResourceParseFile", _wrap_wxResourceParseFile
, 1 },
2839 { "wxResourceParseData", _wrap_wxResourceParseData
, 1 },
2840 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier
, 1 },
2841 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar
, 1 },
2842 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon
, 1 },
2843 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap
, 1 },
2844 { "wxResourceClear", _wrap_wxResourceClear
, 1 },
2845 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier
, 1 },
2846 { "wxGetResource", _wrap_wxGetResource
, 1 },
2847 { "wxGetOsVersion", _wrap_wxGetOsVersion
, 1 },
2848 { "wxYield", _wrap_wxYield
, 1 },
2849 { "wxStartTimer", _wrap_wxStartTimer
, 1 },
2850 { "wxShell", _wrap_wxShell
, 1 },
2851 { "wxNow", _wrap_wxNow
, 1 },
2852 { "wxIsBusy", _wrap_wxIsBusy
, 1 },
2853 { "wxGetMousePosition", _wrap_wxGetMousePosition
, 1 },
2854 { "wxGetFreeMemory", _wrap_wxGetFreeMemory
, 1 },
2855 { "wxGetElapsedTime", _wrap_wxGetElapsedTime
, 1 },
2856 { "wxGetActiveWindow", _wrap_wxGetActiveWindow
, 1 },
2857 { "wxFindWindowByName", _wrap_wxFindWindowByName
, 1 },
2858 { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel
, 1 },
2859 { "wxExecute", _wrap_wxExecute
, 1 },
2860 { "wxEndBusyCursor", _wrap_wxEndBusyCursor
, 1 },
2861 { "wxDisplaySize", _wrap_wxDisplaySize
, 1 },
2862 { "wxBell", _wrap_wxBell
, 1 },
2863 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor
, 1 },
2864 { "RegisterId", _wrap_RegisterId
, 1 },
2865 { "NewId", _wrap_NewId
, 1 },
2866 { "wxSetCursor", _wrap_wxSetCursor
, 1 },
2867 { "wxDisplayDepth", _wrap_wxDisplayDepth
, 1 },
2868 { "wxColourDisplay", _wrap_wxColourDisplay
, 1 },
2869 { "wxMessageBox", _wrap_wxMessageBox
, 1 },
2870 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex
, 1 },
2871 { "wxGetSingleChoice", _wrap_wxGetSingleChoice
, 1 },
2872 { "wxGetTextFromUser", _wrap_wxGetTextFromUser
, 1 },
2873 { "wxFileSelector", _wrap_wxFileSelector
, 1 },
2876 static PyObject
*SWIG_globals
;
2880 SWIGEXPORT(void,initmiscc
)() {
2882 SWIG_globals
= SWIG_newvarlink();
2883 m
= Py_InitModule("miscc", misccMethods
);
2884 d
= PyModule_GetDict(m
);
2885 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
2886 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
2887 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
2888 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
2889 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
2890 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
2891 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
2892 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
2893 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
2894 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
2895 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
2896 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
2897 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
2898 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
2899 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
2900 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
2901 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
2902 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
2903 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
2905 * These are the pointer type-equivalency mappings.
2906 * (Used by the SWIG pointer type-checker).
2908 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
2909 SWIG_RegisterMapping("_signed_long","_long",0);
2910 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2911 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2912 SWIG_RegisterMapping("_long","_unsigned_long",0);
2913 SWIG_RegisterMapping("_long","_signed_long",0);
2914 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
2915 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2916 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2917 SWIG_RegisterMapping("_uint","_int",0);
2918 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2919 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2920 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2921 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2922 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2923 SWIG_RegisterMapping("_EBool","_signed_int",0);
2924 SWIG_RegisterMapping("_EBool","_int",0);
2925 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2926 SWIG_RegisterMapping("_unsigned_long","_long",0);
2927 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2928 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2929 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2930 SWIG_RegisterMapping("_signed_int","_EBool",0);
2931 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2932 SWIG_RegisterMapping("_signed_int","_int",0);
2933 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2934 SWIG_RegisterMapping("_WXTYPE","_short",0);
2935 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2936 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2937 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2938 SWIG_RegisterMapping("_unsigned_short","_short",0);
2939 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2940 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2941 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2942 SWIG_RegisterMapping("_signed_short","_short",0);
2943 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2944 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2945 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2946 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2947 SWIG_RegisterMapping("_unsigned_int","_int",0);
2948 SWIG_RegisterMapping("_short","_WXTYPE",0);
2949 SWIG_RegisterMapping("_short","_unsigned_short",0);
2950 SWIG_RegisterMapping("_short","_signed_short",0);
2951 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2952 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2953 SWIG_RegisterMapping("_wxWindowID","_int",0);
2954 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2955 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2956 SWIG_RegisterMapping("_int","_EBool",0);
2957 SWIG_RegisterMapping("_int","_uint",0);
2958 SWIG_RegisterMapping("_int","_wxWindowID",0);
2959 SWIG_RegisterMapping("_int","_unsigned_int",0);
2960 SWIG_RegisterMapping("_int","_signed_int",0);
2961 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2962 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2963 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);