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
) {
77 } else if (target
== Py_None
) {
81 if (!PyList_Check(target
)) {
83 target
= PyList_New(0);
84 PyList_Append(target
, o2
);
87 PyList_Append(target
,o
);
93 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
99 } else if (target
== Py_None
) {
103 if (!PyTuple_Check(target
)) {
105 target
= PyTuple_New(1);
106 PyTuple_SetItem(target
, 0, o2
);
109 PyTuple_SetItem(o3
, 0, o
);
112 target
= PySequence_Concat(o2
, o3
);
120 extern int* int_LIST_helper(PyObject
* source
);
121 extern long* long_LIST_helper(PyObject
* source
);
122 extern char** string_LIST_helper(PyObject
* source
);
123 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
124 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
125 extern wxString
* wxString_LIST_helper(PyObject
* source
);
127 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
131 static char* wxStringErrorMsg
= "string type is required for parameter";
133 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
135 wxGetResource(section
, entry
, &retval
, file
);
138 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
) {
139 PyObject
* _resultobj
;
145 char * _arg4
= "*.*";
147 wxWindow
* _arg6
= NULL
;
153 if(!PyArg_ParseTuple(args
,"s|ssssisii:wxFileSelector",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argc6
,&_arg7
,&_arg8
))
156 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxWindow_p")) {
157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
161 _result
= (char *)wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
162 _resultobj
= Py_BuildValue("s", _result
);
166 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
) {
167 PyObject
* _resultobj
;
170 wxString
* _arg1
= &wxPyEmptyStr
;
171 wxString
* _arg2
= &wxPyEmptyStr
;
172 wxWindow
* _arg3
= NULL
;
176 PyObject
* _obj0
= 0;
177 PyObject
* _obj1
= 0;
178 PyObject
* _obj2
= 0;
183 if(!PyArg_ParseTuple(args
,"O|OOsiii:wxGetTextFromUser",&_obj0
,&_obj1
,&_obj2
,&_argc3
,&_arg4
,&_arg5
,&tempbool6
))
186 if (!PyString_Check(_obj0
)) {
187 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
190 _arg0
= new wxString(PyString_AsString(_obj0
));
194 if (!PyString_Check(_obj1
)) {
195 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
198 _arg1
= new wxString(PyString_AsString(_obj1
));
202 if (!PyString_Check(_obj2
)) {
203 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
206 _arg2
= new wxString(PyString_AsString(_obj2
));
209 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
214 _arg6
= (bool ) tempbool6
;
215 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
217 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
237 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
) {
238 PyObject
* _resultobj
;
244 wxWindow
* _arg4
= NULL
;
250 PyObject
* _obj0
= 0;
251 PyObject
* _obj1
= 0;
252 PyObject
* _obj3
= 0;
257 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoice",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
260 if (!PyString_Check(_obj0
)) {
261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
264 _arg0
= new wxString(PyString_AsString(_obj0
));
267 if (!PyString_Check(_obj1
)) {
268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
271 _arg1
= new wxString(PyString_AsString(_obj1
));
275 _arg3
= wxString_LIST_helper(_obj3
);
281 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
286 _arg7
= (bool ) tempbool7
;
288 _arg2
= PyList_Size(_obj3
);
290 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
292 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
311 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
) {
312 PyObject
* _resultobj
;
318 wxWindow
* _arg4
= NULL
;
324 PyObject
* _obj0
= 0;
325 PyObject
* _obj1
= 0;
326 PyObject
* _obj3
= 0;
331 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
334 if (!PyString_Check(_obj0
)) {
335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
338 _arg0
= new wxString(PyString_AsString(_obj0
));
341 if (!PyString_Check(_obj1
)) {
342 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
345 _arg1
= new wxString(PyString_AsString(_obj1
));
349 _arg3
= wxString_LIST_helper(_obj3
);
355 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
360 _arg7
= (bool ) tempbool7
;
362 _arg2
= PyList_Size(_obj3
);
364 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
365 _resultobj
= Py_BuildValue("i",_result
);
380 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
) {
381 PyObject
* _resultobj
;
384 wxString
* _arg1
= &wxPyEmptyStr
;
385 int _arg2
= (wxOK
)|(wxCENTRE
);
386 wxWindow
* _arg3
= NULL
;
389 PyObject
* _obj0
= 0;
390 PyObject
* _obj1
= 0;
394 if(!PyArg_ParseTuple(args
,"O|Oisii:wxMessageBox",&_obj0
,&_obj1
,&_arg2
,&_argc3
,&_arg4
,&_arg5
))
397 if (!PyString_Check(_obj0
)) {
398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
401 _arg0
= new wxString(PyString_AsString(_obj0
));
405 if (!PyString_Check(_obj1
)) {
406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
409 _arg1
= new wxString(PyString_AsString(_obj1
));
412 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
417 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
418 _resultobj
= Py_BuildValue("i",_result
);
430 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
) {
431 PyObject
* _resultobj
;
435 if(!PyArg_ParseTuple(args
,":wxColourDisplay"))
437 _result
= (bool )wxColourDisplay();
438 _resultobj
= Py_BuildValue("i",_result
);
442 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
) {
443 PyObject
* _resultobj
;
447 if(!PyArg_ParseTuple(args
,":wxDisplayDepth"))
449 _result
= (int )wxDisplayDepth();
450 _resultobj
= Py_BuildValue("i",_result
);
454 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
) {
455 PyObject
* _resultobj
;
460 if(!PyArg_ParseTuple(args
,"s:wxSetCursor",&_argc0
))
463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
470 _resultobj
= Py_None
;
474 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
) {
475 PyObject
* _resultobj
;
479 if(!PyArg_ParseTuple(args
,":NewId"))
481 _result
= (long )NewId();
482 _resultobj
= Py_BuildValue("l",_result
);
486 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
) {
487 PyObject
* _resultobj
;
491 if(!PyArg_ParseTuple(args
,"l:RegisterId",&_arg0
))
495 _resultobj
= Py_None
;
499 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
) {
500 PyObject
* _resultobj
;
501 wxCursor
* _arg0
= wxHOURGLASS_CURSOR
;
505 if(!PyArg_ParseTuple(args
,"|s:wxBeginBusyCursor",&_argc0
))
508 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
513 wxBeginBusyCursor(_arg0
);
515 _resultobj
= Py_None
;
519 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
) {
520 PyObject
* _resultobj
;
523 if(!PyArg_ParseTuple(args
,":wxBell"))
527 _resultobj
= Py_None
;
531 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
) {
532 PyObject
* _resultobj
;
545 if(!PyArg_ParseTuple(args
,":wxDisplaySize"))
547 wxDisplaySize(_arg0
,_arg1
);
549 _resultobj
= Py_None
;
552 o
= PyInt_FromLong((long) (*_arg0
));
553 _resultobj
= t_output_helper(_resultobj
, o
);
557 o
= PyInt_FromLong((long) (*_arg1
));
558 _resultobj
= t_output_helper(_resultobj
, o
);
563 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
) {
564 PyObject
* _resultobj
;
567 if(!PyArg_ParseTuple(args
,":wxEndBusyCursor"))
571 _resultobj
= Py_None
;
575 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
) {
576 PyObject
* _resultobj
;
580 PyObject
* _obj0
= 0;
584 if(!PyArg_ParseTuple(args
,"O|i:wxExecute",&_obj0
,&tempbool1
))
587 if (!PyString_Check(_obj0
)) {
588 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
591 _arg0
= new wxString(PyString_AsString(_obj0
));
593 _arg1
= (bool ) tempbool1
;
594 _result
= (long )wxExecute(*_arg0
,_arg1
);
595 _resultobj
= Py_BuildValue("l",_result
);
603 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
) {
604 PyObject
* _resultobj
;
607 wxWindow
* _arg1
= NULL
;
608 PyObject
* _obj0
= 0;
613 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByLabel",&_obj0
,&_argc1
))
616 if (!PyString_Check(_obj0
)) {
617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
620 _arg0
= new wxString(PyString_AsString(_obj0
));
623 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
628 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
630 _resultobj
= Py_BuildValue("s",_ptemp
);
638 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
) {
639 PyObject
* _resultobj
;
642 wxWindow
* _arg1
= NULL
;
643 PyObject
* _obj0
= 0;
648 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByName",&_obj0
,&_argc1
))
651 if (!PyString_Check(_obj0
)) {
652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
655 _arg0
= new wxString(PyString_AsString(_obj0
));
658 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
663 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
665 _resultobj
= Py_BuildValue("s",_ptemp
);
673 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
) {
674 PyObject
* _resultobj
;
679 if(!PyArg_ParseTuple(args
,":wxGetActiveWindow"))
681 _result
= (wxWindow
*)wxGetActiveWindow();
682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
683 _resultobj
= Py_BuildValue("s",_ptemp
);
687 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
) {
688 PyObject
* _resultobj
;
694 if(!PyArg_ParseTuple(args
,"|i:wxGetElapsedTime",&tempbool0
))
696 _arg0
= (bool ) tempbool0
;
697 _result
= (long )wxGetElapsedTime(_arg0
);
698 _resultobj
= Py_BuildValue("l",_result
);
702 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
) {
703 PyObject
* _resultobj
;
707 if(!PyArg_ParseTuple(args
,":wxGetFreeMemory"))
709 _result
= (long )wxGetFreeMemory();
710 _resultobj
= Py_BuildValue("l",_result
);
714 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
) {
715 PyObject
* _resultobj
;
728 if(!PyArg_ParseTuple(args
,":wxGetMousePosition"))
730 wxGetMousePosition(_arg0
,_arg1
);
732 _resultobj
= Py_None
;
735 o
= PyInt_FromLong((long) (*_arg0
));
736 _resultobj
= t_output_helper(_resultobj
, o
);
740 o
= PyInt_FromLong((long) (*_arg1
));
741 _resultobj
= t_output_helper(_resultobj
, o
);
746 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
) {
747 PyObject
* _resultobj
;
751 if(!PyArg_ParseTuple(args
,":wxIsBusy"))
753 _result
= (bool )wxIsBusy();
754 _resultobj
= Py_BuildValue("i",_result
);
758 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
) {
759 PyObject
* _resultobj
;
763 if(!PyArg_ParseTuple(args
,":wxNow"))
765 _result
= new wxString (wxNow());
767 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
775 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
) {
776 PyObject
* _resultobj
;
778 wxString
* _arg0
= &wxPyEmptyStr
;
779 PyObject
* _obj0
= 0;
782 if(!PyArg_ParseTuple(args
,"|O:wxShell",&_obj0
))
786 if (!PyString_Check(_obj0
)) {
787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
790 _arg0
= new wxString(PyString_AsString(_obj0
));
792 _result
= (bool )wxShell(*_arg0
);
793 _resultobj
= Py_BuildValue("i",_result
);
801 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
) {
802 PyObject
* _resultobj
;
805 if(!PyArg_ParseTuple(args
,":wxStartTimer"))
809 _resultobj
= Py_None
;
813 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
) {
814 PyObject
* _resultobj
;
818 if(!PyArg_ParseTuple(args
,":wxYield"))
820 _result
= (bool )wxYield();
821 _resultobj
= Py_BuildValue("i",_result
);
825 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
) {
826 PyObject
* _resultobj
;
840 if(!PyArg_ParseTuple(args
,":wxGetOsVersion"))
842 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
843 _resultobj
= Py_BuildValue("i",_result
);
846 o
= PyInt_FromLong((long) (*_arg0
));
847 _resultobj
= t_output_helper(_resultobj
, o
);
851 o
= PyInt_FromLong((long) (*_arg1
));
852 _resultobj
= t_output_helper(_resultobj
, o
);
857 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
) {
858 PyObject
* _resultobj
;
865 if(!PyArg_ParseTuple(args
,"ss|s:wxGetResource",&_arg0
,&_arg1
,&_arg2
))
867 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
868 _resultobj
= Py_BuildValue("s", _result
);
872 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
) {
873 PyObject
* _resultobj
;
879 if(!PyArg_ParseTuple(args
,"si:wxResourceAddIdentifier",&_arg0
,&_arg1
))
881 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
882 _resultobj
= Py_BuildValue("i",_result
);
886 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
) {
887 PyObject
* _resultobj
;
890 if(!PyArg_ParseTuple(args
,":wxResourceClear"))
894 _resultobj
= Py_None
;
898 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
) {
899 PyObject
* _resultobj
;
905 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateBitmap",&_arg0
))
907 _result
= (wxBitmap
*)wxResourceCreateBitmap(_arg0
);
908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
909 _resultobj
= Py_BuildValue("s",_ptemp
);
913 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
) {
914 PyObject
* _resultobj
;
920 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateIcon",&_arg0
))
922 _result
= (wxIcon
*)wxResourceCreateIcon(_arg0
);
923 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
924 _resultobj
= Py_BuildValue("s",_ptemp
);
928 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
) {
929 PyObject
* _resultobj
;
935 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateMenuBar",&_arg0
))
937 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
939 _resultobj
= Py_BuildValue("s",_ptemp
);
943 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
) {
944 PyObject
* _resultobj
;
949 if(!PyArg_ParseTuple(args
,"s:wxResourceGetIdentifier",&_arg0
))
951 _result
= (int )wxResourceGetIdentifier(_arg0
);
952 _resultobj
= Py_BuildValue("i",_result
);
956 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
) {
957 PyObject
* _resultobj
;
960 wxResourceTable
* _arg1
= NULL
;
964 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseData",&_arg0
,&_argc1
))
967 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
972 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
973 _resultobj
= Py_BuildValue("i",_result
);
977 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
) {
978 PyObject
* _resultobj
;
981 wxResourceTable
* _arg1
= NULL
;
985 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseFile",&_arg0
,&_argc1
))
988 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
993 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
994 _resultobj
= Py_BuildValue("i",_result
);
998 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
) {
999 PyObject
* _resultobj
;
1002 wxResourceTable
* _arg1
= NULL
;
1006 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseString",&_arg0
,&_argc1
))
1009 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1014 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1015 _resultobj
= Py_BuildValue("i",_result
);
1019 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1020 static PyObject
*_wrap_wxSize_width_set(PyObject
*self
, PyObject
*args
) {
1021 PyObject
* _resultobj
;
1028 if(!PyArg_ParseTuple(args
,"sl:wxSize_width_set",&_argc0
,&_arg1
))
1031 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_width_set. Expected _wxSize_p.");
1036 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1037 _resultobj
= Py_BuildValue("l",_result
);
1041 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1042 static PyObject
*_wrap_wxSize_width_get(PyObject
*self
, PyObject
*args
) {
1043 PyObject
* _resultobj
;
1049 if(!PyArg_ParseTuple(args
,"s:wxSize_width_get",&_argc0
))
1052 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_width_get. Expected _wxSize_p.");
1057 _result
= (long )wxSize_x_get(_arg0
);
1058 _resultobj
= Py_BuildValue("l",_result
);
1062 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1063 static PyObject
*_wrap_wxSize_height_set(PyObject
*self
, PyObject
*args
) {
1064 PyObject
* _resultobj
;
1071 if(!PyArg_ParseTuple(args
,"sl:wxSize_height_set",&_argc0
,&_arg1
))
1074 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_height_set. Expected _wxSize_p.");
1079 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1080 _resultobj
= Py_BuildValue("l",_result
);
1084 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1085 static PyObject
*_wrap_wxSize_height_get(PyObject
*self
, PyObject
*args
) {
1086 PyObject
* _resultobj
;
1092 if(!PyArg_ParseTuple(args
,"s:wxSize_height_get",&_argc0
))
1095 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_height_get. Expected _wxSize_p.");
1100 _result
= (long )wxSize_y_get(_arg0
);
1101 _resultobj
= Py_BuildValue("l",_result
);
1105 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1106 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
) {
1107 PyObject
* _resultobj
;
1114 if(!PyArg_ParseTuple(args
,"|ll:new_wxSize",&_arg0
,&_arg1
))
1116 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1118 _resultobj
= Py_BuildValue("s",_ptemp
);
1122 #define delete_wxSize(_swigobj) (delete _swigobj)
1123 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
) {
1124 PyObject
* _resultobj
;
1129 if(!PyArg_ParseTuple(args
,"s:delete_wxSize",&_argc0
))
1132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1137 delete_wxSize(_arg0
);
1139 _resultobj
= Py_None
;
1143 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1144 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
) {
1145 PyObject
* _resultobj
;
1152 if(!PyArg_ParseTuple(args
,"sll:wxSize_Set",&_argc0
,&_arg1
,&_arg2
))
1155 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1160 wxSize_Set(_arg0
,_arg1
,_arg2
);
1162 _resultobj
= Py_None
;
1166 #define wxSize_GetWidth(_swigobj) (_swigobj->GetX())
1167 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
) {
1168 PyObject
* _resultobj
;
1174 if(!PyArg_ParseTuple(args
,"s:wxSize_GetWidth",&_argc0
))
1177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1182 _result
= (long )wxSize_GetWidth(_arg0
);
1183 _resultobj
= Py_BuildValue("l",_result
);
1187 #define wxSize_GetHeight(_swigobj) (_swigobj->GetY())
1188 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
) {
1189 PyObject
* _resultobj
;
1195 if(!PyArg_ParseTuple(args
,"s:wxSize_GetHeight",&_argc0
))
1198 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1203 _result
= (long )wxSize_GetHeight(_arg0
);
1204 _resultobj
= Py_BuildValue("l",_result
);
1208 static PyObject
* wxSize___str__(wxSize
*self
) {
1209 PyObject
* tup
= PyTuple_New(2);
1210 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1211 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1214 static PyObject
*_wrap_wxSize___str__(PyObject
*self
, PyObject
*args
) {
1215 PyObject
* _resultobj
;
1221 if(!PyArg_ParseTuple(args
,"s:wxSize___str__",&_argc0
))
1224 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize___str__. Expected _wxSize_p.");
1229 _result
= (PyObject
*)wxSize___str__(_arg0
);
1231 _resultobj
= _result
;
1236 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1237 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
) {
1238 PyObject
* _resultobj
;
1240 wxRealPoint
* _arg0
;
1245 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_x_set",&_argc0
,&_arg1
))
1248 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1253 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1254 _resultobj
= Py_BuildValue("d",_result
);
1258 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1259 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
) {
1260 PyObject
* _resultobj
;
1262 wxRealPoint
* _arg0
;
1266 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_x_get",&_argc0
))
1269 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1274 _result
= (double )wxRealPoint_x_get(_arg0
);
1275 _resultobj
= Py_BuildValue("d",_result
);
1279 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1280 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
) {
1281 PyObject
* _resultobj
;
1283 wxRealPoint
* _arg0
;
1288 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_y_set",&_argc0
,&_arg1
))
1291 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1296 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1297 _resultobj
= Py_BuildValue("d",_result
);
1301 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1302 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
) {
1303 PyObject
* _resultobj
;
1305 wxRealPoint
* _arg0
;
1309 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_y_get",&_argc0
))
1312 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1317 _result
= (double )wxRealPoint_y_get(_arg0
);
1318 _resultobj
= Py_BuildValue("d",_result
);
1322 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1323 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1324 PyObject
* _resultobj
;
1325 wxRealPoint
* _result
;
1331 if(!PyArg_ParseTuple(args
,"|dd:new_wxRealPoint",&_arg0
,&_arg1
))
1333 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1335 _resultobj
= Py_BuildValue("s",_ptemp
);
1339 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1340 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1341 PyObject
* _resultobj
;
1342 wxRealPoint
* _arg0
;
1346 if(!PyArg_ParseTuple(args
,"s:delete_wxRealPoint",&_argc0
))
1349 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1354 delete_wxRealPoint(_arg0
);
1356 _resultobj
= Py_None
;
1360 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1361 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
) {
1362 PyObject
* _resultobj
;
1369 if(!PyArg_ParseTuple(args
,"sl:wxPoint_x_set",&_argc0
,&_arg1
))
1372 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1377 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1378 _resultobj
= Py_BuildValue("l",_result
);
1382 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1383 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
) {
1384 PyObject
* _resultobj
;
1390 if(!PyArg_ParseTuple(args
,"s:wxPoint_x_get",&_argc0
))
1393 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1398 _result
= (long )wxPoint_x_get(_arg0
);
1399 _resultobj
= Py_BuildValue("l",_result
);
1403 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1404 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
) {
1405 PyObject
* _resultobj
;
1412 if(!PyArg_ParseTuple(args
,"sl:wxPoint_y_set",&_argc0
,&_arg1
))
1415 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1420 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1421 _resultobj
= Py_BuildValue("l",_result
);
1425 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1426 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
) {
1427 PyObject
* _resultobj
;
1433 if(!PyArg_ParseTuple(args
,"s:wxPoint_y_get",&_argc0
))
1436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1441 _result
= (long )wxPoint_y_get(_arg0
);
1442 _resultobj
= Py_BuildValue("l",_result
);
1446 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1447 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
) {
1448 PyObject
* _resultobj
;
1455 if(!PyArg_ParseTuple(args
,"|ll:new_wxPoint",&_arg0
,&_arg1
))
1457 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1459 _resultobj
= Py_BuildValue("s",_ptemp
);
1463 #define delete_wxPoint(_swigobj) (delete _swigobj)
1464 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
) {
1465 PyObject
* _resultobj
;
1470 if(!PyArg_ParseTuple(args
,"s:delete_wxPoint",&_argc0
))
1473 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1478 delete_wxPoint(_arg0
);
1480 _resultobj
= Py_None
;
1484 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1488 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
) {
1489 PyObject
* _resultobj
;
1496 if(!PyArg_ParseTuple(args
,"sll:wxPoint_Set",&_argc0
,&_arg1
,&_arg2
))
1499 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1504 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1506 _resultobj
= Py_None
;
1510 static PyObject
* wxPoint___str__(wxPoint
*self
) {
1511 PyObject
* tup
= PyTuple_New(2);
1512 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1513 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1516 static PyObject
*_wrap_wxPoint___str__(PyObject
*self
, PyObject
*args
) {
1517 PyObject
* _resultobj
;
1523 if(!PyArg_ParseTuple(args
,"s:wxPoint___str__",&_argc0
))
1526 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint___str__. Expected _wxPoint_p.");
1531 _result
= (PyObject
*)wxPoint___str__(_arg0
);
1533 _resultobj
= _result
;
1538 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1539 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
) {
1540 PyObject
* _resultobj
;
1549 if(!PyArg_ParseTuple(args
,"|llll:new_wxRect",&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1551 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1553 _resultobj
= Py_BuildValue("s",_ptemp
);
1557 #define delete_wxRect(_swigobj) (delete _swigobj)
1558 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
) {
1559 PyObject
* _resultobj
;
1564 if(!PyArg_ParseTuple(args
,"s:delete_wxRect",&_argc0
))
1567 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1572 delete_wxRect(_arg0
);
1574 _resultobj
= Py_None
;
1578 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1579 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
) {
1580 PyObject
* _resultobj
;
1586 if(!PyArg_ParseTuple(args
,"s:wxRect_GetX",&_argc0
))
1589 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1594 _result
= (long )wxRect_GetX(_arg0
);
1595 _resultobj
= Py_BuildValue("l",_result
);
1599 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1600 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
) {
1601 PyObject
* _resultobj
;
1607 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetX",&_argc0
,&_arg1
))
1610 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1615 wxRect_SetX(_arg0
,_arg1
);
1617 _resultobj
= Py_None
;
1621 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1622 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
) {
1623 PyObject
* _resultobj
;
1629 if(!PyArg_ParseTuple(args
,"s:wxRect_GetY",&_argc0
))
1632 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
1637 _result
= (long )wxRect_GetY(_arg0
);
1638 _resultobj
= Py_BuildValue("l",_result
);
1642 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1643 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
) {
1644 PyObject
* _resultobj
;
1650 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetY",&_argc0
,&_arg1
))
1653 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
1658 wxRect_SetY(_arg0
,_arg1
);
1660 _resultobj
= Py_None
;
1664 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1665 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
) {
1666 PyObject
* _resultobj
;
1672 if(!PyArg_ParseTuple(args
,"s:wxRect_GetWidth",&_argc0
))
1675 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
1680 _result
= (long )wxRect_GetWidth(_arg0
);
1681 _resultobj
= Py_BuildValue("l",_result
);
1685 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1686 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
) {
1687 PyObject
* _resultobj
;
1693 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetWidth",&_argc0
,&_arg1
))
1696 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
1701 wxRect_SetWidth(_arg0
,_arg1
);
1703 _resultobj
= Py_None
;
1707 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1708 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
) {
1709 PyObject
* _resultobj
;
1715 if(!PyArg_ParseTuple(args
,"s:wxRect_GetHeight",&_argc0
))
1718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
1723 _result
= (long )wxRect_GetHeight(_arg0
);
1724 _resultobj
= Py_BuildValue("l",_result
);
1728 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1729 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
) {
1730 PyObject
* _resultobj
;
1736 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetHeight",&_argc0
,&_arg1
))
1739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
1744 wxRect_SetHeight(_arg0
,_arg1
);
1746 _resultobj
= Py_None
;
1750 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1751 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
) {
1752 PyObject
* _resultobj
;
1759 if(!PyArg_ParseTuple(args
,"s:wxRect_GetPosition",&_argc0
))
1762 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
1767 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1768 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1769 _resultobj
= Py_BuildValue("s",_ptemp
);
1773 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1774 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
) {
1775 PyObject
* _resultobj
;
1782 if(!PyArg_ParseTuple(args
,"s:wxRect_GetSize",&_argc0
))
1785 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
1790 _result
= new wxSize (wxRect_GetSize(_arg0
));
1791 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1792 _resultobj
= Py_BuildValue("s",_ptemp
);
1796 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1797 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
) {
1798 PyObject
* _resultobj
;
1804 if(!PyArg_ParseTuple(args
,"s:wxRect_GetLeft",&_argc0
))
1807 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
1812 _result
= (long )wxRect_GetLeft(_arg0
);
1813 _resultobj
= Py_BuildValue("l",_result
);
1817 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1818 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
) {
1819 PyObject
* _resultobj
;
1825 if(!PyArg_ParseTuple(args
,"s:wxRect_GetTop",&_argc0
))
1828 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
1833 _result
= (long )wxRect_GetTop(_arg0
);
1834 _resultobj
= Py_BuildValue("l",_result
);
1838 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1839 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
) {
1840 PyObject
* _resultobj
;
1846 if(!PyArg_ParseTuple(args
,"s:wxRect_GetBottom",&_argc0
))
1849 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
1854 _result
= (long )wxRect_GetBottom(_arg0
);
1855 _resultobj
= Py_BuildValue("l",_result
);
1859 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1860 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
) {
1861 PyObject
* _resultobj
;
1867 if(!PyArg_ParseTuple(args
,"s:wxRect_GetRight",&_argc0
))
1870 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
1875 _result
= (long )wxRect_GetRight(_arg0
);
1876 _resultobj
= Py_BuildValue("l",_result
);
1880 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1881 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
) {
1882 PyObject
* _resultobj
;
1889 if(!PyArg_ParseTuple(args
,"sl:wxRect_x_set",&_argc0
,&_arg1
))
1892 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
1897 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
1898 _resultobj
= Py_BuildValue("l",_result
);
1902 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
1903 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
) {
1904 PyObject
* _resultobj
;
1910 if(!PyArg_ParseTuple(args
,"s:wxRect_x_get",&_argc0
))
1913 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
1918 _result
= (long )wxRect_x_get(_arg0
);
1919 _resultobj
= Py_BuildValue("l",_result
);
1923 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1924 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
) {
1925 PyObject
* _resultobj
;
1932 if(!PyArg_ParseTuple(args
,"sl:wxRect_y_set",&_argc0
,&_arg1
))
1935 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
1940 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
1941 _resultobj
= Py_BuildValue("l",_result
);
1945 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
1946 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
) {
1947 PyObject
* _resultobj
;
1953 if(!PyArg_ParseTuple(args
,"s:wxRect_y_get",&_argc0
))
1956 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
1961 _result
= (long )wxRect_y_get(_arg0
);
1962 _resultobj
= Py_BuildValue("l",_result
);
1966 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
1967 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
) {
1968 PyObject
* _resultobj
;
1975 if(!PyArg_ParseTuple(args
,"sl:wxRect_width_set",&_argc0
,&_arg1
))
1978 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
1983 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
1984 _resultobj
= Py_BuildValue("l",_result
);
1988 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
1989 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
) {
1990 PyObject
* _resultobj
;
1996 if(!PyArg_ParseTuple(args
,"s:wxRect_width_get",&_argc0
))
1999 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
2004 _result
= (long )wxRect_width_get(_arg0
);
2005 _resultobj
= Py_BuildValue("l",_result
);
2009 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2010 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
) {
2011 PyObject
* _resultobj
;
2018 if(!PyArg_ParseTuple(args
,"sl:wxRect_height_set",&_argc0
,&_arg1
))
2021 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2026 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2027 _resultobj
= Py_BuildValue("l",_result
);
2031 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2032 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
) {
2033 PyObject
* _resultobj
;
2039 if(!PyArg_ParseTuple(args
,"s:wxRect_height_get",&_argc0
))
2042 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2047 _result
= (long )wxRect_height_get(_arg0
);
2048 _resultobj
= Py_BuildValue("l",_result
);
2052 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2053 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2054 PyObject
* _resultobj
;
2055 wxPyTimer
* _result
;
2057 PyObject
* _obj0
= 0;
2061 if(!PyArg_ParseTuple(args
,"O:new_wxPyTimer",&_obj0
))
2066 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2067 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2068 _resultobj
= Py_BuildValue("s",_ptemp
);
2072 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2073 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2074 PyObject
* _resultobj
;
2079 if(!PyArg_ParseTuple(args
,"s:delete_wxPyTimer",&_argc0
))
2082 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2087 delete_wxPyTimer(_arg0
);
2089 _resultobj
= Py_None
;
2093 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2094 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
) {
2095 PyObject
* _resultobj
;
2101 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Interval",&_argc0
))
2104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2109 _result
= (int )wxPyTimer_Interval(_arg0
);
2110 _resultobj
= Py_BuildValue("i",_result
);
2114 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2115 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
) {
2116 PyObject
* _resultobj
;
2123 if(!PyArg_ParseTuple(args
,"s|ii:wxPyTimer_Start",&_argc0
,&_arg1
,&_arg2
))
2126 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2131 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2133 _resultobj
= Py_None
;
2137 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2138 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
) {
2139 PyObject
* _resultobj
;
2144 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Stop",&_argc0
))
2147 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2152 wxPyTimer_Stop(_arg0
);
2154 _resultobj
= Py_None
;
2158 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2159 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
) {
2160 PyObject
* _resultobj
;
2161 wxIndividualLayoutConstraint
* _arg0
;
2168 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0
,&_argc1
,&_arg2
))
2171 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2177 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2182 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2184 _resultobj
= Py_None
;
2188 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2189 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
) {
2190 PyObject
* _resultobj
;
2191 wxIndividualLayoutConstraint
* _arg0
;
2196 if(!PyArg_ParseTuple(args
,"si:wxIndividualLayoutConstraint_Absolute",&_argc0
,&_arg1
))
2199 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2204 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2206 _resultobj
= Py_None
;
2210 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2211 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
) {
2212 PyObject
* _resultobj
;
2213 wxIndividualLayoutConstraint
* _arg0
;
2217 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_AsIs",&_argc0
))
2220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2225 wxIndividualLayoutConstraint_AsIs(_arg0
);
2227 _resultobj
= Py_None
;
2231 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2232 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
) {
2233 PyObject
* _resultobj
;
2234 wxIndividualLayoutConstraint
* _arg0
;
2241 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0
,&_argc1
,&_arg2
))
2244 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2250 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2255 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2257 _resultobj
= Py_None
;
2261 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2262 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
) {
2263 PyObject
* _resultobj
;
2264 wxIndividualLayoutConstraint
* _arg0
;
2268 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0
))
2271 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2276 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2278 _resultobj
= Py_None
;
2282 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2283 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
) {
2284 PyObject
* _resultobj
;
2285 wxIndividualLayoutConstraint
* _arg0
;
2292 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0
,&_argc1
,&_arg2
))
2295 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2301 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2306 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2308 _resultobj
= Py_None
;
2312 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2313 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
) {
2314 PyObject
* _resultobj
;
2315 wxIndividualLayoutConstraint
* _arg0
;
2323 if(!PyArg_ParseTuple(args
,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2326 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2332 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2337 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2339 _resultobj
= Py_None
;
2343 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2344 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
) {
2345 PyObject
* _resultobj
;
2346 wxIndividualLayoutConstraint
* _arg0
;
2353 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0
,&_argc1
,&_arg2
))
2356 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2362 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2367 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2369 _resultobj
= Py_None
;
2373 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2374 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
) {
2375 PyObject
* _resultobj
;
2376 wxIndividualLayoutConstraint
* _arg0
;
2384 if(!PyArg_ParseTuple(args
,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2387 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2393 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2398 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2400 _resultobj
= Py_None
;
2404 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2405 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
) {
2406 PyObject
* _resultobj
;
2407 wxIndividualLayoutConstraint
* _arg0
;
2408 wxRelationship _arg1
;
2417 if(!PyArg_ParseTuple(args
,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
))
2420 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2426 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2431 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2433 _resultobj
= Py_None
;
2437 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2438 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
) {
2439 PyObject
* _resultobj
;
2440 wxLayoutConstraints
* _result
;
2444 if(!PyArg_ParseTuple(args
,":new_wxLayoutConstraints"))
2446 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2448 _resultobj
= Py_BuildValue("s",_ptemp
);
2452 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2453 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
) {
2454 PyObject
* _resultobj
;
2455 wxIndividualLayoutConstraint
* _result
;
2456 wxLayoutConstraints
* _arg0
;
2461 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_bottom_get",&_argc0
))
2464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2469 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2471 _resultobj
= Py_BuildValue("s",_ptemp
);
2475 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2476 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
) {
2477 PyObject
* _resultobj
;
2478 wxIndividualLayoutConstraint
* _result
;
2479 wxLayoutConstraints
* _arg0
;
2484 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreX_get",&_argc0
))
2487 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2492 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2494 _resultobj
= Py_BuildValue("s",_ptemp
);
2498 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2499 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
) {
2500 PyObject
* _resultobj
;
2501 wxIndividualLayoutConstraint
* _result
;
2502 wxLayoutConstraints
* _arg0
;
2507 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreY_get",&_argc0
))
2510 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2515 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2517 _resultobj
= Py_BuildValue("s",_ptemp
);
2521 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2522 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
) {
2523 PyObject
* _resultobj
;
2524 wxIndividualLayoutConstraint
* _result
;
2525 wxLayoutConstraints
* _arg0
;
2530 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_height_get",&_argc0
))
2533 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2538 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2539 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2540 _resultobj
= Py_BuildValue("s",_ptemp
);
2544 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2545 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
) {
2546 PyObject
* _resultobj
;
2547 wxIndividualLayoutConstraint
* _result
;
2548 wxLayoutConstraints
* _arg0
;
2553 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_left_get",&_argc0
))
2556 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2561 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2563 _resultobj
= Py_BuildValue("s",_ptemp
);
2567 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2568 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
) {
2569 PyObject
* _resultobj
;
2570 wxIndividualLayoutConstraint
* _result
;
2571 wxLayoutConstraints
* _arg0
;
2576 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_right_get",&_argc0
))
2579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2584 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
2585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2586 _resultobj
= Py_BuildValue("s",_ptemp
);
2590 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2591 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
) {
2592 PyObject
* _resultobj
;
2593 wxIndividualLayoutConstraint
* _result
;
2594 wxLayoutConstraints
* _arg0
;
2599 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_top_get",&_argc0
))
2602 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
2607 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
2608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2609 _resultobj
= Py_BuildValue("s",_ptemp
);
2613 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
2614 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
) {
2615 PyObject
* _resultobj
;
2616 wxIndividualLayoutConstraint
* _result
;
2617 wxLayoutConstraints
* _arg0
;
2622 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_width_get",&_argc0
))
2625 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
2630 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
2631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2632 _resultobj
= Py_BuildValue("s",_ptemp
);
2636 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
2637 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
) {
2638 PyObject
* _resultobj
;
2639 wxAcceleratorEntry
* _result
;
2646 if(!PyArg_ParseTuple(args
,"|iii:new_wxAcceleratorEntry",&_arg0
,&_arg1
,&_arg2
))
2648 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
2649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
2650 _resultobj
= Py_BuildValue("s",_ptemp
);
2654 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2655 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
) {
2656 PyObject
* _resultobj
;
2657 wxAcceleratorEntry
* _arg0
;
2664 if(!PyArg_ParseTuple(args
,"siii:wxAcceleratorEntry_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2667 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
2672 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2674 _resultobj
= Py_None
;
2678 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
2679 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
) {
2680 PyObject
* _resultobj
;
2682 wxAcceleratorEntry
* _arg0
;
2686 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetFlags",&_argc0
))
2689 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
2694 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
2695 _resultobj
= Py_BuildValue("i",_result
);
2699 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
2700 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
) {
2701 PyObject
* _resultobj
;
2703 wxAcceleratorEntry
* _arg0
;
2707 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetKeyCode",&_argc0
))
2710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
2715 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
2716 _resultobj
= Py_BuildValue("i",_result
);
2720 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
2721 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
) {
2722 PyObject
* _resultobj
;
2724 wxAcceleratorEntry
* _arg0
;
2728 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetCommand",&_argc0
))
2731 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
2736 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
2737 _resultobj
= Py_BuildValue("i",_result
);
2741 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
2742 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
) {
2743 PyObject
* _resultobj
;
2744 wxAcceleratorTable
* _result
;
2746 wxAcceleratorEntry
* _arg1
;
2747 PyObject
* _obj1
= 0;
2751 if(!PyArg_ParseTuple(args
,"O:new_wxAcceleratorTable",&_obj1
))
2755 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
2756 if (_arg1
== NULL
) {
2761 _arg0
= PyList_Size(_obj1
);
2763 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
2764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
2765 _resultobj
= Py_BuildValue("s",_ptemp
);
2772 static PyMethodDef misccMethods
[] = {
2773 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable
, 1 },
2774 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand
, 1 },
2775 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode
, 1 },
2776 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags
, 1 },
2777 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set
, 1 },
2778 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry
, 1 },
2779 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get
, 1 },
2780 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get
, 1 },
2781 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get
, 1 },
2782 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get
, 1 },
2783 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get
, 1 },
2784 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get
, 1 },
2785 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get
, 1 },
2786 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get
, 1 },
2787 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints
, 1 },
2788 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set
, 1 },
2789 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs
, 1 },
2790 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf
, 1 },
2791 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf
, 1 },
2792 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf
, 1 },
2793 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained
, 1 },
2794 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below
, 1 },
2795 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs
, 1 },
2796 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute
, 1 },
2797 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above
, 1 },
2798 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop
, 1 },
2799 { "wxPyTimer_Start", _wrap_wxPyTimer_Start
, 1 },
2800 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval
, 1 },
2801 { "delete_wxPyTimer", _wrap_delete_wxPyTimer
, 1 },
2802 { "new_wxPyTimer", _wrap_new_wxPyTimer
, 1 },
2803 { "wxRect_height_get", _wrap_wxRect_height_get
, 1 },
2804 { "wxRect_height_set", _wrap_wxRect_height_set
, 1 },
2805 { "wxRect_width_get", _wrap_wxRect_width_get
, 1 },
2806 { "wxRect_width_set", _wrap_wxRect_width_set
, 1 },
2807 { "wxRect_y_get", _wrap_wxRect_y_get
, 1 },
2808 { "wxRect_y_set", _wrap_wxRect_y_set
, 1 },
2809 { "wxRect_x_get", _wrap_wxRect_x_get
, 1 },
2810 { "wxRect_x_set", _wrap_wxRect_x_set
, 1 },
2811 { "wxRect_GetRight", _wrap_wxRect_GetRight
, 1 },
2812 { "wxRect_GetBottom", _wrap_wxRect_GetBottom
, 1 },
2813 { "wxRect_GetTop", _wrap_wxRect_GetTop
, 1 },
2814 { "wxRect_GetLeft", _wrap_wxRect_GetLeft
, 1 },
2815 { "wxRect_GetSize", _wrap_wxRect_GetSize
, 1 },
2816 { "wxRect_GetPosition", _wrap_wxRect_GetPosition
, 1 },
2817 { "wxRect_SetHeight", _wrap_wxRect_SetHeight
, 1 },
2818 { "wxRect_GetHeight", _wrap_wxRect_GetHeight
, 1 },
2819 { "wxRect_SetWidth", _wrap_wxRect_SetWidth
, 1 },
2820 { "wxRect_GetWidth", _wrap_wxRect_GetWidth
, 1 },
2821 { "wxRect_SetY", _wrap_wxRect_SetY
, 1 },
2822 { "wxRect_GetY", _wrap_wxRect_GetY
, 1 },
2823 { "wxRect_SetX", _wrap_wxRect_SetX
, 1 },
2824 { "wxRect_GetX", _wrap_wxRect_GetX
, 1 },
2825 { "delete_wxRect", _wrap_delete_wxRect
, 1 },
2826 { "new_wxRect", _wrap_new_wxRect
, 1 },
2827 { "wxPoint___str__", _wrap_wxPoint___str__
, 1 },
2828 { "wxPoint_Set", _wrap_wxPoint_Set
, 1 },
2829 { "delete_wxPoint", _wrap_delete_wxPoint
, 1 },
2830 { "new_wxPoint", _wrap_new_wxPoint
, 1 },
2831 { "wxPoint_y_get", _wrap_wxPoint_y_get
, 1 },
2832 { "wxPoint_y_set", _wrap_wxPoint_y_set
, 1 },
2833 { "wxPoint_x_get", _wrap_wxPoint_x_get
, 1 },
2834 { "wxPoint_x_set", _wrap_wxPoint_x_set
, 1 },
2835 { "delete_wxRealPoint", _wrap_delete_wxRealPoint
, 1 },
2836 { "new_wxRealPoint", _wrap_new_wxRealPoint
, 1 },
2837 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get
, 1 },
2838 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set
, 1 },
2839 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get
, 1 },
2840 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set
, 1 },
2841 { "wxSize___str__", _wrap_wxSize___str__
, 1 },
2842 { "wxSize_GetHeight", _wrap_wxSize_GetHeight
, 1 },
2843 { "wxSize_GetWidth", _wrap_wxSize_GetWidth
, 1 },
2844 { "wxSize_Set", _wrap_wxSize_Set
, 1 },
2845 { "delete_wxSize", _wrap_delete_wxSize
, 1 },
2846 { "new_wxSize", _wrap_new_wxSize
, 1 },
2847 { "wxSize_height_get", _wrap_wxSize_height_get
, 1 },
2848 { "wxSize_height_set", _wrap_wxSize_height_set
, 1 },
2849 { "wxSize_width_get", _wrap_wxSize_width_get
, 1 },
2850 { "wxSize_width_set", _wrap_wxSize_width_set
, 1 },
2851 { "wxResourceParseString", _wrap_wxResourceParseString
, 1 },
2852 { "wxResourceParseFile", _wrap_wxResourceParseFile
, 1 },
2853 { "wxResourceParseData", _wrap_wxResourceParseData
, 1 },
2854 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier
, 1 },
2855 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar
, 1 },
2856 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon
, 1 },
2857 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap
, 1 },
2858 { "wxResourceClear", _wrap_wxResourceClear
, 1 },
2859 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier
, 1 },
2860 { "wxGetResource", _wrap_wxGetResource
, 1 },
2861 { "wxGetOsVersion", _wrap_wxGetOsVersion
, 1 },
2862 { "wxYield", _wrap_wxYield
, 1 },
2863 { "wxStartTimer", _wrap_wxStartTimer
, 1 },
2864 { "wxShell", _wrap_wxShell
, 1 },
2865 { "wxNow", _wrap_wxNow
, 1 },
2866 { "wxIsBusy", _wrap_wxIsBusy
, 1 },
2867 { "wxGetMousePosition", _wrap_wxGetMousePosition
, 1 },
2868 { "wxGetFreeMemory", _wrap_wxGetFreeMemory
, 1 },
2869 { "wxGetElapsedTime", _wrap_wxGetElapsedTime
, 1 },
2870 { "wxGetActiveWindow", _wrap_wxGetActiveWindow
, 1 },
2871 { "wxFindWindowByName", _wrap_wxFindWindowByName
, 1 },
2872 { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel
, 1 },
2873 { "wxExecute", _wrap_wxExecute
, 1 },
2874 { "wxEndBusyCursor", _wrap_wxEndBusyCursor
, 1 },
2875 { "wxDisplaySize", _wrap_wxDisplaySize
, 1 },
2876 { "wxBell", _wrap_wxBell
, 1 },
2877 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor
, 1 },
2878 { "RegisterId", _wrap_RegisterId
, 1 },
2879 { "NewId", _wrap_NewId
, 1 },
2880 { "wxSetCursor", _wrap_wxSetCursor
, 1 },
2881 { "wxDisplayDepth", _wrap_wxDisplayDepth
, 1 },
2882 { "wxColourDisplay", _wrap_wxColourDisplay
, 1 },
2883 { "wxMessageBox", _wrap_wxMessageBox
, 1 },
2884 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex
, 1 },
2885 { "wxGetSingleChoice", _wrap_wxGetSingleChoice
, 1 },
2886 { "wxGetTextFromUser", _wrap_wxGetTextFromUser
, 1 },
2887 { "wxFileSelector", _wrap_wxFileSelector
, 1 },
2890 static PyObject
*SWIG_globals
;
2894 SWIGEXPORT(void,initmiscc
)() {
2896 SWIG_globals
= SWIG_newvarlink();
2897 m
= Py_InitModule("miscc", misccMethods
);
2898 d
= PyModule_GetDict(m
);
2899 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
2900 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
2901 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
2902 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
2903 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
2904 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
2905 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
2906 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
2907 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
2908 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
2909 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
2910 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
2911 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
2912 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
2913 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
2914 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
2915 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
2916 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
2917 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
2919 * These are the pointer type-equivalency mappings.
2920 * (Used by the SWIG pointer type-checker).
2922 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
2923 SWIG_RegisterMapping("_signed_long","_long",0);
2924 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2925 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2926 SWIG_RegisterMapping("_long","_unsigned_long",0);
2927 SWIG_RegisterMapping("_long","_signed_long",0);
2928 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
2929 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2930 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2931 SWIG_RegisterMapping("_uint","_int",0);
2932 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2933 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2934 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2935 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2936 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2937 SWIG_RegisterMapping("_EBool","_signed_int",0);
2938 SWIG_RegisterMapping("_EBool","_int",0);
2939 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2940 SWIG_RegisterMapping("_unsigned_long","_long",0);
2941 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2942 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2943 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2944 SWIG_RegisterMapping("_signed_int","_EBool",0);
2945 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2946 SWIG_RegisterMapping("_signed_int","_int",0);
2947 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2948 SWIG_RegisterMapping("_WXTYPE","_short",0);
2949 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2950 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2951 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2952 SWIG_RegisterMapping("_unsigned_short","_short",0);
2953 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2954 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2955 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2956 SWIG_RegisterMapping("_signed_short","_short",0);
2957 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2958 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2959 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2960 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2961 SWIG_RegisterMapping("_unsigned_int","_int",0);
2962 SWIG_RegisterMapping("_short","_WXTYPE",0);
2963 SWIG_RegisterMapping("_short","_unsigned_short",0);
2964 SWIG_RegisterMapping("_short","_signed_short",0);
2965 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2966 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2967 SWIG_RegisterMapping("_wxWindowID","_int",0);
2968 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2969 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2970 SWIG_RegisterMapping("_int","_EBool",0);
2971 SWIG_RegisterMapping("_int","_uint",0);
2972 SWIG_RegisterMapping("_int","_wxWindowID",0);
2973 SWIG_RegisterMapping("_int","_unsigned_int",0);
2974 SWIG_RegisterMapping("_int","_signed_int",0);
2975 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2976 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2977 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);